I have a JSP which uses liferay tabs to display data from three action forms.
My problem is how to display the correct data in the correct tab. For this, I have a "currentTab" property in each of the action classes, which has the name of the tab to be displayed as current. ( I am using struts2)
In the JSP, this gives me the correct value from action class.
But I want to assign this value to a JSP variable so that I can tell liferay which tab to display, something like:
I know I can use OGNL/EL for assigning value from <s:property> to a JSP variable, but since I have three action classes using the same JSP, I am not sure how to use it.
Any help is appreciated greatly. Thanks.
subject: Need value from <s:property> to JSP variable