Struts 2.1.6 Test Examples

2009-05-13 Thread Doug Pham
Hi All, In the main page one of the bullet point is: Easy-to-test Actions - Test Struts2 Actions directly, without resorting to mock HTTP objects. I would love to see a few examples of these. Cheers, Doug

Re: Any hint of JQuery on struts2 tutorial, thanks!

2009-04-29 Thread Doug Pham
Wes, When will the book be ready?  About a year ago, I tried the basic S2, Spring & Hibernate and I have the hardest of time to do things as the connection keep getting closed before I could update things.  Hopefully, your book will help me understand why that was.  I have been using S2, Hi

Unit Testing Struts 2 Action

2009-01-17 Thread Doug Pham
Hi All,     I am putting together Struts 2, Hibernate & Sitemesh.  Where can I find information on how to unit test my new application actions? Thanks, Doug

Validation

2008-06-22 Thread Doug Pham
I have an action that have multiple methods that I mapped to.  Only one action that I need validation for, the rest I don't need.  Where can I get information to set this up or how do I set it up using the XML file? Thanks, Doug

Re: Using Struts2 Template

2008-06-22 Thread Doug Pham
Dave, Do you have to add anything to the web.xml file or what libraries to include.  If I am using Sitemesh, anything different I have to do? Doug Pham --- On Sun, 6/22/08, Dave Newton <[EMAIL PROTECTED]> wrote: From: Dave Newton <[EMAIL PROTECTED]> Subject: Re: Using Struts2

Using Struts2 Template

2008-06-22 Thread Doug Pham
Hi All, Do I have to include anything special to use the Freemarker templates? Thanks, Doug

Latest Quickstart & Sitemesh

2008-03-13 Thread Doug Pham
Hi All, I took the current quickstart application and added sitemesh to the pom.xml and added all the necessary files for sitemesh, the dojo that listed the Persons broke. The decorator works but the ajax failed with "Error loading '/quickstart/list.action' (200 OK)" Is there any special

Re: Quickstart Example

2008-03-11 Thread Doug Pham
I jumped the gun too quick on this one. I did get it to work, but it prevent the ajax portion to work. At least I know it works, I'll investigate on the struts ajax issue separately. Thank You, Doug Doug Pham <[EMAIL PROTECTED]> wrote: Hi All, I am experimenting with the

Quickstart Example

2008-03-11 Thread Doug Pham
Hi All, I am experimenting with the "quickstart" application from the struts 2 tutorial links (http://cwiki.apache.org/WW/struts-2-spring-2-jpa-ajax.html). I have updated the struts version to 2.0.11.1 and spring to 2.5.2. Everything works great but when I added sitemesh to the pom, I got