try something like this:
function callRelatedAction(actionName) {
var testForm = document.getElementById('test');
testForm.action=actionName;
testForm.submit();
}
From: hisameer
To: user@struts.apache.org
Sent: Tue, April 13, 2010 1:21:38 PM
Subject
Since the path is different for each of the layouts, that could be the reason
why the resources are not included. You can verify by looking at the source
code that the BaseLayout.jsp is not being used. You could try this:
Hope this works out!
From: Sub
to an action property can be tricky... I
would try some of the following to see if you can figure out what's
going on ->
-Wes
On Mon, Mar 15, 2010 at 2:45 PM, Kusuma Haranath Atmakuri
wrote:
> By the way, I am using Struts 2.1.8.1. Actually it was a WebWork app and
> converting t
By the way, I am using Struts 2.1.8.1. Actually it was a WebWork app and
converting that into Struts2. Referring a parameter was so easy in ww with just
'$paramName'. It's weird that I am stuck at such a simple thing. Any light on
this would be of great help.
Thank you!
___
>From the actions config, a parameter is being passed:
main.jsp?paramName=paramValue
When tried to access the paramName, it's fine when used in 'property' tag.
will print 'paramValue'.
But when used in 'If' tag, it does NOT. Is there anything missing here? Tried
all the combinations of
5 matches
Mail list logo