Interceptor or preparable/ModelDriven or ActionChain ?

2011-02-14 Thread Barry L. Kline
I have an application used to track response times. Essentially, an event occurs and a database row is created with a Timestamp showing when it occurred. A "trouble sheet" is printed and the technicians take care of the problem, filling in the sheet. Once the sheet migrates back to the office th

Re: Interceptor or preparable/ModelDriven or ActionChain ?

2011-02-14 Thread Barry L. Kline
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/14/2011 11:33 AM, Paweł Wielgus wrote: > Hi Barry, > maybe custom converter will suits your needs? > > http://struts.apache.org/2.2.1.1/docs/type-conversion.html > > Best greetings, > Paweł Wielgus. Thank you very, very much! That looks like

Custom Type Converter & Session data

2011-02-16 Thread Barry L. Kline
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks to Paweł Wielgus I was turned on to the prospect of using a Custom Type Converter to handle a custom date problem. To recap: I have a form where the user can insert into java.sql.Timestamp field either a date in the form -MM-dd HH:mm or ju

Re: Custom Type Converter & Session data

2011-02-17 Thread Barry L. Kline
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/17/2011 01:40 AM, Lukasz Lenart wrote: > Why do not change the format in JSP file ? > > Convert should do only conversion, formatting should be in view. Do > you use the tag to display those dates ? If so, the > first entry should be presented