RE: newbie question on indexed properties and validation
Thanks, this is very much appreciated. Is this something that is going to make it into a Struts Base release? -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 11:15 AM To: Struts Users Mailing List Subject: Re: newbie question on indexed properties and validation Importance: High You can do this: http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html Niall On 6/15/06, Givler, Eric [EMAIL PROTECTED] wrote: I was following this article (MS Powerpoint presentation by James Turner) here: http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt When, I tried to cobble this all into a working example, if I left out multiple values (in a four record grid), I'd get one struts validation error back from validator. Is this the normal behavior when the properties are indexed? My ultimate goal would be to either show the message: LastName is required for record # {0} (and use the index here) OR: use the new ErrorStyle tag and highlight any field in error and provide the single error at the top. Can anyone point me to a working example of a multi record entry screen that has this type of behavior, or even decent articles on multi-record edits with validation/error handling (using validator or otherwise)? Thanks! Eric Givler Department of Environmental Protection/PA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: newbie question on indexed properties and validation
You can do this: http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html Niall On 6/15/06, Givler, Eric [EMAIL PROTECTED] wrote: I was following this article (MS Powerpoint presentation by James Turner) here: http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt When, I tried to cobble this all into a working example, if I left out multiple values (in a four record grid), I'd get one struts validation error back from validator. Is this the normal behavior when the properties are indexed? My ultimate goal would be to either show the message: LastName is required for record # {0} (and use the index here) OR: use the new ErrorStyle tag and highlight any field in error and provide the single error at the top. Can anyone point me to a working example of a multi record entry screen that has this type of behavior, or even decent articles on multi-record edits with validation/error handling (using validator or otherwise)? Thanks! Eric Givler Department of Environmental Protection/PA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: newbie question on indexed properties and validation
I can provide a zip of the workspace I was doing for this if that would help. I just can't seem to get the multiple errors. Can the html:text tag determine that a row's value is wrong in a multi-record form bean and color it? How would it know if it's only getting back one error as opposed to a number of them? Also, JDeveloper (10.1.2.1) refuses to recognize the errorStyle tag, though if I open the struts-html.tld file that is in WEB-INF, it appears directly under the tag class that JDeveloper says does not support it. -Original Message- From: Givler, Eric [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 9:44 AM To: Struts Users Mailing List Subject: newbie question on indexed properties and validation I was following this article (MS Powerpoint presentation by James Turner) here: http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt When, I tried to cobble this all into a working example, if I left out multiple values (in a four record grid), I'd get one struts validation error back from validator. Is this the normal behavior when the properties are indexed? My ultimate goal would be to either show the message: LastName is required for record # {0} (and use the index here) OR: use the new ErrorStyle tag and highlight any field in error and provide the single error at the top. Can anyone point me to a working example of a multi record entry screen that has this type of behavior, or even decent articles on multi-record edits with validation/error handling (using validator or otherwise)? Thanks! Eric Givler Department of Environmental Protection/PA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: newbie question on indexed properties and validation
You can ignore this thread. The issue with validator was found on bugzilla at: http://issues.apache.org/bugzilla/show_bug.cgi?id=23372 via another Struts thread. The Mail Archive site is nice for finding/searching mailing lists. -Original Message- From: Givler, Eric [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 8:32 AM To: Struts Users Mailing List Subject: RE: newbie question on indexed properties and validation I can provide a zip of the workspace I was doing for this if that would help. I just can't seem to get the multiple errors. Can the html:text tag determine that a row's value is wrong in a multi-record form bean and color it? How would it know if it's only getting back one error as opposed to a number of them? Also, JDeveloper (10.1.2.1) refuses to recognize the errorStyle tag, though if I open the struts-html.tld file that is in WEB-INF, it appears directly under the tag class that JDeveloper says does not support it. -Original Message- From: Givler, Eric [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 9:44 AM To: Struts Users Mailing List Subject: newbie question on indexed properties and validation I was following this article (MS Powerpoint presentation by James Turner) here: http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt When, I tried to cobble this all into a working example, if I left out multiple values (in a four record grid), I'd get one struts validation error back from validator. Is this the normal behavior when the properties are indexed? My ultimate goal would be to either show the message: LastName is required for record # {0} (and use the index here) OR: use the new ErrorStyle tag and highlight any field in error and provide the single error at the top. Can anyone point me to a working example of a multi record entry screen that has this type of behavior, or even decent articles on multi-record edits with validation/error handling (using validator or otherwise)? Thanks! Eric Givler Department of Environmental Protection/PA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
newbie question on indexed properties and validation
I was following this article (MS Powerpoint presentation by James Turner) here: http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt When, I tried to cobble this all into a working example, if I left out multiple values (in a four record grid), I'd get one struts validation error back from validator. Is this the normal behavior when the properties are indexed? My ultimate goal would be to either show the message: LastName is required for record # {0} (and use the index here) OR: use the new ErrorStyle tag and highlight any field in error and provide the single error at the top. Can anyone point me to a working example of a multi record entry screen that has this type of behavior, or even decent articles on multi-record edits with validation/error handling (using validator or otherwise)? Thanks! Eric Givler Department of Environmental Protection/PA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]