组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
shashidhara ml
creating dynamic page
2012年11月15日 上午12:51
答复

shashidhara ml

等级: Junior Member

帖子: 28

加入日期: 2012年10月4日

最近的帖子

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
2012年11月16日 下午11:53
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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
2012年11月19日 下午9:36
答复

shashidhara ml

等级: Junior Member

帖子: 28

加入日期: 2012年10月4日

最近的帖子

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
2012年11月28日 上午4:33
答复

shashidhara ml

等级: Junior Member

帖子: 28

加入日期: 2012年10月4日

最近的帖子

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
2013年1月18日 上午5:02
答复

Vaibhav Mittal

等级: Junior Member

帖子: 54

加入日期: 2012年7月16日

最近的帖子

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
2013年1月19日 上午9:07
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

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
2013年1月21日 上午2:02
答复

Vaibhav Mittal

等级: Junior Member

帖子: 54

加入日期: 2012年7月16日

最近的帖子

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
2013年2月8日 上午12:51
答复

Manish Yadav

等级: Expert

帖子: 449

加入日期: 2012年5月26日

最近的帖子

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