I'm not using Trinidad just MyFaces and Tomahawk.
| "Cosma Colanicchia"
<[EMAIL PROTECTED]>
31/07/2006 16:55
|
|
If you are using Trinidad, you should download the latest sources to
use JSCookMenu.
Cosma
2006/7/31, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Hello All,
>
> I have set up a JSCookMenu to display a Navigation menu but when I click on
> a menu item my navigation is ignored and I am returned to the current page.
> When I view the source I get the following :-
>
> <form id="mainMenuForm" name="mainMenuForm" method="post"
> action=""> > enctype="application/x-www-form-urlencoded">
>
> <script type="text/_javascript_"><!--
> var mainMenuForm_menu_menu =
> [[null, 'Monitoring', 'mainMenuForm_menu_menu:action1',
> 'linkDummyForm', null,[null, 'Main',
> 'mainMenuForm_menu_menu:mainmenu', 'linkDummyForm', null],
> [null, 'File Status', 'mainMenuForm_menu_menu:action1_2',
> 'linkDummyForm', null],
> [null, 'Timelines', 'mainMenuForm_menu_menu:action1_3',
> 'linkDummyForm', null],
> [null, 'Admin Messages',
> 'mainMenuForm_menu_menu:action1_4', 'linkDummyForm', null];
> //--></script><div id="mainMenuForm_menu_menu">
>
> I have looked at the current example (snapshot 1.1.5) and when I view the
> source the linkDummyForm is replaced with the current formId (_idJsp0) :-
>
> <form id="_idJsp0" name="_idJsp0" method="post"
> action=""> > enctype="application/x-www-form-urlencoded">
>
> <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,,
> ['<img src="" 'Sample 2',
> 'idJsp0__idJsp1_menu:A]go_sample2', '_idJsp0', null],
> ['<img src="" 'Validations',
> 'idJsp0__idJsp1_menu:A]go_validate', '_idJsp0', null],
> _cmSplit,['<img src="" 'Components', null,
> '_idJsp0', null,['<img src="" 'Sortable Table',
> 'idJsp0__idJsp1_menu:A]go_sortTable', '_idJsp0', null],
> ['<img src="" 'Selectboxes',
> 'idJsp0__idJsp1_menu:A]go_selectbox', '_idJsp0', null],
> ['<img src="" 'File upload',
> 'idJsp0__idJsp1_menu:A]go_fileupload', '_idJsp0', null],
> ['<img src="" 'Tabbed Pane',
> 'idJsp0__idJsp1_menu:A]go_tabbedPane', '_idJsp0', null],
> _cmSplit,['<img src="" 'Calendar',
> 'idJsp0__idJsp1_menu:A]go_calendar', '_idJsp0', null],
> _cmSplit,['<img src="" 'Popup',
> 'idJsp0__idJsp1_menu:A]go_popup', '_idJsp0', null],
> ['<img src="" 'Date',
> 'idJsp0__idJsp1_menu:A]go_date', '_idJsp0', null],
> ['<img src="" 'Html Editor',
> 'idJsp0__idJsp1_menu:A]go_inputHtml', '_idJsp0', null],
> ['<img src="" 'Tree2',
> 'idJsp0__idJsp1_menu:A]go_tree2', '_idJsp0', null],
> ['<img src="" 'Tree Table',
> 'idJsp0__idJsp1_menu:A]go_treeTable', '_idJsp0', null],
> ['<img src="" 'DataScroller',
> 'idJsp0__idJsp1_menu:A]go_datascroller', '_idJsp0', null],
> ['<img src="" 'Stylesheet',
> 'idJsp0__idJsp1_menu:A]go_css', '_idJsp0', null],
> ['<img src="" '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>
>
> Can anyone shed some light on why linkDummyForm is being used instead of my
> formId.
>
> Many Thanks
>
> Alex...
>
>
>
> ________________________________
>
>
>
>
>
>
> This message (including any files transmitted with it) may contain
> confidential and/or proprietary information, is the property of
> Interactive Data Corporation and/or its subsidiaries, and is
> directed only to the addressee(s). If you are not the designated
> recipient or have reason to believe you received this message in
> error, please delete this message from your system and notify the
> sender immediately. An unintended recipient's disclosure,
> copying, distribution, or use of this message or any attachments is
> prohibited and may be unlawful
>

