Thanks! This works like a charm.
Musachy Barroso wrote:
>
> add this to your interceptor
>
> @Inject(StrutsConstants.STRUTS_ACTION_EXTENSION)
> public void setExtension(Strtin ext) {}
>
> musachy
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
>
I have a need to obtain the value of struts.action.extension in an
interceptor. Browsing around the source code with a debugger isn't getting
me anywhere. Can anyone suggest a way to access the struts.xml constant
definitions in the context of an interceptor?
--
View this message in context:
htt
I have an interceptor that is saving the state of certain action calls for
the purpose of rendering breadcrumbs in the UI. The interceptor is
successfully saving a map of parameters from the invocation context and
storing them in the user's session. What I can't figure out is how to render
a URL t
I have a ModelDrivenInterceptor set up as follows in struts.xml:
true
My save method in my action is as follows:
/**
* Create or update the entity.
*
* @return Show
*/
public String save() {
We have an issue where we are trying to set up validation.xml files for
action invocations that contain slashes. From running a debugger on the
XWork code it would appear that if action com.mycompany.action.MyAction is
being executed via the url /context-root/package/MyAction/operation.action
that
I am trying to write an image button of the form:
where context-root is the configured context root of my web application. Can
anyone suggest a good way to dynamically populate the context root?
I am assuming that the src string is being interpreted via OGNL but I can't
figure out an appropria
6 matches
Mail list logo