Re: Struts HTML taglib vs. Standard HTML tags

2009-12-06 Thread davargas123
I did check those to see if they had anything to do with it, but those aren't the problem. I literally copied them straight from another page in the same web app that I'm adding my page to. The page I'm doing is part of a larger web app that already has a number of jsp pages which include struts

Re: [Struts 2 + EJB 3] injection of EJBs into struts 2 actions

2009-12-06 Thread irene zeller sancho
You can use google guice ( http://www.tzavellas.com/techblog/2007/07/03/using-dependency-injection-in-struts2-for-stateless-ejbs-part-1/). I use it and works fine! 2009/12/4 Haroon Rafique haroon.rafi...@utoronto.ca On Today at 11:58am, JC=James Cook james.c...@wecomm.com wrote: JC EJB's

Ajax validation to open a conditional popup

2009-12-06 Thread Raj Malhotra
Hi My current functionality is to send the form values as request parameteres to server where it will be first validated using xml and then Action will process the request to save the values in the database. Now i want to add the 'download to excel' functionality.User can key in the values in form

Re: RequiredFieldValidator and error message from property file via key

2009-12-06 Thread nguyenlinh
Hello, I have the same problem. So what kind of validator should I use if I have a field of type int and I want to make sure the user typed a number? Thanks, Linh Greg Lindholm-2 wrote: You may have a different problem then you think; The @RequiredFieldValidator does not make any sense on

Re: RequiredFieldValidator and error message from property file via key

2009-12-06 Thread nguyenlinh
I found the @ConversionErrorFieldValidator and it works almost the way I wanted. Now I get my error message but I also get the default struts error message which is: Invalid field value for field field-name. Is there any simple way I can get rid of the default message from struts? Thanks

Re: RequiredFieldValidator and error message from property file via key

2009-12-06 Thread nguyenlinh
I found the solution now. Just override invalid.fieldvalue.field-name in your properties file. for example: invalid.fieldvalue.aField=Ivalid value for aField. Thanks a lot, your answer got me on the right track. Greg Lindholm-2 wrote: You may have a different problem then you think; The

Re: Struts HTML taglib vs. Standard HTML tags

2009-12-06 Thread Dan Vargas
One of the most confusing things about it is that I can insert just one html:text tag, for instance, into the fully functional(as far as being rendered correctly) page, and then it just fails to render any of my jsp page, not just the text area defined by the struts tag. On Sun, Dec 6, 2009 at