You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2017/08/23 13:56:00 UTC

[jira] [Created] (TOBAGO-1785) link="/" may render a wrong href

Udo Schnurpfeil created TOBAGO-1785:
---------------------------------------

             Summary: link="/" may render a wrong href 
                 Key: TOBAGO-1785
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1785
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Themes
    Affects Versions: 3.0.5
            Reporter: Udo Schnurpfeil
            Priority: Minor


When using suffix-mapping for the FacesServlet and using
{code}
<tc:link link="/" /> 
{code}
the resulting href may look like href="/.xhtml" which isn't defined.
This is because the change of TOBAGO-1752, which fixes the window-id parameter.

Workarounds:
* Don't use this, but use e.g. link="/index.xhtml" instread.
* Write a small JS Script to fix these cases.

This is not a Tobago 4 problem, because of the new outcome parameter. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)