-
1. Re: Rerender event not fired in Richtab panel
norman.richards Aug 8, 2007 7:22 PM (in response to jfrankman)Does event="onchange" work for you on the selctOneRadio?
-
2. Re: Rerender event not fired in Richtab panel
jfrankman Aug 8, 2007 10:14 PM (in response to jfrankman)No, same behavior. I actually started with the onchange event, but when I ran into this problem I switched to onclick to see if it would make any difference.
I have since found that if I add ajaxSingle="true" to the support tag, as in:<a:support event="onclick" reRender="panelx,panely" ajaxSingle="true" />
Then it works. I have not had time to research why this would make a difference though.
Now that I can get it to rerender on the event now, I am trying to make it work inside the decorator/label combination, but I am confounded again:<s:decorate id="deductible1Decoration" template="layout/edit.xhtml"> <ui:define name="label" > <s:div id="panely"> <h:panelGroup rendered="#{rptphdmgbinderHome.instance.coveragetype!='AUTO'}">Deductible</h:panelGroup> <h:panelGroup rendered="#{rptphdmgbinderHome.instance.coveragetype=='AUTO'}">Comp</h:panelGroup> </s:div> </ui:define> <h:inputText id="deductible1" size="10" maxlength="10" required="true" value="#{rptphdmgbinderHome.instance.deductible1}"> <a:support event="onblur" reRender="deductible1Decoration"/> </h:inputText> </s:decorate>
When I do this, and the text is rendered the label shows up in a different location than it is supposed to. -
3. Re: Rerender event not fired in Richtab panel
norman.richards Aug 9, 2007 1:10 AM (in response to jfrankman)Well, I've no explanation there. Why not ask on the richfaces forum? I do know that the charting demo (in the itext example app) uses a rich panel with onchange events on a wide variety of controls. I didn't experience any problems like you did.
-
4. Re: Rerender event not fired in Richtab panel
maisoft Aug 21, 2007 5:03 AM (in response to jfrankman)I have the same problem with tabPanel, every action inside this tag is ignored the first time, i have to click twice to run the action ...
I tried with <a:support event="onclick" reRender="panelx,panely" ajaxSingle="true" /> but without any results ...