bug on version prettyfaces-jsf2 3.3.3 on PrettyURLBuilder class

Splash Forums PrettyFaces Users bug on version prettyfaces-jsf2 3.3.3 on PrettyURLBuilder class

This topic contains 2 replies, has 2 voices, and was last updated by  jlerbsc 6 months, 1 week ago.

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

    jlerbsc
    Participant

    It seems that UIParameter.name is setted with RequestParameter.value!! probably a bug?

    public String build(final UrlMapping mapping, final boolean encodeUrl, final RequestParameter... parameters)
       {
          List<UIParameter> list = new ArrayList<UIParameter>();
          if(parameters != null)
          {
             for (RequestParameter param : parameters)
             {
                UIParameter p = new UIParameter();
                if (param != null)
                {
                   p.setValue(param.getName());
                   p.setValue(param.getValue());
                }
                list.add(p);
             }
          }
          return build(mapping, false, list);
       }
    #27328

    You could be correct. That looks weird.

    However, PrettyFaces 3.3.3 is really really old. PrettyFaces has now been integrated into Rewrite. You should really update to Rewrite.

    #27329

    jlerbsc
    Participant

    you’re right I will integrate rewrite into my project. Thanks.

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

You must be logged in to reply to this topic.

Comments are closed.