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 To: user@struts.apache.org Sent: Tue, April 13, 2010 1:21:38 PM Subject

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: Hope this works out! From: Sub

Re: Parameter in If tag

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

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: 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