Re: Calling an "init" method on an interceptor

2009-09-16 Thread Dale Newfield
Mike Baranski wrote: I'm using Spring IOC, and need struts to call an init() method on an interceptor *after* spring does its injection. If you can detect in code when all the injections are done (all associated private members are non-null), then you could add a conditional call to your init

Re: use param from own tag in struts tag

2009-09-16 Thread tibi
dale, perfect! tomorrow at work i will try this new insight and share the knowledge which was lacking here: http://www.nabble.com/my-tag-td25472559s2369.html tibi -- View this message in context: http://www.nabble.com/use-param-from-own-tag-in-struts-tag-tp25477711p25479344.html Sent from the

Calling an "init" method on an interceptor

2009-09-16 Thread Mike Baranski
I'm using Spring IOC, and need struts to call an init() method on an interceptor *after* spring does its injection. Can someone help, I'm stumped... - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional c

Re: use param from own tag in struts tag

2009-09-16 Thread Dale Newfield
tibi wrote: sounds great. can you provide me with an example. The easiest thing is to pass it through some common scope. You'll have to decide which scope to use. If the tag is not recursive, you can just use the request scope. If ${jstlFoo} prints "FOO" then should also print "FOO"

Re: use param from own tag in struts tag

2009-09-16 Thread tibi
tibi wrote: > <%@ include file="/common/taglibsForTags.jsp"%> > <%@ attribute name="saveMethod" %> > ${saveMethod} This shows that the value is available to jstl. You can use various other tags (c:set for example) to set that value in a location addressable by ognl. -Dale dale, sounds grea

Re: use param from own tag in struts tag

2009-09-16 Thread Dale Newfield
tibi wrote: <%@ include file="/common/taglibsForTags.jsp"%> <%@ attribute name="saveMethod" %> ${saveMethod} This shows that the value is available to jstl. You can use various other tags (c:set for example) to set that value in a location addressable by ognl. -Dale -

use param from own tag in struts tag

2009-09-16 Thread tibi
i hope this question is not asked and answerd i find it quite difficult to google on it because i'm not sure how to name things :( ok here my problem. i have my own tag like this: my tag looks like this: <%@ include file="/common/taglibsForTags.jsp"%> <%@ attribute name="saveMethod" %> ${save

Re: form validation gets indefinite loops in web browsers

2009-09-16 Thread Dale Newfield
Jipu Jiang wrote: prepare Why are you redirecting? -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

form validation gets indefinite loops in web browsers

2009-09-16 Thread Jipu Jiang
Hello everyone, Could anyone help me on an issue here? Here is the problem. I have a form in JSP to submit. But the parameters in this form is not static, they are from a database. So I have an action to be called first before enter the JSP page. It goes like this in the struts.xml: f

s:textarea - no labels?

2009-09-16 Thread RogerV
I've defined a textarea within my jsp as and the generated html is; The label and labelposition attributes appear to be ignored. Is this a known problem or am I doing something stupid? Regards -- View this message in context: http://www.nabble.com/s%3A

RE: excpetion chaining to custom exception handler issue

2009-09-16 Thread Denny Erinjery
Hi Wes, Appreciate your reply, thanks for checking the issue. I'm sure that my exception handling action class is not throwing an exception by itself. I have a general try-catch on that and it never falls to there. Actually the issue of chaining happens a little after that.. Let me explain I ha

[S2] Parametrized range validator for min and max values.

2009-09-16 Thread Ahmed ALAMI
Hi everybody, Is there a way to configure a struts2 validator like this : (The min and max have a parametrized value from the value stack) 01/01/${date} 31/12/${date} Set date between ${min} et ${max} Thanks in advance. -

[S2] Validation and web service

2009-09-16 Thread mailtolouis2020-struts
Hi, I'm using Struts 2 + Spring + Apache CXF, I've all my validation rule in struts 2 xml files, is it possible to use these validation in the web services? and how? Thanks LV