Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:options not populating html:select

 
Brian reckinger
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<tlibversion>1.2</tlibversion>
<jspversion>1.1</jspversion>
<shortname>html</shortname>

in WebSphere 5.1.1

I am very new to JSTL and the Struts Taglibs. I have an ArrayList contained inside of a value bean (VALUEBEAN) that I am putting into the HTTP session. I need to populate a drop-down box with the contents of the ArrayList (txnList). I am using the folling tags:

<bean efine id="vbean" name="VALUEBEAN" property="txnList" />

<html:select property="transactionNm" onchange="newTransaction()">
<html ptions collection="txnList" property="value" labelProperty="value" />
</html:select>

I've been reading Struts in Action and the Apache doc, but It's just not sinking in and I've got to understand where I'm going wrong.

Please, "help a brother out."
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64633
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Richy Cunningham",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
[ February 26, 2006: Message edited by: Bear Bibeault ]
 
Brian reckinger
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From a guy named "Bear", OK.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64633
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have a complaint about the naming policy, please feel free to bring it up in the JavaRanch forum in this topic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic