To use Struts Validation or not?

2009-02-18 Thread Rajeshwari Godbole
Hi all, Our team here has developed a portal using Struts2. Most of the developers have used javascript to validate the forms. I know using the Struts validation framework is a better way to do this but I think this was avoided in the project due to the (perceived) cumbersome setup (xml file, rule

Re: Hiding s:select control: SOLVED!

2009-02-18 Thread Rajeshwari Godbole
Mitch, I think the question may have been directed at you as you indicated in your email that if ajax was required, then setting the form theme to simple may not work? Thanks for the form tip, it sure would make the code better :) Thanks, Rajeshwari On Tue, Feb 17, 2009 at 7:19 PM, mitch gorman

Re: Hiding s:select control: SOLVED!

2009-02-15 Thread Rajeshwari Godbole
not working, you need to debug the Javascript code that you are > adding, that is not due to Struts. > > Cheers, > Sonny > > > On Tue, Feb 10, 2009 at 1:20 PM, Rajeshwari Godbole > wrote: > > Hello all, > > > > I'm using Struts2 on Tomcat and am tr

Hiding s:select control

2009-02-09 Thread Rajeshwari Godbole
Hello all, I'm using Struts2 on Tomcat and am trying to hide a s:select tag depending on the selected option of another s:select tag. I'm able to disable the tag using javascript but am not able to hide it. Setting style.display="none"; does not work, neither does adding a div tag because Struts w

Specifying a target while using the tag

2009-01-15 Thread Rajeshwari Godbole
Hello all, I'm trying to display the results of clicking on a link within an iframe on the same page. I'm using the s:a tag referencing an s:url tag to create the link (as I need to pass parameters from the previous page's forms to the link's action). Currently, it displays the resulting page (tha

JasperReports Plugin:How to specify JDBC connection?

2009-01-13 Thread Rajeshwari Godbole
Hello, *Problem*: I created a .jrxml report template in iReports that is using an Oracle database to retrieve data. Now I want to plug in this report into a existing webapp using the Struts2 plugin. The webapp uses JDBC to connect to the database. I'm not able to figure out what value to use for t