RE : validating double causes no error on text entry

2004-03-04 Thread thomas Sontheimer
Casting an empty String to a double will give you 0.0. On 20040303 12:10 PM, thomas Sontheimer [EMAIL PROTECTED] wrote: when I use the validator on the server side to validate a double the value is converted to 0.0 an no error is reported. has anyone meet that problem? I parsed

RE : RE : validating double causes no error on text entry[RESOLVED]

2004-03-04 Thread thomas Sontheimer
the problem came from the java.lang.Double field of my DynaValidatorForm which converted first any string in an empty string. instead I use a java.lang.String field that I convert myself after validation and it works. -Original Message- From: thomas Sontheimer [mailto:[EMAIL PROTECTED

validating double causes no error on text entry

2004-03-03 Thread thomas Sontheimer
when I use the validator on the server side to validate a double the value is converted to 0.0 an no error is reported. has anyone meet that problem? I parsed the struts and commons bugzilla lists and didn't found anything about. thanks thomas

how to specify parameters for the message in exception handling?

2003-09-29 Thread thomas Sontheimer
since we may define parametrable messages in the ressource bundle, is it possible to add parameters to the key in declarative exception handling? and if yes, how can I do it? thanks in advance. thomas. - To unsubscribe,

crud example

2003-09-17 Thread thomas Sontheimer
has anyone an example for crud (Create, Read, Update, Delete) functionnality with dispatchAction and jsp page code? thanks in advance. thomas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE : logic:iterate with changing row colors

2003-09-16 Thread thomas Sontheimer
here are means to do it: http://husted.com/struts/FAQ/view-logic.htm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 3:17 PM To: Struts-User Subject: logic:iterate with changing row colors hello, i use logic:iterate and

RE : iterator tag

2003-09-09 Thread thomas Sontheimer
you may also test if the *brand new* collection is defined with the logic:present and logic:notPresent tags... thomas. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 6:14 PM To: 'Struts Users Mailing List' Subject: RE: iterator tag

Display Taglib vs HtmlTable

2003-08-29 Thread thomas Sontheimer
http://edhill.its.uiowa.edu/display/ http://htmltable.yuriy-zubarev.com/jsp/index.jsp Has anyone tried these two taglibs? which one do you recommend? thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE : RE : RE : Validator and Dispatch Actions

2003-08-27 Thread thomas Sontheimer
: thomas Sontheimer [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE : RE : Validator and Dispatch Actions Date: Mon, 25 Aug 2003 17:04:35 +0200 you don't need 2 action classes. you may declare 2 actions

RE : RE : Validator and Dispatch Actions

2003-08-26 Thread thomas Sontheimer
and Dispatch Actions Thomas, How do i have 3 actions here? I have only one action with three methods each working on SEARCH, CREATE and EDIT.(which is why i use the dispatch Action) Appreciate any other thoughts. TIA, Manglu thomas Sontheimer wrote: you have to use (Dyna

RE : Validation failes and returns (almost) empty page.

2003-08-26 Thread thomas Sontheimer
I had the same problem and your solution works. thank you thomas -Original Message- From: Rune Peter Bjørnstad [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:46 AM To: Struts Users Mailing List Subject: Re: Validation failes and returns (almost) empty page. I

RE : RE : Validation failes and returns (almost) empty page.

2003-08-26 Thread thomas Sontheimer
men walking about.. ;) Rune. On Tue, 26 Aug 2003, thomas Sontheimer wrote: I had the same problem and your solution works. thank you thomas -Original Message- From: Rune Peter Bjørnstad [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:46 AM

RE : Validator and Dispatch Actions

2003-08-25 Thread thomas Sontheimer
you have to use (Dyna)ValitatorActionForm instead of (Dyna)ValidatorForm. Then in your validation.xml file for each new rule you specify you have to replace the name of the form by the name of the action using the form. And the rule will be applied to the form only if it's called from the action

RE : RE : Validator and Dispatch Actions

2003-08-25 Thread thomas Sontheimer
code based on the fields submitted, this seems like an awful lot of rework just to get the validation accomplished. From: thomas Sontheimer [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE

validator returns blank page

2003-08-25 Thread thomas Sontheimer
I'm attempting to use the validator with a DynaValidatorForm and it returns a blank page if I don't fill the field. And if I fill the username field I'm redirected to the good page (/index.jsp). any idea? thomas here are some parts from my code: struts-config.xml: form-bean