• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with Dependent dropdown

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

I am trying to populate one dropdown depndign on value from other dropdown . And For this I am using ajax .
I am able to fetch teh data but I am not able to put those at proper place .

I mean second after first one .

here is the code :

<s:textfield key="dda_Token_Name" label="Name" required="true"/>
<s:textfield key="dda_Token_Description" label="Description"/>
<s:select theme="ajax" name="dda_Token_Type_Id" list='ddaTokenTypeList' listKey="dda_Token_Type_Id"
listValue="dda_Token_Type_Name" label="Type" required="true" headerKey=""
headerValue="-- Please Select --" onchange="javascript:show_details();return false;"
/>
<s:url id="d_url" action="DDATokenDetailForTokenAction" /> <s:div showLoadingText="true"
id="details" href="%{d_url}" theme="ajax"
listenTopics="show_detail" formId="frm_add_edit_token">
</s:div>



the last one generated usign ajax is comign at top of first text field .

Can anyone help me with this
 
reply
    Bookmark Topic Watch Topic
  • New Topic