try something like this:
function callRelatedAction(actionName) {
var testForm = document.getElementById('test');
testForm.action=actionName;
testForm.submit();
}
From: hisameer cool_sameer_fo...@yahoo.com
To: user@struts.apache.org
Sent: Tue, April
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:
definition name=base.layout
path=/Madisons/StoreInfoArea/BaseLayout.jsp
=%{#parameters['paramName'][0] =='paramValue'}
-Wes
On Mon, Mar 15, 2010 at 2:45 PM, Kusuma Haranath Atmakuri
haranat...@yahoo.com wrote:
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
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:
action ...
resultmain.jsp?paramName=paramValue/result
When tried to access the paramName, it's fine when used in 'property' tag.
s:property value=%{#parameters.paramName} / will print 'paramValue'.
But when used in 'If' tag, it does
5 matches
Mail list logo