掲示板

LR-6.1.1 changing layout at runtime

11年前 に Sajjad Khan によって更新されました。

LR-6.1.1 changing layout at runtime

New Member 投稿: 12 参加年月日: 12/08/04 最新の投稿
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
11年前 に Gnaniyar Zubair によって更新されました。

RE: LR-6.1.1 changing layout at runtime

Liferay Master 投稿: 722 参加年月日: 07/12/19 最新の投稿
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
11年前 に Sajjad Khan によって更新されました。

RE: LR-6.1.1 changing layout at runtime

New Member 投稿: 12 参加年月日: 12/08/04 最新の投稿
Thanks zubair bhai,

But I need this query :-
" The result should be on same page but layout only change."
thumbnail
11年前 に Gnaniyar Zubair によって更新されました。

RE: LR-6.1.1 changing layout at runtime

Liferay Master 投稿: 722 参加年月日: 07/12/19 最新の投稿
// 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
11年前 に Sajjad Khan によって更新されました。

RE: LR-6.1.1 changing layout at runtime

New Member 投稿: 12 参加年月日: 12/08/04 最新の投稿
Thanks Zubair Bhai & Taha bhai for given me logic.
I will try.
11年前 に Siby Mathew によって更新されました。

RE: LR-6.1.1 changing layout at runtime

Expert 投稿: 268 参加年月日: 11/03/04 最新の投稿
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