• 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

Cascading DropDown

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

Hi Im back with some other query....

While im working with cascading dropdown,here is my script

function show_details() {
dojo.event.topic.publish("show_detail");
}

here is my dropdown after selecting some value from this dropdown im taking this value to action class JobAction.....

<s:select label="Business or Business Id" name="business" headerKey="Select" headerValue="Select" list="ListOfClients" listKey="%{business}" listValue="%{business}" required="true" style="border:1px solid #ccc; background:#fff; width:165px;" onchange="javascript:show_details();return false;"/>
<s:url id="d_url" action="JobAction" /> <sx:div id="details" href="%{d_url}" listenTopics="show_detail" formId="frm" showLoadingText=""></sx:div>


but im unable to return back to the same jsp with some list for second dropdown......
its throwing error like
Before selecting value from dropdown:

Error loading '/JATS/JobAction.action' (500 Internal Server Error)

after selecting value from first dropdown its going to action class with the selected value from dropdown....
but here in this action class im unable to return to the same jsp with some list
its throwing error like:

Couldn't load content:Unknown runtime error

in standard error log its throwing error like:
ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@a75737')

could you please help me out in finding solution for this
thanks in advance


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic