Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

<t:jscookmenu> problem

843842Sep 19 2006
Hi All,

I have problem in using menus,
Sometimes my menus working but that time on button click event(i.e.action on button not working)

My scenario is,

1)I have 3 pages a)home.jsp b)showUser.jsp c)createUser.jsp
2)These all three pages have same menus.
3)When I do login I am entering in home page.
4)When I click on any menu the navigation is happening properly(I mean actions are happening properly which invoking corresponding pages)
5)when I click on SHOW USER menu it is going to showUser.jsp.
6)on showUser.jsp I have one CREATE button on which I have written some action in Java class which returns some string depending on that string I am calling another create page by mentioning in faces-config.xml file.
7)Means create button action working properly on showUsers.jsp.
8)But on the same page that time menus are not working(i.e. Menus actions are not working there).

Is it related to <f:view><h:form> tag. I mean order of these two ?

This is my menu

<h:panelGrid align="right" styleClass="bkmenucolor" width="100%">
<t:jscookMenu layout="hbr" theme="ThemeOffice" tyleLocation="css">
<t:navigationMenuItems value="#{AppMenu.navItems}" />
</t:jscookMenu>
</h:panelGrid>

In My showUser.jsp the order is,

<html><head/><f:view><h:form>

in my createUser.jsp

<html><head/><h:form><f:view>

here if I give order as above I mean like showUser.jsp then button action is not invoking.

I am using 1) myfaces-api.jar
2) myfaces-impl.jar
3) tomahawk.jar

Thanks in advance
Sandip
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2006
Added on Sep 19 2006
0 comments
126 views