The moose likes Struts and the fly likes Problem With Using c:  Tag to Display Drop-Down Menu Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply Bookmark "Problem With Using c:  Tag to Display Drop-Down Menu" Watch "Problem With Using c:  Tag to Display Drop-Down Menu" New topic
Author

Problem With Using c: Tag to Display Drop-Down Menu

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I am able to display the drop-down menu in the conventional way:


PageBeans is an object that is passed from a Servlet. This object is a Collection of JavaBean, which in my case is called PageBean. This PageBean has only one property (to make it simple for testing purpose). This property is called 'name'. I do not have a label prepared for this property.

1. how do I show -Select- in this drop-down menu?

2. I tried to convert the code and use <c:...> tags, but I have a number of problems:

and the other way:
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4695

Keep it simple.



[ September 21, 2004: Message edited by: Marc Peabody ]
[ September 21, 2004: Message edited by: Marc Peabody ]

A good workman is known by his tools.
 
 
subject: Problem With Using c: Tag to Display Drop-Down Menu
 
Threads others viewed
Regarding html:select kind of URGENT
LinkedHashMap Iteration problems
How to get default value to my dropdown list
Drop-Down Menu Has a Hidden Property to be Forwarded Along With the Selection
Cannot Find Bean in Scope Request
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture