Foros de discusión

portlet ajax drop down menu

Ravi Harugoppa, modificado hace 8 años.

portlet ajax drop down menu

New Member Mensajes: 5 Fecha de incorporación: 11/08/15 Mensajes recientes
i want to create drop down menu using ajax.please help me out regarding this.
thumbnail
Devang Patel, modificado hace 8 años.

RE: portlet ajax drop down menu

Regular Member Mensajes: 247 Fecha de incorporación: 19/01/15 Mensajes recientes
Hi Ravi Harugoppa,
Refer this
Hope this will help you.

Thank You,
Devang Patel
Ravi Harugoppa, modificado hace 8 años.

RE: portlet ajax drop down menu

New Member Mensajes: 5 Fecha de incorporación: 11/08/15 Mensajes recientes
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 .
thumbnail
Raja Seth, modificado hace 8 años.

RE: portlet ajax drop down menu

Regular Member Mensajes: 233 Fecha de incorporación: 18/08/11 Mensajes recientes
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
Ravi Harugoppa, modificado hace 8 años.

RE: portlet ajax drop down menu

New Member Mensajes: 5 Fecha de incorporación: 11/08/15 Mensajes recientes
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....
thumbnail
Raja Seth, modificado hace 8 años.

RE: portlet ajax drop down menu

Regular Member Mensajes: 233 Fecha de incorporación: 18/08/11 Mensajes recientes
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
thumbnail
Nikhil Nishchal, modificado hace 8 años.

RE: portlet ajax drop down menu

Regular Member Mensajes: 177 Fecha de incorporación: 22/06/12 Mensajes recientes
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.
Manohar Reddy, modificado hace 8 años.

RE: portlet ajax drop down menu

Junior Member Mensajes: 48 Fecha de incorporación: 7/08/14 Mensajes recientes
Click here for ajax DropDown link