Author: sergeyhalipov
Date: 2008-03-17 10:22:35 -0400 (Mon, 17 Mar 2008)
New Revision: 6855
Modified:
trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx
trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx
Log:
http://jira.jboss.com/jira/browse/RF-2281
Modified: trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx
===================================================================
--- trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx 2008-03-17
14:13:17 UTC (rev 6854)
+++ trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx 2008-03-17
14:22:35 UTC (rev 6855)
@@ -27,28 +27,30 @@
<f:call name="utils.encodePassThru" />
- <tr id="row_#{clientId}"
- class="#{this:getSelectedClass( context, component )}" >
- <td class="dr-pmenu-nowrap #{this:getIconClass( context,
component,'left')}">
- <f:call name="insertSpacerImages" />
- <f:call name="insertImage">
- <f:parameter value="left" />
- </f:call>
- </td>
- <td style="width:100%" id="icon#{clientId}"
class="dr-pmenu-group-self-label #{this:getLabelClass( context, component )}"
>
- <input type="hidden" name="panelMenuState#{clientId}"
- value="#{isNodeOpened}" />
-
- <input type="hidden" name="panelMenuAction#{clientId}"
- value="" />
- <f:call name="insertLabel"/>
- </td>
- <td class="#{this:getIconClass( context,
component,'right')}">
- <f:call name="insertImage">
- <f:parameter value="right" />
- </f:call>
- </td>
- </tr>
+ <tbody>
+ <tr id="row_#{clientId}"
+ class="#{this:getSelectedClass( context, component )}" >
+ <td class="dr-pmenu-nowrap #{this:getIconClass( context,
component,'left')}">
+ <f:call name="insertSpacerImages" />
+ <f:call name="insertImage">
+ <f:parameter value="left" />
+ </f:call>
+ </td>
+ <td style="width:100%" id="icon#{clientId}"
class="dr-pmenu-group-self-label #{this:getLabelClass( context, component )}"
>
+ <input type="hidden" name="panelMenuState#{clientId}"
+ value="#{isNodeOpened}" />
+
+ <input type="hidden" name="panelMenuAction#{clientId}"
+ value="" />
+ <f:call name="insertLabel"/>
+ </td>
+ <td class="#{this:getIconClass( context,
component,'right')}">
+ <f:call name="insertImage">
+ <f:parameter value="right" />
+ </f:call>
+ </td>
+ </tr>
+ </tbody>
</table>
<vcp:body>
<f:call name="renderChildren" />
Modified: trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx
===================================================================
--- trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx 2008-03-17
14:13:17 UTC (rev 6854)
+++ trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx 2008-03-17
14:22:35 UTC (rev 6855)
@@ -23,27 +23,29 @@
<f:parameter value="onclick,onmousedown,onmouseup,onmousemove" />
</f:call>
- <tr id="row_#{clientId}"
- class="#{this:getSelectedClass( context, component )}" >
- <td class="dr-pmenu-nowrap #{this:getIconClass( context,
component,'left')}">
- <f:call name="insertSpacerImages" />
- <f:call name="insertImage">
- <f:parameter value="left" />
- </f:call>
- </td>
- <td style="width:100%" id="icon#{clientId}"
class="dr-pmenu-group-self-label #{this:getLabelClass( context, component )}"
>
- <input type="hidden" name="panelMenuAction#{clientId}"
value=""/>
- <f:call name="insertLabel"/>
- <vcp:body>
- <f:call name="renderChildren" />
- </vcp:body>
- </td>
- <td class="#{this:getIconClass( context,
component,'right')}">
- <f:call name="insertImage">
- <f:parameter value="right" />
- </f:call>
- </td>
- </tr>
+ <tbody>
+ <tr id="row_#{clientId}"
+ class="#{this:getSelectedClass( context, component )}" >
+ <td class="dr-pmenu-nowrap #{this:getIconClass( context,
component,'left')}">
+ <f:call name="insertSpacerImages" />
+ <f:call name="insertImage">
+ <f:parameter value="left" />
+ </f:call>
+ </td>
+ <td style="width:100%" id="icon#{clientId}"
class="dr-pmenu-group-self-label #{this:getLabelClass( context, component )}"
>
+ <input type="hidden" name="panelMenuAction#{clientId}"
value=""/>
+ <f:call name="insertLabel"/>
+ <vcp:body>
+ <f:call name="renderChildren" />
+ </vcp:body>
+ </td>
+ <td class="#{this:getIconClass( context,
component,'right')}">
+ <f:call name="insertImage">
+ <f:parameter value="right" />
+ </f:call>
+ </td>
+ </tr>
+ </tbody>
</table>
</div>
</f:root>
\ No newline at end of file