-
1. Re: understanding the support-tag
sergeysmirnov Mar 17, 2008 12:54 PM (in response to mmehrwald)See:
http://livedemo.exadel.com/richfaces-demo/richfaces/support.jsf?c=support
http://livedemo.exadel.com/richfaces-demo/richfaces/ajaxAttributes.jsf?c=ajaxattributes
and read "RichFaces. Developers Guide" -
2. Re: understanding the support-tag
mmehrwald Mar 17, 2008 7:49 PM (in response to mmehrwald)Thank you Sergey for you answer.
I am afraid that was not what I want to know.
I wrote my own component I now I need to use the support tag to catch all onchange events from my 8 select one menus but I do not know how those attributes get the ajax request call written.
So how can I attach the tag written in JSF to my components created in my own tag?
Markus -
3. Re: understanding the support-tag
sergeysmirnov Mar 17, 2008 7:59 PM (in response to mmehrwald)a4j:support attaches to the event defined with attribute. So, if you have the onchange attribute, you can say a4j:support event="onchange" and that is all you need.
For example, if this code works:<mylib:mytag onchange="alert('I am working')" />
this will work as well:<mylib:mytag> <a4j:support event="onchange" ...... /> </mylib:mytag>
-
4. Re: understanding the support-tag
mmehrwald Mar 18, 2008 4:56 PM (in response to mmehrwald)thank you very much. that was what I wanted to know and my component is working now.
-
5. Re: understanding the support-tag
sergeysmirnov Mar 18, 2008 5:14 PM (in response to mmehrwald)Good to know that your component is working now :-)