List Info

Thread: JSCookMenu and linkDummyForm?




JSCookMenu and linkDummyForm?
user name
2006-07-31 15:51:10



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

JSCookMenu and linkDummyForm?
user name
2006-07-31 15:55:42
If you are using Trinidad, you should download the latest
sources to
use JSCookMenu.


Cosma

2006/7/31, Alex.Truslerinteractivedata.com <Alex.Truslerinteractivedata.com>:
>
> 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="/capgui/mainmenu.faces"
>
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="/myfaces-example-simple-1.1.5-SNAPSHOT/jscookm
enu.jsf"
>
enctype="application/x-www-form-urlencoded">
>
> <script
type="text/javascript"><!--
> var idJsp0__idJsp1_menu =
> [[null, 'Home',
>
'idJsp0__idJsp1_menu:L]#{navigationMenu.actionListener};Hom
e: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="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>
>
> 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
>
JSCookMenu and linkDummyForm?
user name
2006-07-31 16:00:49

I'm not using Trinidad just MyFaces and Tomahawk.



"Cosma Colanicchia" <;cosmacolgmail.com&gt;

31/07/2006 16:55
Please respond to
"MyFaces Discussion" <usersmyfaces.apache.org>;

To
"MyFaces Discussion" <usersmyfaces.apache.org>;
cc
Subject
Re: JSCookMenu and linkDummyForm?




If you are using Trinidad, you should download the latest sources to
use JSCookMenu.


Cosma

2006/7/31, Alex.Truslerinteractivedata.com <Alex.Truslerinteractivedata.com&gt;:
>
> 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 br> >
> <form id="mainMenuForm" name=";mainMenuForm" method="post"
> action=&quot;/capgui/mainmenu.faces"
> enctype=&quot;application/x-www-form-urlencoded"&gt;
>
> <script type=";text/javascript"><!--
>  var mainMenuForm_menu_menu =
>  [[null, 'Monitoring', 'mainMenuForm_menu_menu:action1',
> 'linkDummyForm', null,[null, 'Main',
&gt; 'mainMenuForm_menu_menu:mainmenu', 'linkDummyForm', null],
&gt;  [null, 'File Status', 'mainMenuForm_menu_menu:action1_2',
> 'linkDummyForm', null],
&gt;  [null, 'Timelines', 'mainMenuForm_menu_menu:action1_3',
> 'linkDummyForm', null],
&gt;  [null, 'Admin Messages',
> 'mainMenuForm_menu_menu:action1_4', 'linkDummyForm', null];
&gt; //-->&lt;/script&gt;<div id="mainMenuForm_menu_menu&quot;>
>
> 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) br> >
> <form id="_idJsp0"; name=";_idJsp0&quot; method=&quot;post&quot;
> action=&quot;/myfaces-example-simple-1.1.5-SNAPSHOT/jscookmenu.jsf"
&gt; enctype=&quot;application/x-www-form-urlencoded"&gt;
>
> <script type=";text/javascript"><!--
> var idJsp0__idJsp1_menu =
> [[null, 'Home',
&gt; 'idJsp0__idJsp1_menu:L]#{navigationMenu.actionListener};Home:A]go_home',
&gt; '_idJsp0', null],
&gt; [null, 'Home',
&gt; 'idJsp0__idJsp1_menu:L]#{navigationMenu.actionListener};go_home:A]go_home',
> '_idJsp0', null],
&gt; [null, 'Examples', null, '_idJsp0', null,[null, 'Sample 1',
> 'idJsp0__idJsp1_menu:A]go_sample1', '_idJsp0', null],
&gt; _cmSplit,,
> ['<img src="images/myfaces.gif&quot;/>', 'Sample 2',
> 'idJsp0__idJsp1_menu:A]go_sample2', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'Validations',
> 'idJsp0__idJsp1_menu:A]go_validate', '_idJsp0', null],
&gt; _cmSplit,['<img src="images/component.gif&quot;/>', 'Components', null,
> '_idJsp0', null,['<;img src="images/myfaces.gif&quot;/>', 'Sortable Table',
&gt; 'idJsp0__idJsp1_menu:A]go_sortTable', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'Selectboxes',
> 'idJsp0__idJsp1_menu:A]go_selectbox', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'File upload',
> 'idJsp0__idJsp1_menu:A]go_fileupload', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'Tabbed Pane',
&gt; 'idJsp0__idJsp1_menu:A]go_tabbedPane', '_idJsp0', null],
&gt; _cmSplit,['<img src="images/myfaces.gif&quot;/>', 'Calendar',
> 'idJsp0__idJsp1_menu:A]go_calendar', '_idJsp0', null],
&gt; _cmSplit,['<img src="images/myfaces.gif&quot;/>', 'Popup',
> 'idJsp0__idJsp1_menu:A]go_popup', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'Date',
&gt; 'idJsp0__idJsp1_menu:A]go_date', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'Html Editor',
> 'idJsp0__idJsp1_menu:A]go_inputHtml', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'Tree2',
> 'idJsp0__idJsp1_menu:A]go_tree2', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'Tree Table',
&gt; 'idJsp0__idJsp1_menu:A]go_treeTable', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'DataScroller',
> 'idJsp0__idJsp1_menu:A]go_datascroller', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'Stylesheet',
> 'idJsp0__idJsp1_menu:A]go_css', '_idJsp0', null],
&gt; ['<img src="images/myfaces.gif&quot;/>', 'Newspaper Table',
&gt; 'idJsp0__idJsp1_menu:A]go_newspaperTable', '_idJsp0',
> null]]],
> [null, 'Apache MyFaces Home',
&gt; 'idJsp0__idJsp1_menu:A]http://myfaces.apache.org',
&gt; '_idJsp0', null]];
&gt; //-->&lt;/script&gt;<div id="idJsp0__idJsp1_menu&quot;></div>
&gt; <script type=";text/javascript"><!--
>         if(window.cmDraw!=undefined) { cmDraw ('idJsp0__idJsp1_menu',
> idJsp0__idJsp1_menu, 'hbr', cmThemeOffice, 'ThemeOffice');}
>; //-->&lt;/script&gt;
>
&gt; Can anyone shed some light on why linkDummyForm is being used instead of my
> formId.
&gt;
> Many Thanks
&gt;
> Alex...
&gt;
>
>
> ________________________________
>
>;
>
&gt;
>
&gt;
>  This message (including any files transmitted with it) may contain
&gt;  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
>

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )