Hi,
I tried to follow informations given in previous mails "Passing values to
Apps outside of Jetspeed" but it didn't worked.
I don't know if the problem is when I save the value or when I read it.
In a portlet, in processAction method, I have :
request.getPortletSession().setAttribute("test", "value",
PortletSession.APPLICATION_SCOPE);
In the header.vm of my layout, I have :
#set ($test = $request.getSession().getAttribute("test"))
$test
What's wrong ?
Thank you for your answer.
Audrey
Audrey MORELLE <[EMAIL PROTECTED]> a écrit :
Hi,
I would like to show some information out of portlets in the page.
I tried to find how to define a parameter with a portlet and catch it from out
of the portlet, in the layout (in the header) with Velocity but I didn't find
any way to do it.
Can I do it with Velocity or do I have to define a JSP layout template ?
If JSP is the solution, how do I define this new JSP layout template ?
Audrey
PS : I forgot to answer to the response I received about role-language-fallback
from David Sean Taylor. Thank you David, it works perfectly :)
---------------------------------
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
interface révolutionnaire.
---------------------------------
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet
! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et
vos expériences. Cliquez ici.