Modify url parameter

Splash Forums PrettyFaces Users Modify url parameter

This topic contains 2 replies, has 2 voices, and was last updated by  Lincoln Baxter III 7 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #26050



    i have a String e.g. “Pretty Faces”
    But how can I do this String to pretty-faces?

    I created a method and put it in the @PostConstruct method.

    private String createCorrectString(String s) {
    		s = s.replaceAll(" ", "");
    		s = s.toUpperCase();
    		return s;

    Here my attribut:
    private String name;`

    and I put it in the @PostConstruct method:

    	public void init() throws UserPageNotFoundException, UserNotFoundException {
    			String s = userService.getLoggedinUser().getUserInfo()
    			name = createCorrectPseudonymName(name);

    I think my problem is the userService will not correct inject, name is everytime NULL.

    here my commandButton in the JSF-Page:
    `<p:menuitem value=”Show”
    <f:param name=”name”
    value=”#{}” />

    Could anybody help me, please



    i solved it with adding


    Glad you figured out the solution! Thanks for posting your answer.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘PrettyFaces Users’ is closed to new topics and replies.

Comments are closed.