..
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
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
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
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
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
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
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")
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
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
, 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
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
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();
Hi
How many nested level of form we should have.
Is there any limit or specification???
--
Thanks and Regards
Hanmayya 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
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
Hi
Can we use bean:message in the custom tag java class(in the doStartTag
method)
--
Thanks and Regards
Hanmayya 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
Hi
Can anybody have any articles for struts best practices??
Will be of great help.
--
Thanks and Regards
Hanmayya 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
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
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
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
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
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
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
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
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
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
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
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.
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-
31 matches
Mail list logo