JSON Date Format

2011-05-11 Thread tkofford
I am using the struts2 (v 2.2.3) json-plugin and have a model object field that is a java.util.Date. However, when this date field is converted to json data it's coming back like "2011-05-11T09:14:41". Some older browsers (IE7 & IE8) don't like this format, but can handle the milliseconds date form

Re: Best Advanced Struts2 Book

2013-06-21 Thread tkofford
I've always liked Struts 2 in Action (http://www.manning.com/dbrown/) -TK -- View this message in context: http://struts.1045723.n5.nabble.com/Best-Advanced-Struts2-Book-tp5712837p5712843.html Sent from the Struts - User mailing list archive at Nabble.com. -

Re: Struts2 & Portlets

2014-08-04 Thread tkofford
Hi Chris, Almost all of our struts 2 development is to develop portlets, we use the struts 2 portlet plugin a lot, and it works well for us. We even have a couple of web applications where we use the same deployed *.war file for a standalone webapp and a portlet webapp simultaneously. We deploy o

Re: Portlets

2014-08-28 Thread tkofford
I don't know if this will resolve your problem, but you might want to see this post:http://struts.1045723.n5.nabble.com/Struts2-Portlets-tp5716471p5716475.html -- View this message in context: http://struts.1045723.n5.nabble.com/Portlets-tp5716587p5716588.html Sent from the Struts - User mailin

Re: Portlets

2014-09-02 Thread tkofford
No, I don't remember running into either of those 2 issues, and we have a lot of struts2 portlets running. However, we mainly only use the "view" portlet mode and don't do much with the "edit" and "help" portlet modes. The namespace issue is one that I haven't seen, and we do namespace our portlets

Portlet Issue From Struts version 2.5 to 2.5.5?

2016-11-30 Thread tkofford
We've been trying to upgrade from struts 2.5 to struts 2.5.5, and most of our webapps are portlets. However, with struts 2.5.5 portlets throws the following exception: "java.lang.IllegalStateException: Not allowed in a portlet" Below is the method in the classs org.apache.struts2.portlet.servlet.

Re: Portlet Issue From Struts version 2.5 to 2.5.5?

2016-12-01 Thread tkofford
Issue reported as https://issues.apache.org/jira/browse/WW-4722 -- View this message in context: http://struts.1045723.n5.nabble.com/Portlet-Issue-From-Struts-version-2-5-to-2-5-5-tp5720470p5720475.html Sent from the Struts - User mailing list a

Re: Integrate Apache Shiro with Struts2

2017-07-24 Thread tkofford
I've just uploaded a more advanced example of a struts - shiro application. https://github.com/tkofford/shiro-realm <https://github.com/tkofford/shiro-realm> This one is essentially the same as the simple one I created earlier, except I am using a custom shiro realm and doing aut