Foros de discusión

Submit form to diffent Class or process Action

thumbnail
Samir Issa, modificado hace 12 años.

Submit form to diffent Class or process Action

New Member Mensajes: 21 Fecha de incorporación: 1/04/11 Mensajes recientes
Hi ,

i have to do an application like a wizard on that can i go forward through diffent pages and forms,
So , i`d like to know how can i submit a form to diffent processAction of the portlet Class like an another class that extends something ..


thanks !!
thumbnail
Thiago Leão Moreira, modificado hace 12 años.

RE: Submit form to diffent Class or process Action (Respuesta)

Liferay Legend Mensajes: 1449 Fecha de incorporación: 10/10/07 Mensajes recientes
You can use the MVCPortlet class and for each step of your wizard you can call a different method on the class.


  public class MyPortlet extends MVCPortlet {

    public void step1(Actionrequest request ActionResponse response) {
    }
  
    public void step2(Actionrequest request ActionResponse response) {
    }
  }
thumbnail
Samir Issa, modificado hace 12 años.

RE: Submit form to diffent Class or process Action

New Member Mensajes: 21 Fecha de incorporación: 1/04/11 Mensajes recientes
ok , but how will be the url to call this differents methods ?

And how to identify that steps on pages , can be by form name ?

thanks