RE: Validator and multi-tiered nesting

2002-10-24 Thread Padma Ginnaram
You can try specifying rules for every monthbean monthBean[0].dayBeans, monthBean[1].dayBeans as your indexed list property. or you can extend the validate method and call the validations on each MonthBean yourself ActionErrors errors = super.validate(.

RE: how do i get a Field object in Validator?

2002-10-22 Thread Padma Ginnaram
Andy, Its possible but you have to extend the commons validator, override the validate method and add the form fields (validation resources not action form) as a resource under formFieldsKey. Extend the ValidatorActionForm and use your version of the validator. Default method parameters are

RE: help please: Validator basic use

2002-10-18 Thread Padma Ginnaram
Try applying a simple validator like required to one of your form fields, if it does not work verify the following. 1. name used in the validation resource file matches the name in your action mapping 2. validate set to true in your action mapping 3. your form extends ValidatorActionForm, and if

Sub Application Shared Tiles Definitions Factory

2002-10-18 Thread Padma Ginnaram
I found the following note in tiles user guide about the shared definitions factory This plugin creates one single shared factory even if you have several modules. The plugin first read factory parameters from web.xml and then overload them with parameters from the first

RE: [Struts Validator / i18N] accentuated letters with \w pattern dont work

2002-10-18 Thread Padma Ginnaram
from regexp javadoc at http://jakarta.apache.org/regexp/apidocs/ \w Matches a word character (alphanumeric plus _) You probably need letters of latin-1 supplement (U+00C0 - U+00FF), refer to http://www.unicode.org/charts/ for more details. specify this range of

RE: Sub Application Shared Tiles Definitions Factory

2002-10-18 Thread Padma Ginnaram
of how the Tiles config files should behave and look like in the case of modules are welcome. Cedric Padma Ginnaram wrote: I found the following note in tiles user guide about the shared definitions factory This plugin creates one single shared factory even if you have several

RE: Am I the only one using java.util.Date?

2002-10-16 Thread Padma Ginnaram
If you are using struts 1.1 and validator framework, StrutsValidator.validateDate converts the string to a java.util.Date and returns this Date. This returned value gets saved on the validationResults in the ValidatorForm. ValidatorForm.getResultValueMap() returns a HashMap containing these

FW: Struts forms best practice

2002-10-15 Thread Padma Ginnaram
-Original Message- From: Padma Ginnaram Sent: Tuesday, October 15, 2002 10:04 AM To: '[EMAIL PROTECTED]'; 'David Winterfeldt' Subject: RE: Struts forms best practice I was going thru the new version of the validator framework used in struts 1.1

RE: Struts forms best practice

2002-10-15 Thread Padma Ginnaram
-Original Message- From: Padma Ginnaram Sent: Tuesday, October 15, 2002 10:04 AM To: '[EMAIL PROTECTED]'; 'David Winterfeldt' Subject: RE: Struts forms best practice I was going thru the new version of the validator framework used in struts 1.1

RE: Struts forms best practice

2002-10-15 Thread Padma Ginnaram
I tried posting this to struts-user group, trying one more time. -Original Message- From: Padma Ginnaram Sent: Tuesday, October 15, 2002 4:43 PM To: '[EMAIL PROTECTED]' Subject: RE: Struts forms best practice -Original Message- From

RE: Struts Validation Required and Float

2002-10-02 Thread Padma Ginnaram
Check if your float validator depends on required. Removing this dependency should solve your problem. -Padma -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 8:24 PM To: [EMAIL PROTECTED] Subject: Struts Validation Required and

RE: Tiles extend

2002-09-24 Thread Padma Ginnaram
this bug few days ago, but forget to update distribution ;-(. The same thing should be done with role ! Thanks for this bug report, and its fixe, even if we have found it nearly in the same time ;-) I will update distribution asap. Cedric Padma Ginnaram wrote: Cedric, I am trying

RE: Validating nested:text fields in an iterate block

2002-08-20 Thread Padma Ginnaram
I did not use the nested tag but you should be able to validate indexed fields by specifying indexedProperty and indexedListProperty (the version of the struts validator framework I use never uses the indexedProperty). field property=street indexedProperty=address

RE: localization with multiple charsets

2002-08-16 Thread Padma Ginnaram
According to this post http://www.mail-archive.com/struts-user@jakarta.apache.org/msg12490.html the browser uses the charset specified in the meta http-equiv=content-type content=text/html; charset=utf-8 to send form data. If the user changes the charset, it is probably used but you can look

RE: encoding problem

2002-08-16 Thread Padma Ginnaram
You need both, refer to http://www.mail-archive.com/struts-user@jakarta.apache.org/msg12490.html for details. -Original Message- From: santhosh [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 17, 2002 3:01 AM To: 'Struts Users Mailing List' Subject: encoding problem In my jsp i have

RE: Problem with logic:iterate

2002-08-12 Thread Padma Ginnaram
Try this logic:iterate id=tempStr name=SampleRowForm property=tempsud . bean:write name=tempStr/ . In your example you named indexed attribute is same as the name of the bean containing the array you are iterating through which probably confused you. In the iterate tag you

RE: Problem integrating STRUTS and WEBLOGIC 6.0

2001-10-04 Thread Padma Ginnaram
Title: RE: Problem integrating STRUTS and WEBLOGIC 6.0 The problem is in weblogic6.0. Read these messages for details. http://www.mail-archive.com/jakarta-commons@jakarta.apache.org/msg02086. http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02611.html -Padma -Original

RE: Display JSPs based on language/country/variant

2001-09-26 Thread Padma Ginnaram
Title: RE: Display JSPs based on language/country/variant You can support this by using tiles. This framework supports a concept called definition that can be localized. It also supports forwarding struts actions to these definitions. Write an action that forwards the request to a

RE: JUNIT and Struts

2001-03-29 Thread Padma Ginnaram
Title: RE: JUNIT and Struts Is there a sample available for testing struts with j2eeunit Thanks, Padma -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 5:27 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re:

RE: JUNIT and Struts

2001-03-29 Thread Padma Ginnaram
Title: RE: JUNIT and Struts Is there a sample available for testing struts with j2eeunit Thanks, Padma -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 5:27 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re:

RE: Using ActionErrors

2001-02-14 Thread Padma Ginnaram
something different? Maya Padma Ginnaram wrote: I need to display an indicator for the fields that result in error and display all the errors on the top of the page. Using the error tag I can display all the errors at one location, but I am not able to figure out how