Configuring WebApp to use Struts Tag Libs

2005-01-09 Thread William Ferguson
OK, I guess I've missed something fundamental, so someone please point out what it is. How do I declare the Struts (1.2.4) tag libs in web.xml so that : 1) Tomcat 5.0.28 can access them from Struts.jar at runtime 2) I can use the Ant Jasper task to compile my JSPs to validate them during the buil

Re: Runtime expressions

2005-01-08 Thread William Ferguson
ot; <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, January 09, 2005 3:17 AM Subject: Re: Runtime expressions > On Sat, 8 Jan 2005 22:16:49 +1000, William Ferguson > <[EMAIL PROTECTED]> wrote: > > > > > > > You can't nest any

Re: Runtime expressions

2005-01-08 Thread William Ferguson
Yes. Tomact 5.0.28 Is that significant? William - Original Message - From: "Larry Meadors" <[EMAIL PROTECTED]> To: "William Ferguson" <[EMAIL PROTECTED]> Cc: "Struts Users Mailing List" Sent: Saturday, January 08, 2005 11:39 PM Subject: Re

Re: Runtime expressions

2005-01-08 Thread William Ferguson
;Struts Users Mailing List" Sent: Saturday, January 08, 2005 10:52 PM Subject: Re: Runtime expressions > Hmm, you did not say in the original email - are you using the html-el tld? > > If not, it will not work. > > Larry > > On Sat, 8 Jan 2005 22:16:49 +1000, William

Runtime expressions

2005-01-08 Thread William Ferguson
If I have defined in a JSP, and I have saved an ActionMessage keyed on 'quantity.0' into the Request, during execution of my Action, should I expect either or both of to generate some output? does generate the expected output, so why not the others? What do I need to do to the error messa

Re: [validator] indexed properties

2005-01-06 Thread William Ferguson
date > method inside your ActionForm. The second option would be to setup a new > class with a quantity property and getters/setters for that property, > then make quantityArray an array of that type. > > Matt > > > > William Ferguson wrote: > > Hi all, > > &g

[validator] indexed properties

2005-01-05 Thread William Ferguson
Hi all, even after scanning the doco, examples, source code and previous posts I still can't get validation to happen for an indexed field in my Struts (1.2.4) application working. I would really appreciate some help crafting the appropriate validation definition. My form is defined as

Re: Generating valid HTML from tag

2004-12-13 Thread William Ferguson
D]> > Is it the opinion of others that "deprecated" is semantically equivalent > to "invalid"? > "William Ferguson" <[EMAIL PROTECTED]> > I noticed that the html generated form the tag is not valid > HTML > according to the W3C validatio

Generating valid HTML from tag

2004-12-13 Thread William Ferguson
I noticed that the html generated form the tag is not valid HTML according to the W3C validation service (http://validator.w3.org). It generates a tag with a 'name' attribute which has been deprecated. Since I'm striving to conform to relevant standards as best as possible, I was wondering wheth

The Future of Struts Validation

2004-11-11 Thread William Ferguson
to thank the Struts development community for a pretty decent framework, especially those worked on Tiles - it really rocks! William Ferguson

Re: Using Tiles outside of an ActionServlet

2004-11-06 Thread William Ferguson
gt; the Struts' site's UserGuide on Tiles for a link at the bottom of the page > to that PDF. > > Regards, > David > > -Original Message- > From: William Ferguson [mailto:[EMAIL PROTECTED] > Sent: Friday, November 05, 2004 5:39 AM > To: Struts Users Mailin

Re: Multiple input forms -> one action -> one validator, how?

2004-11-05 Thread William Ferguson
If you want different types of validation to be performed before the Action is executed, then assuming you are using the Struts Validator I recommend that you : 1) ensure your Forms extend from ValidatorActionForm, 2) Create separate ActionMappings for each type of validation you want to perform (e

Re: Using Tiles outside of an ActionServlet

2004-11-05 Thread William Ferguson
so they are handled by the JSP > engine. In tomcat, you can do that like this: > > >jsp >*.jsp > > > Regards, > David > > -Original Message- > From: William Ferguson [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 04, 2004 10:36 PM > To:

Using Tiles outside of an ActionServlet

2004-11-04 Thread William Ferguson
I'm trying to create a WebApp with 2 sections. Section1 consists of Struts Actions managed by an ActionServlet and using Tiles for consistent layout. The incoming requests will always be '*.do'. Section2 is a bunch of generated html fragments (each is a page's worth) that I would like to embed

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread William Ferguson
r unwise it would be in your case. I suspect there may be a way of getting around the problem, but I can't see it from here. > -Original Message- > From: William Ferguson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 10:01 PM > To: 'Struts Users Mailing List

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread William Ferguson
Try extending from ValidatorActionForm instead of ValidatorForm. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, 30 June 2004 5:37 AM To: Struts Users Mailing List Subject: RE: Using 1 Validator definition for 2 different forms? > -Original Message

RE: multiple submit buttons/one form

2004-06-27 Thread William Ferguson
Suggest that you create a RelayAction that looks for a certain Form/Request parameter (set by your buttons). The RelayAction then just forwards onto the real Actions that you want performed, based on the value of the Request parameter. William -Original Message- From: Eric Schneider [mail

RE: Contextual Validation

2004-06-24 Thread William Ferguson
xtual Validation I had the same problem. At the top of the inheritance hierarchy, I simply changed ActionForm to ValidatorForm. Non of the other code was broken or disturbed in anyway. Since ValidatorForm isA ActionForm. William Ferguson wrote: >I would like to be able to specify for an Ac

Contextual Validation

2004-06-23 Thread William Ferguson
I would like to be able to specify for an Action the validation that should be performed on it. I can't use a ValidatorActionForm as this is an existing application with much baggage and I won't be able to change the inheritance hierarchy of the existing Forms. And in any case I will want to be ab