Hi Mehran,
if you use html-el taglib and the JSTL taglibs, you can set a variable
from the formbean like this, where sectionForm is the name of my
formbean in struts-config.xml:
and then reference it with EL in the link and combine your parameter
with the querystring:
If you used the JS
I'm guessing a bit at what you want, but try this:
Quoting "Nielsen, Jim" <[EMAIL PROTECTED]>:
> To all,
>
> I have an iteration and would like to create a html link with parameter(s)
> based on the values inside the iteration loop. The i
On Tue, 18 Jun 2002, Trieu, Danny wrote:
> Date: Tue, 18 Jun 2002 12:28:25 -0700
> From: "Trieu, Danny" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Su
12:20 PM
> To: Struts Users Mailing List
> Subject: Re: Using html:link
>
>
> This is a bit of a newbie question, but what is the difference between a
> local forward and a global forward? So, in the action mappings, those are
> 'local forwards'?
>
> Thanks,
-Original Message-
> From: Kamholz, Keith (corp-staff) USX [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 12:15 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Using html:link
>
> I'm just used to putting the bean in the session because I&
anny [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, June 18, 2002 11:58 AM
>> To: 'Struts Users Mailing List'
>> Subject: RE: Using html:link
>>
>>
>> An action is not a forward you need to create a
>> forward.. like this
>>
>
PROTECTED]
-Original Message-
From: Trieu, Danny [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 3:11 PM
To: 'Struts Users Mailing List'
Subject: RE: Using html:link
if you want to go to a jsp page, why do you need to create an Action class
and an ActionForm bean plus
You are right, I assume it was in the global forward thks
> -Original Message-
> From: Joseph Barefoot [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, June 19, 2002 12:05 PM
> To: Struts Users Mailing List
> Subject: RE: Using html:link
>
> It also must be a
bean
other then the lifetime of the request, don't put it in the session
> -Original Message-
> From: Kamholz, Keith (corp-staff) USX [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 12:02 PM
> To: 'Struts Users Mailing List'
> Subject: RE:
> To: 'Struts Users Mailing List'
> Subject: RE: Using html:link
>
>
> An action is not a forward you need to create a
> forward.. like this
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
>
Hi,
I would approach it a little differently.
Just create an Action that knows whether or not to go to the Search page or
the Page after that.
The struts-config would say:
Then in the action class that handles this path, the "execute" method would
test the bea
An action is not a forward you need to create a forward.. like this
> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 11:47 AM
> To: [EMAIL PROTECTED]
> Subject: Using html:link
>
> From: Ryan D. Cuprak
>
> Hello,
>
12 matches
Mail list logo