Re: Spring Scope Default

2009-01-25 Thread Lukasz Lenart
2009/1/26 dusty : > When using the struts2-spring-plugin, without bean declaration for your > actions, what is the default scope for the created Action beans? Prototype, > I hope, but I can't really find where that is set or happens. I know the > default for Spring beans when not otherwise specif

Spring Scope Default

2009-01-25 Thread dusty
When using the struts2-spring-plugin, without bean declaration for your actions, what is the default scope for the created Action beans? Prototype, I hope, but I can't really find where that is set or happens. I know the default for Spring beans when not otherwise specified is Singleton, so I am

Re: Converting HTML content to PDF

2009-01-25 Thread Dave Newton
Martin Gainty wrote: FOP (Formatting Object Processor) is what you're looking for.. http://xmlgraphics.apache.org/fop/ It kinda looks like the OP is using iText: SAXiTextHandler saxHandler = new SAXiTextHandler(doc); Dave -

RE: Converting HTML content to PDF

2009-01-25 Thread Martin Gainty
FOP (Formatting Object Processor) is what you're looking for.. http://xmlgraphics.apache.org/fop/ feel free to email me offline as this is off-topic to Struts HTH/ Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attach

Re: [S2] s:action in value stack?

2009-01-25 Thread Musachy Barroso
I think top doesn't need "#"(yeah I know I said "#top" ;) ). Either "top.id" or just "id" should get you the id. musachy On Sun, Jan 25, 2009 at 4:02 PM, Wolfgang Knauf wrote: > Hi Musachy, > > Musachy Barroso wrote: >> >> Inside the action tag, the action will be on top of the stack, so you >>

Re: [S2] s:action in value stack?

2009-01-25 Thread Wolfgang Knauf
Hi Musachy, Musachy Barroso wrote: Inside the action tag, the action will be on top of the stack, so you can reference it using #top. The action is added to the context under the "id" (2.0), or "var" (2.1) name, on the end of the tag, so you cannot reference it by name inside the action tag. Wow

RE: NullPointerException when migrating to 2.1.6

2009-01-25 Thread Say Jon
Hi everyone, I have recently upgraded to 2.1.6 from 2.0.11. Startup is OK but when I tried accessing my action class, I get the following error: 2009-01-25 18:45:25,158 ERROR FilterDispatcher:391 - error getting ActionMapping java.lang.NullPointerException at org.apache.struts2.dispatcher.FilterDi

Re: Converting HTML content to PDF

2009-01-25 Thread Dave Newton
I'm not sure this is related to Struts. Dave mvadlamudi wrote: i tryed the same in spring framework. see the below code ,but i got the following error. code: HttpSession session = request.getSession(); URL reconstructedURL = new URL(request.getScheme(),

[ANNOUNCEMENT] Applications for ApacheCon EU 2009 - Now Open

2009-01-25 Thread Martin Cooper
Forwarded at the request of the TAC: The Travel Assistance Committee is now accepting applications for those wanting to attend ApacheCon EU 2009 between the 23rd and 27th March 2009 in Amsterdam. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon E

Re: Upgrading Struts 2

2009-01-25 Thread Wes Wannemacher
On Sunday 25 January 2009 12:39:27 Sergio Italiani wrote: > OK you got a point there... but again if it was XWork bug wouldn't it > affect showcase as well. As I mentioned before If I modify the > showcase validation pages - they work pretty well with type conversion > and no exception is thrown. T

Re: Upgrading Struts 2

2009-01-25 Thread Sergio Italiani
OK you got a point there... but again if it was XWork bug wouldn't it affect showcase as well. As I mentioned before If I modify the showcase validation pages - they work pretty well with type conversion and no exception is thrown. The problem is that the ShowCase is huge and I cannon base my new p

Re: Upgrading Struts 2

2009-01-25 Thread Wes Wannemacher
On Sunday 25 January 2009 11:44:46 Sergio Italiani wrote: > Thanks for the reply, > but the issue You are referring to should have been fixed in 2.1.3. I > am using 2.1.6 > Also my textbox expects Double (not Date) ... and when I put in wrong > value ..say '' the exception is thrown > Must

Re: Upgrading Struts 2

2009-01-25 Thread Sergio Italiani
Thanks for the reply, but the issue You are referring to should have been fixed in 2.1.3. I am using 2.1.6 Also my textbox expects Double (not Date) ... and when I put in wrong value ..say '' the exception is thrown Must be something else... Any other suggestions ? I am surprised nobody els

Re: Upgrading Struts 2

2009-01-25 Thread Musachy Barroso
Your problem could be related to this: http://jira.opensymphony.com/browse/XW-670 musachy On Sun, Jan 25, 2009 at 5:37 AM, Sergio Italiani wrote: > Hi Andy! > Sorry for bothering you. > I tried to migrate (following Apache wiki article) from my sample app > that was based on 2.0.11 (struts bla

Re: s:radio on multiple lines

2009-01-25 Thread Lukasz Lenart
2009/1/25 Daniel Ruan : > > > Maybe simpler will be to modify original template files? Or use CSS to arrange tags in column? Regards -- Lukasz http://www.lenart.org.pl/ PS. I wasn't aware that radio tag is using list to render it self ;-( --

Re: Upgrading Struts 2

2009-01-25 Thread Sergio Italiani
Hi Andy! Sorry for bothering you. I tried to migrate (following Apache wiki article) from my sample app that was based on 2.0.11 (struts blank) to 2.1.6 and as a result some type conversions handled by the frame work stopped working and now i got IllegalArgumentException: Cannot format given Obje

Re: Converting HTML content to PDF

2009-01-25 Thread mvadlamudi
i tryed the same in spring framework. see the below code ,but i got the following error. code: HttpSession session = request.getSession(); URL reconstructedURL = new URL(request.getScheme(), request.getServerName(),