Re: Query in action messages

2006-11-15 Thread Hanmay Udgiri
.. eg:- errors.add(Error_FIELD_KEY,new ActionMessage(" error.required",getResources(request).getMessage("error.zipcode")); Regards, Nuwan - Original Message - From: "Hanmay Udgiri" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 15, 2006 8:25 AM Su

Query in action messages

2006-11-15 Thread Hanmay Udgiri
Hi I am doing validation in my Action Form which is extending ValidatorActionForm. In validate method,I am checking for mandatory field and adding error. The error in ApplicationResources.properties is like this. error.required=The {0) field is required field. error.notInRange=The {0} field should

Query in Action messages

2006-11-14 Thread Hanmay Udgiri
Hi I am doing validation in my Action Form which is extending ValidatorActionForm. In validate method,I am checking for mandatory field and adding error. The error in ApplicationResources.properties is like this. error.required=The {0) field is required field. error.notInRange=The {0} field should

Foward to empty Action Mapping

2006-10-15 Thread Hanmay Udgiri
Hi I have a requirement where after i dont want to forward to any page It is a pop up page so after last step i just want to call a method of action class and close the pop up page. so i am closing the pop up on submit and it is going to my action class also.where i am giving a empty forward. so t

How to OR condition in JSP using Struts

2006-09-17 Thread Hanmay Udgiri
Hi I want to check an OR condition in struts using logic tags.?? Can we use logic tags to check OR condition?? -- Thanks and Regards Hanmayya Udgiri

Re: Passing value from pop window to parent window

2006-08-22 Thread Hanmay Udgiri
ute").value; window.opener.func(val); } Here, "func" is a JS function in the parent window. In "func", write your code to set the value. With best regards, Anjishnu. -----Original Message- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 6

Passing value from pop window to parent window

2006-08-22 Thread Hanmay Udgiri
Hi I have a pop up window.And I need to pass the value from a text box to parent window. pop up window The text box in the child window is something like this function updatetext() { parent.document.getElementbyid("secondForm.attribute").value = document.getElementbyid("secondForm.attribute")

Re: Issue with Struts check box

2006-08-10 Thread Hanmay Udgiri
ng the old value. -Original Message- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 6:54 PM To: Struts Users Mailing List Subject: Issue with Struts check box Hi I have a String form field which is used as a check box. And I do some validation based on this

Issue with Struts check box

2006-08-10 Thread Hanmay Udgiri
Hi I have a String form field which is used as a check box. And I do some validation based on this check box if selected. I am having a problem,when the user selects a check box and submit. I am getting the errors properly. But when If I uncheck the check box and submit,the value i am getting in f

Re: Sturts form validation

2006-08-02 Thread Hanmay Udgiri
, just call each subform's validate() method in the outter forms validate() method. Couldn't tell you how you'll get Struts to auto-populate those subforms though. MainActionForm{ validate(...){ mySubForm1.validate(...); mySubForm2.validate(...); } } On 8/2/06, Hanmay Udgiri <[EMAIL PRO

Sturts form validation

2006-08-02 Thread Hanmay Udgiri
Hi I have a form which consists of around another 5 forms object. And each form has its own validation.How to call the validate method of the each forms?? -- Thanks and Regards Hanmayya Udgiri

Struts form validation

2006-08-01 Thread Hanmay Udgiri
Hi I have a action form bean class.The action form consists of around another 5 forms. Each form consists of its own validation.How to call the form validate method. One method call errors = myform2.validate(); errors = myform3.validate(); errors = myform4.validate(); errors = myform5.validate();

Nested Form level

2006-06-15 Thread Hanmay Udgiri
Hi How many nested level of form we should have. Is there any limit or specification??? -- Thanks and Regards Hanmayya Udgiri

Net Beans 4.1 and J2EE 1.3

2006-06-13 Thread Hanmay Udgiri
Hi I want to create a struts project with J2EE 1.3 version.(JDK 1.4) And I have installed net beans 4.1. Can we changes the setting to use J2EE 1.3?? -- Thanks and Regards Hanmayya Udgiri

Re: html:text inside a custom tag

2006-06-06 Thread Hanmay Udgiri
I could not get both Dave and Scott Can u explain more briefly On 6/7/06, Scott Van Wart <[EMAIL PROTECTED]> wrote: Hanmay Udgiri wrote: > Hi > Can we use bean:message in the custom tag java class(in the doStartTag > method) > You could use a JSP-based tag instead of a Java t

html:text inside a custom tag

2006-06-05 Thread Hanmay Udgiri
Hi Can we use bean:message in the custom tag java class(in the doStartTag method) -- Thanks and Regards Hanmayya Udgiri

Form Beans in Session

2006-06-05 Thread Hanmay Udgiri
Hi We have Pages where user enters some data in step 1 ,step 2 and in last step these data should be submitted to DB. We are putting the all form beans in session as all of our transactions are multiple step process. Is there any better of way not putting the form beans in session -- Thanks a

Struts Best Practices

2006-06-02 Thread Hanmay Udgiri
Hi Can anybody have any articles for struts best practices?? Will be of great help. -- Thanks and Regards Hanmayya Udgiri

Re: Sending run time value to custom tag

2006-05-30 Thread Hanmay Udgiri
Sending run time value to custom tag We cannot use tag inside another tags. -Original Message- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 12:17 PM To: Struts Users Mailing List Subject: Sending run time value to custom tag Hi I am sending a runtime value

Custom tag

2006-05-29 Thread Hanmay Udgiri
Hi I have 100 fields for a JSP.And in the JSP a field can be mandatory/optiobal/read only. I am writing a custom tag to display the label bold for mandatory and non bold for optional. I am having a indicator for each field and I am passing this indicator to the custom tag. I am giving the sample c

Re: Sending run time value to custom tag

2006-05-26 Thread Hanmay Udgiri
is there any way i can the pass the value runtime??? On 5/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: We cannot use tag inside another tags. -Original Message- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 12:17 PM To: Struts Users Mailin

Sending run time value to custom tag

2006-05-25 Thread Hanmay Udgiri
Hi I am sending a runtime value to a custom tag.I am sending the value through bean:write tag but it is not sending the value.i am attaching the sample code. here in the tag class it does not take the value passed through bean:write tag if I pass like below it takes. I have to use bean:write

Sending run time value to custom tag

2006-05-25 Thread Hanmay Udgiri
Hi I am sending a runtime value to a custom tag.I am sending the value through bean:write tag but it is not sending the value.i am attaching the sample code. here in the tag class it does not take the value passed through bean:write tag if I pass like below it takes. I have to use bean:write

Re: Object size in App Server

2006-05-24 Thread Hanmay Udgiri
Hi Is the API available in JDK1.4?? I am not able to get the API in WSAD 5.1.1 version JDK... Thanks and Regards Hanmayya Udgiri On 5/24/06, Hanmay Udgiri <[EMAIL PROTECTED]> wrote: Hi I am getting a ResultSet from database. I want to get the size of the object in the App Server. Also

Object size in App Server

2006-05-24 Thread Hanmay Udgiri
Hi I am getting a ResultSet from database. I want to get the size of the object in the App Server. Also I want to get the size of session object after the user is validated and the user details are added to session. Thanks and Regards Hanmayya Udgiri

Object size in App Server

2006-05-24 Thread Hanmay Udgiri
Hi I am getting a ResultSet from database. I want to get the size of the object in the App Server. Also I want to get the size of session object after the user is validated and the user details are added to session. Thanks and Regards Hanmayya Udgiri

Displaying date with Region Time difference

2006-05-24 Thread Hanmay Udgiri
Hi We have a date which we store in Database as a timestamp. While getting a system date we get the date in US time like if the user has submitted a request in Aus,if he submits in morning 9 it will have date at server side in US time that is around some 17 hours less,we store the date with US ti

Re: displaying a field as bold

2006-05-23 Thread Hanmay Udgiri
hat -Original Message- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 3:35 PM To: user@struts.apache.org Subject: displaying a field as bold Importance: Low Hi We have two requirements like this. 1.In my JSP page I have around 50 fields and these fields could be ma

Re: problem?

2006-05-23 Thread Hanmay Udgiri
Hi Please check the error key which ur using in validation.xml is present in Resources properties. Thanks and Regards On 5/23/06, Yang Sun <[EMAIL PROTECTED]> wrote: Hi, I am using struts 1.2.9 for my project now. And for validating the user input, I use DynaValidationForm and validation.xml

Re: displaying a field as bold

2006-05-23 Thread Hanmay Udgiri
y text field a color or put (*). Yes you have struts implementation for both mandatory & non-mandatory fields. even validation. Cheers, Kind regards, Rakesh Bhat -Original Message----- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 3:35 PM To: user@struts.

displaying a field as bold

2006-05-23 Thread Hanmay Udgiri
Hi We have two requirements like this. 1.In my JSP page I have around 50 fields and these fields could be mandatory,optional or just plane read only fields based on some condition. Now the requirement is when the JSP is displayed,which way is good to display the field in bold if mandatory,non-