Re: using html:link taglibs to call an ActionForm bean from a link

2003-09-09 Thread Adam Hardy
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

using html:link taglibs to call an ActionForm bean from a link

2003-09-09 Thread Mehran Zonouzi
Hi, Does anyone know how to use the html:link taglibs to call an ActionForm bean from a link? I also want to pass a param called 'page' to the link and set it's value to be 'viewcontactlist'. This is my ActionForm bean: import javax.servlet.http.HttpServletRequest; import org.apache.strus.acti

RE: Newbie: Passing parameter using html:link, but how to get it back?

2003-08-04 Thread DE BACKER Sam
> > If I do the data access part in UserDetailAction, how can I retrieve > > the UserId parameter that was specified from the link part in > > UserList.jsp? > > request.getParameter("UserId"); or add a form bean to your action, in struts-config.xml, (static form bean or DynaActionForm) with a

Re: Newbie: Passing parameter using html:link, but how to get itback?

2003-08-03 Thread Rick Reumann
On Mon, Aug 04,'03 (11:36 AM GMT+0800), Andy wrote: > If I do the data access part in UserDetailAction, how can I retrieve > the UserId parameter that was specified from the link part in > UserList.jsp? request.getParameter("UserId"); -- Rick

Newbie: Passing parameter using html:link, but how to get it back?

2003-08-03 Thread Andy Cheng
I have a JSP that contains a list of User bean, and I display that list with all the attributes of the User bean. I use literate tag to display it Detail This is passed to /UserDetail action specified in the acti

Re: using html:link inside an iterate?

2003-06-24 Thread Kris Schneider
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

using html:link inside an iterate?

2003-06-24 Thread Nielsen, Jim
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 iteration works fine (thanks to help earlier from this list), now just trying to get the link to be built properly. How do I do this? the JSP snip

RE: Problem using html:link Tag

2003-06-12 Thread Chip Paul
nto that. Chip -Original Message- From: Ujwal Oswal [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 3:01 PM To: '[EMAIL PROTECTED]' Subject: Problem using html:link Tag Hello, I need to dynamically set the URL for html:link. Its giving me an exception for this. Here

Re: Problem using html:link Tag

2003-06-12 Thread Jeff Kyser
you can't nest tags... On Thursday, June 12, 2003, at 03:00 PM, Ujwal Oswal wrote: Hello, I need to dynamically set the URL for html:link. Its giving me an exception for this. Here's what I am trying to do.    " styleClass="plain">

Problem using html:link Tag

2003-06-12 Thread Ujwal Oswal
Hello, I need to dynamically set the URL for html:link. Its giving me an exception for this. Here's what I am trying to do.    " styleClass="plain"> Has anyone tried something like that. Thanks Ujwal --

RE: how to submit a form using html:link

2002-12-12 Thread Sukhenko, Mikhail (Contr)
html:link Is it possioble to submit a form using html:link tag. I want to call a servlet that resided on another war file. I am able to call it by click on html link. But, my requirement is to submit the form. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands,

RE: how to submit a form using html:link

2002-12-11 Thread Bill Chmura
: Struts Users Mailing List Subject: how to submit a form using html:link Is it possioble to submit a form using html:link tag. I want to call a servlet that resided on another war file. I am able to call it by click on html link. But, my requirement is to submit the form. -- To unsubscribe, e

RE: how to submit a form using html:link

2002-12-11 Thread Deepika Malik
-Original Message- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 12:52 AM To: Struts Users Mailing List Subject: how to submit a form using html:link Is it possioble to submit a form using html:link tag. I want to call a servlet that resided on another war

RE: how to submit a form using html:link

2002-12-11 Thread Andrew Hill
Yep. Its a waste of time and server resources, but he did ask... -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 17:08 To: Struts Users Mailing List Subject: Re: how to submit a form using html:link 2002. december 11. 10:00 dátummal

Re: how to submit a form using html:link

2002-12-11 Thread Gemes Tibor
2002. december 11. 10:00 dátummal Andrew Hill ezt írtad: > Yes, ... BUT > you will need to use javascript. > ie: > > Submit > > i guess for the tag the syntax would be something very similar: > > Submit What will he achieve by using html:link? I think it is unnecesary.

RE: how to submit a form using html:link

2002-12-11 Thread Mouratidis, Georg
-Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 11. Dezember 2002 09:58 To: Struts Users Mailing List Subject: Re: how to submit a form using html:link >You are not forced to use html:link. It is useful for url rewriting, which is >not needed by y

Re: how to submit a form using html:link

2002-12-11 Thread Gemes Tibor
2002. december 11. 09:52 dátummal Amit Badheka ezt írtad: > Is it possioble to submit a form using html:link tag. > I want to call a servlet that resided on another war file. I am able to > call it by click on html link. But, my requirement is to submit the form. You are not forc

RE: how to submit a form using html:link

2002-12-11 Thread Andrew Hill
a form using html:link Is it possioble to submit a form using html:link tag. I want to call a servlet that resided on another war file. I am able to call it by click on html link. But, my requirement is to submit the form. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For addi

how to submit a form using html:link

2002-12-11 Thread Amit Badheka
Is it possioble to submit a form using html:link tag. I want to call a servlet that resided on another war file. I am able to call it by click on html link. But, my requirement is to submit the form.

RE: pass 2 parameter using html:link tag

2002-10-15 Thread Sri Sankaran
Use the 'name' and 'property' attributes to http://jakarta.apache.org/struts/userGuide/struts-html.html#link Sri -Original Message- From: Maizatulakmam Ali [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 5:13 AM To: [EMAIL PROTECTED] Subject: pa

RE: pass 2 parameter using html:link tag

2002-10-15 Thread Andrew Hill
Urgent huh? You havent tried to RTFM yet have ya mate? -Original Message- From: Maizatulakmam Ali [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 17:13 To: [EMAIL PROTECTED] Subject: pass 2 parameter using html:link tag I'm new in using struts. How can I pass 2 or

pass 2 parameter using html:link tag

2002-10-15 Thread Maizatulakmam Ali
I'm new in using struts. How can I pass 2 or more parameters using tag. Please help me. urgent -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Using html:link

2002-06-18 Thread Craig R. McClanahan
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

RE: Using html:link

2002-06-18 Thread Trieu, Danny
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,

RE: Using html:link

2002-06-18 Thread Trieu, Danny
-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&

Re: Using html:link

2002-06-18 Thread Ryan Cuprak
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 >> >

RE: Using html:link

2002-06-18 Thread Kamholz, Keith (corp-staff) USX
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

RE: Using html:link

2002-06-18 Thread Trieu, Danny
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

RE: Using html:link

2002-06-18 Thread Trieu, Danny
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:

RE: Using html:link

2002-06-18 Thread Joseph Barefoot
> 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]] >

RE: Using html:link

2002-06-18 Thread Kamholz, Keith (corp-staff) USX
]] Sent: Tuesday, June 18, 2002 2:47 PM To: [EMAIL PROTECTED] Subject: Using html:link From: Ryan D. Cuprak Hello, I am trying to embedd a link in a jsp page that links to another jsp page using the html:link. Presently I get the exception: javax.servlet.ServletException: Cannot create

RE: Using html:link

2002-06-18 Thread Trieu, Danny
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

Using html:link

2002-06-18 Thread ryan . cuprak
From: Ryan D. Cuprak Hello, I am trying to embedd a link in a jsp page that links to another jsp page using the html:link. Presently I get the exception: javax.servlet.ServletException: Cannot create rewrite URL: java.net.MalformedURLException: Cannot retrive ActionForward named /search when I

Form submission using html:link

2002-05-21 Thread Todd Pierce
Has anyone had any success submitting forms using with the client-side form validation (packaged with 1.1b1)? My main problem is this: The field validation function is run from an onSubmit event declared in an attribute of the tag. OnSubmit really means a press of a submit button, and not any