Re: concerns about Struts

2002-08-16 Thread David Winterfeldt
Yes, the functionality is there. But it actually caused some problems on the Struts side and I think I need to roll back StrutsValidator.java to use booleans again. With it returning the actual value, you can't indicate that it should still continue with other validations if you would want it to

Re: Weirdness/possible bug in Validator dependencies

2002-07-15 Thread David Winterfeldt
til after the Struts 1.1 release. I'll think if there are any other ways to do this and keep it backwards compatible. David --- James Turner <[EMAIL PROTECTED]> wrote: > At 03:57 PM 7/15/2002, David Winterfeldt wrote: > >The Validator was designed to work this way so > there

Re: Weirdness/possible bug in Validator dependencies

2002-07-15 Thread David Winterfeldt
The Validator was designed to work this way so there could different groupings of validation rules. Because some times it may not make sense to continue with certain validations until the form is in a certain state. The depends attribute in the pluggable validator definitions is what controls th

Re: DTDs for Validator Configuration Files

2002-07-11 Thread David Winterfeldt
--- Ted Husted <[EMAIL PROTECTED]> wrote: > I added the documentation/comments for the new > validator DTDs, but have > a question: > > Do we really want two DTDs? > > Orginally, there was just one configuration file, > but we saw it would be > convenient to have a master rules file and one or

Re: Nested Messages & Errors tags applicability...

2002-06-24 Thread David Winterfeldt
cool. --- Arron Bates <[EMAIL PROTECTED]> wrote: > > The 'nameList.value' is being used to lookup of > the > > messages/errors that were stored under this in the > > ActionMessages. ActionMessages has an internal > Map > > and uses a key (normally the property name and > there > > is also GLOBAL

Re: Nested Messages & Errors tags applicability...

2002-06-21 Thread David Winterfeldt
me bean as the > text fields. To read the markup, the messages and > errors would then be > calling on the same property. Internally the name is > being set to the > same as the rest of the tags, is this simply being > ignored to go fetch > the messages on a standard name

Re: Nested Messages & Errors tags applicability...

2002-06-20 Thread David Winterfeldt
I'm not 100% I'm sure I'm following what the problem is (probably missed some other e-mails). I was going to talk to you Aaron when I went to do these, but it seemed very simple so I went ahead and made them. I just wanted the nested messages and errors tags to be able to get the property name o

Re: Commons Validator Configuration

2002-06-12 Thread David Winterfeldt
The latest nightly builds let you get a Map of any objects (except booleans) returned from a validation method. The latest configuration of the Validator xml rules (conf/share/validator-rules.xml) calls some methods that return the correctly typed object (primitives, date, and credit card). So o

Re: Validator Efficiency

2002-05-24 Thread David Winterfeldt
This has not been changed. Some features have been added, but I was trying not to make any major changes since there needs to be a Commons Validator release to correspond with a Struts 1.1 release. David --- Dave J Dandeneau <[EMAIL PROTECTED]> wrote: > I noticed that the validator (pre 1.1)

Re: Struts Validator: The Role of Page No.

2002-04-18 Thread David Winterfeldt
The page attriubte for a field element is optional. David --- Jing Zhou <[EMAIL PROTECTED]> wrote: > When looking into the validator codes, the page no. > of a wizard > like application is needed for validator to work. It > looks to me > that the validator will validate the current page > plus a

Re: Struts Validator: The Role of Page No.

2002-04-18 Thread David Winterfeldt
--- Jing Zhou <[EMAIL PROTECTED]> wrote: > I am trying to normalize hundreds of screen objects > in > a struts related tool, so when the validator page > number > came into the picture, I feel I am not fully > understand its > implications from the perspective of business > scenarios. > > Basi

Re: build failing - validator in transition?

2002-04-04 Thread David Winterfeldt
The Struts Validator was recently moved (right before beta 1) from contrib/validator to the main source tree. I don't know why the build isn't working for you. Those classes are in cvs. Maybe your checkout failed? The ValidatorPlugIn is in the org.apache.struts.validator package (along with Va

Re: Jakarta Regexp Package Issue

2002-04-01 Thread David Winterfeldt
I checked in the changes in Commons Validator and Struts to use Jakarta ORO. David --- David Winterfeldt <[EMAIL PROTECTED]> wrote: > I'm planning on switching this over tonight. I'm > ready to check in the changes to Commons Validator. > The unit test I made shows

Re: Multi Struts Config files and path context wish

2002-04-01 Thread David Winterfeldt
--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > > > On Sat, 30 Mar 2002, Struts-dev Newsgroup wrote: > > > Date: Sat, 30 Mar 2002 21:10:01 -0800 > > From: Struts-dev Newsgroup > <[EMAIL PROTECTED]> > > Reply-To: Struts Developers List > <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > >

Re: Jakarta Regexp Package Issue

2002-04-01 Thread David Winterfeldt
oad than ORO! > > I don't think we should allow the user to choose. It > would be confusing to > the user, and also to us when trying to track down > problems and subtle > differences in behaviour. > > -- > Martin Cooper > > > - Original Message -

Re: PlugIn (Craig)

2002-04-01 Thread David Winterfeldt
even if it works, this is quite likely > over-engineering for this > situation... > > -- > Martin Cooper > > > - Original Message - > From: "David Winterfeldt" <[EMAIL PROTECTED]> > To: "Struts Developers List" > <[EMAIL PROTECT

Re: PlugIn (Craig)

2002-03-30 Thread David Winterfeldt
least on the xml side. David --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > > > On Sat, 30 Mar 2002, David Winterfeldt wrote: > > > Date: Sat, 30 Mar 2002 11:44:43 -0800 (PST) > > From: David Winterfeldt <[EMAIL PROTECTED]> > > Reply-To:

PlugIn (Craig)

2002-03-30 Thread David Winterfeldt
It looks like when you made changes to the PlugIn Craig that it broke the ValidatorPlugIn. Having multiple set-property elements under the plug-in used to work, but now it looks like only the last one is being kept. It looks like the addition of PlugInSetPropertyRule in ConfigRuleSet broke this.

Jakarta Regexp Package Issue

2002-03-22 Thread David Winterfeldt
I'm reposting this. It might be easily missed since I forwarded the bug for this that I filed. Email Validation doesn't allow '-' in address. This is an error in the Jakarta Regexp package. It also has trouble with large max values. ex: ^\d{2,1000}$ Does anyone think we should just switch

Fwd: DO NOT REPLY [Bug 7354] - Email Validation doesn't allow '-' in address

2002-03-21 Thread David Winterfeldt
Email Validation doesn't allow '-' in address. This is an error in the Jakarta Regexp package. It also has trouble with large max values. ex: ^\d{2,1000}$ Does anyone think we should just switch to ORO? I'm leaning that way, but I used Jakarta Regexp because it was considered 'lighter'. If

RE: [GUMP] Build Failure - Struts

2002-03-21 Thread David Winterfeldt
On this same note, I forgot to copy the Jakarta Regexp jar to the dist/lib directory and into the validator example webapp. I'll file bugs for things like this and fix them. David --- "Couball, James" <[EMAIL PROTECTED]> wrote: > I think the gump build failed because the > jakarta-struts.xml pr

Re: Validator SERVLET_CONTEXT_KEY Error

2002-03-20 Thread David Winterfeldt
The Struts Validator has been moved from contrib/validator to the Struts core. Also the last references to Struts related code from the Commons Validator has been removed. So to get this error you are probably using a newer Commons Validator with an old Struts Validator version. The new config

Re: NestedFormTag in cvs head

2002-03-19 Thread David Winterfeldt
d --- Rob Leland <[EMAIL PROTECTED]> wrote: > > > David Winterfeldt wrote: > > > v1.3 of > > > src/share/org/apache/struts/taglib/nested/html/NestedFormTag.java > > won't compile for me. > > David > > > I bet you are using Tom

Re: Beta 1 update

2002-03-18 Thread David Winterfeldt
I have all the main code I wanted to do checked in except for documentation, but you said that was ok to get in later Martin. I'll file bugs for any other things I know that are issues. So you can tag whenever Craig says it is ok. I changed on thing in the Commons Validator tonight in case you

Re: NestedFormTag in cvs head

2002-03-18 Thread David Winterfeldt
> > > Subject: Re: NestedFormTag in cvs head > > > > It fails to compile here consistently?... > > > > Compiles fine for me. The NestedIterate does the > same thing with its > > super.doAfterBody() method use also, it's a > surprise that it would only >

NestedFormTag in cvs head

2002-03-18 Thread David Winterfeldt
v1.3 of src/share/org/apache/struts/taglib/nested/html/NestedFormTag.java won't compile for me. [javac] symbol : method doAfterBody () [javac] location: class org.apache.struts.taglib.html.FormTag [javac] int temp = super.doAfterBody(); Anyone else having this problem? David

RE: Beta 1 update

2002-03-18 Thread David Winterfeldt
There are comments in the build.properties.sample file indicating which version of any jars to use. If we are out of sync at all, this is an easy place to update. And the binary download of Struts has these jars in the lib directory which were used when compiling the Struts binary. David --- "

Re: Beta 1 update

2002-03-18 Thread David Winterfeldt
+1 But could we wait until at least tonight or tomorrow to retag and lock down. If that is OK with everyone. I have the Validator example webapp incorporated into Struts, but I need to add a couple of things to it. Although I could check it in as is depending on how soon you want to get the be

Re: Validator move to main distribution

2002-03-17 Thread David Winterfeldt
g > org.apache.struts.validator instead of > org.apache.struts.action for the > five main classes. > > I will update the nightly builds to include > jakarta-regexp (which we'll > also need to ship in the "lib" directory), and tell > Gump about it as well, > once

Validator move to main distribution

2002-03-17 Thread David Winterfeldt
I'm going to check this in later tonight if there are no objections to the packages I've placed things under. I'll add the webapp example and documentation next. The Jakarta Regexp jar will need to get added to the properties file for the nightly builds. added to org.apache.struts.action (Vali

Proposal for Struts Validator

2002-03-13 Thread David Winterfeldt
This may be a bit late since we are in beta, but I have some time to work on this now. If everyone else thinks this is worth adding, we can do so. Here is a list of things I would like to get in for 1.1. 1. Clean up any javadoc comments and package.html. 2. Enhance documentation 3. Deprecate Va

RE: [VOTE] Struts 1.1 Beta 1 Release Plan

2002-03-12 Thread David Winterfeldt
Vote: Struts 1.1b1 Release Plan [x] +1 I am in favor of the release, and will help support it [ ] +0 I am in favor of the release, but am unable to help support it [ ] -0 I am not in favor of the release [ ] -1 I am against this proposal (must include a reason).

Re: Progress on bugs

2002-03-12 Thread David Winterfeldt
I closed out bug 6685 last night. David --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > FYI, I have cleaned up all the outstanding bug > reports for Commons > components that the HEAD branch of Struts relies on > except for: > > 3893 - Digester - Enhancement to handling for > body

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: Validator/Tiles integration in Struts

2002-03-05 Thread David Winterfeldt
I have no problems with moving what's left of the Validator to src/share. My top goal right now is to go over all the javadoc comments for the Commons Validator and Struts Validator and work on documentation. Then to apply any bug fixes that people have sent me e-mails about that I haven't gotte

Re: Logger in ActionServlet

2002-03-05 Thread David Winterfeldt
I wasn't sure if it was good to encourage someone using another classes logger because it might make the logs harder to read and control. So I didn't add access for the logger. And you do still have access to the servlet log. I agree with Craig. I think it is good form to define your own logge

Re: Commons Logging

2002-02-25 Thread David Winterfeldt
--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > > > On Mon, 25 Feb 2002, David Winterfeldt wrote: > > > Date: Mon, 25 Feb 2002 19:49:05 -0800 (PST) > > From: David Winterfeldt <[EMAIL PROTECTED]> > > Reply-To: Struts Developers List

Commons Logging

2002-02-25 Thread David Winterfeldt
I checked in what I've done so far. Commons Logging issues. 1. Do we want to just add console logging to the example web apps or log to a file? Are you still running the nightly build Craig? Log4J would need to be added to the properties file so it can be included in the webapps for the binary

Re: [PROPOSAL] Modular Applications (the BIG checkin) [LONG]

2002-02-20 Thread David Winterfeldt
I can help over the weekend with switching to Commons Logging since I suggested it. Unless someone else really wants to. :) I assume most things will become LOG.debug unless they are obviously referring to an error. I see that the Digester class does the following. I've been doing the latter

Re: [PROPOSAL] Modular Applications (the BIG checkin) [LONG]

2002-02-20 Thread David Winterfeldt
I may have missed this discussion, but was there ever talk about switching to Commons Logging for the Struts 1.1 release. I've been using Commons Logging with log4j and I've had no problems. I think everyone would appreciate the improved logging control. David --- Ted Husted <[EMAIL PROTECTED]

Re: Struts Validator (website) and Latest Build

2002-01-23 Thread David Winterfeldt
Is the Commons Validator jar in your WEB-INF/lib directory? I need to get it setup in commons so it is building with everything else, but I did leave a binary of it in the lib directory of the download from my site. David --- Ted Husted <[EMAIL PROTECTED]> wrote: > So, I'm trying to update an a

Re: Validator integration in Struts

2002-01-22 Thread David Winterfeldt
t; Commons-Validator, Tiles, Velocity and whatever else > with Struts, and > I'll help write it, but I'm thinking the code level > interfaces really > belong with the components, and not so much with the > framework(s). > > -Ted. > > > David Winterfeldt wrot

Validator integration in Struts

2002-01-20 Thread David Winterfeldt
I think this got lost in the DynaBean discussion so I'm resending it. --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > We should also consider whether it makes sense to > integrate the > configuration of the validation criteria into > struts-config.xml -- not as > a *replacement* for the e

Re: Nested Extension - Committed

2002-01-18 Thread David Winterfeldt
I think it would be nice if the service manager was moved to proper. I was going to use it and move away from the ValidatorServlet, but I needed to use the Tiles extension of ActionServlet so I left the Validator loading alone. If the service manager was built in, then this wouldn't have been ne

RE: Self-Initializing DynaBean ?

2002-01-16 Thread David Winterfeldt
--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > Not yet ... we'll need to look at how to integrate > valiation support together with it. The Validator uses BeanUtils for all property calls to retrieve values to validate. And BeanUtils works with DynaBeans now, right? ex: value = Prope

Re: [VOTE] Proposed Committer Arron Bates

2002-01-14 Thread David Winterfeldt
+1 David --- Ted Husted <[EMAIL PROTECTED]> wrote: > Arron has developed an interesting and popular > extension to the Struts > taglibs. He has been distributing the extension in a > very complete and > accessible package, and has offered to donate it to > Struts. Arron has > also been helping o

Re: Nested tags

2002-01-07 Thread David Winterfeldt
I just wanted to comment that I did look at it a little, run the examples, and look at the source. It seems nice, clean, and easy to use. I haven't used it in a project yet though. David --- Ted Husted <[EMAIL PROTECTED]> wrote: > Arron, > > Once Craig's implementation of the multi-servlet >

Re: Re[2]: Freetext attribute for all tags...

2001-12-10 Thread David Winterfeldt
I like literal out of the three listed. A static or staticText field would be the only other ideas I have for naming. David --- Oleg V Alexeev <[EMAIL PROTECTED]> wrote: > Hello Ted, > > So, votes for naming of free style attribute for > html tags - > > literal - 2 > freetext - 1.5 (already

Re: Struts Validator: 'fatal' and 'non-fatal' validations

2001-12-04 Thread David Winterfeldt
Alan and I already talked offline, but I told him this might be a good place to get other opinions. I think that all validation errors are fatal. If it isn't fatal it is really a message, so you could use ActionMessages instead of ActionErrors. The equivalents of all the error methods could be

RE: Hold the Phone!... Nesting Tags (including form items)

2001-11-12 Thread David Winterfeldt
I think Ted was just saying that the core of Struts should remain small and that there can be lots of add-ons and extensions for "plug and play" functionality. It makes the core easier to manage and then people can add in whatever functionality they need by just dropping in a jar and/or tld. It

RE: Validator design considerations

2001-11-02 Thread David Winterfeldt
--- "Sobkowski, Andrej" <[EMAIL PROTECTED]> wrote: > Ted, > > thanks for your answer. > > I understand your idea of "initial validation". And > I also agree with > "Generally, objects should have dominion over their > own data". But in the > case of the validation process, IMHO the bean is the

Re: Validator design considerations

2001-11-02 Thread David Winterfeldt
I don't mind the idea of combining or changing the XML configuration for validations. I think that the validation rules are getting very long at the top of the Validator and need to be moved to a separate file (at least for the default ones). I have some comments interspersed below on some other

Nightly Build

2001-10-21 Thread David Winterfeldt
I believe the nightly build is still running on a server that Craig is maintaining. I thought it would be a good idea (and have had a couple of requests) to have the validtor jar built during the nightly builds. I have everything ready to do this (not checked in), but the jakarta regexp (http://

Bad Resource Links

2001-10-17 Thread David Winterfeldt
Ted, I just wanted to mention that any of the resource links to http://husted.com/about/struts are bad since everything was moved to http://husted.com/struts, but even if you take out the about from the url it still does't go to the resource. http://jakarta.apache.org/struts/userGuide/resources

Re: Problem with html:errors tag

2001-10-16 Thread David Winterfeldt
The validator:errors tag header and footer are optional. So you can do something like this below. or Also in the nightly builds there is an html:messages tag that works like validator:erro

Re: Bugzilla Bug Reports

2001-10-04 Thread David Winterfeldt
+1 Sounds like a good way to give more visibility to all the bugs. David --- Ted Husted <[EMAIL PROTECTED]> wrote: > Originally, I think we did that just to leverage > bugilla's automatic > mail feature. Posting them to DEV and leaving them > unassigned would seem > to be a better fit with the

Re: html:errors tag implementation

2001-09-26 Thread David Winterfeldt
The string you pass into ActionError must be a key from your message resource property file. Otherwise the property for error messages is just a key to look up messages and the convention is to make it match the property name. errors.add ("bar.foo[3].xyz", new ActionErrorError ("error.requ

Re: Static javascript

2001-09-25 Thread David Winterfeldt
The static JavaScript works in the example I made, but when I tried to combine the static reference along with the generated code it wouldn't work. would generate blah, blah, blah Is this what you got working? I didn't specify the type attribute, but I'm not sure why they didn't wor

RE: TODO 1.1 - Tools - ActionForm Code Generator

2001-09-23 Thread David Winterfeldt
from the existing JSPs. > > > >Ravi > > > >-Original Message- > >From: David Winterfeldt > [mailto:[EMAIL PROTECTED]] > >Sent: Friday, September 21, 2001 12:42 PM > >To: [EMAIL PROTECTED] > >Subject: Re: TODO 1.1 - Tools - ActionForm Cod

Re: TODO 1.1 - Tools - ActionForm Code Generator

2001-09-21 Thread David Winterfeldt
://www.husted.com/about/struts/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. General link to other

Adding Validator support for 'indexed="true"'

2001-09-20 Thread David Winterfeldt
I want to add the ability to have validation for people that are using 'indexed="true"' on forms for indexed properties. I'm thinking about this for the validation.xml file. It would only handle a single level of indexing. Does the 'indexed="true"' handle more than one level? I don't think it

404 for Digester Link

2001-09-20 Thread David Winterfeldt
The main link for the digester on the jakarta.apache.org/struts is 404ing. http://jakarta.apache.org/struts/api/org/apache/struts/digester/package-summary.html David __ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief in

Re: Validator: "required field" errors displayed before form is submitted

2001-09-20 Thread David Winterfeldt
Are you going directly to the JSP page or are you going through an action? I suspect you are going through an action and you have 'validate="true"'. This would cause the page to be validated before it was actually submitted. So you could either go directly to a JSP or have 'validate="false"' an

RE: Enhanced errors tag

2001-08-15 Thread David Winterfeldt
There is an html:messages tag that is basically the same as html:errors except it iterates over messages and errors so you can remove the html from the message resources. There are the classes ActionMessages and ActionMessage for general messages like "Record has been deleted.". ActionErrors is

Re: Insufficient Karma

2001-08-01 Thread David Winterfeldt
--- Cedric Dumoulin <[EMAIL PROTECTED]> wrote: > > I have checkout project on my local pc. I have do > checkout again in a > clean place, but error remain ;-( > What is strange is that module import has worked > without error. > > Cedric > > David Winterfel

Re: Insufficient Karma

2001-08-01 Thread David Winterfeldt
Where do you have the project checked out from cvs? I was getting this error message when I was trying to work from the server. Craig said it sounded like the cvs checkout was anonymous when I had this problem. Once I did a checkout to my local pc, I could check things in. David P.S. - If you

Re: Struts Code Generators

2001-07-26 Thread David Winterfeldt
age name with org.apache.struts.codemaker > > 3. Modifications in the validation.xml generation > > > > Please let me know, > > Thanks, > > Ravi > > David Winterfeldt wrote: > > I started on something simple that autogenerates > > primary key class,

Re: Struts Code Generators

2001-07-26 Thread David Winterfeldt
d the header template with apache > information > > 2. Package name with org.apache.struts.codemaker > > 3. Modifications in the validation.xml generation > > > > Please let me know, > > Thanks, > > Ravi > > David Winterfeldt wrote: > > I started

Re: Struts Code Generators

2001-07-25 Thread David Winterfeldt
> you a place to put special output methods for the > presentation layer (or > report layer, for that matter). Neither the Helper > nor the DAO are > linked to HTTP or a Web application. > > > David Winterfeldt wrote: >

Re: Struts Code Generators

2001-07-25 Thread David Winterfeldt
> And, while we're at, spit out some basic DBMS code > that implements the > latest design patterns. > > David Winterfeldt wrote: > > > I started on something simple that autogenerates > > primary key class, data bean class, jdbc class, > and an > > ActionF

Re: Yet another Struts E-Commerce example

2001-07-25 Thread David Winterfeldt
--- Ted Husted <[EMAIL PROTECTED]> wrote: > steve wilkinson wrote: > > I do have the source code available for download > > > (http://www.newparticles.com/struts/downloads/index.html) > and I will be > > improving on the example by incorporating EJBs and > a database. I'm > > working with JBoss,

Re: MessagesTag problem

2001-07-23 Thread David Winterfeldt
You're right, it does. I will fix it tonight. Thanks for catching it. David --- "Deadman, Hal" <[EMAIL PROTECTED]> wrote: > If I am not mistaken, the nightly 1.1 build contains > a reference to > com.wintecinc.struts instead of org.apache.struts. > > from struts-html.xml: > > > org.apache.s

Re: Struts Services

2001-07-20 Thread David Winterfeldt
I thought this was going to be a core feature (or is it not ready for the core yet, Oleg?). David --- Ted Husted <[EMAIL PROTECTED]> wrote: > I believe Oleg committed a package to contrib, and > is looking for help > with sample code, general testing and documentation

Struts Services

2001-07-20 Thread David Winterfeldt
What is the status of having something to load a service in Struts? If it is going to be a while, I would suggest at least adding something that could at least handle initialization of resources that would fit in with the future plans. I was waiting for something like this before I added the Val

Order of ActionMessages/ActionErrors Iteration

2001-07-14 Thread David Winterfeldt
I think it would be good if the initial order a property/key that is added to ActionMessages/ActionErrors is maintained, but I wondered what others think. I think it is easier to read the error messages on the web page if they match the order of the fields on the page. I have some code written t

Re: [VOTE] Changing Struts 1.1 to depend on Commons Packages

2001-07-14 Thread David Winterfeldt
+1 --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > As I cc'd to this list, the 1.0 versions of the > beanutils, collections, > and digester packages have been released under the > Commons project. Now > that these are official 1.0 releases, I propose to > modify the Struts 1.1 > environme

RE: digester

2001-07-13 Thread David Winterfeldt
I use the Digester in this class. It loads the validation.xml in web/example/WEB-INF. com.wintecinc.struts.validation.ValidatorResourcesInitializer I have it posted here. http://home.earthlink.net/~dwinterfeldt David --- Rey Francois <[EMAIL PROTECTED]> wrote: > Look at the mapper configurat

Re: ErrorsTag (was /contrib)

2001-07-11 Thread David Winterfeldt
se I'm not sure where it belongs. All the logic tags are very generic. Maybe it belongs in a taglib/validator package. If you read this Craig, maybe you could comment. David --- Ted Husted <[EMAIL PROTECTED]> wrote: > David Winterfeldt wrote: > > This would work, but woul

RE: ActionMapping Workflows

2001-07-10 Thread David Winterfeldt
Maybe the token that can be generated in an action be used or make a workflow token. David --- "Robbin L. Gratz" <[EMAIL PROTECTED]> wrote: > > > With the "return stack" concept, I'm assuming this > will be a session scope > variable. What happens when the user clicks the > back button rather

Re: ActionMapping Workflows

2001-07-10 Thread David Winterfeldt
What your thinking of may already do this, but I thought I would mention this in case it didn't. If you end up contructing a workflow using the actions, it would be nice if it could be defined as a linked list (or at least kept track of the last action). So you wouldn't just go forward, but coul

Re: cvs commit: jakarta-struts/contrib/validator/src/example/com/wintecinc/struts/example/validator ApplicationResources.properties ApplicationResources_fr.properties CityStateZip.java MultiRegistrationAction.java RegistrationAction.java RegistrationForm.java TypeAction.java TypeForm.java

2001-07-08 Thread David Winterfeldt
Sorry. I apologize. I got frustrated with the problems I'm having and just wanted to get it checked in. I've tried doing it on the server, with Cygwin, and with WinCvs for a few days. I can't check anything in on the server and if I commit more than a few files Cygwin's cvs and WinCvs never se

Re: ErrorsTag (was /contrib)

2001-07-07 Thread David Winterfeldt
This sounds good. I adding 'messages=true'. That makes it easier to use than have to put in a long key each time. David --- Ted Husted <[EMAIL PROTECTED]> wrote: > David Winterfeldt wrote: > > This would work, but would it be confusing for a > > general m

Re: ErrorsTag (was /contrib)

2001-07-07 Thread David Winterfeldt
--- Ted Husted <[EMAIL PROTECTED]> wrote: > "Craig R. McClanahan" wrote: > > Following this philosophy, we'd create a new tag > (perhaps > > ?) for the new functionality, and > deprecate > > . In addition, we'd need to change > the 1.1 implementation of > > so that it did something sensible, >

Re: /contrib

2001-07-07 Thread David Winterfeldt
. If we do replace the old tag, would it still be somewhere for people to access the old tag that migrate from Struts 1.0 to Struts 1.1? Possibly called html:errorsOld or old-html:errors. Or the new one could be html:errorsIterator. David > > David Winterfeldt wrote: > > > > I st

Re: /contrib

2001-07-07 Thread David Winterfeldt
Thanks. --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > > > On Wed, 4 Jul 2001, David Winterfeldt wrote: > > > I started to check everything into a validator > > directory under contrib. It looks like I > successfully > > added directo

Re: cvs commit: jakarta-struts/contrib/validator INSTALL LICENSE README build.xml build.properties build-test.xml

2001-07-07 Thread David Winterfeldt
I still seem to be having some trouble, but I'll keep trying. The other errors I was getting were from the cvs checkout I did on the server in my home directory. I'll try doing it again, but explicitly login to cvs as Craig suggested in another e-mail. I managed to get these files checked in

Re: /contrib

2001-07-04 Thread David Winterfeldt
validator) cvs commit: Pre-commit check failed cvs [commit aborted]: correct above errors first! The status shows it checked in locally, but not into the main repository. David --- Ted Husted <[EMAIL PROTECTED]> wrote: > Sure, if that works for you. It's just that it might > be simpli

Custom JSP Tags and Validator

2001-07-04 Thread David Winterfeldt
I have couple of issues with the best way to handle the possible incorporation of the validator custom JSP tags into Struts. I'll go through each of the issues. I made two custom jsp tags for errors based off of the Struts' tags. One was validator:errors which is the equivalent of html:errors e

Re: /contrib

2001-07-04 Thread David Winterfeldt
Do you want everything checked in as is for now (package names, jsp tags, etc.)? David --- Ted Husted <[EMAIL PROTECTED]> wrote: > I just added a contrib directory to the main > repository. This would be > a good place to upload the working copies of the > packages we are > working on, includ

Re: Re[2]: Extensions to Struts

2001-07-03 Thread David Winterfeldt
Oleg, What is the status of your work on this? David --- Oleg V Alexeev <[EMAIL PROTECTED]> wrote: > Hello Ted, > > Friday, June 29, 2001, 2:33:29 PM, you wrote: > > TH> If there is no other way ;-( > > TH> We just need to think about what happens if > someone wants to use the > TH> Bean

RE: server-side, java-based validation rules for struts..

2001-06-25 Thread David Winterfeldt
on > offering a nice solution in order to preserve the > real look of a reg. exp. > in an XML file? > Fr. > > -----Original Message- > From: David Winterfeldt > [mailto:[EMAIL PROTECTED]] > Sent: 25 June 2001 18:11 > To: [EMAIL PROTECTED] > Subject: RE: server

RE: server-side, java-based validation rules for struts..

2001-06-25 Thread David Winterfeldt
Regular expressions should be: ^"\(?(\d{3})\)?[-| ]?(\d{3})[-| ]?(\d{4})$" Properties file version ^\"\\(?(\\d{3})\\)?[-| ]?(\\d{3})[-| ]?(\\d{4})\"$ David --- David Winterfeldt <[EMAIL PROTECTED]> wrote: > When you are doing regular expressions you can > b

RE: server-side, java-based validation rules for struts..

2001-06-25 Thread David Winterfeldt
When you are doing regular expressions you can basically just cut and paste them from an example and escape out the few XML sensitive characters, but you have to escape out the escape characters in a java properties file which I think makes something that is already hard to read even more unreadab

Re: Extending the scope of the struts validation

2001-06-23 Thread David Winterfeldt
I'm intersted in seeing the code too. If my validation framework does more, maybe we can make them work in tandem. I've actually been working on making the validation framework work independant of Struts. A friend of mine wants to be able to configure a different set of rules just to run on a

RE: server-side, java-based validation rules for struts..

2001-06-21 Thread David Winterfeldt
Maybe I'm not doing that > yet, but its where I'm trying to go :) > > Respectfully, > Levi Cook > > > -Original Message- > > From: David Winterfeldt > [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, June 21, 2001 11:17 AM > > To: [EMAIL PROTECTED] > >

Re: server-side, java-based validation rules for struts..

2001-06-21 Thread David Winterfeldt
I haven't had time yet to reorganize the code to separate out validations into pure boolean validation methods. The interface that is there now wasn't the original one and has evolved over time. When I have free time, I've normally focused on adding functionality over reorganizing the source cod

RE: server-side, java-based validation rules for struts..

2001-06-20 Thread David Winterfeldt
I don't think there would be anything wrong with your idea, but I think it is a little more flexible keeping the validation separate from the ActionForm. I started working on a validation framework, but I put the info in an xml file. I would rather change a value in an xml file than having to re

Re: Client/Server Side Validation for Struts 1.1

2001-06-19 Thread David Winterfeldt
have built a filter to change what > they entered into the > format > > > which we work with (1,000.55 ) to validate it. > This means ONE > validation > > > created for money, but a filter had to be > created for users located in > > > Brasil. The filter jus

Re: Client/Server Side Validation for Struts 1.1

2001-06-18 Thread David Winterfeldt
> situation as needed, and one central validation > package. > > - Original Message - > From: "David Winterfeldt" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 18, 2001 2:26 PM > Subject: RE: Client/Server Side Validatio

  1   2   >