Re: pretty:link and query parameter

Splash Forums PrettyFaces Users pretty:link and query parameter Re: pretty:link and query parameter

#20648

If you return pretty:board_topic from your action method, you will have to populate the value of #{boardTopicAction.forumPattern}. Something like this:

@Named
@RequestScoped
public class SomeBeanWithActionMethod {

@Inject
private BoardTopicAction boardTopicAction;

public void myActionMethod() {

// do some more stuff
...

// navigation
boardTopicAction.setForumPattern("some-pattern");
return "pretty:board_topic";

}

}

Please post some more of you code if this still doesn’t work.