I have run out of options and I was hoping if someone can help me. I have an
include tag as follows:
<s:include value="./includes/tabs.jsp">
<s:param name="tabId" value="%{'tab1'}" />
</s:include>
In my tabs.jsp, I tried to do the following:
<td <s:if test="%{#request.param.tabId == 'tab1'}">class="on"
</s:if><s:else>class="off"</s:else> >
But of no avail. Using ${param.tabId}, I can see the value of tablId. I even
tried [crazy ideas like]:
<td <s:if test="%{${param.tabId} == 'tab1'}">class="on"
</s:if><s:else>class="off"</s:else> >
<td <s:if test="{${param.tabId} == 'tab1'}">class="on"
</s:if><s:else>class="off"</s:else> >
Refering to "Struts 2 in action" and "Struts 2 Design and programming" was of
no help.
I would appreciate if anybody helps me on that.
regards,
__________________________________________________________________
Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo!
Canada Messenger at http://ca.beta.messenger.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]