Is an AJAX navigation possible using "action" attributes?
Posted: 31 Aug 2011, 18:03
is it possible to do an ajax ppr using JSF actions/outcomes?
Consider this code:
with this navigation rule:
With the above code, the server sends over a PPR via AJAX, but the browser does not render it.
Thanks,
-Jon
Consider this code:
Code: Select all
<p:menuitem
id="domainsMenuItem"
value="Domain Object Definitions"
action="domains" />
with this navigation rule:
Code: Select all
<navigation-rule>
<navigation-case>
<from-outcome>domains</from-outcome>
<to-view-id>/domains.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
Thanks,
-Jon