I am having some trouble with struts. I am trying to create a drop down box with a list of suggested choices. However I want the user to also be able to edit the text at the top of the list if he/she wants to make a selection other then the povided suggestions. In NSIS I would just switch out for a combo box. However, it dosent seem to be that simple in the JSP any suggetions?
I'd just try to find one that's already implemented. Not really a Struts question, though.
Joined: Feb 08, 2010
Thanks for the reply and sorry for the late response. The Problem comes down to the fact that Struts 1 doesn't support combo boxes while struts 2 does! I think its a struts question I just asked it wrong, struts does play a large role on some of the functions you can use in your jsp. Kind of like ASP works with C#, so you can C# your HTML .(which is what I am still using... yes I know its old will upgrade as soon as time provides.)
John Lark wrote:[...] struts does play a large role on some of the functions you can use in your jsp. [...]
Not really--it's just that S2 has some custom tags that build the exact same HTML you could just as easily (and with a better eye towards what your particular app needs) do on your own. I'm not a fan of the S2 custom HTML controls, even the non-old-Dojo ones: they're kind of ugly, and usually have to be customized anyway.