• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

create select list from lag library without using struts

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a tag library called FunctionTag that I want to use to populate a select list. Normally I would use <html:select>, but the form I want the list to appear on has no entry in the formbean coresponding to the value of the select list so it throws an error (this is by design).
In this situation before I have used code similar to the below:
<select name=supercat>
<logic:iterate name="categoryList"
id="category"
scope="request"
type="com.ops.entity.Category">
<option value="<bean:write name="category" property="superCat"/>"><bean:write name="category" property="superCat"/></option>
</logic:iterate>
</select>
However I import the tag library and attempt to iterate in a similar way, Tomcat can't find the bean requested in any scope.
Any help would be aprieciated.
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic