This content has been marked as final.
Show 4 replies
-
1. Re: ajax perform action
sjmenden Aug 7, 2008 7:01 PM (in response to bashan)I haven' tested this but it should work in theory. You'll want to use rich:modalPanel: http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf?c=modalPanel and on the button that sends your message in the modalPanel do a oncomplete="#{rich:component('mp')}.hide()" -
2. Re: ajax perform action
bashan Aug 7, 2008 8:42 PM (in response to bashan)Sorry. maybe I didn't explain myself well... I have no problem with showing a layer (it shouldnt be a modal popup, just a simple layer). I use a simple div and some javascript for it... my problem is with the a4j ajax. I want simply to be able to run some javascript code at the end of the ajax response. This code simply should hide the layer. Is it possible using ajax4jsf?
Thanks.
-
3. Re: ajax perform action
sjmenden Aug 7, 2008 9:57 PM (in response to bashan)you should be able to use oncomplete on any richfaces/ajax4jsf component to run some javascript when the response has completed. I'm not the best person to ask for this though, so if that doesn't help, you should repost your question on the Richfaces forum.
-
4. Re: ajax perform action
bashan Aug 9, 2008 12:55 AM (in response to bashan)Thanks, working great.