Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
shashidhara ml
creating dynamic page
15 novembre 2012 0.51
Risposta

shashidhara ml

Punteggio: Junior Member

Messaggi: 28

Data di Iscrizione: 4 ottobre 2012

Messaggi recenti

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
16 novembre 2012 23.53
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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
19 novembre 2012 21.36
Risposta

shashidhara ml

Punteggio: Junior Member

Messaggi: 28

Data di Iscrizione: 4 ottobre 2012

Messaggi recenti

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
28 novembre 2012 4.33
Risposta

shashidhara ml

Punteggio: Junior Member

Messaggi: 28

Data di Iscrizione: 4 ottobre 2012

Messaggi recenti

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
18 gennaio 2013 5.02
Risposta

Vaibhav Mittal

Punteggio: Junior Member

Messaggi: 54

Data di Iscrizione: 16 luglio 2012

Messaggi recenti

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
19 gennaio 2013 9.07
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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
21 gennaio 2013 2.02
Risposta

Vaibhav Mittal

Punteggio: Junior Member

Messaggi: 54

Data di Iscrizione: 16 luglio 2012

Messaggi recenti

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
8 febbraio 2013 0.51
Risposta

Manish Yadav

Punteggio: Expert

Messaggi: 469

Data di Iscrizione: 26 maggio 2012

Messaggi recenti

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