This content has been marked as final.
Show 2 replies
-
1. Re: richfaces wizard + <rich:graphValidator/>
raster3 Apr 3, 2013 11:35 PM (in response to raster3)It looks like expected behaviour not working properly.
Is there any way to not use <rich:toggleControl/> but get same behaviour by invoking a ajax callback javascript function?
-
2. Re: richfaces wizard + <rich:graphValidator/>
raster3 Apr 7, 2013 6:17 AM (in response to raster3)Got it working by removing the
<rich:toggleControl/>
Then using this:
<a4j:commandButton oncomplete="someFunc();" render="nextpage" style="float:right" value="Next1 >>"
id="nextButton"/>
<h:inputText value="#{key.page2}" immediate="true" id="nextpage" />
</rich:graphValidator>
<SCRIPT type="text/javascript">
function someFunc()
{
var nextpageName=document.getElementById('nextpage').value;
RichFaces.$('j_idt50').switchToItem(nextpageName);
}
</SCRIPT>
It all works if <rich:togglePanel /> hasswitchType="client"