You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2008/09/05 23:48:44 UTC

[jira] Created: (TRINIDAD-1218) children of tr:commandNavigationItem within a tr:navigationPane doesn't get rendered

children of tr:commandNavigationItem within a tr:navigationPane doesn't get rendered
------------------------------------------------------------------------------------

                 Key: TRINIDAD-1218
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1218
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.2.9-core, 1.0.9-core
            Reporter: Gerhard Petracek


children of tr:commandNavigationItem within a tr:navigationPane doesn't get rendered, if e.g. hint="tabs" is used
(possible children: e.g. an action-listener)

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


[jira] Commented: (TRINIDAD-1218) children of tr:commandNavigationItem within a tr:navigationPane don't get rendered

Posted by "Agam Dass (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655540#action_12655540 ] 

Agam Dass commented on TRINIDAD-1218:
-------------------------------------

You can define the actionListener in the tag itself as below :-
<tr:navigationPane hint="tabs" shortDesc="Select Page" id="editorExample">
  <tr:commandNavigationItem binding="#{editor.component}"
                            text="Editor Item"
                            shortDesc="Item with an assigned actionListener"
                            partialSubmit="true" accessKey="A"
actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
</tr:navigationPane>

> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered
> ----------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1218
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1218
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core, 1.2.9-core
>            Reporter: Gerhard Petracek
>
> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered, if e.g. hint="tabs" is used
> (possible child: e.g. an action-listener)

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


[jira] Commented: (TRINIDAD-1218) children of tr:commandNavigationItem within a tr:navigationPane don't get rendered

Posted by "Agam Dass (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655538#action_12655538 ] 

Agam Dass commented on TRINIDAD-1218:
-------------------------------------

Could you please explain the problem and copy the jsp tag source which you are using for this.

> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered
> ----------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1218
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1218
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core, 1.2.9-core
>            Reporter: Gerhard Petracek
>
> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered, if e.g. hint="tabs" is used
> (possible child: e.g. an action-listener)

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


[jira] Commented: (TRINIDAD-1218) children of tr:commandNavigationItem within a tr:navigationPane don't get rendered

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658991#action_12658991 ] 

Gerhard Petracek commented on TRINIDAD-1218:
--------------------------------------------

use-case for #1:
<tr:navigationTree value="#{bean.treeModel}" var="node">
  <f:facet name="nodeStamp">
    <tr:commandNavigationItem text="#{node.text}" action="#{node.navigate}" immediate="true">
      <o:endConversation name="#{node.conversationNameToTerminate}"/>
    </tr:commandNavigationItem>
  </f:facet>
</tr:navigationTree>

use-case for #2:
every use-case where you have to use more than one action listeners

> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered
> ----------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1218
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1218
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core, 1.2.9-core
>            Reporter: Gerhard Petracek
>
> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered, if e.g. hint="tabs" is used
> (possible child: e.g. an action-listener)

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


[jira] Issue Comment Edited: (TRINIDAD-1218) children of tr:commandNavigationItem within a tr:navigationPane don't get rendered

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658991#action_12658991 ] 

gpetracek edited comment on TRINIDAD-1218 at 12/23/08 3:52 PM:
----------------------------------------------------------------------

use-case for #1:
<tr:navigationTree value="#{bean.treeModel}" var="node">
  <f:facet name="nodeStamp">
    <tr:commandNavigationItem text="#{node.text}" action="#{node.navigate}" immediate="true">
      <o:endConversation name="#{node.conversationNameToTerminate}"/>
    </tr:commandNavigationItem>
  </f:facet>
</tr:navigationTree>

use-case for #2:
every use-case where you have to use more than one action listener

      was (Author: gpetracek):
    use-case for #1:
<tr:navigationTree value="#{bean.treeModel}" var="node">
  <f:facet name="nodeStamp">
    <tr:commandNavigationItem text="#{node.text}" action="#{node.navigate}" immediate="true">
      <o:endConversation name="#{node.conversationNameToTerminate}"/>
    </tr:commandNavigationItem>
  </f:facet>
</tr:navigationTree>

use-case for #2:
every use-case where you have to use more than one action listeners
  
> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered
> ----------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1218
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1218
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core, 1.2.9-core
>            Reporter: Gerhard Petracek
>
> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered, if e.g. hint="tabs" is used
> (possible child: e.g. an action-listener)

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


[jira] Commented: (TRINIDAD-1218) children of tr:commandNavigationItem within a tr:navigationPane don't get rendered

Posted by "Agam Dass (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658829#action_12658829 ] 

Agam Dass commented on TRINIDAD-1218:
-------------------------------------

Could you please attach just the snippet of the jsp tag code you are using and explain your usecase where you need multiple action listener. I know usecases where I can register a single actionListener and can support multiple cases for different outcome in that listener.

> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered
> ----------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1218
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1218
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core, 1.2.9-core
>            Reporter: Gerhard Petracek
>
> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered, if e.g. hint="tabs" is used
> (possible child: e.g. an action-listener)

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


[jira] Commented: (TRINIDAD-1218) children of tr:commandNavigationItem within a tr:navigationPane don't get rendered

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655590#action_12655590 ] 

Gerhard Petracek commented on TRINIDAD-1218:
--------------------------------------------

#1 it isn't possible to embed the endConversation tag of orchestra.
#2 if you have multiple action listeners, your solution wouldn't work

> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered
> ----------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1218
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1218
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core, 1.2.9-core
>            Reporter: Gerhard Petracek
>
> children of tr:commandNavigationItem within a tr:navigationPane don't get rendered, if e.g. hint="tabs" is used
> (possible child: e.g. an action-listener)

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