File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Pulldown related


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"/>
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/>

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

With anticipatory thanks


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

Jason Menard

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:
subject: Pulldown related
It's not a secret anymore!