Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Sajjad Khan
LR-6.1.1 changing layout at runtime
21. Januar 2013 04:09
Antwort

Sajjad Khan

Rang: New Member

Nachrichten: 12

Eintrittsdatum: 4. August 2012

Neue Beiträge

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
Kowbathullah Gnaniyar
RE: LR-6.1.1 changing layout at runtime
21. Januar 2013 04:32
Antwort

Kowbathullah Gnaniyar

Rang: Liferay Master

Nachrichten: 608

Eintrittsdatum: 19. Dezember 2007

Neue Beiträge

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
RE: LR-6.1.1 changing layout at runtime
21. Januar 2013 22:15
Antwort

Sajjad Khan

Rang: New Member

Nachrichten: 12

Eintrittsdatum: 4. August 2012

Neue Beiträge

Thanks zubair bhai,

But I need this query :-
" The result should be on same page but layout only change."
Kowbathullah Gnaniyar
RE: LR-6.1.1 changing layout at runtime
23. Januar 2013 03:49
Antwort

Kowbathullah Gnaniyar

Rang: Liferay Master

Nachrichten: 608

Eintrittsdatum: 19. Dezember 2007

Neue Beiträge

// 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
RE: LR-6.1.1 changing layout at runtime
25. Januar 2013 04:39
Antwort

Sajjad Khan

Rang: New Member

Nachrichten: 12

Eintrittsdatum: 4. August 2012

Neue Beiträge

Thanks Zubair Bhai & Taha bhai for given me logic.
I will try.
Siby Mathew
RE: LR-6.1.1 changing layout at runtime
25. Januar 2013 05:21
Antwort

Siby Mathew

Rang: Expert

Nachrichten: 267

Eintrittsdatum: 4. März 2011

Neue Beiträge

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 :
1actionResponse.setRenderParameter("jspPage",  yourJspPage);


Hope that helps.

Thanks,
Siby