RE: [S2] Convention plugin + Spring

2009-01-02 Thread Martin Gainty
wes is correct the only caveat is cglib intercepts publicly declared methods (not private or protected declared methods) http://static.springframework.org/spring/docs/2.5.x/reference/beans.html Martin __ Disclaimer and confidentiality note Everythin

Re: [S2] Convention plugin + Spring

2009-01-02 Thread Wes Wannemacher
On Sat, 2009-01-03 at 00:15 +0100, Lukasz Lenart wrote: > 2009/1/2 Musachy Barroso : > > That code is a "fallback" to create an instance using a default > > constructor, when a UnsatisfiedDependencyException is thrown from > > spring. Take a look at SpringObjectFactory line 162. Something is > > wr

Re: [S2] Convention plugin + Spring

2009-01-02 Thread Lukasz Lenart
2009/1/2 Musachy Barroso : > That code is a "fallback" to create an instance using a default > constructor, when a UnsatisfiedDependencyException is thrown from > spring. Take a look at SpringObjectFactory line 162. Something is > wrong in your spring mapping (the "employeeManager" bean maybe?) I

Re: [S2] Convention plugin + Spring

2009-01-02 Thread Musachy Barroso
That code is a "fallback" to create an instance using a default constructor, when a UnsatisfiedDependencyException is thrown from spring. Take a look at SpringObjectFactory line 162. Something is wrong in your spring mapping (the "employeeManager" bean maybe?) musachy On Fri, Jan 2, 2009 at 5:28

Re: [S2] Convention plugin + Spring

2009-01-02 Thread Lukasz Lenart
Spring config: with JUnit test there was no problem Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts

Re: [S2] Convention plugin + Spring

2009-01-02 Thread Lukasz Lenart
The action has non-default constructor, stack trace below Struts Problem Report Struts has detected an unhandled exception: Messages: 1. pl.org.lenart.ems.web.actions.EmployeeAction 2. Unable to intantiate Action! File: java/lang/Class.java Line number:340 Stacktraces Unable

Re: [S2] Convention plugin + Spring

2009-01-02 Thread Musachy Barroso
stacktrace and other config information ;) musachy On Fri, Jan 2, 2009 at 5:20 PM, Musachy Barroso wrote: > can you post the full stacktrace? The action is instantiated on the > request, which is way after Convention has done its job. > > musachy > > On Fri, Jan 2, 2009 at 5:14 PM, Lukasz Lenart

Re: [S2] Convention plugin + Spring

2009-01-02 Thread Musachy Barroso
can you post the full stacktrace? The action is instantiated on the request, which is way after Convention has done its job. musachy On Fri, Jan 2, 2009 at 5:14 PM, Lukasz Lenart wrote: > Hi, > > How to use Convention plugin (2.1.5) with Spring defined actions? I'm > getting exception: Unable to

[S2] Convention plugin + Spring

2009-01-02 Thread Lukasz Lenart
Hi, How to use Convention plugin (2.1.5) with Spring defined actions? I'm getting exception: Unable to intantiate Action! Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: Runtime error while using openEJB3.1

2009-01-02 Thread David Blevins
Hi Vikram, This is an issue in OpenEJB 3.1. An i18n log message was added containing illegal syntax. One workaround is to set the "Transaction" log category to WARN or ERROR, which will avoid the message in question. -David On Jan 1, 2009, at 8:12 PM, > wrote: Hi, I am developing an

Re: Form select option label from resource bundle

2009-01-02 Thread Tom Pop
> If I don't remember wrong, you cannot nest %{} in the same expression. Try: > > %{getText('status.' +name())} Thanks a lot, it works. Tom - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-

Re: Form select option label from resource bundle

2009-01-02 Thread Musachy Barroso
If I don't remember wrong, you cannot nest %{} in the same expression. Try: %{getText('status.' +name())} musachy On Fri, Jan 2, 2009 at 11:13 AM, Tom Pop wrote: > Hello, > > I have these keys in resources: > > status.active=Active > status.done=Done > > I have enum instances for each status in

Form select option label from resource bundle

2009-01-02 Thread Tom Pop
Hello, I have these keys in resources: status.active=Active status.done=Done I have enum instances for each status in list and want to display it in select control: This works except of the listValue parameter. This works: listValue="%{getText('status.active')}" listValue="name()" but how

Re : component vs s:include

2009-01-02 Thread François Rouxel
Thanks for the answer. I think I catch the idea fr/ - Message d'origine De : Fernandes Celinio SGCF À : Struts Users Mailing List Envoyé le : Vendredi, 2 Janvier 2009, 9h05mn 04s Objet : RE:

RE: component vs s:include

2009-01-02 Thread Fernandes Celinio SGCF
Hi, To answer your question I am quoting the book "Practical Apache Struts 2 Web 2.0 Projects" by Ian Roughley : Using the component tag is similar to using an include tag of either the Struts 2 or JSP variety. The difference is conceptual, in that the component tag is meant to be a user interfa

Re: Size attribute not valid for datetimepicker?

2009-01-02 Thread Nils-Helge Garli Hegvik
Haven't used the datetimepicker myself, but have you tried using the cssClass or cssStyle attributes and set the width with css? Nils-H On Fri, Jan 2, 2009 at 5:55 AM, Neil Aggarwal wrote: > Hello: > > I am using a datetimepicker to show a date and time: > displayFormat="M/d/ HH:mm:ss" adju