Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
shashidhara ml
creating dynamic page
November 15, 2012 12:51 AM
Answer

shashidhara ml

Rank: Junior Member

Posts: 28

Join Date: October 4, 2012

Recent Posts

Hi

I have a requirement like this.i have around 300 companies link when click on each link it is going to a same page, That page contains 6 divisions(division heading is same but data is different ) how to implement this ,anyone is having idea plz suggest me.

Regards
Shashi
Hitoshi Ozawa
RE: creating dynamic page
November 16, 2012 11:53 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Why not just create 2 pages. One page with 300 companies. In the link, pass selected companyId. In the second page, just put a portlet that will show data depending on the passed companyId.
shashidhara ml
RE: creating dynamic page
November 19, 2012 9:36 PM
Answer

shashidhara ml

Rank: Junior Member

Posts: 28

Join Date: October 4, 2012

Recent Posts

it means i have to write a new portlet to display data..in liferay provoides a web content with structures and template ..it's possible to create a single template to display data dynamically,means when click on each link based on that id it will retrive data from database and display the data regarding to that company only.
shashidhara ml
RE: creating dynamic page
November 28, 2012 4:33 AM
Answer

shashidhara ml

Rank: Junior Member

Posts: 28

Join Date: October 4, 2012

Recent Posts

Hitoshi Ozawa:
Why not just create 2 pages. One page with 300 companies. In the link, pass selected companyId. In the second page, just put a portlet that will show data depending on the passed companyId.



it means i have to write a new portlet to display data..in liferay provoides a web content with structures and template ..it's possible to create a single template to display data dynamically,means when click on each link based on that id it will retrive data from database and display the data regarding to that company only.
Vaibhav Mittal
RE: creating dynamic page
January 18, 2013 5:02 AM
Answer

Vaibhav Mittal

Rank: Junior Member

Posts: 54

Join Date: July 16, 2012

Recent Posts

Hi Hitoshi,

I have the similar requirement with a small difference.
I have built a search portlet which shows result in a table. One column of that table contains view hyperlink.

Now what I want is, when someone clicks on that view link, I can call a new jsp on a different page.
I guess i can call a jsp using render function the way we do use in doview method but how to display it on a different page based on the data in the row for that hyperlink in a way where new page should be same but display different result on clicking of different view links.

Thnxx and Regards,
Vaibhav Mittal
Hitoshi Ozawa
RE: creating dynamic page
January 19, 2013 9:07 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

I have the similar requirement with a small difference.


If there's a small difference, then please don't post your question in the same thread but create a new thread. Please read the forum guidelines:

http://www.liferay.com/community/forums/-/message_boards/message/572822
Vaibhav Mittal
RE: creating dynamic page
January 21, 2013 2:02 AM
Answer

Vaibhav Mittal

Rank: Junior Member

Posts: 54

Join Date: July 16, 2012

Recent Posts

I did the same befor repling to your post at link: http://www.liferay.com/community/forums/-/message_boards/message/20776433
But got no rplly.

Apologies for not following guidelines.

Regards,
Vaibhav Mittal
Manish Yadav
RE: creating dynamic page
February 8, 2013 12:51 AM
Answer

Manish Yadav

Rank: Expert

Posts: 383

Join Date: May 26, 2012

Recent Posts

shashidhara ml:
Hitoshi Ozawa:
Why not just create 2 pages. One page with 300 companies. In the link, pass selected companyId. In the second page, just put a portlet that will show data depending on the passed companyId.



it means i have to write a new portlet to display data..in liferay provoides a web content with structures and template ..it's possible to create a single template to display data dynamically,means when click on each link based on that id it will retrive data from database and display the data regarding to that company only.



Hi shashidhara,

Did you find any solution for your problem.I also have same kind of problem. As of now i'm going to create pages for each article. But it will be better if can show data dynamically using structure and template