problem with tabbedpannel tag,
July 22, 2008 at 4:38 PM
Guyz,
this code is not going to work on struts 2. The reason being struts 2 is by default integrated with dojo and the default location for struts-dojo tags is WEB-INF/lib/struts-dojo
a better way to make it work is to migrate to struts 2.1.2 and with following code:
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<sx:head parseContent="true"/>
<sx:tabbedpanel id="test" >
<sx:div id="one" label="Tab 1" theme="ajax" labelposition="top" > This is the first panel. RoseIndia.nt<br> JavaJazzUp.com<br> NewsTrackIndia.com </sx:div>
<sx:div id="two" label="Tab 2" theme="ajax"> This is the second panel. </sx:div>
<sx:div id="three" label="Tab 3" theme="ajax"> This is the third panel.<br> Java Tutorial<br> PHP Tutorial<br> Linux Tutorial </sx:div>
<sx:div id="four" label="Tab 4" theme="ajax"> This is the forth panel. </sx:div>