redirectAction with parameters

2009-02-17 Thread Miguel
Hello, I'm trying to do a redirectAction with some extra parameters, but an exception is thrown. In the help (http://struts.apache.org/2.1.6/docs/redirect-action-result.html) aparently you can use any param you want, but I can't make it work. It appears related to WW-1714, but this is an error, no

Re: Struts2-Spring Integration Issue

2009-02-17 Thread Dale Newfield
Wes Wannemacher wrote: I jumped into the thread late and didn't see your original problems. I tend to peruse for things I can help on, so I'm not sure if I have an answer for your original problem :( I wasn't the original poster. I don't think I ever saw the original message, so let's hope t

Re: Struts2-Spring Integration Issue

2009-02-17 Thread Wes Wannemacher
On Tuesday 17 February 2009 19:19:08 Dale Newfield wrote: > > > The interceptor depends on the SpringObjectFactory, so it is necessary to > > have the Spring plugin installed. > > Is it appropriate for struts to be distributed with an interceptor that > doesn't work without the plugin? Doesn't tha

Re: Struts2-Spring Integration Issue

2009-02-17 Thread Dale Newfield
Wes Wannemacher wrote: http://struts.apache.org/2.1.6/struts2- core/apidocs/com/opensymphony/xwork2/spring/interceptor/ActionAutowiringInterceptor.html It's a bit confusing, but it really depends on how you want autowiring to happen. I've been happily using the spring plugin which wires up my

[S1] struts integration with AjaxAnywhere

2009-02-17 Thread Lalchandra Rampersaud
Hi, I am trying to use the zoneJSF tag with struts 1.3 and tiles, but it shows javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax./faces/webapp/UIComponentTag when I try to load the page. However, I am able to use the zone tag without problems. Here is a sample of how it is us

Re: Struts2-Spring Integration Issue

2009-02-17 Thread Wes Wannemacher
On Tuesday 17 February 2009 15:03:20 Dale Newfield wrote: > Wes Wannemacher wrote: > > There is a Spring autowiring interceptor that will autowire services into > > your actions for you, even if you don't use Spring to instantiate the > > actions. > > OK, now I'm confused. What's the interaction b

struts2 validation help please

2009-02-17 Thread PEGASUS84
sorry I want delete or change the error message from an action input please help me but in my function validate() there isn't addfielderror. i think that i can change the return in function validate: can i change input in error? i'm sorry for my english but i'm an italian user. -- View this messa

struts2 validation

2009-02-17 Thread PEGASUS84
good evening; Does someone knows how to hide the error message which cames from the action with name=input? i don't want to view this message Invalid field value... -- View this message in context: http://www.nabble.com/struts2-validation-tp22068251p22068251.html Sent from the Struts - User mail

Why does s:file break an ajax form?

2009-02-17 Thread Jon Wilmoth
I'm curious to know why the s:file tag breaks an 2.1.6 ajax form resulting in a javascript error "'message' is null or not an object" in IE6 (target div isn't updated).  The form, which contains some input tags and a s:file tag, works when the standard s:submit tag is used, but doesn't work with

Re: Struts2-Spring Integration Issue

2009-02-17 Thread Dale Newfield
Wes Wannemacher wrote: There is a Spring autowiring interceptor that will autowire services into your actions for you, even if you don't use Spring to instantiate the actions. OK, now I'm confused. What's the interaction between the "autowiring" interceptor and the spring plugin? If we're us

How to get request method from OGN using s:if

2009-02-17 Thread Ignacio de Córdoba
Hi there, I need to know the method of current request from the page using OGNL. I used to do: ¿Can I access the request object, not just request parameters, from OGNL to do this test? is not working thanks, Ignacio -- View this message in context: http://www.nabble.com/How-to-get-request-

Struts Tags

2009-02-17 Thread Rodrigo Lins
Hello, I don't know what i'm doing wrong. The return in NavigationAction.BRAS_STATUS_HELPER is a boolean. The method it i'll put in the attibute request return a boolean. Please Help me. Sorry for my poor english. Thank a lot, Rodrigo

Re: NoClassDefFoundError: javax.faces.event.ActionLdistener in sample app - solved

2009-02-17 Thread Enric Jaen
Solved. Don't know which lib was conflicting. I had to reinstall tomcat. HTH. /Enric - Mensaje original De: Enric Jaen Para: user@struts.apache.org Enviado: domingo, 15 de febrero, 2009 11:33:37 Asunto: NoClassDefFoundError: javax.faces.event.ActionLdistener in sample app Hello, I ge

Re: struts2 + tiles

2009-02-17 Thread Пламен Узунов
How will do it if you have a tiles list-attribute for title? Something like this: Papi. On Tue, Feb 17, 2009 at 4:19 PM, David Kerwick wrote: > I had a similar issue and solved it like this > > In the definition I had > > > > And in the

Using both custom converters and declarative validation with struts 2

2009-02-17 Thread Raul Arabaolaza Barquin
Hi, I´m currently evaluating Struts 2 and i have some problems when mixing custom converters and declarative validation. I´ve a Person class like this: public class Person { private String nombre; private Person padre; public String getNombre() {

RE: AJAX with DWR but without DOJO?

2009-02-17 Thread lllewell
Hi Nestor - this works really well. I still have work to do but you've got me heading in the right direction. Thanks so much for taking the time to post! I had one minor problem that took me a while to figure out, so I thought I'd let you know in case you ever upgrade to DWR 2 or later. Somewh

RE: struts2 + tiles

2009-02-17 Thread David Kerwick
I had a similar issue and solved it like this In the definition I had And in the template I put Dave -Original Message- From: Tom Pop [mailto:tom@email.cz] Sent: 17 February 2009 10:56 To: Struts Users Mailing List Subject: struts2 + tiles Hello, please, how to insert locali

Re: Hiding s:select control: SOLVED!

2009-02-17 Thread mitch gorman
Martin Gainty wrote: > glad to hear simple theme worked for you.. > i'm wondering if you can produce inconsistent results wihen theme='ajax' if > so you found a BUG > can you display a small snippet of your jsp? > > >> didn't see the original post, so i'm not sure if ajax was required >> (i

struts2 + tiles

2009-02-17 Thread Tom Pop
Hello, please, how to insert localized string XXX as attribute in tiles definition? You can't use because it's nested in tiles tag. You can't use getText(), I think because it's not struts tag. So, how read localized text and insert it to tiles attribute value? Please, provide the exam

Re: session management

2009-02-17 Thread Paweł Wielgus
Hi mthalis, maybe this will help: http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html but to be honest i don't know if i understand Your problem at all. Best greetings, Paweł Wielgus. 2009/2/17 mthalis : > > i have already implemented login, logout parts using strut

session management

2009-02-17 Thread mthalis
i have already implemented login, logout parts using struts(jsp). But the case is after logged out, when i press back button it is redirected to the particular page that i was in before logged out. these are my codings, and plz kind enough to give me reasonable answer. //set sessions//