Re: S:radio onchange call an action

2010-04-13 Thread Kusuma Haranath Atmakuri
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

Re: Nested tiles question

2010-04-04 Thread Kusuma Haranath Atmakuri
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

Re: Parameter in If tag

2010-03-18 Thread Kusuma Haranath Atmakuri
=%{#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

Re: Parameter in If tag

2010-03-15 Thread Kusuma Haranath Atmakuri
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!

Parameter in If tag

2010-03-14 Thread Kusuma Haranath Atmakuri
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