This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes Struts and the fly likes Pulldown related Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Pulldown related" Watch "Pulldown related" New topic
Author

Pulldown related

Michael
Greenhorn

Joined: Apr 04, 2005
Posts: 4
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

Joined: Apr 04, 2005
Posts: 4
Hello can anybodu please help me out..
This is really urgent...

SDSDSD
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
"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.
 
Consider Paul's rocket mass heater.
 
subject: Pulldown related