aspose file tools*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pulldown related
 
Similar Threads
logic:iterate
Pass parameter dynamically in Javascript in html:select
how to make html:optionsCollection selected inside logic:iterate ?
JSTL conversion for struts 1.1 code
Dynamic selection in Combobox