You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Tomas Havelka (JIRA)" <de...@myfaces.apache.org> on 2008/10/17 10:26:46 UTC

[jira] Created: (TRINIDAD-1268) CommandNavigationItem limitation

CommandNavigationItem limitation
--------------------------------

                 Key: TRINIDAD-1268
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1268
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.0.9-core
            Reporter: Tomas Havelka


CommandNavigationItem component cannot consume relative urls within its destination parameter. It does not prefix urls starting with slash (/) with context name. For example GoLink component can do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TRINIDAD-1268) CommandNavigationItem limitation

Posted by "Martin Fekete (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Fekete updated TRINIDAD-1268:
------------------------------------

    Status: Patch Available  (was: Open)

> CommandNavigationItem limitation
> --------------------------------
>
>                 Key: TRINIDAD-1268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core
>            Reporter: Tomas Havelka
>
> CommandNavigationItem component cannot consume relative urls within its destination parameter. It does not prefix urls starting with slash (/) with context name. For example GoLink component can do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TRINIDAD-1268) CommandNavigationItem limitation

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated TRINIDAD-1268:
-----------------------------------------

       Resolution: Fixed
    Fix Version/s:  1.2.11-core
                    1.0.11-core
         Assignee: Matthias Weßendorf
           Status: Resolved  (was: Patch Available)

> CommandNavigationItem limitation
> --------------------------------
>
>                 Key: TRINIDAD-1268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core
>            Reporter: Tomas Havelka
>            Assignee: Matthias Weßendorf
>             Fix For:  1.0.11-core,  1.2.11-core
>
>         Attachments: TRINIDAD-1268.patch
>
>
> CommandNavigationItem component cannot consume relative urls within its destination parameter. It does not prefix urls starting with slash (/) with context name. For example GoLink component can do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1268) CommandNavigationItem limitation

Posted by "Tomas Havelka (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651936#action_12651936 ] 

Tomas Havelka commented on TRINIDAD-1268:
-----------------------------------------

See below simple example which does not work:

        <tr:navigationPane hint="list">
          <tr:commandNavigationItem text="Index" destination="/index.jspx"/>
        </tr:navigationPane>

In the opposite this works correctly:
        <tr:goLink text="Index" destination="/index.jspx"/>

I would expect that destination attribute will work the same way in both components.


> CommandNavigationItem limitation
> --------------------------------
>
>                 Key: TRINIDAD-1268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core
>            Reporter: Tomas Havelka
>
> CommandNavigationItem component cannot consume relative urls within its destination parameter. It does not prefix urls starting with slash (/) with context name. For example GoLink component can do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1268) CommandNavigationItem limitation

Posted by "Martin Fekete (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661540#action_12661540 ] 

Martin Fekete commented on TRINIDAD-1268:
-----------------------------------------

this is problem of tr:navigationPane.

tr:commandNavigationItem works well if its not nested inside tr:navigationPane.


> CommandNavigationItem limitation
> --------------------------------
>
>                 Key: TRINIDAD-1268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core
>            Reporter: Tomas Havelka
>
> CommandNavigationItem component cannot consume relative urls within its destination parameter. It does not prefix urls starting with slash (/) with context name. For example GoLink component can do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1268) CommandNavigationItem limitation

Posted by "Vimal Kumar Gupta (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651927#action_12651927 ] 

Vimal Kumar Gupta commented on TRINIDAD-1268:
---------------------------------------------

Could you be more specific about this issue. I don't see any difference in the behavior of goLink and commandNavigationItem. I am able to use relative urls with commandNavigationItem. e.g., "./**.jspx", "../**.jspx" etc.

> CommandNavigationItem limitation
> --------------------------------
>
>                 Key: TRINIDAD-1268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core
>            Reporter: Tomas Havelka
>
> CommandNavigationItem component cannot consume relative urls within its destination parameter. It does not prefix urls starting with slash (/) with context name. For example GoLink component can do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1268) CommandNavigationItem limitation

Posted by "Tomas Havelka (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661548#action_12661548 ] 

Tomas Havelka commented on TRINIDAD-1268:
-----------------------------------------

Maybe other components which uses commandNavigationItem has to be inspected for this issue if all those works well and not as same as wrong as navigationPane.

> CommandNavigationItem limitation
> --------------------------------
>
>                 Key: TRINIDAD-1268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core
>            Reporter: Tomas Havelka
>         Attachments: TRINIDAD-1268.patch
>
>
> CommandNavigationItem component cannot consume relative urls within its destination parameter. It does not prefix urls starting with slash (/) with context name. For example GoLink component can do that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.