This content has been marked as final.
Show 3 replies
-
1. Re: refresh view
pmuir Feb 12, 2007 6:25 AM (in response to straubp)You'll need to post the code for person and for address
-
2. Re: refresh view
straubp Feb 12, 2007 6:44 AM (in response to straubp)Hi petemuir,
thanks for your quick reply!
But I just figured it out:
I use the RedirectFilter but haven't defined a redirect in pages.xml for the page when the outcome is null (I thought this wouldn't be necessary). Now I have:<navigation from-action="#{personListManager.nextPerson()}"> <redirect view-id="/person.xhtml" /> </navigation>
With this it's working now. By the way, is there a rule to redirect to the current page when the outcome is null or unknown? -
3. Re: refresh view
pmuir Feb 12, 2007 6:48 AM (in response to straubp)If the outcome is null, the current page is redisplayed (rather than redirected to) - so whats happening is that on your redirect (as you said above) more things are getting refreshed than on the redisplay. Without seeing what scopes you are using its hard to say more ;)