OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | December 2006 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [exoplatform] WSRP and <portlet:actionURL/> in exo


Hi, Alexandre

I have solved it and commit files: pom.xml and
src/java/org/exoplatform/portlets/wsrp/WSRPConsumerPortlet.java .

Try to update and build exo-portlet-container\applications\wsrp\

Regards,
Alexey


On 12/13/06, Alexandre-Michael Neubert <alexandre-michael.neubert@xxxxxxxxxxxx> wrote:




Hello List,

I am using exo platform V1 bundled with tomcat and I want to use the portlet
tag <portlet :actionURL/> in my jsp. Moreover, I want to pass parameters in
the action url.

Here is my jsp code:



<a href='<portlet:actionURL><portlet:param name='action'
value='toto22'/></portlet:actionURL>'>

Test parameter action

</a><br>



In my portlet's processAction method, I want to recover the 'action'
parameter with the line:



public void processAction(ActionRequest request, ActionResponse response)

        throws PortletException, IOException {

            System.out.println("In processAction");

            String action = request.getParameter("action");

            System.out.println("Action: '"+action+"'");

            System.out.println("End processAction");

      }



This principle works fine when the portlet is deployed as simple JSR 168
portlet and accessed on the local portal (I am able to recover the action
parameter in processAction).

But, when I access this portlet through the exo WSRP consumer, the line:



String action = request.getParameter("action");



Gives me 'null'. It seems that I cannot pass any parameter through the
action url tag (although I have to).

I got exactly the same problems with the action property of my html forms.



Can someone tell me what is wrong here? Does it not work the same way in
WSRP with the action url tag (is there a specific one for wsrp?).

Is there another way to pass parameters to the action url?



Thanks in advance



Alexandre



P.S Maybe this mail is not on the right exo mailing list. If so, please tell
me which mailing list to use.



-----------------------

Alexandre Neubert

Edifixio



--
You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx
mailing list.
To unsubscribe:
mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws






<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.