nachagoni rishi

Greenhorn
+ Follow
since Oct 14, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by nachagoni rishi

Can anyone help me know what is ESB?
18 years ago
For example i have 2 fields field1 and field 2.
Field1 should be validated only if the the value of field2 is "0216".
If field2 is not "0216 then it should not validate field1.
How can i acheive this using DynaValidatorForm.
18 years ago
I want to validate a field only if the value of the other field in the form is "XYZ" otherwise it should ignore the validations applied.

How can i acheive this using validator frame work.
I know we can use valid,but not able to figure out how to apply it to my requirement.
18 years ago
Is it possible to create a validation rule (validation.xml) that will apply a set of other rules to a given form property depending on the value of another form property?

My requriement is like this

I have 62 fields in the form.
There is only one error field among the 62 fields in the form.The error field is determined dynamically while displaying the form to the user.
The web admin is given a chance to correct the error field and submit the form.
Now i need to validate only the error field and not the whole form.
The validations applied to the other fields should be ignored and only the field that is changed should be validated.

i took a hidden variable whose value is equal to the error field property name.
Now i want to apply valid when rule to all the properties in the form.
Please help......
18 years ago
Thanks alan the below tag did work for me.
<bean:write name="MyForm" property="theFieldName"/>
18 years ago
Hi
I get this while starting the server. Iam using struts1.2.5 and websphere
Can asnyone help me with this
10/14/05 13:26:13:663 EDT] 3dd9b77e Digester E org.apache.commons.digester.Digester Parse Error at line 48 column 17: Document root element "form-validation", must match DOCTYPE root "null".
[10/14/05 13:26:13:663 EDT] 3dd9b77e Digester E org.apache.commons.digester.Digester TRAS0014I: The following exception was logged org.xml.sax.SAXParseException: Document root element "form-validation", must match DOCTYPE root "null".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
18 years ago
Hi everybody
Is there any way i can make select tag readonly. i donot want to grey out the select tag
Thanks
18 years ago
Is there any way i can replace "ticketNumber==null" and "plateNumber==null" with value of errorField, so that my code is shorter.


public ActionErrors validate(
ActionMapping mapping,
HttpServletRequest request) {

ActionErrors errors = new ActionErrors();

HttpSession session = request.getSession();
String errorField = (String) session.getAttribute("errorField");
if (errorField.equalsIgnoreCase("ticketNumber")) {

if ((ticketNumber == null) || (ticketNumber.trim().length() == 0))
errors.add(errorField,new ActionError("error." + errorField + ".null"));
}
if (errorField.equalsIgnoreCase("plateNumber")) {
if ((plateNumber == null) || (plateNumber.trim().length() == 0))
errors.add(errorField,new ActionError("error." + errorField + ".null"));
}

return errors;
}
18 years ago
I need to display the value in the textbox in red if validation fails.
Can anyone please help me with a simple example
18 years ago
How can i write to the network drive through my webapplication.
18 years ago
Hi
I want to write to the mapped drive in my web application. The shared folder is on another machine in the same domain. Do we need to deploy the application with was.policy file. If so how do we give permission to access the network drive
Thanks in advance.
18 years ago
Hi
If i use xsd:choice in xmlschemas iam getting SOAP element as response.How do i get Response object
19 years ago
where can i buy MZ's book
Hi
can anyone please suggest good books on webservices
19 years ago