Re: mvn assembly struts-2.1+

2008-04-30 Thread Antonio Petrelli
2008/4/30 Jay Bose [EMAIL PROTECTED]: I'm upgrading from WebWork-2 to the most recent Struts-2(.1.x) that contains a working instance of Dojo. Following the directions on http://struts.apache.org/2.x/docs/building-the-framework-from-source.html and

missing DWRValidator in struts 2.1.1

2008-04-30 Thread Pedro Herrera
I´m migrating a system created with struts 2.0.11 to struts 2.1.1. dwr.xml has configurated a DWRValidator like this : create creator=new javascript=validator /create When tomcat is started a warning is showed in console : [ERROR] 09:43:15,544

Re: missing DWRValidator in struts 2.1.1

2008-04-30 Thread Don Brown
The DWR class in question has been moved to the DWR Plugin. Drop that jar into your WEB-INF/lib to install. Don On Wed, Apr 30, 2008 at 10:40 PM, Pedro Herrera [EMAIL PROTECTED] wrote: I´m migrating a system created with struts 2.0.11 to struts 2.1.1. dwr.xml has configurated a

FreeMarker on OSGi plugin

2008-04-30 Thread Musachy Barroso
Hey Don, now that we have FreeMarker support on the OSGi plugin, can we use it instead of Velocity? musachy -- Hey you! Would you help me to carry the stone? Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Fundamental flaw in Model-Driven?

2008-04-30 Thread Eric D Nielsen
Another possible solution I want to try exploring (but unfortunately its Hibernate specific) is making a custom version of the validator interceptor: Inject the session into the interceptor Call session.readOnly(entity,true) on failed validation If I'm reading things correctly this should a)

Re: FreeMarker on OSGi plugin

2008-04-30 Thread Musachy Barroso
I meant on the admin bundle :) musachy On Wed, Apr 30, 2008 at 10:05 AM, Musachy Barroso [EMAIL PROTECTED] wrote: Hey Don, now that we have FreeMarker support on the OSGi plugin, can we use it instead of Velocity? musachy -- Hey you! Would you help me to carry the stone? Pink Floyd

FilterDispatcher and static resources

2008-04-30 Thread Musachy Barroso
I think FilterDispatcher should be changed to allow other implementations to lookup static resources and be more flexible in general. As it stands right now, static resources cannot be served from plugins unless you put them in org.apache.struts2.static in a jar loaded by the filter's class

Displaying results on home page when submitting an action from pop up window no. 2

2008-04-30 Thread sri2003
Hi, Logged in to my web application using Internet Explorer. From the home page (JSP), opened one popup window (no. 1) ; then from window 1, opened other window no. 2; now submitting (an action from jsp)on window no. 2 , should show the results on the base(main) window ie. where i first logged

Re: Displaying results on home page when submitting an action from pop up window no. 2

2008-04-30 Thread James Mitchell
You posted to the wrong list. Please send this to the users list. On Wed, Apr 30, 2008 at 1:01 PM, sri2003 [EMAIL PROTECTED] wrote: Hi, Logged in to my web application using Internet Explorer. From the home page (JSP), opened one popup window (no. 1) ; then from window 1, opened other

JavaOne Meetup anywhere?

2008-04-30 Thread Rainer Hermanns
Hey, who is going to attend CommunityOne/JavaOne this year? Are there already plans for a meet up somewhere? I think it would be nice, if we could organize something downtown San Francisco... I'll be in SF together with René and Ian from Monday the 5th. Proposals welcome :) cheers, Rainer

Re: FilterDispatcher and static resources

2008-04-30 Thread Brian Pontarelli
Musachy Barroso wrote: I think FilterDispatcher should be changed to allow other implementations to lookup static resources and be more flexible in general. As it stands right now, static resources cannot be served from plugins unless you put them in org.apache.struts2.static in a jar loaded by

Re: FilterDispatcher and static resources

2008-04-30 Thread Musachy Barroso
I am refactoring that out of FilterDispatcher so it becomes another extension point. musachy On Wed, Apr 30, 2008 at 4:31 PM, Brian Pontarelli [EMAIL PROTECTED] wrote: Musachy Barroso wrote: I think FilterDispatcher should be changed to allow other implementations to lookup static

Re: JavaOne Meetup anywhere?

2008-04-30 Thread Matt Raible
I have a list of parties on my blog - maybe we could meetup at one of those? http://raibledesigns.com/rd/entry/javaone_where_are_the_good Matt On Wed, Apr 30, 2008 at 2:10 PM, Rainer Hermanns [EMAIL PROTECTED] wrote: Hey, who is going to attend CommunityOne/JavaOne this year? Are there

Re: Fundamental flaw in Model-Driven?

2008-04-30 Thread Adam Hardy
Adam Hardy on 26/04/08 10:42, wrote: Jeromy Evans on 26/04/08 04:51, wrote: Eric D Nielsen wrote: I've been investigating some interesting behavior regarding model-driven actions and found a past thread that covers the situation from late last year:

Re: FilterDispatcher and static resources

2008-04-30 Thread Jeromy Evans
Musachy Barroso wrote: I am refactoring that out of FilterDispatcher so it becomes another extension point. musachy +1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mvn assembly struts-2.1+

2008-04-30 Thread Jeromy Evans
Jay Bose wrote: Thanks Antonio, that solved it. Just wondering, how does one know that before attempting mvn assembly:assembly, they must run the release,all,alljars,j4 and pre-assembly profiles? Is it just a matter of digging through the pom until you find the right profiles? (It's

Re: Fundamental flaw in Model-Driven?

2008-04-30 Thread Chase
Adam Hardy wrote: the problem was spurious JPA updates - which can be avoided by putting an interceptor in between the Validation and the Workflow interceptors: all it should do is call EntityManager.clear(). if (validationAwareAction.hasErrors()) getEntityManager().clear(); Using the