myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Crose <ipblackh...@gmail.com>
Subject Using 'external link action' with JSCookMenu
Date Fri, 23 Dec 2005 00:13:17 GMT
I have been trying to get the JSCookMenu to work using the 'external link
action'.

After reading the on-line pages at
http://wiki.apache.org/myfaces/JSCook_Menu and
http://www.myfaces.org/tomahawk/components/JSCookMenu, I down loaded the
binaries and examples for the nightly build of 20051215.  I installed the
examples and the 'external link action' example (jscookmenu.jsp) works as
advertised.

Next I created a page and used the jscookmenu.jsp as my base line.  When I
call the new menu page and look at the source code it has the same links for
javascripts, themes, stylesheets, menu structure, and form section as the
example.jscookmenu.jsp.  When I make a selection from the menu I get
feedback that indicates the server is filling the request.  The server
access logs indicates it recieved a post request from the home.jsp page. I
get the same page refreshed with no navigation.  Example,  If I am on the
home/main page and select the about menu selection (which should return the
about page) the home page gets refreshed with no change to the content.

I have added the navigation rules to the myfaces-config.xml file which
should return the about page.  Comparing the form command line generated by
myfaces example and the new one :

<form id="linkDummyForm" name="linkDummyForm" style="display:inline"
method="post" action="/simple/jscookmenu.jsf"><input type="hidden"
name="jsf_tree_64" id="jsf_tree_64"
value="H4sIAAAAAAAAAK1Tu07DMBS9lFYIhEDAwMqAxJaUtrzUjUpAqxYkCkioQ2RcE1IS2yROKQsbOx/AF6B+AV/AxspPsDLjpGlSTCMYWCzfc47v8Y1P+h+Q81zYZ66pIY7wFdGcu0uEiSdLblsYCYtR7cQlpClcHwvfJQ1EkUnc1QSsMIczSqjYO19+f6p9vmUg24JpA19ZdtuVONRadWmhDyz0yEIfsdD/alGuw7yBh1XFRp4nYLHeQV2k24iautRb1JSy2URWbd/APWRaMGUEzkIeWWqNnDm66BAsyj3uu9FV/+NrlF/6a68LD4/PGYAeB4AJL7gG+MGak/XkoOYCNsdYYt8TzNEo6jqE+tpp9RB1LTO8QkMCVUEcATlJG+tcaZyLGgfrjICpQFSIZUM4a1htFYukhfFwUTWa+y6bHshKP6xiQm0c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m5etwla+M6AY93yS8ypFdEAbZ1U+PLTK5iA7Q3m2f24dVjZEM+j5QqopSvP3pzTRR736qitTdPbCf/oY1Wvp7gnta6e8oiVrG0Xq68/IcZuLR6zF3oZch0yxTrRCpbwt8Jbm3D1PJS71qGxfT9zsmLHRKPMhBzJC5E7o6uNFd1wptojzbtQUQhptebWRK7OAOrvbK725ylboaFeQK3N0/aUUfa0WHSsfU/pT0ERb45mThD4Qkl3l0oeV1cllKb1feJ5ow2Z8qWQh0XiSC6uDZgInA7dGcmkAhfGHvWkx1Z531BrwqbeCvRZb2E2zc88KczGYQwNT5C3rN0jbe8DkKxVzqJZjlR3bUNgvTiEJ1jxTWZ54l0+4WS4C1junXgHz/jN9rwHyR8Vk/7TyR9J/zj53xj/8VP+cab/htt+k48G7BvPdarMt5rBj2jvvtc9bUfflx/HcvJ62nzTk+bH6ZQxyPX3qO9CKlF+DtU0egrvjmxnFrGQdR3ND6oPDL4e0LRsgeCahkHgToZOVRPLe7pBrqBxatzP6p7OFWJW9cc6yBYdHxYXE9FpB1As68CBRbzrINgvT2+np7mfw1NDZLzUI6Pc31dde2DYDVGjrXSC+vAwjU8CNMUZ8LCOAgQGzlQz/f+nQGeuzHOEvSZ+874up5s4hrbZ1VjkK6nt4yDQN0Zn+AYQSjZD0iIzTEMAlMbX4VEjAM/bD3jIFD18UERSgu6eht1aXXnobgxc4yDQNkjh1rrBcWXO8yrxDKM/lwXmu0BUtc+CNrpyNEe6oWmUtqPaFI8kCgNAkJGDrLeC8REDYohRmSgJbXImTqvaOHZ9jCADwwIiMWHpKWU8zVgJXu0J/6kroivPs0IcWd0lyuM4efj3r9Z9yuCRcrtKP8DHYrmIsUWAAA="
/><input type="hidden" name="jsf_viewid" id="jsf_viewid"
value="/jscookmenu.jsp" /><input type="hidden" name="autoScroll"
/><input type="hidden" name="jscook_action" /><script
type="text/javascript"><!--

new one

<form id="linkDummyForm" name="linkDummyForm" style="display:inline"
method="post" action="/home.jsf"><input type="hidden"
name="jsf_tree_64" id="jsf_tree_64"
value="H4sIAAAAAAAAAK1Qu07DQBBcmUSIl3gVtBRIUNmCgiZlJEKiIBAvCbmwjvPFvsi+O85rMA0dPR/AF6B8AV9AR8tP0FKzVgyJUIQoaO529mZn5nbwDvXMQkvbyGWG8Vi46W2PcZERNInkDKVW7qkV4gRtzjG34oApFgm7MWo2dWq0Egr3LtbeHjsfrw7UfJgJeCyT0FIfOn6XLLyhhVdZeGMW3l8tGl1YDPgXaiYsyxBWun12zbyEqcgjvlQR0eZHtHZ4BXfg+DAdlM5II6v+2MzhZV9wbBQmt1XU/9hG43mw+bJ8//DkABQGAJysjAF5edYJTw2xQdidYPmd3o0xTVxRoLtPRcsyE0veTskWYS4WLBQ2SHSkTSVXnrO0lOopI1m6UibV74xE9JCybJV7KdyJIcoAR0wJSiFDhIVKILI6N9vmx/egLJYQaoEMd0h4fbLwWftciptjrdGYT5CfNk6QAgAA"
/><input type="hidden" name="jsf_state_64" id="jsf_state_64"
value="H4sIAAAAAAAAAK1US2zURhj+17vpBhKkPHijVLRUPAQ4vFohcYBkQxpLm6ZioSAQMhN7Yjvyeobx76wDAsEBeuilh1IJCdQeeiv3VtyqVuLUSi3iwqnqgRP0yuMCM2MnzmqDQIg5jP8Zz8z3/fN9/9x5Al2JgMEz9VkyR8yQRJ45NT1LHTz07V+nfuiLd4QGQMoBoJych8ugWmUxqvKsxQL69AEJBqFZZw4J6eVn/edu7Xn+2ICKBd0+iX2HubQOVYclEYp5hAENOqxAhxsogsg7VIduNUyIRxVGl1w+R0RAItTDlL+UDQEQDBqpqSrCyonjk3V7dKRh1RBWDPusSc3ZWJMaLEiNCEHm60GM6dV/hm7eI7fLULKgEgcXqE7PaFVUv5hake5QkS7CKp8SlwrbEyzhezlmeafmDHFobH4uAlct7pPY/QX2hEx+kvCu6sPffl977u8yGOOwMmTEHScOMmHBCvQFjX0Wuik/fERj9ba6Zd+nOCHsWwrSotOEc/OEVWNNziIa4XHimeNTxyaPHrNrE1Z9zLbGGp0MGhTvjl278f2vvxwoK01bvQogh6tIOfLUYi5hhN0kQYRQsQN3D0JP/i9kHutYGdIZTBF6Z5hwqOVakUvTRXhtqVHGQkqiPzeLKw9uvfjfgNJp6JojYSLvvpQWJlqyxYqQelQM/PfjT0+vfn3QUGrlWxbMptd9kTSnqbh+58ZQz3f/frNgVoN3NGkULm01oalrPKVUj5JaS19ZRvoiWrsYFRapqmCDPHg9E55J5GX41GzOZypZzdzDGzTOQIesJTW9SXVDKW9bU9JrDBUhlEmI8mZ2LnWAsyC8aY8gKli3gQTpSSGNQcXYz4+OXLo/9YcBRh0+sJ2QxDFC/5Jqq6kpWWyDdktvybZnhd9el/ljkPI5AVuXSZOG5ldKlNEgcmUBW00eQtFSeTnrtlxs0jiWtxGf2SaT0R7advaSdMymQF1SPGx9aZ2k040Ac3VML5jpFDBv7ybTOq767Tp8G0Ek8Y9ydj4TwQUWIQl3Z4bfrUpDcdQP0PvlubHgufEteX78Wp4i8Hx8I9H0TW+eegP2aV79/DWcDDW9Wv9c0/aulLPtn2Wf/dnn07Qthaw6P+EkouEkjZJdm3XY0Enkg5pMTBpeI3yozl2uwLtVgY8yd76tvEGXdzlNXwEeEhGk7QYAAA=="
/><input type="hidden" name="jsf_viewid" id="jsf_viewid"
value="/home.jsp" /><input type="hidden" name="autoScroll" /><input
type="hidden" name="jscook_action" /><script
type="text/javascript"><!--

Does anyone have any idea(s) about what I am missing?  Does anyone
know of good documentation that would help me isolate the problem.

Your help would be greatly appreciated....

Mime
View raw message