Foros de discusión

LR-6.1.1 changing layout at runtime

Sajjad Khan, modificado hace 11 años.

LR-6.1.1 changing layout at runtime

New Member Mensajes: 12 Fecha de incorporación: 4/08/12 Mensajes recientes
Hi

plz advise me how can i change my layout at runtime in liferay 6.1.1ga2

when i submit my form i want to show the result on different(other) layout.

Regards
Moh'd Sajjad Khan
thumbnail
Gnaniyar Zubair, modificado hace 11 años.

RE: LR-6.1.1 changing layout at runtime

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
HI Sajjad,

Would be great if you correct the content clearly coz your query gives confusion..?

what do you mean by Layout..? Do you want to display the results in different page..?

//when i submit my form i want to show the result on different(other) layout.//

while submitting the form, you need to display the results in different portion of the same page..? Am i correct?

if so, you need to create 2 different portlets.
First portlet should contain the Form to add all your details
Second portlet should display the results from database.

and place them in different layout on same page.

HTH

- Gnaniyar Zubair
Sajjad Khan, modificado hace 11 años.

RE: LR-6.1.1 changing layout at runtime

New Member Mensajes: 12 Fecha de incorporación: 4/08/12 Mensajes recientes
Thanks zubair bhai,

But I need this query :-
" The result should be on same page but layout only change."
thumbnail
Gnaniyar Zubair, modificado hace 11 años.

RE: LR-6.1.1 changing layout at runtime

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
// The result should be on same page but layout only change." //

emoticon while displaying the results you can give maximized mode. why are you changing the layout...?

- Gnaniyar Zubair
Sajjad Khan, modificado hace 11 años.

RE: LR-6.1.1 changing layout at runtime

New Member Mensajes: 12 Fecha de incorporación: 4/08/12 Mensajes recientes
Thanks Zubair Bhai & Taha bhai for given me logic.
I will try.
Siby Mathew, modificado hace 11 años.

RE: LR-6.1.1 changing layout at runtime

Expert Mensajes: 268 Fecha de incorporación: 4/03/11 Mensajes recientes
Hi Sajjad,
I dont know if I understood you correctly.
After submitting the details, if you want to navigate to another jsp in the same portlet, you can use :
actionResponse.setRenderParameter("jspPage",  yourJspPage); 


Hope that helps.

Thanks,
Siby