Re: Struts 2 losing timestamp in java.util.Date when validation failed

2012-06-08 Thread J. Garcia
With 2.3.3, it is working for me, in my own app. When input is returned, I can still see the timestamp value in the form. Haven't tried with your example. On Thu, Jun 7, 2012 at 7:39 PM, s srrem...@excite.com wrote: Yep..That's what I did But the question is, why it retains time

How to organize regular Actions and ajax/json Actions

2012-06-08 Thread Burton Rhodes
I have a web application that originally mapped only one action per page (for the most part). Little by little it's grown to incoporate ajax/json actions (using Struts json plugin) that populate different parts of pages or update the database. My question is how best to organize these new

Re: How to organize regular Actions and ajax/json Actions

2012-06-08 Thread Dave Newton
I wouldn't have a package just for JSON actions, because that separates them from what they actually are. I'm not sure what is meant by spanning multiple pages; in general wouldn't they still be associated with specific data types, or functionality? Dave On Fri, Jun 8, 2012 at 10:03 AM, Burton

Re: How to organize regular Actions and ajax/json Actions

2012-06-08 Thread Burton Rhodes
Yes... you are right. I guess what I meant by spanning multiple pages is that up until now all my actions classes mapped nicely to my /webapp/struts/ (jsp) directory structure. (e.g. /java/com/afs/web/action/contact/ContactDetailAction.java = /webapp/struts/contact/contactDetail.jsp). Now I

Re: Struts 2 losing timestamp in java.util.Date when validation failed

2012-06-08 Thread s
Tried with Struts 2.3.4 and still having the issue. Look at View Source in the browsee and note down value of field student.createdTimestmp. It will have both date time. Remove Name (make it blank) and click on Save button. Error will be displayed Student Name is required. Now again take a

Regression from WW-3810? NPE in UrlSet.includeClassesUrl(UrlSet.java:199)

2012-06-08 Thread struts . rgm
Like I said a couple of days ago, this doesn't actually seem to hurt anything, but I thought that Ɓukasz might want to have a look at this exception. Has anyone else seen this with 2.3.4 or newer snapshots? -rgm On Jun 6, 2012, at 2:23 PM, struts@spamgourmet.com wrote: Running Struts