Hello everybody,
We are using woodstock jsf components in our project.
When we upgraded our project to woodstock 4.2 from
woodstock 4.0; we have seen that our a4j components
couldn't run. So we have replaced our codes with
dynafaces ajax functionality.
To support this functionality, instead of writing
javascript codes to our existing jsp pages, we wrote a
simple component, which generates javascript code
(DynaFaces.fireAjaxTransaction function) and attaches
it to the parent component.
This component does nearly the same thing with the
a4j's ajaxsupport tag.
The usage of this component:
<webuijsf:textField id="f2" text="#{deneme.text2}">
<cst:ajaxSupport reRender="form1:f1"
listener="#{deneme.textChanged2}" execute="form1:f2"
event="blur"/>
</webuijsf:textField>
The tag description is available in:
http://ceng.metu.edu.tr/~e1595826/ajaxsupport/ajaxsupport.tag.txt
The sources are available in:
http://ceng.metu.edu.tr/~e1595826/ajaxsupport/AjaxSupport.java
http://ceng.metu.edu.tr/~e1595826/ajaxsupport/tags/AjaxSupportTag.java
I think it would be better the woodstock project has a
component that does the similar thing with this
component.
Have a nice day...
Yusuf Karagol
____________________________________________________________________________________
No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends.
http://tc.deals.yahoo.com/tc/blockbuster/text1.com