OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | December 2006 Index

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

WSRP and <portlet:actionURL/> in exo


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 = "">"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 = "">"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

 



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

Reply via email to:

Powered by MHonArc.

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