As far as I know it should be the
<input type="hidden" name="jscook_action" />
problem.
I have similar problem but, frst i hade a jscookmenu setup like this:
<h:form>
<t:jscookMenu layout="hbr" theme="ThemeOffice">
<t:navigationMenuItem itemLabel="#{messages['Statistics']}
action="newFile""/>
</t:jscookMenu>
</h:form>
But when adding the
<input type="hidden" name="jscook_action"/> after the required <h:form> but
before the <j:jscookMenu....> it works.
<h:form>
<input type="hidden" name="jscook_action"/>
<t:jscookMenu layout="hbr" theme="ThemeOffice">
<t:navigationMenuItem itemLabel="#{messages['Statistics']}
action="newFile""/>
</t:jscookMenu>
</h:form>
Hope it helps
Martin
Francisco Passos wrote:
>
> I'm still having no luck using t:jsCookMenu with dynamically generated
> entries on JSF 1.1, with Facelets 1.1.11.
>
> The menu is properly presented, but when I click the entries, such as one
> generated like this:
>
> new NavigationMenuItem("Start", "main")
>
> it opens a new window with the following address
> http://localhost:7001/stp/pages/mainForm__id5_menu:A]main
> <http://localhost:7001/stp/pages/mainForm__id5_menu:A%5Dmain>
> (which presents a 404 error).
>
> I've tried with and without a <input type="hidden" name="jscook_action"
> />,
> the result is the same.
>
> Does anyone know what I might be doing wrong?
>
>
--
View this message in context:
http://www.nabble.com/Using-JscookMenu-tf3618178.html#a10393381
Sent from the MyFaces - Users mailing list archive at Nabble.com.