[
https://issues.apache.org/jira/browse/TOMAHAWK-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640341#action_12640341
]
Leonardo Uribe commented on TOMAHAWK-822:
-----------------------------------------
The menu in jscookmenu is generated using a javascript call:
<script type="text/javascript"><!--
var idJsp0__idJsp1_menu =
[[null, 'Home',
'idJsp0__idJsp1_menu:L]#{navigationMenu.actionListener};Home:A]go_home',
'_idJsp0', null],
[null, 'Home',
'idJsp0__idJsp1_menu:L]#{navigationMenu.actionListener};go_home:A]go_home',
'_idJsp0', null],
[null, 'Examples', null, '_idJsp0', null,[null, 'Sample 1',
'idJsp0__idJsp1_menu:A]go_sample1', '_idJsp0', null],
_cmSplit,[null, '', null, '_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'Sample 2',
'idJsp0__idJsp1_menu:A]go_sample2', '_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'Validations',
'idJsp0__idJsp1_menu:A]go_validate', '_idJsp0', null],
_cmSplit,['<img src="images/component.gif"/>', 'Components', null, '_idJsp0',
null,['<img src="images/myfaces.gif"/>', 'Sortable Table',
'idJsp0__idJsp1_menu:A]go_sortTable', '_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'Selectboxes',
'idJsp0__idJsp1_menu:A]go_selectbox', '_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'File upload',
'idJsp0__idJsp1_menu:A]go_fileupload', '_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'Tabbed Pane',
'idJsp0__idJsp1_menu:A]go_tabbedPane', '_idJsp0', null],
_cmSplit,['<img src="images/myfaces.gif"/>', 'Calendar',
'idJsp0__idJsp1_menu:A]go_calendar', '_idJsp0', null],
_cmSplit,['<img src="images/myfaces.gif"/>', 'Popup',
'idJsp0__idJsp1_menu:A]go_popup', '_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'Date', 'idJsp0__idJsp1_menu:A]go_date',
'_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'Html Editor',
'idJsp0__idJsp1_menu:A]go_inputHtml', '_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'Tree2', 'idJsp0__idJsp1_menu:A]go_tree2',
'_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'Tree Table',
'idJsp0__idJsp1_menu:A]go_treeTable', '_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'DataScroller',
'idJsp0__idJsp1_menu:A]go_datascroller', '_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'Stylesheet',
'idJsp0__idJsp1_menu:A]go_css', '_idJsp0', null],
['<img src="images/myfaces.gif"/>', 'Newspaper Table',
'idJsp0__idJsp1_menu:A]go_newspaperTable', '_idJsp0', null]]],
[null, 'Apache MyFaces Home',
'idJsp0__idJsp1_menu:A]http://myfaces.apache.org', '_idJsp0', null]];
//--></script><div id="idJsp0__idJsp1_menu"></div>
<script type="text/javascript"><!--
if(window.cmDraw!=undefined) { cmDraw ('idJsp0__idJsp1_menu',
idJsp0__idJsp1_menu, 'hbr', cmThemeOffice, 'ThemeOffice');}
//--></script>
I don't see how not ignore the id, since there is no html tag used to set it or
something like that.
> ID attribute on t:navigationMenuItem is ignored
> -----------------------------------------------
>
> Key: TOMAHAWK-822
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-822
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: NavigationMenuItem
> Affects Versions: 1.1.3
> Reporter: Richard J. Barbalace
>
> The "id" attribute can be specified in the t:navigationMenuItem tag, but this
> does not result in an id attribute on any generated HTML tags. This means
> programmatically referencing menu items in JSCookMenu is impossible (say, for
> testing purposes or automated navigation).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.