Re: Difference between DynaValidatorActionForm and DynaValidatorForm

2002-07-18 Thread David Winterfeldt
The key used to look up a set of validation rules is different. DynaValidatorForm -- The key passed into the validator is the action element's 'name' attribute from the struts-config.xml which should match the form element's name attribute in the validation.xml. DynaValidatorAc

Re: Validator use of JavaScript

2002-07-17 Thread David Winterfeldt
It is just an option to have JavaScript validation. The JavaScript methods perform the same logic as the java methods that are referenced. The server side validation is always performed if you have everything setup correctly and the JavaScript is just to enrich the user's interface. David --- J

RE: Validator

2002-07-11 Thread David Winterfeldt
You can go to my site to. I have older downloads and revision notes posted. The version 1.0 under the downloads (same as July 2001 release) was the last version developed with Struts 1.0, but you can get some later versions working with a little more effort (getting all the extra jars). http:

Re: Validator error

2002-07-11 Thread David Winterfeldt
I think you may have upgraded the Commons Validator jar, but not Struts. The SERVLET_CONTEXT_KEY was removed from this class to try to completely separate it from Struts and the web layer. Try using the Commons Validator that comes in the nightly download for the version you are using. David -

Re: 6-22-02 Validator Nightly set-property confusion

2002-06-24 Thread David Winterfeldt
It should be a comma delimitted list with the 'pathnames' property. It was only the other way for a few days, but unfortunately it made it into the beta. David --- Struts Newsgroup <[EMAIL PROTECTED]> wrote: > Subject: 6-22-02 Validator Nightly set-property > confusion > From: "Matt Raible" <[

RE: Validator problem (or user problem... not sure which yet)

2002-06-20 Thread David Winterfeldt
The change from using multiple set-property elements was made right after beta since it wasn't very clear to call setPathname muliple times. The Validator is run through the ActionForm's validate method and returns a standard ActionErrors object. The additional tags that used to come with the Va

RE: Validator for Struts 1.02

2002-06-20 Thread David Winterfeldt
The 7/2/2001 release is the Struts Validator 1.0 release to go with the Struts 1.0 release. I even have a 1.0 download which is just the 7/2/2001 release zip renamed. The 7/2/2001 release is very stable. A lot of people were using it with no bug reports for a long time. And even subsequent wor

Re: Struts Validator and global commands

2002-06-20 Thread David Winterfeldt
If you are referring to redefining forms between locales, you only need to override change from the default locale (no language or country defined). So if the default locale has first name, last name, and phone number and you wanted a different phone number mask for french. You would just have t

Re: Validator and DispatchAction

2002-06-14 Thread David Winterfeldt
I think that is good. This along the lines of what I was thinking. David --- William W <[EMAIL PROTECTED]> wrote: > > My solution : > > I did a class MyValidator with two methods > (verifyMethod and > validateRequired) > > --- > private static boolean verifyMethod( > Object bean, >

Re: Validator and DispatchAction

2002-06-13 Thread David Winterfeldt
sk returns true and doesn't really do anything. David --- William W <[EMAIL PROTECTED]> wrote: > > Good :) > I will try !!! > Thanks !!!!! > WIlliam. > > >From: David Winterfeldt <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailin

RE: Struts Validator 1.1 -- Solution WIll Not WOrk

2002-06-13 Thread David Winterfeldt
Sorry, there isn't a way to change this now. You could file it in bugzilla as a feature request. David --- [EMAIL PROTECTED] wrote: > The solution given below does not work for the case > I described. jsType.jsp > defines one form with several masked field > validations. > > The example I'm h

Re: Validation with multiple string files

2002-06-13 Thread David Winterfeldt
There isn't a way currently. Could you file a bug/enhancement a on this in buzilla? That way your request won't get lost. David --- Alok Ghosh <[EMAIL PROTECTED]> wrote: > Hi, > > IM Dying to find out if this is possible, and if I > can do this. > > I am running the new struts validation tha

Re: Validator and DispatchAction

2002-06-13 Thread David Winterfeldt
;Struts Users Mailing List" > <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: Validator and DispatchAction > >Date: Thu, 13 Jun 2002 14:46:09 + > > > > > >I think that if I use DispatchAction with > ValidatorActionForm I will have >

Re: Indexed Property Validation on a String[]

2002-06-13 Thread David Winterfeldt
There is an example of this in the Validator example webapp in the type.jsp page in the nightly builds using an ArrayList, but I believe everything should work for an array too (or you could use java.util.Arrays to convert to a Collection if you need to). web/validator/WEB-INF/validation.xml --

Re: JavascriptValidatorTag and Indexed Fields

2002-06-12 Thread David Winterfeldt
No. It's on the long to do list. David --- Peter Onthrops <[EMAIL PROTECTED]> wrote: > > Have there been any updates to > JavascriptValidatorTag to handle indexed fields? > > Thanks, > > P. > > > > - > Do You Yahoo!? > Sign-up for Video Highlights of 2002 F

Re: Struts Validator 1.1

2002-06-12 Thread David Winterfeldt
Creating a Separate Page for Static JavaScript If you want to just generate the dynamic JavaScript on you form page and have a separate page with the static JavaScript to take advantage of browser caching you can use the dynamicJavascript and staticJavascript attributes to the JavascriptValidatorT

Re: Validator and DispatchAction

2002-06-12 Thread David Winterfeldt
You would currently have to write your own required validation method and have it check a variable defined by a field to see if it should perform the validation or not. Or define a separate set of validation rules for each action and use ValidatorActionForm (which uses the action path to retrieve

Re: R: validator generated HTML code

2002-05-28 Thread David Winterfeldt
It makes it very difficult to debug the JavaScript when all whitespace is stripped out. The best thing to do if you are concerned about the extra download size of the web page (I am assuming this is the concern) is to make a separate page for the generic JavaScript functions. There is an example

Re: Validation Solutions

2002-04-07 Thread David Winterfeldt
--- "James A. Hillyerd" <[EMAIL PROTECTED]> wrote: > I'm using Struts 1.0.2. I don't want to upgrade to > 1.1 just yet. Can I > use the Struts validator package with 1.0.2? Yes. The 1.0 release (7/2/2001) was the last one developed with Struts 1.0. Archive http://home.earthlink.net/~dwinter

Re: Struts Validator

2002-04-07 Thread David Winterfeldt
This wasn't added until 6/17/2001. http://home.earthlink.net/~dwinterfeldt/revision.html Update 6/17/2001 (using Struts 1.0) A bCancel variable was added to the JavascriptValidatorTag code generation so the onclick attribute of the html:cancel tag can be assigned "bCancel=true;" so the JavaScript

Re: DynaValidatorActionForm/DynaValidatorAction

2002-04-04 Thread David Winterfeldt
DynaValidatorForm just extends DynaActionForm and overrides the validate method. From a discussion on the dev list I was under the impression that it would work the same, but I didn't have time to test them or make examples. I was rushed to get them into the beta. If you can't just replace Dyna

Re: Validator within Struts 1.1

2002-04-02 Thread David Winterfeldt
Are you still using the your old validator definitions in the validations.xml? It would be good to switch to using conf/share/validator-rules.xml. You can either cut and paste them into the top of your old file or leave them separate and erase the old ones. for beta: as of nightly buil

Re: validation plugin

2002-04-01 Thread David Winterfeldt
After the bean is populated from the request. Then the validate method in the ActionForm is called if validate is set to 'true' in the Action definition in the struts-config.xml. Or you can call the validate method yourself from an Action if you need to. David --- Vladimir Levin <[EMAIL PROTEC

Re: Automatic form validation

2002-03-26 Thread David Winterfeldt
You should have access to the bean if automatic validation fails. Are you seeing any error messages even? I would double check your struts-config.xml and your html:form tags reference to the action. David --- [EMAIL PROTECTED] wrote: > During automatic form validation, when errors occur, > >

Re: DynaValidatorActionForm

2002-03-26 Thread David Winterfeldt
I don't see anything wrong, but I wrote the javadoc so I might be missing something. DynaValidatorForm - uses the name of your form bean (registrationForm) to retrieve the set of validation rules DynaValidatorActionForm - uses the name of your action (/registration) to retrieve the set of valida

Re: Struts Validator: Use of anchor tag

2002-03-26 Thread David Winterfeldt
My last e-mail about the issue with single quotes was referring to the JavaScript part of the Struts Validator. The filter="false" is the way to go rendering the html. David --- Struts Newsgroup <[EMAIL PROTECTED]> wrote: > Subject: Re: Struts Validator: Use of anchor tag > From: "Arthur Franke

Re: Struts Validator: Use of anchor tag

2002-03-26 Thread David Winterfeldt
I think there is an issue with using single quotes inside error messages and variables in JavaScript. Or it might have been just variables. You should definitely be able to escape a double quote though if you have any problems with the single quote. - David --- Ted Husted <[EMAIL PROTECTED]> wr

Re: Validating an ActionForm "conditionnally"

2002-03-22 Thread David Winterfeldt
If you have a form nested like this, it probably doesn't have the servlet reference set on it. ServletContext application = getServlet().getServletContext(); Otherwise what you are doing should be fine. David --- "Sobkowski, Andrej" <[EMAIL PROTECTED]> wrote: > Hello, > > I've been using the

RE: How can I used html:select with a Collection of String

2002-03-19 Thread David Winterfeldt
I normally use List (List myList = new ArrayList();) or Collection. If you are going to use Vector, at least use it through the Collection or List interface (List myList = new Vector();). Although I wouldn't use it unless you really need the synchronization. David --- "Cakalic, James" <[EMAIL

Re: turning off debug on console - Validator

2002-03-19 Thread David Winterfeldt
h > .jars I really need: > > struts.jar > commons-validator.jar > struts-validator.jar > commons-beanutils.jar > *.tlds? > > ??? and which version of each? > > Arthur. > > > "David Winterfeldt" <[EMAIL PROTECTED]> wrote > in

Re: turning off debug on console - Validator

2002-03-18 Thread David Winterfeldt
I think the debug level wasn't getting passed to every class, but everything was upgraded to use Commons Logging a few weeks ago which will give finer control over logging. So if you download a recent nightly build, this should be fixed. David --- Struts Newsgroup <[EMAIL PROTECTED]> wrote: > S

Re: Validator Problem

2002-03-17 Thread David Winterfeldt
These tags were deprecated for a while and when the Validator was repackaged under org.apache.struts.validator they weren't moved over since there are the equivalent tags in Struts. So they might not be there depending on what version of the Validator you are using. validator:errorsExist --> log

RE: Problem in HTML:ERROR tag

2002-03-14 Thread David Winterfeldt
I use the html:messages (in nightly builds). It is like html:errors except it iterates over the error messages. I don't think it has this problem, but I haven't checked in the last week or two. David --- Matt Barnicle <[EMAIL PROTECTED]> wrote: > It also happens in Jetty. I had the same probl

Re: Struts Validator changing the "key" in the validator.xml

2002-03-11 Thread David Winterfeldt
There are some examples here. http://home.earthlink.net/~dwinterfeldt/overview.html#i18n > In the Application resources properties currently I > have "{0} is invalid" > for my "errors.invalid" tag. What I would like to > have is "{0} is invalid > because {1}" but I don't know how to define the {

Re: Struts Validator NoClassDefFoundError

2002-03-07 Thread David Winterfeldt
What version of the Struts Validator are you using? Package names were changed at some point from com.wintecinc.struts.* to org.apache.struts.validator.* (1/14/2002). When this was done, most of the validator was moved to the Jakarta Commons Validator (http://jakarta.apache.org/commons). I woul

Re: indexing of errors?

2002-03-07 Thread David Winterfeldt
Your property isn't really 'blah'. It is 'blah[0]', 'blah[1]', etc. So if you use the full property for a field for the ActionErrors key, then you can retrieve it next to each field. ActionErrors errors = new ActionErrors(); errors.add("blah[0]", new ActionError("error.msg")); This type of

Re: Logging & Log4J in 1.1

2002-03-06 Thread David Winterfeldt
Log4J recently added some new classes. I would check that you have a version of Log4J and Commons Logging from the same time. I had some trouble too until I went and downloaded the latest version of each. David --- Chris Hane <[EMAIL PROTECTED]> wrote: > > I'm trying to get a Struts 1.0 appli

Re: Wanted : a perfect solution for CharterEncoding

2002-03-02 Thread David Winterfeldt
If you are using a servlet 2.3 compliant server like Tomcat 4.0, you can use a filter to control this. Look at this example 'Example: Modifying the Request Character Encoding' at: http://java.sun.com/products/servlet/Filters.html Or you could modify the Struts source code to set your character

RE: Struts Validator Questions

2002-03-01 Thread David Winterfeldt
have > errors.add(field.getKey.ValidatorUtil.getActionError(. > > I am compiling and running okay, but it never gets > to this routine. > (Thanks for your help by the way) > > Ben > > -Original Message- > From: David Winterfeldt > [mailto:[EMAIL PRO

Re: Struts Validator Questions

2002-03-01 Thread David Winterfeldt
--- Ben Kafka <[EMAIL PROTECTED]> wrote: > Hi, > >I started using the struts validator package > about a week ago and have > the following questions: > > 1 - How do I get the validator to validate a > required field for a selection > box? > My selection is on an integer property. I no

Validation Error Messages and Formatting was [Memory consumption of tags]

2002-02-28 Thread David Winterfeldt
--- "Yu, Yanhui" <[EMAIL PROTECTED]> wrote: > This is posted a couple of times, hope someone can > help me out: > > > > What I need to do is this: I would like to > display an error message to > the > > user in a little more customized way, such as, if > some special characters > > are not all

Re: Vaildation using regexp fails for large strings

2002-02-28 Thread David Winterfeldt
I've had problems with this too. That is why I added minlength and maxlength validation routines so regular expression wouldn't need to be used this way. ORO could also be used if you write your own validator using ORO instead of Jakarta Regexp. David --- Dave J Dandeneau <[EMAIL PROTECTED]> w

Re: Question on Validation

2002-02-28 Thread David Winterfeldt
This isn't an issue with validating. This is formatting your view based on the ActionErrors object generated by validation. Struts nightly builds has logic:messagesPresent and logic:messagesNotPresent jsp tags to control formating. The Struts Validator before the 1/14/2002 build posted on http

Re: Logging in beans

2002-02-26 Thread David Winterfeldt
ogging > API > > > > affects things? > > > > My guess is it increases the desirability of > using > > > > the > > > > jakarta Commons Logging Package. You can use > log4j > > > > for now & easily switch > > >

RE: Logging in beans

2002-02-26 Thread David Winterfeldt
t release of struts will use > the Commons logging so we > should too? Oh boy. > > > --- David Winterfeldt <[EMAIL PROTECTED]> > wrote: > > I would suggest using the Commons Logging Package > > (http://jakarta.apache.org/commons/logging.html). > > This is a gene

RE: Logging in beans

2002-02-26 Thread David Winterfeldt
I would suggest using the Commons Logging Package (http://jakarta.apache.org/commons/logging.html). This is a generic interface to logging packages. If Log4J is detected, it will use it. excerpt from the website: "The Logging package is an ultra-thin bridge between different logging libraries

Re: Struts Validator help

2002-02-25 Thread David Winterfeldt
It is keyed on the property, not the message resource key. So it would be the same as the property for you html:text tag. This would represent getEmail/setEmail. David --- [EMAIL PROTECTED] wrote: > Hi, > > I'm new to Struts and Struts Validator. I have been > able to setup struts and the

Re: commons valiador

2002-02-15 Thread David Winterfeldt
The Struts Validator is in the contrib/validator directory. contrib/validator/src/share/org/apache/struts/validator/action/ValidatorForm.java A binary version is available on my website and is in the dist directory of the download (dist/struts-validator.jar). http://home.earthlink.net/~dwinterf

Re: Order Validation Errors

2002-02-15 Thread David Winterfeldt
In the nightly builds the order is maintained in ActionErrors. David --- Adam Hardy <[EMAIL PROTECTED]> wrote: > I was just looking in the ActionErrors class myself > and the ActionError objects are held in a hashtable, > which I think has no defined ordering system. > > The messages which go

Re: commons valiador

2002-02-14 Thread David Winterfeldt
There is an example in the nightly source in contrib/validator (contrib/validator/src/example and contrib/validator/web/example). It is also posted at http://home.earthlink.net/~dwinterfeldt/ and there is a compiled jar of the Commons Validator in the build directory (no nightly build of it yet)

Re: Validation Question?

2002-01-20 Thread David Winterfeldt
The issue is associating error messages, error message arguments, and validation information like masks, dates, etc. for different locales. Also it would start getting messy having regexp expression and other things all directly associtaed with the custom jsp tags. Also, to store this informatio

Re: Why ActionMessages not part of Struts 1.0.1?

2002-01-17 Thread David Winterfeldt
Only bug fixes have gone into Struts 1.0.1. Adding the ActionMessages would be a feature. Plans are in the works for having a Struts 1.1 release which would be based off the nightly builds (no date set yet, but should happen relatively soon). David --- Alex Colic <[EMAIL PROTECTED]> wrote: > H

RE: Where is the messages tag...

2002-01-14 Thread David Winterfeldt
The html:messages tag is in the nightly builds (not v1.0). It is very similiar to ActionErrors, but can be used for general messages. ActionMessages messages = new ActionMessages(); messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("userForm.insert", info.getUserName())); messages.ad

Re: Returns from erroneous validation without aditional information

2002-01-13 Thread David Winterfeldt
When I want to do something like this, I set validation="false" in the struts-config.xml for the action. Then I can call validate on the ActionForm when appropriate. Or you can have two actions. One to prepopulate fields (with validation="false") and one with validation="true". David --- João

Re: MessagesPresent tag

2002-01-13 Thread David Winterfeldt
It's in the nightly builds. Are you using a nightly build (last few months) or Struts v1.0? David --- "Pedone, Tim" <[EMAIL PROTECTED]> wrote: > I noticed a tag called "messagesPresent" in the > logic tag docs > http://jakarta.apache.org/struts/struts-logic.html#messagesPresent > but got a > "C

RE: Struts-Validator ActionForm error

2002-01-10 Thread David Winterfeldt
The Validator jar is in the WEB-INF/lib with the Struts jar? And neither is in the classpath? David --- Patrick Liardet <[EMAIL PROTECTED]> wrote: > Thanks Michelle > > Unfortunately this doesn't seem to be the problem > (although I'm told the > classpath issue you mention can be a source of >

Re: changing default text.

2002-01-09 Thread David Winterfeldt
If you are using the nightly builds, there are html:messages, logic:messagesPresent, and logic:messageNotPresent to help with formatting and display of messages. The html:messages tag is like html:error, but it iterates through the errors instead. Specifying a header and/or footer by passing in

Re: Form Date Validation - how to?

2002-01-08 Thread David Winterfeldt
There is a validation framework in the contrib/validator directory in the nightly source. It can handle date valdiations. datePatternStrict MM/dd/ So if you keep your field in the ActionForm a String, you could use one of the transformatio

Re: Where can I find ?

2002-01-05 Thread David Winterfeldt
The html:messages tag is in the nightly builds (after v1.0). The Validator package has a custom JSP tag that iterates through errors. It is in the nightly build in the contrib/validator directory and it is also posted here (http://home.earthlink.net/~dwinterfeldt). David --- Peter Pilgr

Re: org.apache.struts.action.MESSAGE

2001-12-26 Thread David Winterfeldt
This is the value of Action.MESSAGES_KEY. It is used to store the application message resources (ApplicationResources.properties) under application scope. Action.MESSAGES_KEY = "org.apache.struts.action.MESSAGE" I don't know why you would get intermittent messages. It should load at startup an

Re: PLEASE: Validating A session level form on the Server side

2001-12-25 Thread David Winterfeldt
The validator example also is doing the validations server side. Multi Page Forms The field element has an optional page attribute. It can be set to an integer. All validation for the any field page value less than or equal to the current page is performed server side. All validation for the any

Re: Is it ok to ask about validator?

2001-12-25 Thread David Winterfeldt
It's ok to ask. Do you have the ValidatorServlet defined in your web.xml? If you have the debug set to greater than zero, you should see some ouput to the console window as the validation.xml loads. David --- Marcelo Caldas - CCSC <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to use the validato

RE: Is there a global constructor I can use to initialise applica tion wide beans?

2001-12-25 Thread David Winterfeldt
There is a Service Manager package in the nightly source contrib/service-manager directory. It can be used to initialize resources without having to create your own servlet or extend the ActionServlet. David --- "Krueger, Jeff" <[EMAIL PROTECTED]> wrote: > Create a class that extends > javax.se

Re: 2 problems with

2001-12-10 Thread David Winterfeldt
In nightly builds there is an html:messages tag that iterates through errors and the header and footer are optional. David --- Jonathan James <[EMAIL PROTECTED]> wrote: > I just looked at the ErrorsTag code (as of struts > 1.0) and it IS checking to > see if those properties exist and is not usi

Re: lost form data when validate returns errors

2001-12-08 Thread David Winterfeldt
--- Ted Husted <[EMAIL PROTECTED]> wrote: > Calling reset is a prelude to autopopulation. Unless > the request is > being redirected along the way, this should just put > the same values > back into the ActionForm. > > Reset must be called to ensure that the properties > for some controls, > li

Re: lost form data when validate returns errors

2001-12-07 Thread David Winterfeldt
--- Dan Tanner <[EMAIL PROTECTED]> wrote: > I'm having the problem of losing form data when my > action class returns > errors. The error displays properly, but I lose all > the form data. Maybe there is an issue with the reset method in your ActionForm? The validation error messages make sens

Re: Producing alternating background colours in struts in a table

2001-12-07 Thread David Winterfeldt
This is nice. RowTag (ZIP file for download) - Source for a Struts-compatible tag to generate alternating row colors in a table by Niall Pemberton. [NOTE: Requires a Struts build dated after 2001-04-28] http://www.husted.com/struts/resources.htm#taglibs David --- Struts Newsgroup <[EMAIL PROTE

struts-user@jakarta.apache.org

2001-12-06 Thread David Winterfeldt
If you can use a servlet engine that supports v2.3 (tomcat 4.0), you could use a Filter to parse out the url that was entered and extract any parameters that you encoded differently. Then you could forward the request to the actual page or servlet it should go to. David --- Phase Communcations

Re: Struts Validator (dumb?) question

2001-12-06 Thread David Winterfeldt
You either would need to define at least one action with validate="true" and another with validate="false" or perform the call to the ActionForm validates method yourself in the action. There is an example of using one action this way in the jdbc example web app that comes with the Validator. Ac

RE: ActionError Header/Foorters - can Global vs Non-Global be dif ferentiated

2001-12-05 Thread David Winterfeldt
I'm not 100% sure if this is what you are asking about, but the Validator Framework has the concept of levels of validation errors. You can setup a validator to depends on another one. The 'minlength' validator depends on the 'required' validator. So until this level (required) is completed, th

RE:

2001-12-05 Thread David Winterfeldt
The equivalent of validator:errors is now html:messages in the Struts nightly builds. The equivalent of validator:errorsExist is now logic:messagesPresent in the Struts nightly builds. I consider the most recent releases of the Validator to be in sync with the nightly builds. If you look at t

RE: Automation options between ActionForm and Value Object?

2001-12-03 Thread David Winterfeldt
files. http://www.husted.com/struts/resources/codemaker.htm Struts Generator by David Winterfeldt Based on the generator.xml and a table/query an xml file is generated. Based on the generated xml file a primary key class, data bean class, jdbc class, and an ActionForm (Struts) can be generated.

Re: and struts:erros>

2001-12-03 Thread David Winterfeldt
uts:erros> > > > > > > Hi > > > > can you tell me where I can get the validator > package from David > > Winterfield? > > > > Thanks > > > > Mohammed > > - Original Message - > > From: "Alexander Jesse" &

Re: Icons next to form elements with validation errors

2001-12-02 Thread David Winterfeldt
If you are using one of the more recent nightly builds there is a logic tag you could use. // insert image here David --- Angela Saval <[EMAIL PROTECTED]> wrote: > I would like to be able to place an icon next to > each field in a form that > did not validate correctly. Is this integrat

Re: JDBCRealm

2001-11-27 Thread David Winterfeldt
To retrieve the user name once they are logged in. request.getUserPrincipal().getName(); David --- Scott Edwards <[EMAIL PROTECTED]> wrote: > My understanding of the Tomcat 4 JDBC Realm is that > you don't get to > access it from within your application. Only Tomcat > gets to access it. > How

RE: maxlength

2001-11-26 Thread David Winterfeldt
If you use the validation framework, there is a max length validation. It is the nightly build and also posted at the link below. http://home.earthlink.net/~dwinterfeldt David --- Leo Grove <[EMAIL PROTECTED]> wrote: > try ezverify at ezverify.com. It's currently beta, > but it will apply leng

Re: David Winterfeldt's Validator Framework + Jbuilder 5.0 + Tomcat 3.2.1

2001-11-13 Thread David Winterfeldt
I wasn't using JBuilder, but I did have problems with Tomcat 3.2.1 and Struts/Validator. There were class loading issues. Even if you take out the validator, I don't think you can get Struts running. Is there any way to upgrade to a newer version of Tomcat? Sorry this isn't more helpful to you

Re: JSP used to convert xml to html applying XSL

2001-11-12 Thread David Winterfeldt
There is a nice tag library you can use for transformations. http://jakarta.apache.org/taglibs/doc/xsl-doc/intro.html Excerpt from Apply.jsp from the xsl-examples.war: This version of the table was created by loading the nested content with an action (simulating asking a different

Re:

2001-11-02 Thread David Winterfeldt
You have validate="true" in your action? Or in your Action if you are definitely getting back an ActionErrors object with messages then you could use the saveErrors method in the Action class to save it. Also, do you have errors.header and errors.footer defined? There is also an html:messages t

Re: ActionMessage classes

2001-11-02 Thread David Winterfeldt
There isn't a set schedule, but there are goals set. Below is a link to the To Do List. There will be a Struts 1.1 release when these things are done. http://jakarta.apache.org/struts/todo-1.1.html When is the next release coming out? http://jakarta.apache.org/struts/userGuide/kickstart.html#re

Re: Struts-Validator problem: NoClassDefFoundError

2001-11-01 Thread David Winterfeldt
The ActionMessage class is in the more recent nightly builds of Struts. Are you using html:messages? This uses that class. I'm not what else would be looking for this in a JSP page though. The validator tags shouldn't be making a reference to this class. To check if the ValidatorResources a

Re: Struts Validation question

2001-10-31 Thread David Winterfeldt
It doesn't skip it just like if you define an html:text on your JSP and the field doesn't exist it causes an exception. I don't think it stops validating though since all exceptions are caught. David --- Sandeep Takhar <[EMAIL PROTECTED]> wrote: > when using the struts validator, what happens i

Re: ActionErrors.add

2001-10-26 Thread David Winterfeldt
There are just multiple error messages for the login property. Nothing is lost. David --- "emmanuel.boudrant" <[EMAIL PROTECTED]> wrote: > What's happen if... > > > ActionErrors errors = new ... > > (...) > errors.add("login",new ActionError("error.login1")); > (...) > errors.add("login",new

Re: Messages like Errors...

2001-10-25 Thread David Winterfeldt
Are you talking about a general message or an error message? The below works with nightly builds or the Validator project (in the Struts nightly source contrib/validator directory or http://home.earthlink.net/~dwinterfeldt) has tags to do this if you aren't using nightly builds.

Re: Validator Nightly builds and Struts 1.0

2001-10-25 Thread David Winterfeldt
The first error sounds like a class loading issue. I'm using Tomcat 4.0, but I saw something like this on Tomcat 3.2.1 for the latest Struts and Validator builds. Maybe someone else will comment about that. The latest source of the Validator is using some Struts tags that are in the nightly bui

Re: Validator and Struts 1.0

2001-10-24 Thread David Winterfeldt
--- Sandeep Takhar <[EMAIL PROTECTED]> wrote: > sorry David, but I accidentally deleted the thread > that was started from my mail. > > I think that having a final release of validator for > release 1.0 of struts is a great idea. > > One thing that you mentioned is that using bCancel > as > a j

Re: Validator and Backwards Compatibility

2001-10-23 Thread David Winterfeldt
the nightly build but not the struts1-0 > release. > > - sandeep > --- David Winterfeldt <[EMAIL PROTECTED]> > wrote: > > > > --- Sandeep Takhar <[EMAIL PROTECTED]> > wrote: > > > Outside of what is defined as differences in the > > > revi

Re: Validator and Backwards Compatibility

2001-10-23 Thread David Winterfeldt
--- Sandeep Takhar <[EMAIL PROTECTED]> wrote: > Outside of what is defined as differences in the > revisions.html file -- what are the backwards > compatibility issues. This is really an effort to > understand what will be required when Struts1-1 goes > final and what changes will be required. I

Re: Auto-generating ActionForms

2001-10-22 Thread David Winterfeldt
--- Stephen Hood <[EMAIL PROTECTED]> wrote: > My last message didn't get any hits, so I'll try > again with a low-verbosity > filter. :) > > 1. Has anyone had any success using JAXB, Castor, > or any other XML data > binding technology to auto-generate their Struts > ActionForm beans from DTDs

RE: Questions About Struts Validator

2001-10-22 Thread David Winterfeldt
lready behind...:) can you give me > links to where I can read > more > about these validator framework and where I can > download the sample and > distribution? > > Thanks, > > --danny > > -Original Message- > From: David Winterfeldt > [mailto:

Re: Form properties reset ?

2001-10-22 Thread David Winterfeldt
--- Ted Husted <[EMAIL PROTECTED]> wrote: > You can also be more careful about which properties > are reset when. Both > the mapping and the request are passed to reset, > giving you the > opportunity to look ahead. > > The default reset does nothing. The properties are > only affected if > you'v

RE: Questions About Struts Validator

2001-10-22 Thread David Winterfeldt
truts 1.0? > > -Original Message- > From: David Winterfeldt > [mailto:[EMAIL PROTECTED]] > Sent: Sunday, October 21, 2001 1:04 PM > To: [EMAIL PROTECTED] > Subject: RE: Questions About Struts Validator > > > That isn't possible with the default mask val

RE: Questions About Struts Validator

2001-10-21 Thread David Winterfeldt
; the character content or > the length. > > Paul > > -Original Message- > From: David Winterfeldt > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 11, 2001 1:17 PM > To: [EMAIL PROTECTED] > Subject: RE: Questions About Struts Validator > >

Re: DB Connection Pooling

2001-10-19 Thread David Winterfeldt
m also using is > Poolman. It can be > found at http://www.codestudio.com > > Andy > ----- Original Message - > From: David Winterfeldt <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, October 19, 2001 4:07 PM > Subject: DB Connecti

Re: DB Connection Pooling

2001-10-19 Thread David Winterfeldt
Sorry. Never mind. I just saw that there was support added for refreshing the built in Struts Connection Pool, but I didn't know about it. You can add on of these lines in a data-source element. or David --- David Winterfeldt <[EMAIL PROTECTED]> wrote: > What would som

DB Connection Pooling

2001-10-19 Thread David Winterfeldt
What would someone recommend for using as a connection pool besides the Struts one? Basically I'm looking for a similiar product, but I want it to be able to check if a connection has been lost or gone bad and create a new one to replace the bad one. I see that there is a pool project in jakarta

Re: html:errors

2001-10-19 Thread David Winterfeldt
I thought I would send this modified from what Jonathan sent so it was clear how to add an error. The first parameter adding an error to ActionErrors is the key it is filed under. So typically you use the property name of the field so it can be retrieved next to the field if you need to. Action

Re: where should validation happen?

2001-10-18 Thread David Winterfeldt
I wanted to mention that the Validator validation framework has some basic validations that tie Javascript to the server side validations together. So you don't have to worry about the Javascript being run because the server side validation will always happen. The validation framework is in the

RE: bean:message with bean

2001-10-18 Thread David Winterfeldt
omething else... > > -Fabien > > - > Fabien Modoux, > Voicemate - http://www.voicemate.com > > -Original Message- > From: David Winterfeldt > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 18, 2001 6:45 PM > To: [

Re: bean:message with bean

2001-10-18 Thread David Winterfeldt
If they are message keys from the resource file, like msg.hello=Hello, then it should be key not name. The tag bean:write uses the name attribute (as do most other tags in one way or another). David --- Fabien Modoux <[EMAIL PROTECTED]> wrote: > Hello, > > I am using the bean:message a

  1   2   3   >