From: Mansour Al Akeel <[EMAIL PROTECTED]>
Subject: Re: $renderRequest.createActionURL() and portlet communication
To: "Jetspeed Users List" <[email protected]>
Date: Wednesday, September 17, 2008, 1:54 AM
Woonsan, thank you for the explanation.
What I am trying to do is to post to a different portlet.
So how can I
get the encoded url for that portlet in velocity.
Let's say I have portlet-1 and one of the functionality
that it provides
is availabe in portlet-2, and I want to post to portlet-2.
How can I do
this?
Another senario is an action that is avialable on all the
pages, and the
functionality is available in one of my portlets. I know I
can use
renderPortlet in velocity inside the decorator, but I need
to do it this
way. Do you have an advice ?
Thank you.
Woonsan Ko wrote:
Hi Mansour,
I'm not sure I understand your problems, but I can
say the createActionURL() makes an encoded url string which
enables to choose the proper portlet to process the form
submission.
When a form of a portlet in portal page is submitted,
there should be two phases to process: action phase and
render phase.
The portal can choose a portlet for the action phase
from the encoded url.
You can refer to PLT.5.2.4 and PLT.7 for more
information.
Also, you can check the details and internals from the
book: http://portals.apache.org/jetspeed-2/developers.html.
Regards,
Woonsan
--- On Sat, 9/13/08, Mansour Al Akeel
<[EMAIL PROTECTED]> wrote:
From: Mansour Al Akeel
<[EMAIL PROTECTED]>
Subject: $renderRequest.createActionURL() and
portlet communication
To: "Jetspeed Users List"
<[email protected]>
Date: Saturday, September 13, 2008, 5:23 AM
I am trying to post a from to one of the portlets
I have on
the page. I
am using $renderRequest.createActionURL() as the
action.
However it's
not giving me the correct URL. In fact I don't
feel I
understand this
correctly. All I know is that createActionURL
returns the
link where the
portlet is expecting its data at. But how it works
? and
what do I use
to get the action url for a specific portlet ?
Thank you in advance.
---------------------------------------------------------------------
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]