Conceptual question about populating/validating values

2003-09-17 Thread lecker
Hi there, I have a conceptual question about the population process for properties inside Struts. First of all a description: I have a JSP which includes a text input field like this: html:text name=myForm property=currentPerson.birthDate/ currentPerson is a Person-Object which has a

RE: Conceptual question about populating/validating values

2003-09-17 Thread Edgar P Dollin
If I were you I would use strings in my form beans (or at least methods or parallel field which accept strings as arguments) and look into third party stuff, i.e. Matt Kruse's date handling javascript. Additionally, I would bypass the validator and validate in my action (that way you would have

RE: Conceptual question about populating/validating values

2003-09-17 Thread Bygrave, Graham BGI UK
I hit the same problem. I don't like having two fields (string and type specific) as you have to sync. them and it bloats your objects out. I don't like the idea of having two suites of objects, it's just more work. I don't like not using the validator either. I made some minor modifications

AW: Conceptual question about populating/validating values

2003-09-17 Thread lecker
Thanks ! I don't give up to try it without parallel variables :-) The date was just an example ... and the customer does'nt like javascript a lot ... --- Ursprüngliche Nachricht --- Datum: 17.09.2003 13:33 Von: Struts Developers List [EMAIL PROTECTED] An: 'Struts Developers List' [EMAIL

RE: Conceptual question about populating/validating values

2003-09-17 Thread Edgar P Dollin
If you are saving system objects, i.e. request, to persistent objects, you will have synchronization problems. At least null them out at the end of the action cycle. I am not sure struts is the right framework to start your customizations since you have problems with the precepts. There are

RE: Where is Struts 2 going?

2003-09-17 Thread Mike Jasnowski
I like this idea as well, we've been trying to represent forms as XML also, not just for bullets you mentioned, but it also enables flexible layout and presentation, which can be shared across like forms, custom error placement,etc.. We're running our forms through an XSLT template to render the

RE: Conceptual question about populating/validating values

2003-09-17 Thread Bygrave, Graham BGI UK
I'm assuming the same thread handles the client request all the way through - which is the case in my environment (which environments should I steer clear of?). If this is the case, using ThreadLocal should be ok (I think, if not can you be more specific). I've used it here simply to reduce the

Re: Where is Struts 2 going?

2003-09-17 Thread David Graham
--- Ted Husted [EMAIL PROTECTED] wrote: I working on something similar right now too, but using the FormProc package. I believe that we should represent entire input form in XML, including things like the default control type and field labels, and so forth, along with prompts, error

DO NOT REPLY [Bug 23213] New: - html:javascript tag scriptLanguage attribute

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23213. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23213] - html:javascript tag scriptLanguage attribute

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23213. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: Conceptual question about populating/validating values

2003-09-17 Thread Bygrave, Graham BGI UK
Ok, but I'm not suggesting the request be saved or serialised. -Original Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 15:16 To: Struts Developers List Subject: RE: Conceptual question about populating/validating values I test my apps under tomcat and

DO NOT REPLY [Bug 23214] New: - HTML messages and errors taglib API

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23214. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23214] - HTML messages and errors taglib API

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23214. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23213] - html:javascript tag scriptLanguage attribute

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23213. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23215] New: - html:radio idName property not being released in taglib

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23215. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23213] - html:javascript tag scriptLanguage attribute

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23213. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23214] - HTML messages and errors taglib API

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23214. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html RadioTag.java

2003-09-17 Thread rleland
rleland 2003/09/17 08:31:35 Modified:src/share/org/apache/struts/taglib/html RadioTag.java Log: Bug#: 23215 Release idName on cleanup. Revision ChangesPath 1.25 +5 -4 jakarta-struts/src/share/org/apache/struts/taglib/html/RadioTag.java Index:

DO NOT REPLY [Bug 23215] - html:radio idName property not being released in taglib

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23215. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23215] - html:radio idName property not being released in taglib

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23215. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

cvs commit: jakarta-struts/doc/stylesheets struts.xsl

2003-09-17 Thread sraeburn
sraeburn2003/09/17 11:54:26 Modified:doc/userGuide struts-bean.xml struts-logic.xml struts-html.xml configuration.xml doc struts.css doc/stylesheets struts.xsl Log: Fix missing deprecation warnings on taglib docs.

DO NOT REPLY [Bug 23214] - HTML messages and errors taglib API

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23214. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 21239] - nested:iterate not setting current object

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21239. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 14471] - validator-rules.xml JavaScript fails when field not present in jsp

2003-09-17 Thread bugzilla
/show_bug.cgi?id=14471 validator-rules.xml JavaScript fails when field not present in jsp --- Additional Comments From [EMAIL PROTECTED] 2003-09-17 21:24 --- Created an attachment (id=8263) validator-rules.xml nightly build 20030917 w/ null tests included

DO NOT REPLY [Bug 14471] - validator-rules.xml JavaScript fails when field not present in jsp

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14471. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: Conceptual question about populating/validating values

2003-09-17 Thread Ted Husted
I'd agree with Edgar. Since ActionForms are a class rather than an interface, as it stands, you either have to live with the duplicate objects, or least two sets of properties, or go to other extremes. You can do things like use the ActionForms as an adaptor or facade for your business

DO NOT REPLY [Bug 23230] New: - Struts Binary 20030917 doesn't run on Java 1.3

2003-09-17 Thread bugzilla
/show_bug.cgi?id=23230 Struts Binary 20030917 doesn't run on Java 1.3 Summary: Struts Binary 20030917 doesn't run on Java 1.3 Product: Struts Version: Nightly Build Platform: All OS/Version: Windows NT/2K Status: NEW Severity: Normal

DO NOT REPLY [Bug 14471] - validator-rules.xml JavaScript fails when field not present in jsp

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14471. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 14068] - Why can't I use forwards with exception elements in struts-config.xml

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14068. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 14183] - html:img does not support forward attribute

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14183. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 14332] - RequestUtils.applicationClass problem with ContextClassLoader

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14332. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 14380] - Validator Mask - regular expression

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14380. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 14749] - Action input not starting with '/' and not a valid forward will cause an internal server error

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14749. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 14404] - MultipartIterator does not reflect ServletRequest#setCharacterEncoding

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14404. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 5739] - Struts fails silently in too many places

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5739. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: DO NOT REPLY [Bug 14471] - validator-rules.xml JavaScript fails when field not present in jsp

2003-09-17 Thread Cyber.Zombie
Ted, just a quick note that - though it works in all tests for me - I am not a JS guru. I'm not sure of the differences between field == null (what I added) and field == undefined (a prior note)... Rob [EMAIL PROTECTED] wrote: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED

DO NOT REPLY [Bug 16401] - ActionValidatorUtil

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16401. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 16401] - ActionValidatorUtil

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16401. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 16401] - ActionValidatorUtil

2003-09-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16401. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.