You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Hailong Zhang <to...@gmail.com> on 2006/05/25 17:09:39 UTC

problem

I use the <t:jscookMenu> like this:

<t:jscookMenu layout="hbr" theme="ThemePanel" rendered="true">
            <t:navigationMenuItem id="nav_1" itemLabel="Favorite">
                <t:navigationMenuItem id="nav_1_1" itemLabel="007"
action="videoDetail" />
                <t:navigationMenuItem id="nav_1_2" itemLabel="Friends"
action="videoDetail" />
            </t:navigationMenuItem>
</t:jscookMenu>

Then, there encounters a problem, the two MenuItems have the same action.
This action(videoDetail) will navigate the page to videoDetail.jsp(This is
defined in navigation rules).
And the videoDetail.jsp will take a request param "videoId" to determine
witch video to be displayed.
But <t:navigationMenuItem> can not take a param,such as <f:param> or
<j4j:param>.
Any solutions to this problem? Can <t:jscookMenu> has other kind of child
like <h:outputLink> ?

Thanks!