My business logic is in my View Class. ProcessAction() and render()
methods are from the ApplicatioPortlet() interface and so implemented in
my MyApplicationPortlet class. I don't understand how to access the
PortletSession in MyApplicationPortlet from the View class.
Can you explain this, please?
Thanks in advance
On Thu, 29 May 2008 15:33:27 +0200, Serkan Camurcuoglu
<[EMAIL PROTECTED]> wrote:
if all of your portlets are from the same portlet application (i.e.
contained in a single portlet.xml in one web application) then you can
put the information in portlet application scope during the action phase
of your search portlet like this:
actionRequest.getPortletSession().setAttribute("searchWord", searchWord,
PortletSession.APPLICATION_SCOPE);
and the other portlets can obtain it during their render phase like this:
renderRequest.getPortletSession().getAttribute("searchWord",
PortletSession.APPLICATION_SCOPE);
this is the most basic form of doing inter-portlet communication.. I
think the new portlet specification will provide a better way of doing
this..
Serge wrote:
Hello,
i'm new to developing webapllications and have some problems there. In
my case i have a portal based on jetspeed 2.1.3 with
tapestry-portlets.
My issue:
On a portal page there are three portlets.
One with the search input field and others two with information
dependent on search input.
To example, if you input a personID into the search field and start
search, other both
should show information (picture and private information) for the
person with this ID number.
Question: it is possible to share the searchword of portlet with
search input field with others portlets?
If no, any idea how to realize that?
thx in advance
P.S. I posted the question in tapestry list too, because i'm not sure
where to post that, here or in tapestry.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]