RE: Using a key as var-value in validator

2004-12-03 Thread Ram Venkataswamy
Well, I think for now using Global Constant is the only option. Unless somebody else have a answer for this. -Original Message- From: Kinjal Sonpal [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 10:20 PM To: Struts Users Mailing List Subject: RE: Using a key as var-value

RE: Problem with validation using both minlength and maxlength on the same field

2004-12-01 Thread Ram Venkataswamy
This is do with argument number - change errors.maxlength={0} can not be greater than {1} characters. To errors.maxlength={0} can not be greater than {2} characters. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 9:49 AM To: [

RE: Using a key as var-value in validator

2004-12-01 Thread Ram Venkataswamy
Hi, If you have defined resource bundle in struts config & are able to access key from jsp then no additional step/configuration is required to access them in validation file. The arg/msg lookup resource bundle defined for the application and then pick up value FYI: There is glitch though the r

RE: request between actions

2004-11-30 Thread Ram Venkataswamy
Set to "true" if a redirect instruction should be issued to the user-agent so that a new request is issued for this forward's resource. If true, RequestDispatcher.Redirect is called. If "false", RequestDispatcher.forward is called instead. [false]. The culprit is redirect=true - check the d

RE: Validator question

2004-11-30 Thread Ram Venkataswamy
Or if you want custom msg for required validator then name attribute of msg element should match that specified for depends attribute -Original Message- From: Ram Venkataswamy Sent: Tuesday, November 30, 2004 9:57 AM To: Struts Users Mailing List Subject: RE: Validator question Check

RE: Validator question

2004-11-30 Thread Ram Venkataswamy
Check "required" validator in your validator-rules file - the message takes one argument {0} is required - whereas in validation file you are passing two values for 1 argument try removing - it should work -Original Message- From: Vinicius Cald

RE: a fine example of an example

2004-06-21 Thread Ram Venkataswamy
There are few good examples at this site http://sourceforge.net/project/showfiles.php?group_id=49385 V.K.Ram NitroX Struts Team -Original Message- From: josh [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 10:01 AM To: [EMAIL PROTECTED] Subject: a fine example of an example Hi

RE: getInputForward() question

2004-06-16 Thread Ram Venkataswamy
Yep, your colleague is right - input attribute is used to re-direct the control if validation fails - not for Success / user defined forwards V.K.Ram NitroX Struts Team -Original Message- From: Carl Fyffe [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 4:36 PM To: [EMAIL PRO

RE: help plz

2004-06-16 Thread Ram Venkataswamy
FYI: setting contextRelative=true is required only for switching modules (that is call to action defined in other module) V.K.Ram NitroX Struts Team -Original Message- From: Arif ERSIN [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 10:53 AM To: [EMAIL PROTECTED] Subject: he

RE: help plz

2004-06-16 Thread Ram Venkataswamy
Hi, Web.xml of Struts module need little extra configuration, basically the default struts-config.xml is defined as config parameter and then all the module struts config as config/moduleName. In your case you have to define struts-m1.xml in web.xml as below config/mod1 /WEB-INF/str

RE: session time out

2004-06-15 Thread Ram Venkataswamy
Hi, Alternatively the more standard way is to have a custom tag that you can include in page within tag or before any other tag of the page is executed. And check for the session validity in the tag handler class you can find this implementation in struts-example application. V.K.Ram www.m7.com

RE: How to convert tag to a submit button

2004-06-11 Thread Ram Venkataswamy
In addition you can check whether you are receiving the form element values using alert() - or even check whether method is getting called V.K.Ram www.m7.com NitroX for Struts -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 9:38 AM To: St

RE: Passing parameter : include

2004-06-10 Thread Ram Venkataswamy
You can check this http://jakarta.apache.org/struts/userGuide/struts-bean.html but could not figure out solution for your problem :-( V.K.Ram www.m7.com NitroX for Struts -Original Message- From: Naresh Sharma [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 10:13 A

RE: html:img Tag Problem

2004-06-10 Thread Ram Venkataswamy
Hi You are missing to close the html:img tag (The tag "html:img" should end with "/>".) Empty tags: tags do not have Body - like or Non empty tags : tags with body tag Untitled Document V.K.Ram www.m7.com NitroX for Struts -Original Message- From: Caroline Jen [mailto:[EMAIL PROT

RE:

2004-06-09 Thread Ram Venkataswamy
iling List Subject: RE: Huh? Sorry, I do not understand. --- Ram Venkataswamy <[EMAIL PROTECTED]> wrote: > You can specify value=" Last Post Date" in > html:select - The value to > compare with for marking an option selected. > > > > -Original M

RE:

2004-06-09 Thread Ram Venkataswamy
You can specify value=" Last Post Date" in html:select - The value to compare with for marking an option selected. -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 3:52 PM To: Struts Users Mailing List Subject: RE: It is not exactly what

RE: html:link with multiple parameters

2004-06-09 Thread Ram Venkataswamy
However, there are two ways you can append one or more dynamically defined query parameters to the hyperlink -- specify a single parameter with the paramId attribute (and its associated attributes to select the value), or specify the name (and optional property) attributes to select a java.util.M

RE: Tool(s) to find missing properties

2004-06-09 Thread Ram Venkataswamy
Check out NitroX for Struts www.m7.com - I am sure most of your problem are addressed -Original Message- From: Stunger, Kevin J [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 11:00 AM To: Struts Users Mailing List (E-mail) Subject: Tool(s) to find missing properties Hello! I'

RE: Hoe to store objects in request scope

2004-06-09 Thread Ram Venkataswamy
I meant toScope -Original Message- From: Ram Venkataswamy Sent: Wednesday, June 09, 2004 1:19 PM To: Struts Users Mailing List Subject: RE: Hoe to store objects in request scope Did u try providing scope attribute for bean:define -Original Message- From: PADALA, SANDHYA (SBCSI

RE: Hoe to store objects in request scope

2004-06-09 Thread Ram Venkataswamy
Did u try providing scope attribute for bean:define -Original Message- From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 9:05 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Hoe to store objects in request scope Hi All, I have a