example on sjg:grid

2011-09-22 Thread krishnateja.v
any body send me examples on sjg:grid with dropdowns anb checkboxs in rows -- View this message in context: http://struts.1045723.n5.nabble.com/example-on-sjg-grid-tp4829124p4829124.html Sent from the Struts - User mailing list archive at Nabble.com.

Problem with @ConversionErrorFieldValidator

2011-09-22 Thread roger
Hi In my struts 2 action I'm using the @VistorFieldValidator @VisitorFieldValidator(message=,appendPrefix=true) public Rma getRma() { return rma; } and within the RMA class I'm using @ConversionErrorFieldValidator(message = Serial Number must be numeric, shortCircuit=true)

Re: Unit Test Struts2 Action - Custom type converters not being run?

2011-09-22 Thread Carl Ballantyne
It seems to have fixed itself overnight without me changing anything. I can in this morning and now the converters are being run for the unit tests. Hm as long as it is passing all good. On Wed, Sep 21, 2011 at 7:25 PM, Maurizio Cucchiara mcucchi...@apache.orgwrote: Does Maven Snapshot

Re: Can Struts Junit plugin be used to test the redirect result of an action

2011-09-22 Thread Maurizio Cucchiara
The reason behind is simple: no browser no redirect. The redirect is sent as http header, so as long as there is no browser to interpret the header there is no way to redirect. You might call by yourself the second action, WDYT? PS: FWIW I have not read the optional reading :) Maurizio

Re: Unit Test Struts2 Action - Custom type converters not being run?

2011-09-22 Thread Carl Ballantyne
Okay same problem back again. It seems to happen after I have done a clean with Maven. The custom converters are not being run. *scratches head* I have done a maven install without running the tests to make sure all classes have been compiled. On Thu, Sep 22, 2011 at 9:56 AM, Carl Ballantyne

Using html:select tag

2011-09-22 Thread Anjib Mulepati
Hi All, I have two question 1. regarding understanding html:option, html:options and html:optionsCollection and 2. reloding option items after form validation fail. I have agency bean with (ID, Name). I create list of agency as agencyList. I have login page which have select/option box and it