| Author |
a4j:support attribute evaulation
|
Ahmed Basheer
Ranch Hand
Joined: Apr 15, 2004
Posts: 77
|
|
I have question about the ordering of the evailation of JSF expressions in a4j:support. e.g <a4j:support oncomplete="openNewWindow('#{myBean.URL}', event="onclick" actionListener="#{myBean.setContextURL}" /> In the a4j:support above I expect actionListener/setContextURL to be called first before "{myBean.URL}" is evaulated but it doesn't happen that way. It evaulates "{myBean.URL}" first and then calls action listener and finally opens the window. [openNewWindow is a java script that opens a window with the URL"]. Basically my intention here is that setContextURL will set the URL and myBean.URL will get the newly set value and opens the window with newly set URL. Any insights. I tried putting immediate="true" doesn't make any difference. Help Appreciated. -Basheer
|
 |
 |
|
|
subject: a4j:support attribute evaulation
|
|
|