Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pulldown related

 
Michael
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am creating a pulldown like

<html:select name="keiyakusyanoTantousyaZyouhouSonotaAreaBean" property="branch_addr_ken_code" indexed="true">
<html ptions collection="UB101_TODOUFUKEN" property="value" labelProperty="label"/>
</html:select>
dispaly I am getting is perfect
When I want to get the selected "value" from the pulldown on to the next page I can only retieve what is there mention in the property field of html ption tag.
Currently I mentioned it as value. So I am getting "value" here.
Also this same "value" is getting stored insiade session.
I want that I should get "label" here with "value" store in session.

<logic:iterate id="keiyakusyanoTantousyaZyouhouSonotaAreaBean" name="UB101Form" property="keiyakusyanoTantousyaZyouhouSonotaAreaBean" indexId="idx">
<TD width="630">
<logic:equal name="keiyakusyanoTantousyaZyouhouSonotaAreaBean" property="branch_addr_ken_code" value=""> </logic:equal>
<logic:notEqual name="keiyakusyanoTantousyaZyouhouSonotaAreaBean" property="branch_addr_ken_code" value="">
<bean:write name="keiyakusyanoTantousyaZyouhouSonotaAreaBean" property="branch_addr_ken_code" value/>
</logic:notEqual>
</TD>
</logic:iterate>

This is how I am getting value on to the next form..
How I can do this
Please help me

With anticipatory thanks

SDSDSD
 
Michael
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello can anybodu please help me out..
This is really urgent...

SDSDSD
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"sdsdsd sdsdsd",

Welcome to JavaRanch. We don't have many rules here, but we do have a naming policy which we try to strictly enforce. Please re-read this document and edit your display name in order to comply. Thanks in advance, and we look forward to seeing you around the Ranch.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic