jsf - h:outputLink navigation sometimes does not work -
i have navigation define 1 page this.
<h:outputlink id="idlink" value="page1.seam" > <f:param name="m" value="n103" /> <f:param name="mss" value="110" /> <h:outputtext value="return page 1" /> <a4j:support event="onclick" action="#{beanname.action}" limittolist="true" ignoredupresponses="true" eventsqueue="que" ajaxsingle="true" immediate="true"> </a4j:support> </h:outputlink> the problem there view isn't changing page1.seam , remain in page2.seam. there knows better ? appreciated. thanks.
this construct makes no sense. make normal link
<h:outputlink value="page1.seam"> <f:param name="m" value="n103" /> <f:param name="mss" value="110" /> <h:outputtext value="return page 1" /> </h:outputlink> and invoke action on opening of page, use <f:event type="prerenderview"> in target view instead.
<f:event type="prerenderview" listener="#{beanname.action}" />
Comments
Post a Comment