RE: Question on conditionally changing action is html:form

2005-02-23 Thread Seyhan Basmaci
<% org.apache.struts.action.ActionMapping mapping = null; mapping = (org.apache.struts.action.ActionMapping) request.getAttribute("org.apache.struts.action.mapping.instance"); %> -Original Message- From: Nandita Rajagopalan [mailto:[EMAIL PROTECTED] Sent: Wednesday, F

RE: Different validations for one form

2005-01-14 Thread Seyhan Basmaci
oppss, just try to add language parameter,, -Original Message- From: Seyhan Basmaci Sent: Friday, January 14, 2005 3:13 PM To: Struts Users Mailing List Subject: RE: Different validations for one form add language and cuntry parameters ,, (country may be different from FR

RE: Different validations for one form

2005-01-14 Thread Seyhan Basmaci
same error... Seyhan Basmaci <[EMAIL PROTECTED]> wrote:you have two formset tag, (Note: The FormSet has language, country, and variant attributes that correspond with the java.util.Locale class. If they are not used, the FormSet will be set to the default locale.) Put "/commerci

RE: Different validations for one form

2005-01-14 Thread Seyhan Basmaci
ialplanPrint_jsp.java:734) at org.apache.jsp.commercialplanPrint_jsp._jspService(commercialplanPrint_jsp.java:210) What am I doing wrong ? Thanks ! Seyhan Basmaci <[EMAIL PROTECTED]> wrote: in your struts config file , define two map to same action class, for example , pathA and PathB in va

RE: Different validations for one form

2005-01-14 Thread Seyhan Basmaci
anks for your help. Seyhan Basmaci <[EMAIL PROTECTED]> wrote: you can use form based validation or action based validation in struts 1.2 , 1) to use form based validation, form classes must extend ValidatorActionForm or DynaValidatorActionForm classes. (org.apache.struts.validator.

RE: Different validations for one form

2005-01-14 Thread Seyhan Basmaci
you can use form based validation or action based validation in struts 1.2 , 1) to use form based validation, form classes must extend ValidatorActionForm or DynaValidatorActionForm classes. (org.apache.struts.validator.ValidatorActionForm,org.apache.struts.validator.DynaValidatorActionFor

overriding MultipartRequestWrapper class

2004-10-27 Thread Seyhan Basmaci
We are decorating each request object for our requirements. MySpecialRequest customReq= MySpecialRequest(request); Also , MySpecialRequest extends HttpRequest If the content type is multipart/form-data ,also struts decorates our request object in processMultipart method and returns an

Validator - Browser Compatibility Issue

2004-09-16 Thread Seyhan Basmaci
Hi, We have upgraded to Struts 1.2.2 , but we have encountered a problem. Embedded JavaScript validators use the following code function validateRequired(form) { var isValid = true; var focusField = null; var i = 0; var fields = new Array(); var formN