This content has been marked as final.
Show 2 replies
-
1. Re: [newbie] FadeOut after form validation
nbelaevski Sep 3, 2008 2:39 PM (in response to evguen)Hello,
Look at rich:effect component. -
2. Re: [newbie] FadeOut after form validation
evguen Sep 4, 2008 6:54 AM (in response to evguen)Hello,
thanks for your answer.
But I still have a trouve with this. I see the effect only when the full page is refreshed (with a h:commandLink). But when I try to update a part of a page (with a4j:commandLink reRender="area") then I cannot see the effect. The text appear, but it does not dissapear.
Here is my code below :<h:form> <t:div id="area"> <rich:effect for="window" event="onload" type="Fade" params="targetId:'content:_idJsp4:contentDiv2',duration:3,from:1,to:0" /> <t:div id="contentDiv2"> <h:outputText value="Hello world ! " styleClass="revealError" /> </t:div> <h:commandLink action="#{test.actionRefresh}" value="Click here for page refresh" /> <a4j:commandLink reRender="area" action="#{test.actionRefresh}"> <h:outputText value="Click here for partiel refresh" /> </a4j:commandLink> </t:div> </h:form>
The code of actionRefresh is :public String actionRefresh() { return null; }
How can I use rich:effect with a4j:commandLink reRender="xxx" ?
Thanks in advance for any help
I also forgot to say that I use RichFaces 3.1.6...
Best regards