Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Dependent dropdown  RSS feed

Shashi Prakash
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • 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">

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

Can anyone help me with this
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!