• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create select list from lag library without using struts

Oliver Moore
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • 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"
<option value="<bean:write name="category" property="superCat"/>"><bean:write name="category" property="superCat"/></option>
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic