Hi,

 

I just realized the problem was caused by a tr:poll component I was using in 
the same page. I took it out and everything is working fine now.

Thank you very much for your reply anyway, Rob!

 

Regards,

Michael

 

Von: Robert Stokes [mailto:rsto...@fs.fed.us] 
Gesendet: Donnerstag, 12. Februar 2009 17:54
An: MyFaces Discussion
Cc: users@myfaces.apache.org
Betreff: Re: [Trinidad] commandButtons not reacting on first click

 


See http://wiki.apache.org/myfaces/Facelets_with_Trinidad - Using Trinidad PPR 
(Partial Page Rendering) with Facelets

Rob 

"Huettenkofer Michael" <michael.huettenko...@munich-airport.de> wrote on 
02/12/2009 12:55:15 AM:

> Hi all,
> 
> I am developing an application based on Facelets, MyFaces and 
> Trinidad which I am deploying to a Tomcat servlet container. Some of
> the commandButtons I am using throughout the application do not 
> always fire their events when they are pressed. It sometimes takes 
> several times of pressing these buttons until I can see a reaction. 
> This behavior is sporadic and I was not able to find any kind of a 
> pattern behind it yet. It only seems to happen on one particular 
> page of the application, my commandButtons on the other pages seem 
> to work perfectly fine.
> While the buttons look pressed every time I click on them, logging 
> proves that action- and actionListener-methods are not always 
> called. Below you can find an example for one of these buttons:
> 
> <tr:commandButton id="cbMessung1"
>                           text="${timerBean.buttonText[0]}"
>                           disabled="${timerBean.messreihe.messlaenge == 0}"
>                           actionListener="${timerBean.
> timerButtonListener}"                               
>                           partialSubmit="true" 
>                           partialTriggers="cbMessung1 
> cbMessungAbbruch1 rbMesslaenge boxMessung1"
>                           inlineStyle="width:150px;"/>
> 
> I am aware that the action-attribute is not defined in this button, 
> but I already (unsuccessfully) tried using that instead of the actionListener.
> 
> Is the described behavior a known problem and do you have an idea 
> how to make this work? Any hints are greatly appreciated.
> 
> Regards,
> Michael
> _____________________________________________________________ 
> Munich Airport International 
> Flughafen München GmbH 
> Michael Hüttenkofer 
> Competence Center Application Development 
> P. O. Box 23 17 55
> 85326 München 
> Phone: +49 89 975-3 24 37 
> Fax: +49 89 975-3 24 06 
> < <http://wiki.apache.org/myfaces/Facelets_with_Trinidad> 
> mailto:michael.huettenko...@munich-airport.de> 
> Vorsitzender des Aufsichtsrats: - Chairman of the Supervisory Board:    
> Staatsminister Georg Fahrenschon
> Geschäftsführung: - Executive Board: 
> Dr. Michael Kerkloh, Walter Vill und Thomas Weyer 
> Handelsregister: - Commercial Register: RG München, HR-Nr. B 5448 
> Sitz der Gesellschaft: - Registered Office: München 
> _____________________________________________________________ 
> 
> 
<mailto:michael.huettenko...@munich-airport.de> 

Reply via email to