Claudio,

These days I use its uuid as parameter to send to the detail page.
In the detail page I use the uuid to find all of its data to display.

In the list page you may use a "<cms:out nodeDataName="jcr:uuid" />" tag to 
find its uuid.
You send this as a parameter to your detail page template.

In your detail page you can use a scriptlet to get your content.
The HierarchyManager has a method getContentByUUID that accepts your uuid and 
returns your item as a Content.
Now you can access all of your items' properties...

In case you need more details feel free to drop me a line, at [EMAIL PROTECTED]

cheerio,
Vincent

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: donderdag 15 maart 2007 12:39
To: [email protected]
Subject: [magnolia-user] Possibility to call a JSP over URL to display
some data


Hi List,

We have some special requirement to show only part of the paragraph's
content in a page. The user has then to click a "details" link which
should open a new page and display the rest of the paragraphs content.

This approach is used for an event list, which only shows compact data
like title and date, and a details page for each event with more
information.

I want to avoid to create a separate page for each event, so my idea was
to create a JSP page that receives the handle of the paragraph as an URL
parameter, loads the paragraph and displays it.

I tried o generate "Detail-Links" to such a JSP, however magnolia
intercepts them, tries to load a page from the website repository and
fails because there is no page called /templates/jsp/eventdetail.jspx

How can I avoid this? Is there a way to provide links to JSP's with URL
parameters that are not intercepted by Magnolia?

Thanks for any input

Claudio

********************************************
IPH Informatik AG
Herr Claudio Greuter 
Lagerhausstrasse 9
8400 Winterthur
Switzerland
Tel:            +41 (0)52 203 26 72
Fax:            +41 (0)52 233 94 71
Email:  [EMAIL PROTECTED]
********************************************


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to