FWIW, I've been debugging this test case and I have traced the issue down into
the Spring source code.
More to come. Stay tuned.
jb
/
On Jun 8, 2011, at 11:38 AM, Miguel wrote:
> To ease inspection of the problem, I created a unit test in the JIRA
> issue (https://issues.apache.org/jira/br
There's no reason the XSL should be dynamic. The XML is typically the
dynamic part with the XSL being static (so that it can be parsed and cached
for efficiency). Why not include a section in the XML with the replacement
text, then reference the strings using XPath?
(*Chris*)
On Thu, Jun 16, 2
2011/6/17 UV :
> When I try to test an action with a method="actionMethod" attribute
> configured in a StrutsTestCase
> the AnnotationValidationInterceptor fails in getActionMethod#75 cause it
> cannot find the method
Try to name your method actionMethod instead of getActionMethod and of
return t
Hi,
the setup is unit testing with maven + spring + struts using
StrutsSpringTestCase super class
(which is an extended org.apache.struts2.StrutsTestCase with access to
spring config).
So this is working well with actions not having the methodname configured.
Whenever I do configure such a m
Yes, if you want this, you need to create the XSLT on the fly,
You can use freemarker to achieve this. substituying the placeholders
with the appropiate text.
You can use even apache commons StringUtils if you only want to
susbtitute placeholders with fixed text.
Cheers,
Si quieres ser más positi
could you expand that? do you mean to create the XSLT on the fly?
2011/6/16 Maurizio Cucchiara
> The first solution I thought is: a template engine.
> Currently your xslt file is static, you should consider to make dynamic in
> order to include dynamic content.
>
> Maurizio Cucchiara
>
> Il gior
The first solution I thought is: a template engine.
Currently your xslt file is static, you should consider to make dynamic in
order to include dynamic content.
Maurizio Cucchiara
Il giorno 16/giu/2011 19.37, "JOSE L MARTINEZ-AVIAL" ha
scritto:
> Hi,
> I'm using Struts 2.1.8.1. I have an action
Hi,
could you send the stacktrace exception/error?
What are you using to execute your test (f.i. maven, eclipse, etc)?
Maurizio Cucchiara
Il giorno 17/giu/2011 02.09, "UV" ha scritto:
> Hi,
>
> When I try to test an action with a method="actionMethod" attribute
> configured in a StrutsTestCase
>
2.2.1 is not exactly the latest version. Take a look at
http://struts.apache.org, upgrade your S2 version and see what happens (I'm
not sure it will work, but it surely worths a try)
Maurizio Cucchiara
Il giorno 16/giu/2011 17.18, "Andy Birchall" ha
scritto:
> Hello, I am using the latest Struts
Hi,
When I try to test an action with a method="actionMethod" attribute
configured in a StrutsTestCase
the AnnotationValidationInterceptor fails in getActionMethod#75 cause it
cannot find the method
using the configured name on the proxy used in the testing framework.
My only workaround so f
Hi,
I'm using Struts 2.1.8.1. I have an action that retrieves some XML data
from a webservice, and transform it to HTML using XSLT. The transformation
is done in the action, and the output is returned as a stream and sent to
the client. It works fine, but now I need to write some labels that depe
Hello, I am using the latest Struts2 release - 2.2.1 and have it
declared as a dependecy in Maven:
org.apache.struts
struts2-core
2.2.1
and I am running on Glassfish 3.1
I have a simple JSP page which includes the tag in the body
With the debug tag I get the following exception:
Cause
12 matches
Mail list logo