Re: Article

2008-03-14 Thread Jim Cushing
2008 at 9:45 AM, Jim Cushing <[EMAIL PROTECTED]> wrote: P.S. By "rather poor designs features" of Struts 1, I refer primarily to choice of making Actions singletons, which required a separate ActionForm bean. As I've read the history of Struts 1, WebWork, and Struts 2, much of

Re: Article

2008-03-13 Thread Jim Cushing
learn from, and instead repeat, this mistake. On Mar 13, 2008, at 12:33 PM, Jim Cushing wrote: I'm but a humble Struts 2 user (and a Spring MVC critic), so forgive me for lurking on this list (it's a great way for me to follow the progress). I posted two comments to that blog (searc

Re: Article

2008-03-13 Thread Jim Cushing
I'm but a humble Struts 2 user (and a Spring MVC critic), so forgive me for lurking on this list (it's a great way for me to follow the progress). I posted two comments to that blog (search for "jimothy") that I think sum up Spring MVC vs. Struts 2 from a mindshare perspective. I'd be inter

Re: S2 "Getting Started" buttons do not render under IE (was GoogleCode Maven ...)

2007-11-27 Thread Jim Cushing
Another note: IE doesn't support the "min-height" CSS property. Try using "height" instead (it may need to be done for each of the three buttons): On Nov 27, 2007, at 1:10 PM, Ted Husted wrote: The images are blank buttons that are being styled to add the captions. h

Re: S2 "Getting Started" buttons do not render under IE (was GoogleCode Maven ...)

2007-11-27 Thread Jim Cushing
I don't have IE (nor a Windows machine), so I can't tell what the problem is. However, do the other two buttons ("Download Now" and "Get Started") display? There should be three, equally sized buttons: blue, red, yellow. On Nov 27, 2007, at 1:10 PM, Ted Husted wrote: The images are bla

Re: Struts 2 Plugin for Grails?

2007-11-19 Thread Jim Cushing
This is precisely why I like things like Freemarker and Velocity: You don't have to wait for the JCP to propose and ratify a standard, and for the vendors to adopt it. I hope that Struts 2 continues to strongly support Freemarker. In fact, I wish they promoted it as the preferred choice.

Re: [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification

2007-10-17 Thread Jim Cushing
For different renderings/mimetypes, I think it'd make sense, if possible, to use a dot-extension (e.g., "foo.pdf" instead of "foo/ pdf"), since this is a common and well understood convention. On Oct 17, 2007, at 5:21 PM, Dave Newton wrote: This is just so I don't forget to mention it, but a

Re: A session value is overwrited by demanding a browser.

2007-10-17 Thread Jim Cushing
), if that fails, then it will turn on reflection accessibility and access the variable directly. On 10/17/07, Jim Cushing <[EMAIL PROTECTED]> wrote: I haven't tested this, but is the problem solved by making your getSession() method protected, instead of public? The SessionAware interfa

Re: A session value is overwrited by demanding a browser.

2007-10-17 Thread Jim Cushing
I haven't tested this, but is the problem solved by making your getSession() method protected, instead of public? The SessionAware interface only requires a public setSession() method. If you haven't defined a getSession() method, or if it's already protected, then I suggest you file a JIRA

Re: [VOTE] Struts 2.0.11 Quality

2007-10-16 Thread Jim Cushing
Don't hate me for asking, as I'm just a humble Struts 2 user, but what was the outcome of this? It seemed all the votes were in the affirmative, so can we expect a GA release of 2.0.11 soon? - To unsubscribe, e-mail: [EMAIL P

Re: [s2] Should tags be their own plugin?

2007-10-05 Thread Jim Cushing
This is only a voice of one, and a Struts 2 newcomer at that, but I use themes (and Freemarker) and think they're the greatest thing since sliced bread. What I like about them is that they can make "best practices" automatic. The built in themes sensibly assign IDs, associate labels with th

Re: Exploring actionPackage-based configuration issues

2007-09-27 Thread Jim Cushing
It's not unprecedented to put annotations on package-info.java. Obviously the JDK supports it, and Hibernate allows you to use JPA annotations at the package level. For instance, I've done that to define at a more global level a default ID generator for my persistent classes. While packag

Re: Should I announce SmartURLs or wait?

2007-09-13 Thread Jim Cushing
A Maven archetype should get you around any license/distribution issues, provided the dependencies are in a public Maven repository. Then, Maven will download the dependencies, such that they don't need to be bundled. It's nice, but not necessary, that the plugins have Maven POMs (for the s

Re: SmartURLs (fork of s2: problem with codebehind plugin)

2007-09-07 Thread Jim Cushing
It looks like the plugin requires Java 1.6; I have tried running it under 1.6 yet, but that may be the issue. On Sep 6, 2007, at 7:53 PM, Ted Husted wrote: When deploying the SmartUrls plugin, my system is unable to find the class net.java.lang.URLClassLoaderResolver; I tried to google i