aspose file tools
The moose likes Struts and the fly likes Facing a problem with <html : optionsCollection> tag Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Facing a problem with <html : optionsCollection> tag" Watch "Facing a problem with <html : optionsCollection> tag" New topic
Author

Facing a problem with <html : optionsCollection> tag

Durga Krishna
Greenhorn

Joined: Apr 05, 2007
Posts: 28
Hi Friends,

I am facing a problem while displaying the values in drop down using <html : optionsCollection> tag.


From my countryList I will be getting country name and spaces and then count
Eg:
I have multiple spaces between India and (120). This is coming from by java layer.
But in the dropdown it is not displaying multiple spaces after the name of the country, instead it is showing only one space in the drop down. Eg: "India (120)"

If I use &nbsp; multiple times in my java layer between India and (120), in the drop down, it is displaying ,India&nbsp;&nbsp;&nbsp;(120)
I tried using <pre> tag also. But no use.

Is there a way that I can display multiple spaces in the drop down uising, <html : optionsCollection> tag.


Thanks in Advance.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Facing a problem with <html : optionsCollection> tag
 
Similar Threads
Stuck with optionsCollection Tag
conditionally generated optionsCollection?
optionsCollection empty
optionsCollection issue with DynaValidatorForm
optionsCollection syntax trouble