You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Boris Kovalenko <bo...@tagnet.ru> on 2007/04/10 07:03:15 UTC

[Tobago] 1.0.10 tc:link problems

Hello!

    What's wrong with this code? When clicking on tc:link no action 
invoked and actionListener method not called also.

            <tc:sheet id="sheet"
                value="#{maSearchForm.mailAccounts}" var="row"
                state="#{maSearchForm.sheetState}"
                selectable="none"
                rows="10"
                showRowRange="left"
                showPageRange="right"
                columns="1*;1*;1*;1*"
                >
                <tc:column label="Фио" sortable="false">
                    <tc:link label="#{row.cn}" 
action="edit@mailAccounts" actionListener="#{maSearchForm.selectEntry}"/>
                </tc:column>
                <tc:column label="Таб. номер" sortable="false" 
align="right">
                    <tc:out value="#{row.employeeNumber}"/>
                </tc:column>
                <tc:column label="Отдел" sortable="false">
                    <tc:out value="#{row.ou}"/>
                </tc:column>
                <tc:column label="E-mail" sortable="false">
                    <tc:out value="#{row.mail}"/>
                </tc:column>
            </tc:sheet>


With respect,
    Boris


Re: [Tobago] 1.0.10 tc:link problems

Posted by Boris Kovalenko <bo...@tagnet.ru>.
Hello!

    Ok, I'll add a feature request. Session controller... yes, this is 
possible, but very inconvenient. Isn't?
 From my point of view - create special session bean to store request 
scope variables... grr... Ok, I will try this workaround but 
preserveDataModel, imho, is more finest way.

P.S. Is there not only demo application with Tobago, but working 
project? With forms, sheets, etc..?
> You can add a feature request for soomething like preserveDataModel.
>
>
> Why don't use session scope controller instance like in the examples?
>
> 2007/4/11, Boris Kovalenko <bo...@tagnet.ru>:
>> Hello!
>>
>>     Hmmm.... this very very distressing. tc:sheet is now useless for me.
>> Will this changed with next releases?
>> Also, is there a best practices how to deal with this?
>> > Hi,
>> >
>> > You can't have a request scope sheet value. The value is not stored in
>> > the UIData, this is was tomahwks preserveDataModel does. The binding
>> > has nothing to do with this.
>> >
>> > Regards,
>> >  Volker
>> >
>> > 2007/4/11, Boris Kovalenko <bo...@tagnet.ru>:
>> >> Hello!
>> >>
>> >>     I'm fully frustrated... Does anybody used request scope bean and
>> >> tc:sheet with tc:link (or tc:button) for current row selection? May I
>> >> see working example? Where tc:sheet is populated based on the 
>> value of
>> >> one of the form fields? I can't get it working with Tobago.... It 
>> seems
>> >> like PHASE problems.
>> >>
>> >> Before: APPLY_REQUEST_VALUES
>> >> --- getting mailAccounts size = 0
>> >> After APPLY_REQUEST_VALUES
>> >> Before: PROCESS_VALIDATION
>> >> After: PROCESS_VALIDATION
>> >> Before: UPDATE_MODEL_VALUES
>> >> After: UPDATE_MODEL_VALUES
>> >> Before: INVOKE_APPLICATION
>> >> ---- Oops... mailAccounts are still empty!!!
>> >> After: INVOKE_APPLICATION
>> >>
>> >>
>> >> With respect,
>> >>     Boris
>> >>
>> >>
>> >
>> With respect,
>>     Boris
>>
>>
>

With respect,
    Boris


Re: [Tobago] 1.0.10 tc:link problems

Posted by Volker Weber <v....@inexso.de>.
You can add a feature request for soomething like preserveDataModel.


Why don't use session scope controller instance like in the examples?

2007/4/11, Boris Kovalenko <bo...@tagnet.ru>:
> Hello!
>
>     Hmmm.... this very very distressing. tc:sheet is now useless for me.
> Will this changed with next releases?
> Also, is there a best practices how to deal with this?
> > Hi,
> >
> > You can't have a request scope sheet value. The value is not stored in
> > the UIData, this is was tomahwks preserveDataModel does. The binding
> > has nothing to do with this.
> >
> > Regards,
> >  Volker
> >
> > 2007/4/11, Boris Kovalenko <bo...@tagnet.ru>:
> >> Hello!
> >>
> >>     I'm fully frustrated... Does anybody used request scope bean and
> >> tc:sheet with tc:link (or tc:button) for current row selection? May I
> >> see working example? Where tc:sheet is populated based on the value of
> >> one of the form fields? I can't get it working with Tobago.... It seems
> >> like PHASE problems.
> >>
> >> Before: APPLY_REQUEST_VALUES
> >> --- getting mailAccounts size = 0
> >> After APPLY_REQUEST_VALUES
> >> Before: PROCESS_VALIDATION
> >> After: PROCESS_VALIDATION
> >> Before: UPDATE_MODEL_VALUES
> >> After: UPDATE_MODEL_VALUES
> >> Before: INVOKE_APPLICATION
> >> ---- Oops... mailAccounts are still empty!!!
> >> After: INVOKE_APPLICATION
> >>
> >>
> >> With respect,
> >>     Boris
> >>
> >>
> >
> With respect,
>     Boris
>
>

Re: [Tobago] 1.0.10 tc:link problems

Posted by Boris Kovalenko <bo...@tagnet.ru>.
Hello!

    Hmmm.... this very very distressing. tc:sheet is now useless for me. 
Will this changed with next releases?
Also, is there a best practices how to deal with this?
> Hi,
>
> You can't have a request scope sheet value. The value is not stored in
> the UIData, this is was tomahwks preserveDataModel does. The binding
> has nothing to do with this.
>
> Regards,
>  Volker
>
> 2007/4/11, Boris Kovalenko <bo...@tagnet.ru>:
>> Hello!
>>
>>     I'm fully frustrated... Does anybody used request scope bean and
>> tc:sheet with tc:link (or tc:button) for current row selection? May I
>> see working example? Where tc:sheet is populated based on the value of
>> one of the form fields? I can't get it working with Tobago.... It seems
>> like PHASE problems.
>>
>> Before: APPLY_REQUEST_VALUES
>> --- getting mailAccounts size = 0
>> After APPLY_REQUEST_VALUES
>> Before: PROCESS_VALIDATION
>> After: PROCESS_VALIDATION
>> Before: UPDATE_MODEL_VALUES
>> After: UPDATE_MODEL_VALUES
>> Before: INVOKE_APPLICATION
>> ---- Oops... mailAccounts are still empty!!!
>> After: INVOKE_APPLICATION
>>
>>
>> With respect,
>>     Boris
>>
>>
>
With respect,
    Boris


Re: [Tobago] 1.0.10 tc:link problems

Posted by Volker Weber <v....@inexso.de>.
Hi,

You can't have a request scope sheet value. The value is not stored in
the UIData, this is was tomahwks preserveDataModel does. The binding
has nothing to do with this.

Regards,
  Volker

2007/4/11, Boris Kovalenko <bo...@tagnet.ru>:
> Hello!
>
>     I'm fully frustrated... Does anybody used request scope bean and
> tc:sheet with tc:link (or tc:button) for current row selection? May I
> see working example? Where tc:sheet is populated based on the value of
> one of the form fields? I can't get it working with Tobago.... It seems
> like PHASE problems.
>
> Before: APPLY_REQUEST_VALUES
> --- getting mailAccounts size = 0
> After APPLY_REQUEST_VALUES
> Before: PROCESS_VALIDATION
> After: PROCESS_VALIDATION
> Before: UPDATE_MODEL_VALUES
> After: UPDATE_MODEL_VALUES
> Before: INVOKE_APPLICATION
> ---- Oops... mailAccounts are still empty!!!
> After: INVOKE_APPLICATION
>
>
> With respect,
>     Boris
>
>

Re: [Tobago] 1.0.10 tc:link problems

Posted by Boris Kovalenko <bo...@tagnet.ru>.
Hello!

    I'm fully frustrated... Does anybody used request scope bean and 
tc:sheet with tc:link (or tc:button) for current row selection? May I 
see working example? Where tc:sheet is populated based on the value of 
one of the form fields? I can't get it working with Tobago.... It seems 
like PHASE problems.

Before: APPLY_REQUEST_VALUES
--- getting mailAccounts size = 0
After APPLY_REQUEST_VALUES
Before: PROCESS_VALIDATION
After: PROCESS_VALIDATION
Before: UPDATE_MODEL_VALUES
After: UPDATE_MODEL_VALUES
Before: INVOKE_APPLICATION
---- Oops... mailAccounts are still empty!!!
After: INVOKE_APPLICATION


With respect,
    Boris


Re: [Tobago] 1.0.10 tc:link problems

Posted by Boris Kovalenko <bo...@tagnet.ru>.
Hello!

    More investigation again. If found that the problem is sheet state 
related, as with standard JSF table. My bean is request scope, so 
List<MailAccounts> isn't stored anywhere and is empty on 
APPLY_REQUEST_VALUES, this is the root of problems, IMHO. In standard 
JSF there is a binding method, or preserveDataModel in Tomahawk. I 
thinked that tc:shet::state is the analog of preserveDataModel? Or 
should I use binding/session scope beans?

With respect,
    Boris



Re: [Tobago] 1.0.10 tc:link problems

Posted by Boris Kovalenko <bo...@tagnet.ru>.
Hello!

    Oops, I forgot to set loglevel to debug. Here is new output. First 
is when I pressed "search" button and sheet is populated with data. And 
the second when I pressed tc:link.


 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :RESTORE_VIEW(1) Time=1176262954005
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :RESTORE_VIEW(1) Time=1176262954005
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :RESTORE_VIEW(1) Time=1176262954188
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :RESTORE_VIEW(1) Time=1176262954188
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase RESTORE_VIEW(1) needs 183 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase RESTORE_VIEW(1) needs 183 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 1 and 2: 1 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 1 and 2: 1 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :APPLY_REQUEST_VALUES(2) Time=1176262954189
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :APPLY_REQUEST_VALUES(2) Time=1176262954189
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :APPLY_REQUEST_VALUES(2) Time=1176262954201
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :APPLY_REQUEST_VALUES(2) Time=1176262954201
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase APPLY_REQUEST_VALUES(2) needs 12 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase APPLY_REQUEST_VALUES(2) needs 12 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 2 and 3: 1 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 2 and 3: 1 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :PROCESS_VALIDATIONS(3) Time=1176262954202
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :PROCESS_VALIDATIONS(3) Time=1176262954202
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :PROCESS_VALIDATIONS(3) Time=1176262954207
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :PROCESS_VALIDATIONS(3) Time=1176262954207
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase PROCESS_VALIDATIONS(3) needs 5 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase PROCESS_VALIDATIONS(3) needs 5 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 3 and 4: 0 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 3 and 4: 0 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :UPDATE_MODEL_VALUES(4) Time=1176262954207
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :UPDATE_MODEL_VALUES(4) Time=1176262954207
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :UPDATE_MODEL_VALUES(4) Time=1176262954209
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :UPDATE_MODEL_VALUES(4) Time=1176262954209
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase UPDATE_MODEL_VALUES(4) needs 2 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase UPDATE_MODEL_VALUES(4) needs 2 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 4 and 5: 0 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 4 and 5: 0 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :INVOKE_APPLICATION(5) Time=1176262954209
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :INVOKE_APPLICATION(5) Time=1176262954209
 INFO http-8180-2 com.evraz.ur.misc.NavigationManager - actionName: 
searchAccounts@mainMenu
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :INVOKE_APPLICATION(5) Time=1176262954883
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :INVOKE_APPLICATION(5) Time=1176262954883
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase INVOKE_APPLICATION(5) needs 674 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase INVOKE_APPLICATION(5) needs 674 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 5 and 6: 1 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 5 and 6: 1 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :RENDER_RESPONSE(6) Time=1176262954884
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :RENDER_RESPONSE(6) Time=1176262954884
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :RENDER_RESPONSE(6) Time=1176262955374
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :RENDER_RESPONSE(6) Time=1176262955374
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase RENDER_RESPONSE(6) needs 490 milliseconds
 DEBUG http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase RENDER_RESPONSE(6) needs 490 milliseconds
 INFO http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Total response time : 1369 milliseconds
 INFO http-8180-2 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Total response time : 1369 milliseconds

------------------------------------------------------------------
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :RESTORE_VIEW(1) Time=1176262968957
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :RESTORE_VIEW(1) Time=1176262968957
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :RESTORE_VIEW(1) Time=1176262969133
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :RESTORE_VIEW(1) Time=1176262969133
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase RESTORE_VIEW(1) needs 176 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase RESTORE_VIEW(1) needs 176 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 1 and 2: 2 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 1 and 2: 2 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :APPLY_REQUEST_VALUES(2) Time=1176262969135
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :APPLY_REQUEST_VALUES(2) Time=1176262969135
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :APPLY_REQUEST_VALUES(2) Time=1176262969152
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :APPLY_REQUEST_VALUES(2) Time=1176262969152
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase APPLY_REQUEST_VALUES(2) needs 17 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase APPLY_REQUEST_VALUES(2) needs 17 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 2 and 3: 6 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 2 and 3: 6 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :PROCESS_VALIDATIONS(3) Time=1176262969158
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :PROCESS_VALIDATIONS(3) Time=1176262969158
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :PROCESS_VALIDATIONS(3) Time=1176262969161
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :PROCESS_VALIDATIONS(3) Time=1176262969161
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase PROCESS_VALIDATIONS(3) needs 3 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase PROCESS_VALIDATIONS(3) needs 3 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 3 and 4: 2 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 3 and 4: 2 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :UPDATE_MODEL_VALUES(4) Time=1176262969163
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :UPDATE_MODEL_VALUES(4) Time=1176262969163
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :UPDATE_MODEL_VALUES(4) Time=1176262969169
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :UPDATE_MODEL_VALUES(4) Time=1176262969169
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase UPDATE_MODEL_VALUES(4) needs 6 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase UPDATE_MODEL_VALUES(4) needs 6 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 4 and 5: 0 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 4 and 5: 0 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :INVOKE_APPLICATION(5) Time=1176262969169
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :INVOKE_APPLICATION(5) Time=1176262969169
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :INVOKE_APPLICATION(5) Time=1176262969170
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :INVOKE_APPLICATION(5) Time=1176262969170
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase INVOKE_APPLICATION(5) needs 1 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase INVOKE_APPLICATION(5) needs 1 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 5 and 6: 0 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Time between phases 5 and 6: 0 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :RENDER_RESPONSE(6) Time=1176262969170
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Before Phase :RENDER_RESPONSE(6) Time=1176262969170
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :RENDER_RESPONSE(6) Time=1176262969470
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
After Phase :RENDER_RESPONSE(6) Time=1176262969470
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase RENDER_RESPONSE(6) needs 300 milliseconds
 DEBUG http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Phase RENDER_RESPONSE(6) needs 300 milliseconds
 INFO http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Total response time : 513 milliseconds
 INFO http-8180-1 org.apache.myfaces.tobago.util.DebugPhaseListener - 
Total response time : 513 milliseconds


With respect,
    Boris


Re: [Tobago] 1.0.10 tc:link problems

Posted by Boris Kovalenko <bo...@tagnet.ru>.
Hello, Volker!

    <tc:messages/> are always empty. DebugPhaseListener prints this 
messages:

11.04.2007 8:49:45 org.apache.myfaces.tobago.util.DebugPhaseListener 
afterPhase
INFO: Total response time : 3770 milliseconds
11.04.2007 8:50:19 org.apache.myfaces.tobago.util.DebugPhaseListener 
afterPhase
INFO: Total response time : 1176 milliseconds
11.04.2007 8:50:34 org.apache.myfaces.tobago.util.DebugPhaseListener 
afterPhase
INFO: Total response time : 891 milliseconds
11.04.2007 8:50:45 org.apache.myfaces.tobago.util.DebugPhaseListener 
afterPhase
INFO: Total response time : 278 milliseconds

What should I do next? May be I'll send sources to You?
> Hi Boris,
>
> the first thing to check, if a action is not invoked for unknown
> reason, ensure there is no
> validation/conversion error.
>
> add a tc:messages tag somewhere to the page, or configure the 
> DebugPhaseListener
> and set loglevel to debug to ensure InvokeApplicationPhase is executed.
>
> Regards,
>  Volker
>
> 2007/4/10, Boris Kovalenko <bo...@tagnet.ru>:
>> Hello!
>>
>>     What's wrong with this code? When clicking on tc:link no action
>> invoked and actionListener method not called also.
>>
>>             <tc:sheet id="sheet"
>>                 value="#{maSearchForm.mailAccounts}" var="row"
>>                 state="#{maSearchForm.sheetState}"
>>                 selectable="none"
>>                 rows="10"
>>                 showRowRange="left"
>>                 showPageRange="right"
>>                 columns="1*;1*;1*;1*"
>>                 >
>>                 <tc:column label="Фио" sortable="false">
>>                     <tc:link label="#{row.cn}"
>> action="edit@mailAccounts" 
>> actionListener="#{maSearchForm.selectEntry}"/>
>>                 </tc:column>
>>                 <tc:column label="Таб. номер" sortable="false"
>> align="right">
>>                     <tc:out value="#{row.employeeNumber}"/>
>>                 </tc:column>
>>                 <tc:column label="Отдел" sortable="false">
>>                     <tc:out value="#{row.ou}"/>
>>                 </tc:column>
>>                 <tc:column label="E-mail" sortable="false">
>>                     <tc:out value="#{row.mail}"/>
>>                 </tc:column>
>>             </tc:sheet>
>>
>>
>> With respect,
>>     Boris
>>
>>
With respect,
    Boris


Re: [Tobago] 1.0.10 tc:link problems

Posted by Volker Weber <v....@inexso.de>.
Hi Boris,

the first thing to check, if a action is not invoked for unknown
reason, ensure there is no
validation/conversion error.

add a tc:messages tag somewhere to the page, or configure the DebugPhaseListener
and set loglevel to debug to ensure InvokeApplicationPhase is executed.

Regards,
  Volker

2007/4/10, Boris Kovalenko <bo...@tagnet.ru>:
> Hello!
>
>     What's wrong with this code? When clicking on tc:link no action
> invoked and actionListener method not called also.
>
>             <tc:sheet id="sheet"
>                 value="#{maSearchForm.mailAccounts}" var="row"
>                 state="#{maSearchForm.sheetState}"
>                 selectable="none"
>                 rows="10"
>                 showRowRange="left"
>                 showPageRange="right"
>                 columns="1*;1*;1*;1*"
>                 >
>                 <tc:column label="Фио" sortable="false">
>                     <tc:link label="#{row.cn}"
> action="edit@mailAccounts" actionListener="#{maSearchForm.selectEntry}"/>
>                 </tc:column>
>                 <tc:column label="Таб. номер" sortable="false"
> align="right">
>                     <tc:out value="#{row.employeeNumber}"/>
>                 </tc:column>
>                 <tc:column label="Отдел" sortable="false">
>                     <tc:out value="#{row.ou}"/>
>                 </tc:column>
>                 <tc:column label="E-mail" sortable="false">
>                     <tc:out value="#{row.mail}"/>
>                 </tc:column>
>             </tc:sheet>
>
>
> With respect,
>     Boris
>
>