struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ginn, Timothy D Mr CTR USA TRADOC USAAC" <TIMOTHY.G...@USAAC.ARMY.MIL>
Subject [U] Struts2 Portlet Multiple Actions
Date Tue, 01 Sep 2009 20:53:02 GMT
UNCLASSIFIED////


I have multiple actions under the /view namespace all of which point to
different jsps to render different views based upon users actions. 

When one of these actions is executed the action executes as designed
with one exception.  The portal returns to the default tab and not the
tab where the portlet lives. If you click on the portlets tab it
displays the page that you expect to see and the action was executed.  

Does anyone know how I can get the portal to remain on the correct tab?

INFO:
This is where the portlet lives
http://domain/portal/dt/foo/My_Portal/Portlet


When action occurs this is the result.
http://domain/portal/dt?action=content&provider=BaseContainer 

Here is the link that I am using to execute the action.

<s:url id="editUrl" portletMode="view" action="edit!input">
   <s:param name="url" value="%{ldapCert.url}"/> </s:url> <s:a
cssClass="button" href="%{editUrl}"><span>Edit</span></s:a>

I know this wasn't the intended function of the view mode. 




Timothy D. Ginn, Contractor
Web Developer
United States Army Accessions Command
EDS, an HP Company
(502)626-2028
(502)619-3315
Timothy.Ginn@USAAC.Army.mil



UNCLASSIFIED////


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message