This content has been marked as final.
Show 4 replies
-
1. Re: modalPanel disappears after a few seconds
nbelaevski Feb 25, 2009 1:32 PM (in response to styx2000)Hello,
You can use a4j:commandButton and open modal panel by oncomplete. -
2. Re: modalPanel disappears after a few seconds
styx2000 Feb 25, 2009 1:46 PM (in response to styx2000)thanks, it works!
can i ask why? and why the other buttton doesnt work? -
3. Re: modalPanel disappears after a few seconds
nbelaevski Feb 25, 2009 2:07 PM (in response to styx2000)That's because model panel doesn't keep its opened state across requests and h:commandButton causes full page reloading, so that panel closes. Even if state was kept the visual experience won't be good, because panel will blink. a4j:commandButton doesn't reload the whole page, it does partial page content update.
-
4. Re: modalPanel disappears after a few seconds
styx2000 Feb 26, 2009 3:45 AM (in response to styx2000)great, thanks for the explanation!