Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[IMPORTANT] Error in tabbedpanel.ftl

André Faria

2007-01-16

Replies:

Note the attribute ID is writed as Style in line 11.

The File:

 1. <script type="text/javascript">
 2.  dojo.require("dojo.widget.TabContainer");
 3.  dojo.require("dojo.widget.LinkPane");
 4.  dojo.require("dojo.widget.ContentPane");
 5. </script>
 6. <div dojoType="TabContainer"
 7.  <#if parameters.cssStyle?if_exists != "">
 8.   style="${parameters.cssStyle?html}"<#rt/>
 9.  </#if>
10.  <#if parameters.id?if_exists != "">
11.   style="${parameters.id?html}"<#rt/>
12.  </#if>
13.  <#if parameters.cssClass?if_exists != "">
14.   class="${parameters.cssClass?html}"<#rt/>
15.  </#if>
16.  <#if parameters.selectedTab?if_exists != "">
17.   selectedTab="${parameters.selectedTab?html}"<#rt/>
18.  </#if>
19.  <#if parameters.labelPosition?if_exists != "">
20.   labelPosition="${parameters.labelPosition?html}"<#rt/>
21.  </#if>
22.  <#if parameters.closeButton?if_exists != "">
23.   closeButton="${parameters.closeButton?html}"<#rt/>
24.  </#if>
25.  <#if parameters.doLayout?exists>
26.   doLayout="${parameters.doLayout?string?html}"<#rt/>
27.  </#if>
28. >

Regards,
Andr? Faria

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.