Hello All,

 

I use WSRP4J and Struts Bridge to deploy a Struts based application as
portlet. In fact, I have one page with several portlets in it; all deployed
in the same web archive.

Now, I saw on several threads that people are using the _spage attribute to
execute a specific action on the page; example:

https://server:port/path/page?_spage=/action.do will make Struts-Bridge
execute /action.do on the display of the page "page". This works well if
there is only one portlet on the page. But, if there are several portlets on
the same page and I call _spage=/action.do (action.do is not the default
view page action), then the action is executed for the portlet knowing about
action.do and all other portlets do not display any more (SOAP request
returns empty html fragments).

 

How come that I can't use the _spage attribute if several portlets are on
the same page? Would the normal behaviour not be that the portlet that has
/action.do in it's struts-config will execute it while all other portlets
make a default getMarkup request returning the default view page?

 

Maybe _spage is not the right attribute; is there another one?

 

Thanks a lot

 

Regards

 

Alex

 

P.S One could say that all I have to is to change the default view action of
my portlet to /action.do and not call the page with _spage any more; but, I
want to be able to display my portlet in a particular state, not on the
default view, but on a specific action. 

 

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

Alexandre Neubert

Edifixio

[EMAIL PROTECTED]

 

Reply via email to