MyFaces 1.2 : attribute valueChangeListener
Hi, I've seen in the MyFaces 1.2 that the EditableValueHolder.setValueChangeListener method is deprecated and we should now use addValueChangeListener(MethodExpressionValueChangeListener) instead. See: http://myfaces.apache.org/core12/myfaces-api/apidocs/index.html?javax/faces/ component/UIComponent.html So when I use the tag selectOneMenu with the attribute valueChangeListener the listener is added to the selectOneMenu component, wright ? h:selectOneMenu value=#{flightController.selectedFlightCode} onchange=submit() valueChangeListener=#{flightController.changeSelectedFlightCode} valueChangeListener=#{flightController.changeSelectedFlightCode2} f:selectItems value=#{flightController.flightCodes} / But it seems that this is not the correct syntax :-( .
Re: MyFaces 1.2 : attribute valueChangeListener
Hi, You can only add one ValueChangeListener via the valueChangeListener attribute on the tag. If you want to add more than one you have to add f:valueChangeListener / tags as children to your h:selectOneMenu /. Here you can find the documentation of f:valueChangeListener/: http://myfaces.apache.org/core12/myfaces-impl/tlddoc/f/valueChangeListener.html Regards, Jakob 2010/7/29 ABOUSSOROR El Arbi el-arbi.abousso...@sogeti.com Hi, I've seen in the MyFaces 1.2 that the EditableValueHolder.setValueChangeListener method is deprecated and we should now use addValueChangeListener(MethodExpressionValueChangeListener) instead. See: http://myfaces.apache.org/core12/myfaces-api/apidocs/index.html?javax/faces/ component/UIComponent.htmlhttp://myfaces.apache.org/core12/myfaces-api/apidocs/index.html?javax/faces/%0Acomponent/UIComponent.html So when I use the tag selectOneMenu with the attribute valueChangeListener the listener is added to the selectOneMenu component, wright ? h:selectOneMenu value=#{flightController.selectedFlightCode} onchange=submit() valueChangeListener=#{flightController.changeSelectedFlightCode} valueChangeListener=#{flightController.changeSelectedFlightCode2} f:selectItems value=#{flightController.flightCodes} / But it seems that this is not the correct syntax :-( . -- Jakob Korherr blog: http://www.jakobk.com twitter: http://twitter.com/jakobkorherr work: http://www.irian.at
[Tobago] Problem using tc:selectOneChoice
Hi all, I habe a problem by using tc:selectOneChoice in a sheet. Internet Explorer displays the drop down menu in the header of the sheet by scrolling. Rendering with firefox works fine. I don`t know, what it`s wrong? Tabago: 1.0.27 MyFaces: 1.1.7 IE: 6 Best regards, Hani
Re: [Tobago] Problem using tc:selectOneChoice
Hi Hani, please report an issue in the Jira. (The problem looks like the known issue with ie6 and select tags in IE6) Regards, Udo Am 29.07.10 12:22, schrieb Abushammala, Hani (EXTERN: FTP): Hi all, I habe a problem by using tc:selectOneChoice in a sheet. Internet Explorer displays the drop down menu in the header of the sheet by scrolling. Rendering with firefox works fine. I don`t know, what it`s wrong? Tabago: 1.0.27 MyFaces: 1.1.7 IE: 6 Best regards, Hani
AW: [Tobago] Problem using tc:selectOneChoice
Hi Udo, An issue on Jira is created. Is there another option or a workaround to fix this problem. What are the reasons for this problem? Regards, Hani -Ursprüngliche Nachricht- Von: Udo Schnurpfeil [mailto:u...@schnurpfeil.de] Gesendet: Donnerstag, 29. Juli 2010 15:03 An: MyFaces Discussion Betreff: Re: [Tobago] Problem using tc:selectOneChoice Hi Hani, please report an issue in the Jira. (The problem looks like the known issue with ie6 and select tags in IE6) Regards, Udo Am 29.07.10 12:22, schrieb Abushammala, Hani (EXTERN: FTP): Hi all, I habe a problem by using tc:selectOneChoice in a sheet. Internet Explorer displays the drop down menu in the header of the sheet by scrolling. Rendering with firefox works fine. I don`t know, what it`s wrong? Tabago: 1.0.27 MyFaces: 1.1.7 IE: 6 Best regards, Hani
Orchestra and HttpSession Size.
Hi, I am currently profiling my jsf orchestra application and trying to calculate the approximate size of HttpSession. I am using a tool called MessAdmin (http://messadmin.sourceforge.net/) which helps me to list each and every session attribute and approximately calculates the size. I want to understand why in Details for Session HTTP, there is a attribute org.apache.myfaces.orchestra.conversation.conversationmana...@658c349c that can reach size upto 120 MB at the begin of the conversation. The managed beans are conversation.manual and don't have a huge size. Furthermore, it seems that there is one ConversationManager object by http session that contains alls conversations And when i use a profiler the application, there is no increase of the heap memory in server-side at each conversation. Is there any noted explanation for this ? Bug in Messadmin http session calculation or Orchestra needs lot of memory ? Thanks Seb -- PGP : 0x73E6EF22