Are you working with a layout (internal) portlet, or a portlet in a portlet application outside of Jetspeed?

Audrey MORELLE wrote:
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.


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to