Form not found for locale 'en_US' warning message

2006-11-29 Thread kumar.vinodh

 
Hi all,

I am seeing the below warning message whenever form bean is accessed.

WARN  [ValidatorResources] Form 'callcontrolForm' not found for locale
'en_US'

In struts-config.xml I have



 


This was a known bug in 1.2.9 version,
http://issues.apache.org/bugzilla/show_bug.cgi?id=38081

But ver 1.3.5 claimed to fix this bug. 

Even after migrating to 1.3.5 version, I am seeing the warning messages
getting printed in the console. 

Do I need to modify some files manually for this??? 


I am not using the validation framework for struts, but still the
warning message is thrown for all the request made to server. As I am
polling the server frequently console is flooded with this warning
message.


Is it necessary to include validator plug-in in strutsconfig.xml , when
the validation framework is not used?

Your help and guidance on the same is very much appreciated.

Thanks,
Vinodh



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to make dropdown box editable.

2006-11-06 Thread kumar.vinodh


Thanks Lance for your help.




-Original Message-
From: Lance Semmens [mailto:[EMAIL PROTECTED]
Sent: Monday, November 06, 2006 2:53 PM
To: 'Struts Users Mailing List'
Subject: RE: How to make dropdown box editable.

Dojo has a control that sounds like what you're after.

http://dojotoolkit.org/

go to:
see it in action --> form widgets --> form tour and look at the "state"
field.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 26 October 2006 14:30
To: user@struts.apache.org
Subject: How to make dropdown box editable.


Hi all,


I have requirement where in I want drop down box to be editable. Is this
possible using struts html tag lib.
Please let me know how to go about making drop down box editable.


Regards,
Vinodh













The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.


WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.


www.wipro.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to make dropdown box editable.

2006-10-26 Thread kumar.vinodh


Page has got a drop down box, with pre defined set of elements. User
should be able to select one among them, or else he can enter his own
option, which would be added to the drop down.



-Original Message-
From: Madhav Bhargava [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 12:50 AM
To: Struts Users Mailing List
Subject: Re: How to make dropdown box editable.

Post the exact requirement.

On 10/27/06, Chris Pratt <[EMAIL PROTECTED]> wrote:
>
> It's not possible in straight HTML.  There are some DHTML tricks that
> combine text boxes with select boxes, but most that I've seen are ugly

> and unworkable.  If you find a good solution to the problem, please
> post it here.
>   (*Chris*)
>
> On 10/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi all,
> >
> > I have requirement where in I want drop down box to be editable. Is
> > this possible using struts html tag lib.
> > Please let me know how to go about making drop down box editable.
> >
> > Regards,
> > Vinodh
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > The information contained in this electronic message and any
> > attachments to this message are intended for the exclusive use of
> > the addressee(s)
> and
> > may contain proprietary, confidential or privileged information. If
> > you
> are
> > not the intended recipient, you should not disseminate, distribute
> > or
> copy
> > this e-mail. Please notify the sender immediately and destroy all
> > copies
> of
> > this message and any attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The
> > recipient should check this email and any attachments for the
presence of viruses.
> The
> > company accepts no liability for any damage caused by any virus
> transmitted
> > by this email.
> >
> > www.wipro.com
> >
>
>


--
When I tell the truth, it is not for the sake of convincing those who do
not know it, but for the sake of defending those that do


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Form not found for locale 'en_US' warning message

2006-10-26 Thread kumar.vinodh


This warning message is coming for all the pages. Whever I try to access
the page this message is getting printed.

It is getting thrown from validatorResources class. I am reffering to
Validator plugin in strutsconfig file, but not using struts validation
in all the pages. Only in few pages I m using it.

Vinodh

-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 7:44 PM
To: Struts Users Mailing List
Subject: Re: Form not found for locale 'en_US' warning message

If you're not using client side validation  then its not related to that
bug.

What class is producing this message (you should be able to tell from
the actual log message - or change your logging config so that it is
displayed)?

A similar warning is also produced by the ValidatorResources class in
Commons Validator - but it includes the name/key of the form.

Niall

On 10/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I m not using struts validator  framework for client side validation.
> It was known issue in struts 1.2.9, but in was fixed in struts 1.3.5.
> I have upgraded to 1.3.5 but still I m seeing this issue.
>
>
> -Original Message-
> From: Strachan, Paul [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 26, 2006 6:58 AM
> To: Struts Users Mailing List
> Subject: RE: Form not found for locale 'en_US' warning message
>
> could it be you have validate="true" but no form validations defined ?
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 24 October 2006 9:38 PM
> To: user@struts.apache.org
> Subject: Form not found for locale 'en_US' warning message
>
>
> Hi,
>
>
> I am the getting the below warning message whenever I access the
> formbeans
>
>
> Form not found for locale 'en_US'
>
>
>
> I am using the downloaded version of the Struts 1.3.5 that was
> available in struts site.
>
>
> With reference to BugId -
> http://issues.apache.org/bugzilla/show_bug.cgi?id=38081  this bug is
> fixed in struts 1.3.
>
>
> I am not sure what more files i need to include here.
>
>
> Any help asap is appreciated.
>
>
> Thanks,
> Vinodh.
>
>
> Note: I copied all of the jar files in lib directory of struts 1.3.5
> where there was no 'struts.jar' file available.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Form not found for locale 'en_US' warning message

2006-10-26 Thread kumar.vinodh

I m not using struts validator  framework for client side validation.
It was known issue in struts 1.2.9, but in was fixed in struts 1.3.5. I
have upgraded to 1.3.5 but still I m seeing this issue.


-Original Message-
From: Strachan, Paul [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 6:58 AM
To: Struts Users Mailing List
Subject: RE: Form not found for locale 'en_US' warning message

could it be you have validate="true" but no form validations defined ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 24 October 2006 9:38 PM
To: user@struts.apache.org
Subject: Form not found for locale 'en_US' warning message


Hi,


I am the getting the below warning message whenever I access the
formbeans


Form not found for locale 'en_US'



I am using the downloaded version of the Struts 1.3.5 that was available
in struts site.


With reference to BugId -
http://issues.apache.org/bugzilla/show_bug.cgi?id=38081  this bug is
fixed in struts 1.3.


I am not sure what more files i need to include here.


Any help asap is appreciated.


Thanks,
Vinodh.


Note: I copied all of the jar files in lib directory of struts 1.3.5
where there was no 'struts.jar' file available.





The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.


WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.


www.wipro.com
**
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts1.3.5 error

2006-10-26 Thread kumar.vinodh

Thanks Levan, It is working fine now. I am not seeing error message
after making necessary changes as said by you.

Regards,
Vinodh

-Original Message-
From: Levan Dvalishvili [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 25, 2006 1:55 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts1.3.5 error


Please make sure In JSP pages : remove/change local references to tag
libs to absolute URLs:
It should look like that :
<%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean" %> <%@
taglib uri="http://struts.apache.org/tags-html"; prefix="html" %> <%@
taglib uri="http://struts.apache.org/tags-logic"; prefix="logic" %> <%@
taglib uri="http://struts.apache.org/tags-tiles"; prefix="tiles" %>

, and remove struts/tiles tld files, remove tld  declarations from
web.xml file and  that should take care of the issue, It did for me :)
Best regards.

Levan


-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 24, 2006 10:28 AM
To: Struts Users Mailing List
Subject: Re: Struts1.3.5 error

On 10/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> I was using struts1.2.9 previously , every thing worked fine. When I
> migrated to struts1.3.5, I am getting below error message.I am not
> sure about this behaviour.
> Any particular reason for this behaviour?
>
>
> org.apache.jasper.JasperException: Failed to load or instantiate
> TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei

See #6 on the upgrade notes...
   http://wiki.apache.org/struts/StrutsUpgradeNotes12to13

The Struts Tiles package name was changed.  Try clearing out your
container's 'work' directory so the JSPs will be recompiled.

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to make dropdown box editable.

2006-10-26 Thread kumar.vinodh

Hi all,

I have requirement where in I want drop down box to be editable. Is this
possible using struts html tag lib.
Please let me know how to go about making drop down box editable.

Regards,
Vinodh









The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

RE: Form not found for locale 'en_US' warning message

2006-10-24 Thread kumar.vinodh

Martin,

Struts-config has separate message-resource tag for the language
supported.
But still I am seeing the warning message.

Regards,
Vinodh

-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 24, 2006 5:56 PM
To: Struts Users Mailing List
Subject: Re: Form not found for locale 'en_US' warning message

Kumar-

from struts-config.xml please display the value of parameter for
message-resources

Martin--
This e-mail communication and any attachments may contain confidential
and privileged information for the use of the designated recipients
named above. If you are not the intended recipient, you are hereby
notified that you have received this communication in error and that any
review, disclosure, dissemination, distribution or copying of it or its
contents
- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, October 24, 2006 7:37 AM
Subject: Form not found for locale 'en_US' warning message



Hi,

I am the getting the below warning message whenever I access the
formbeans

Form not found for locale 'en_US'

I am using the downloaded version of the Struts 1.3.5 that was available
in struts site.

With reference to BugId -
http://issues.apache.org/bugzilla/show_bug.cgi?id=38081  this bug is
fixed in struts 1.3.

I am not sure what more files i need to include here.

Any help asap is appreciated.

Thanks,
Vinodh.

Note: I copied all of the jar files in lib directory of struts 1.3.5
where there was no 'struts.jar' file available.




The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Struts1.3.5 error

2006-10-24 Thread kumar.vinodh

Hi,

I was using struts1.2.9 previously , every thing worked fine. When I
migrated to struts1.3.5, I am getting below error message.I am not sure
about this behaviour.
Any particular reason for this behaviour?

   
org.apache.jasper.JasperException: Failed to load or instantiate
TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand
ler.java:50)

org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java
:407)

org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java
:279)

org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryIn
foImpl.java:422)

org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImp
l.java:248)

org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.
java:162)

org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)

org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)

org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)

org.apache.jasper.compiler.ParserController.doParse(ParserController.jav
a:211)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:
100)

org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:556)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:293)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:81)


root cause
java.lang.ClassNotFoundException:
org.apache.struts.taglib.tiles.UseAttributeTei

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1332)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1181)

org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryIn
foImpl.java:419)

org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImp
l.java:248)

org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.
java:162)

org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)

org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)

org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)

org.apache.jasper.compiler.ParserController.doParse(ParserController.jav
a:211)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:
100)

org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:556)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:293)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:81)


Regards,
Vinodh




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Form not found for locale 'en_US' warning message

2006-10-24 Thread kumar.vinodh

Hi,

I am the getting the below warning message whenever I access the
formbeans

Form not found for locale 'en_US'

I am using the downloaded version of the Struts 1.3.5 that was available
in struts site.

With reference to BugId -
http://issues.apache.org/bugzilla/show_bug.cgi?id=38081  this bug is
fixed in struts 1.3.

I am not sure what more files i need to include here.

Any help asap is appreciated.

Thanks,
Vinodh.

Note: I copied all of the jar files in lib directory of struts 1.3.5
where there was no 'struts.jar' file available.




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Help needed in writing Junit test case for Struts when DynaValidator form is used

2006-10-10 Thread kumar.vinodh

Hi,

 Iam writing   Junit  test case for Struts application using cactus

and iam using  dynavalidator form

and have written test case  given below



public void testSuccessfulLogin() {

   setRequestPathInfo("/login");

   addRequestParameter("userId","bhanu");

   actionPerform();

   verifyForward("success");

   verifyForwardPath("/messages.jsp");

   assertEquals("bhanu",getSession().getAttribute("User ID"));

   verifyNoActionErrors();

 }



and in the test case if iam using

addRequestParameter("userId","bhanu");

the Dynvalidator form is not getting populated

i.e if iam retrieving  value  using getSession().getAttribute("User ID")
iam getting null

 but if am writing a nomal loginform  and using it

instead of  dynavalidator form the loginform is getting

populated and iam able to retrive value using

getSession().getAttribute("User ID")



Please tell me how to write testcases in struts  when  DynaValidator
form is used 



Thanks and Regards

Vinodh




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

RE: about javascript

2006-08-11 Thread kumar.vinodh

 





function button2()

{

  var theFile = document.forms[0].elements['theFile'].value;
if( theFile == "" && theFile.length = 0)
  {
alert("Please enter the value for the field theFile");
document.forms[0].elements['theFile'].focus();
return false;
  }





Similarly u can write for other two filds

return true;
}

-Original Message-
From: Gomathi [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 5:37 PM
To: Struts Users Mailing List
Subject: Re: about javascript

no,
i have three text fields in my one jsp
i want to check these  fields if it is empty using java script client
side validation 







in button2()

{

how to check this empty fields



}




- Original Message -
From: "Krishna, Hari" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Friday, August 11, 2006 5:10 PM
Subject: RE: about javascript


>r u going to check for mandatory fields.
>
> -Original Message-
> From: Gomathi [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 11, 2006 4:45 PM
> To: Struts Users Mailing List
> Subject: about javascript
>
>
> hai
> i am working in struts1.1
> i have threee fields in 
> how to check these empty fields when submitting the submit button
using
> java script
> its very uergent
> with kindly regards
> gomes
> Notice:  All email and instant messages (including attachments) sent
to
> or from Franklin Templeton Investments (FTI) personnel may be
retained,
> monitored and/or reviewed by FTI and its agents, or authorized
> law enforcement personnel, without further notice or consent.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tag for checking session and forward to login page

2006-07-21 Thread kumar.vinodh

HI All,

You cannot disable the back button(I guess so), instead u can keep a
check in each jsp page based on one session varaible
Which is set into session once the user is logged in (ex:u can keep the
user id in session)and when user clicks logout, the logoutAction class
is called and it just removes the session variable and invalidate all
the session variable.

Now if the user tries to go back using back button, user can view the
page but no actions can be performed on the page. Any actions performed
on the page will take the user to login page.

If any one know about disabling back button please let me know

Thanks and Regards
Vinodh


-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 3:15 PM
To: Struts Users Mailing List
Subject: Re: tag for checking session and forward to login page

Raghuveer ha scritto:
> In log page once the session expired if user clicks BROWSER BACK
> button ,user should be in login page only when session expires.
>  

Can you elaborate this? I don't understand what you need.

Ciao
Antonio


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Form not found for locale 'en_US'

2006-07-09 Thread kumar.vinodh


Hi *,

I am getting the below warning message for each request.


2006-07-07 11:20:12,140 WARN
[org.apache.commons.validator.ValidatorResources] Form 'callcontrolForm'
not found for locale 'en_US'

I m not aware of this warning message. Is there anyway I can control
this.
Plz help me out in this.

Regards,
Vinodh




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Form not found for locale 'en_US'

2006-07-07 Thread kumar.vinodh

Hi *,

I am getting the below warning message for each request.


2006-07-07 11:20:12,140 WARN
[org.apache.commons.validator.ValidatorResources] Form 'callcontrolForm'
not found for locale 'en_US'

I m not aware of this warning message. Is there anyway I can control
this.
Plz help me out in this.

Regards,
Vinodh




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Form 'confStatForm' not found for locale 'en_US'

2006-07-06 Thread kumar.vinodh




H i *,

I am getting the below message for every request.

Form 'confStatForm' not found for locale 'en_US' .

Can someone tell what to do for this???

Regards,
Vinodh.





The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

RE: Eclipse-Struts configuration.

2006-07-04 Thread kumar.vinodh

Hi Anil,

You can try out Myeclipse plugin. It is a licenced version, you can
enjoy trial version for 30 days.
You can download it in myeclipse.com.

After installing the plug-in, try to create a new project, where you
will find options like
Java project
Web project
And many more..

Choose web project. After creating the web project then right click on
the project which u have created then select my eclipse option and add
Struts capabilities.

Regards,
Vinodh

-Original Message-
From: Anil Kumar T [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 04, 2006 12:31 PM
To: user@struts.apache.org
Subject: Eclipse-Struts configuration.


Hi folks,




I have eclipse 3.1.1, I'm unable to create a struts project using
eclipse. Any body has any idea about configuring / setup of struts
applications with eclipse. Any help would be appreciated.




Thanks & regards,

Anil.



Information transmitted by this e-mail is proprietary to Infinite
Computer Solutions and / or its Customers and is intended for use only
by the individual or the entity to which it is addressed, and may
contain information that is privileged, confidential or exempt from
disclosure under applicable law. If you are not the intended recipient
or it appears that this mail has been forwarded to you without proper
authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at [EMAIL PROTECTED] and delete this email from
your records.


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to take care of session mgmt

2006-06-29 Thread kumar.vinodh

Hi *,

I am new to struts and to this group. Is there any standard way of doing
session management.
For eg, user is not allowed to access any resource(jsp pages directly)
unless he logins. When he tries he should be  directed to login page.
Is there any standard way of doing this. Struts framework has any
standard way of handling this issue.

Thanks in advance for all your help.

Regards,
Vinodh






The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com