Re: How to do POST-REDIRECT-GET after action with PrettyFaces ?

Splash Forums PrettyFaces Users How to do POST-REDIRECT-GET after action with PrettyFaces ? Re: How to do POST-REDIRECT-GET after action with PrettyFaces ?

#21931

ceefour
Participant

@Christian:

Unfortunately, I’m not getting the behavior you described. I always get a standard postback (the URL is prettyfied, so URL rewriting is working). I’m using PrettyFaces 3.3.2 on JBoss AS 7.0.2 with Servlet 3.0 web.xml.

The template code is:

<h2>Relate</h2>

<p>

<h:selectOneMenu value=”#{userShowView.relatedSkillId}”>

<f:selectItems value=”#{skillsView.skills}” var=”skill” itemLabel=”#{skill.name}” itemValue=”#{skill.nodeId}”/>

</h:selectOneMenu>

<h:commandButton action=”#{userShowView.tellSkill}” value=”Tell” />

<h:commandButton action=”#{userShowView.seekSkill}” value=”Seek” />

</p>