http://jakarta.apache.org/struts/userGuide/struts-html.html#link
David
From: Bert Catsburg [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: How to link to an Action which has no Form. Date: Thu, 13 Feb 2003
Use the ActionForward built-in class:
action
path=/logout
type=org.apache.struts.actions.ForwardAction
parameter=/logout.jsp/
You can specify a JSP or a tiles' definition as the parameter.
HTH,
Matt
-Original Message-
From: Bert Catsburg [mailto:[EMAIL
Actually, as of 1.1b2 this action does *not* take a Tiles definition as a
parameter; it is not Tiles-aware.
Tiles provided an action class to mimic this functionality:
org.apache.struts.tiles.actions.NoOpAction
If the ForwardAction behavior has changed in 1.1b3, I'd be interested to
know (it is
Interesting you mention html:link, since I am having some problems with it currently.
I am trying to append something to the end of a link, and I can't quite grasp what i
am doing wrong. Here is my jsp code:
html:link href=/jsp/spgCaseOverview.jsp?case_objid= paramName=spgQueuesForm
doh i got it. sorry for the extra traffic.
Jason
---Original Message---
From: Jason Vinson [EMAIL PROTECTED]
Sent: 02/13/03 02:37 PM
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: html:link question ... was Re: Re: How to link to an Action which has no Form.
1.1 B3 does take a definition name in the parameter attribute. We've tested
and it worked for us.
-Original Message-
From: Peterkofsky, Don [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 2:37 PM
To: 'Struts Users Mailing List'
Subject: RE: How to link to an Action which has
I'm using 1.1b3 and specifying a tile seems to work fine for me.
-Original Message-
From: Peterkofsky, Don [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 12:37 PM
To: 'Struts Users Mailing List'
Subject: RE: How to link to an Action which has no Form.
Actually, as
I just do this
phtml:link href=petrol.doPetrol/html:link/p
this works for me.
Brian
Brian Holzer
IT Analyst
Saskatchewan Government Insurance
email: [EMAIL PROTECTED]
phone: (306) 751-1629
fax: (306) 569-7683
Bert
ForwardAction supports Tiles so NoOpAction is deprecated.
David
From: Peterkofsky, Don [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: How to link to an Action which has no Form.
Date: Thu, 13 Feb 2003
People,
Since I asked the question in the first place,
thanks for all the help.
(I know, this is just taking up traffic, but it seemed
unpolite not doing this)
Bert Catsburg
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 11:27 AM
To:
10 matches
Mail list logo