• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Pulldown related

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello can anybodu please help me out..
This is really urgent...

SDSDSD
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic