Re: Extending the scope of the struts validation

2001-06-25 Thread William Jaynes
One of the things I like in your description is the addition of your 'string keyed' properties. These sound like dynamic properties. We are going to need dynamic properties as part of ActionForms if we are going to implement dynamic forms. The problem I've had with the validation discussion

RE: Extending the scope of the struts validation

2001-06-25 Thread Rey Francois
I definitely would like to share the code but I don't have a web server somewhere where I can put it. And the zip file will be over 200Kb so I don't think sending it to the list is recommended, is it? A couple options: - Yahoo My Briefcase (and you get a couple banners) - SourceForge

Re: Logic tags and string properties

2001-06-25 Thread Jonathan Asbell
why dont you just change it to isEmpty or emptyString which everyone knows already? =) - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 25, 2001 1:19 AM Subject: Re: Logic tags and string properties Picking up on an old thread here

Websphere and template tags

2001-06-25 Thread bram
Hi, I have noticed that the pageContext.include isn't working properly in Websphere and that for the GetTag the flush attribute has been added to support "broken" containers. Could someone also add this for the InsertTag? it also uses the pageContext.include and I get weird results in

Re: Extending the scope of the struts validation

2001-06-25 Thread Ted Husted
You can send it to me, Francois. I'll post it on my Struts page right away, and add it to the Contributor's area in the Struts CVS later this week. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

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

2001-06-25 Thread Nick Afshartous
Cook, Levi writes: IMHO, expressing rules using first class Java objects *can* be just as flexible as defining rules in an XML file. The analog to changing a value in an XML file is using a property editor to change values stored in a JavaBean (thus avoiding recompiling). The upside

Re: Struts 1.1 TODO List -- Event and Listener Model

2001-06-25 Thread William Jaynes
A comment I just made on the new thread about Extending the scope of the struts validation, really belongs here on this thread... My problem with tying forms to JavaBeans is that JavaBeans don't seem to be flexible enough to use for dynamic forms. If I need to create a form or modify it at

TODO 1.1 - XML Digester

2001-06-25 Thread Immanuel, Gidado-Yisa
The todo list shows for: XML Digester [org.apache.struts.digester] the following task: Refactor Dependencies. Refactor import dependencies, here and within the utilities package, with the goal of being able to use the Digester package in standalone applications without having to

RE: Logic tags and string properties

2001-06-25 Thread Rey Francois
Actually I like emptyString very much ! I use the same keyword in my validation properties (in the mapper-config.xml :) Just a couple tips which may or may not be relevant: 1. I had to distinguish empty strings from blank strings in order to provide finer control over validation and conversion.

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

Re: Logic tags and string properties

2001-06-25 Thread Craig R. McClanahan
On Sun, 24 Jun 2001, Martin Cooper wrote: Picking up on an old thread here (because I'd like to go ahead and fix the problem :-) ). If we add an 'empty' attribute to logic:present and logic:notPresent, what should the allowed values be? One option which occurs to me is that

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

2001-06-25 Thread David Winterfeldt
Regular expressions should be: ^quot;\(?(\d{3})\)?[-| ]?(\d{3})[-| ]?(\d{4})$quot; Properties file version ^\\\(?(\\d{3})\\)?[-| ]?(\\d{3})[-| ]?(\\d{4})\$ David --- David Winterfeldt [EMAIL PROTECTED] wrote: When you are doing regular expressions you can basically just cut and paste them

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

2001-06-25 Thread Cook, Levi
My intent was to mention that property editor's are an option, quite possibly an option I would employ. Another option I see as being quite reasonable is storing configuration info. in an DBMS, so that I can edit through a web browser. This might very well take the form of a date validating

RE: Extending the scope of the struts validation

2001-06-25 Thread Rey Francois
I'll send it tomorrow then. I'm tied up on other things today, so I'll prepare this tonight. Thanks, Fr. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: 25 June 2001 14:37 To: [EMAIL PROTECTED] Subject: Re: Extending the scope of the struts validation You can send

Struts in Tomcat 4.0

2001-06-25 Thread Oleg V Alexeev
Hello struts-dev, Has anyone answer to question about struts using in Tomcat 4.0 environment? Now I try to deploy my struts development application to the Tomcat 4.0. After call to any URL in application I have exception in screen - java.lang.SecurityException: sealing violation

Re: Struts in Tomcat 4.0

2001-06-25 Thread Craig R. McClanahan
The standard version of the JAXP parser has sealed JAR files, which cause no end to problems. Thus, Tomcat 4 ships with modified versions of these JAR files that are not sealed. See the detailed instructions at the bottom of the Tomcat 4 release notes for the optionsl you have in exposing an

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

2001-06-25 Thread Levi Cook
Good point Martin, I'm not that familiar with it yet, but do you know if the jakarta-commons pool project would be of any help here?? Thanks in advance, Levi Cook - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 23, 2001 9:51 PM

unsubscribe brobinson@bluestone.com please

2001-06-25 Thread ROBINSON,BRIAN (HP-NewJersey,ex2)
I can't send email from that account anymore. Your help is greatly appreciated. Thanks, -Brian

RE: [VOTE] Two New Committers

2001-06-25 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
+1,+1 -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 24, 2001 6:55 AM To: [EMAIL PROTECTED] Subject: [VOTE] Two New Committers I would like to propose the following individuals for Committer status on the Struts project: Oleg V Alexeev

Re: Struts 1.1 TODO List -- Event and Listener Model

2001-06-25 Thread Paul Speed
Levi Cook wrote: - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 7:23 PM Subject: RE: Struts 1.1 TODO List -- Event and Listener Model On Fri, 22 Jun 2001, Cook, Levi wrote: Ahhh, now I follow what

Re[2]: Struts in Tomcat 4.0

2001-06-25 Thread Oleg V Alexeev
Hello Craig, Thank you, now all is ok. But one problem. If I set -security option to start Catalina then I view exception 'ClassNotFound' at struts datasource init moment. Remove -security option - works fine. Jar with JDBC driver is in JAVA_HOME/jre/lib/ext directory. This driver uses JNI to

/contrib

2001-06-25 Thread Roland Huss
Craig R. McClanahan [EMAIL PROTECTED] writes: Therefore, I'm great with adding some additional committers and starting work on the TODO list in the 1.1 tree. I've also asked Ted Husted to create a contrib directory at the top-level (in the 1.1 branch) and manage the posting of other

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

2001-06-25 Thread Rey Francois
I'm not so much of an XML expert, but isn't the CCDATA character section 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]

Re: /contrib

2001-06-25 Thread Ted Husted
Personally, I think what we really need is an automated system where people could upload things and have them posted automatically for other people to download. Like a Braughtigan Library, or CPAN. This might be a good niche for Strutsx, if the facilities are available. It would also make a great

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

2001-06-25 Thread David Winterfeldt
You're right. It would be good to make the var element use the body for the value. Then you could do this. var name=mask![CDATA[^[].*$]]/var I'll add it to the list. David --- Rey Francois [EMAIL PROTECTED] wrote: I'm not so much of an XML expert, but isn't the CCDATA character section