This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Regarding html:select kind of URGENT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Regarding html:select kind of URGENT" Watch "Regarding html:select kind of URGENT" New topic
Author

Regarding html:select kind of URGENT

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 614
Hi

I am using html:select to display a drop down which have menu items.
A menu item can be parent menuitem for other menuitem
ex. if Admin is parent menuitem for UserMaster then entry for both of them will be as follows
menu code menu name parent menu
100 Admin -1
200 User Master 100
Now I have a screen where I can change parent menu for selected menu
so when I select User Master I need to display a drop down list with all menus and Admin must be selected.
so I tried following


but above code displays screen with --None-- selected. where as I want Admin option selected.

If I change property in <html:select to menuCode then same menu (user master) is selected so why it not compairing with parentcode ??
kindly help out


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding html:select kind of URGENT
 
Similar Threads
Using logic:iterate in select box
List box
html:options usage
After validation drop down box values will be lost.
validation.xml - how to ignore the required fields if a checkBox was clicked?