Forums de discussion
portlet ajax drop down menu
Ravi Harugoppa, modifié il y a 8 années.
portlet ajax drop down menu
New Member Publications: 5 Date d'inscription: 11/08/15 Publications récentes
i want to create drop down menu using ajax.please help me out regarding this.
Devang Patel, modifié il y a 8 années.
RE: portlet ajax drop down menu
Regular Member Publications: 247 Date d'inscription: 19/01/15 Publications récentes
Ravi Harugoppa, modifié il y a 8 années.
RE: portlet ajax drop down menu
New Member Publications: 5 Date d'inscription: 11/08/15 Publications récentes
thank u for ur response....ya i got your point.but actually my question is how to create drop down menu in such way that.i need to take three drop downs one by one.after that
if i selected one option from first drop down .it should show the related options for that selection in second drop down.as respectively the third one also.
please help out .
if i selected one option from first drop down .it should show the related options for that selection in second drop down.as respectively the third one also.
please help out .
Raja Seth, modifié il y a 8 années.
RE: portlet ajax drop down menu
Regular Member Publications: 233 Date d'inscription: 18/08/11 Publications récentes
Hi Ravi,
Say for example you have 3 dropdowns(select1, select2 & select3) with values populated in select1. Now you need to call serveResource() method which will return the response for the select2 dropdown which you can populate through AUI script. Similarly you can implement the same for select3. You can refer some blogs which shows how to call serveResource().
HTH !
Regards,
Raja
Say for example you have 3 dropdowns(select1, select2 & select3) with values populated in select1. Now you need to call serveResource() method which will return the response for the select2 dropdown which you can populate through AUI script. Similarly you can implement the same for select3. You can refer some blogs which shows how to call serveResource().
HTH !
Regards,
Raja
Ravi Harugoppa, modifié il y a 8 années.
RE: portlet ajax drop down menu
New Member Publications: 5 Date d'inscription: 11/08/15 Publications récentes
thank u for ur response Raja seth.can u please send me the link.where i can get the code ,atleast idea to build the code for drop down menu which u have explained....
Raja Seth, modifié il y a 8 années.
RE: portlet ajax drop down menu
Regular Member Publications: 233 Date d'inscription: 18/08/11 Publications récentes
Hi Ravi,
There are various bogs about serve resource people have written. Have a look at this or similar to you may get an Idea.
Regards,
Raja
There are various bogs about serve resource people have written. Have a look at this or similar to you may get an Idea.
Regards,
Raja
Nikhil Nishchal, modifié il y a 8 années.
RE: portlet ajax drop down menu
Regular Member Publications: 176 Date d'inscription: 22/06/12 Publications récentes
Hello Ravi,
You can follow the approach as :
1. select first drop down
2. now call ajax and pass this selected value (as data) and the action as "firstData"
3. in serve resource if first data , then you can do the opration and pass the list as response
4. create new select option based on previous response and show them as 2nd drop down
5, now in selection on second drop down pass value and action as "secondData" to ajax
and process so on.
you can try by yourself by using ajax .
you may call ajax either by jquery or alloy ui.
You can follow the approach as :
1. select first drop down
2. now call ajax and pass this selected value (as data) and the action as "firstData"
3. in serve resource if first data , then you can do the opration and pass the list as response
4. create new select option based on previous response and show them as 2nd drop down
5, now in selection on second drop down pass value and action as "secondData" to ajax
and process so on.
you can try by yourself by using ajax .
you may call ajax either by jquery or alloy ui.
Manohar Reddy, modifié il y a 8 années.