You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by jl...@apache.org on 2006/04/07 00:42:00 UTC

svn commit: r392102 - in /myfaces/tomahawk/trunk/sandbox: core/src/main/java/org/apache/myfaces/custom/fisheye/ core/src/main/resources-facesconfig/META-INF/ core/src/main/tld/ core/src/main/tld/entities/ examples/src/main/webapp/dojo/

Author: jlust
Date: Thu Apr  6 15:41:58 2006
New Revision: 392102

URL: http://svn.apache.org/viewcvs?rev=392102&view=rev
Log:
Finished the FishEyeList component. Now I can start working on the list items.

Added:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeListRenderer.java
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeListTag.java
    myfaces/tomahawk/trunk/sandbox/core/src/main/tld/entities/html_fisheyelist_attributes.xml
Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeList.java
    myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml
    myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld
    myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/dojo/fisheyetest.jsp

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeList.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeList.java?rev=392102&r1=392101&r2=392102&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeList.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeList.java Thu Apr  6 15:41:58 2006
@@ -18,16 +18,17 @@
 import javax.faces.context.FacesContext;
 import javax.faces.el.ValueBinding;
 
-import org.apache.myfaces.component.html.ext.HtmlPanelGroup;
+import org.apache.myfaces.custom.div.Div;
 
 /**
  * A Mac OSX-style toolbar, using the DOJO toolkit.
  * 
  * @see <a href="http://dojotoolkit.org/">http://dojotoolkit.org/</a>
  * 
- * @author jlust
+ * @author Jurgen Lust (latest modification by $Author$)
+ * @version $Revision$ $Date$
  */
-public class HtmlFishEyeList extends HtmlPanelGroup
+public class HtmlFishEyeList extends Div
 {
     public static final String COMPONENT_TYPE = "org.apache.myfaces.FishEyeList";
     private static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.FishEyeList";
@@ -146,6 +147,11 @@
         return vb != null ? (String) vb.getValue(getFacesContext()) : null;
     }
 
+    public boolean getRendersChildren()
+    {
+        return false;
+    }
+
     /**
      * @see javax.faces.component.StateHolder#restoreState(javax.faces.context.FacesContext, java.lang.Object)
      */
@@ -227,5 +233,4 @@
     {
         this._orientation = orientation;
     }
-
 }

Added: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeListRenderer.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeListRenderer.java?rev=392102&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeListRenderer.java (added)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeListRenderer.java Thu Apr  6 15:41:58 2006
@@ -0,0 +1,108 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.custom.fisheye;
+
+import java.io.IOException;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+import javax.faces.render.Renderer;
+
+import org.apache.myfaces.custom.dojo.DojoUtils;
+import org.apache.myfaces.shared_tomahawk.renderkit.JSFAttr;
+import org.apache.myfaces.shared_tomahawk.renderkit.html.HTML;
+
+/**
+ * Renderer for the FishEyeList component
+ * 
+ * @author Jurgen Lust (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
+public class HtmlFishEyeListRenderer extends Renderer
+{
+    public static final String ATTACH_EDGE_ATTR = "dojo:attachEdge";
+
+    public static final String DOJO_STYLE_CLASS = "dojo-FisheyeList";
+    public static final String EFFECT_UNITS_ATTR = "dojo:effectUnits";
+    public static final String ITEM_HEIGHT_ATTR = "dojo:itemHeight";
+    public static final String ITEM_MAX_HEIGHT_ATTR = "dojo:itemMaxHeight";
+    public static final String ITEM_MAX_WIDTH_ATTR = "dojo:itemMaxWidth";
+    public static final String ITEM_PADDING_ATTR = "dojo:itemPadding";
+    public static final String ITEM_WIDTH_ATTR = "dojo:itemWidth";
+    public static final String LABEL_EDGE_ATTR = "dojo:labelEdge";
+    public static final String ORIENTATION_ATTR = "dojo:orientation";
+    public static final String RENDERER_TYPE = "org.apache.myfaces.FishEyeList";
+
+    public void encodeBegin(FacesContext context, UIComponent component)
+            throws IOException
+    {
+        System.out.println("rendering fisheye");
+        if (component.isRendered())
+        {
+            HtmlFishEyeList fisheye = (HtmlFishEyeList) component;
+            ResponseWriter writer = context.getResponseWriter();
+            //initialize DOJO
+            String javascriptLocation = (String) component.getAttributes().get(
+                    JSFAttr.JAVASCRIPT_LOCATION);
+            DojoUtils.addMainInclude(context, component, javascriptLocation,
+                    DojoUtils.getDjConfigInstance(context));
+            DojoUtils.addRequire(context, component, "dojo.widget.FisheyeList");
+
+            writer.startElement(HTML.DIV_ELEM, fisheye);
+            writer.writeAttribute(HTML.CLASS_ATTR, DOJO_STYLE_CLASS, null);
+            writeAttribute(writer, fisheye, ITEM_WIDTH_ATTR, fisheye
+                    .getItemWidth());
+            writeAttribute(writer, fisheye, ITEM_HEIGHT_ATTR, fisheye
+                    .getItemHeight());
+            writeAttribute(writer, fisheye, ITEM_MAX_WIDTH_ATTR, fisheye
+                    .getItemMaxWidth());
+            writeAttribute(writer, fisheye, ITEM_MAX_HEIGHT_ATTR, fisheye
+                    .getItemMaxHeight());
+            writeAttribute(writer, fisheye, ORIENTATION_ATTR, fisheye
+                    .getOrientation());
+            writeAttribute(writer, fisheye, EFFECT_UNITS_ATTR, fisheye
+                    .getEffectUnits());
+            writeAttribute(writer, fisheye, ITEM_PADDING_ATTR, fisheye
+                    .getItemPadding());
+            writeAttribute(writer, fisheye, ATTACH_EDGE_ATTR, fisheye
+                    .getAttachEdge());
+            writeAttribute(writer, fisheye, LABEL_EDGE_ATTR, fisheye
+                    .getLabelEdge());
+        }
+    }
+
+    public void encodeEnd(FacesContext context, UIComponent component)
+            throws IOException
+    {
+        if (component.isRendered())
+        {
+            ResponseWriter writer = context.getResponseWriter();
+            writer.endElement(HTML.DIV_ELEM);
+        }
+    }
+
+    protected void writeAttribute(ResponseWriter writer,
+            HtmlFishEyeList fisheye, String name, Object value)
+            throws IOException
+    {
+        if (name != null && value != null)
+        {
+            writer.writeAttribute(name, value, null);
+        }
+    }
+
+}

Added: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeListTag.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeListTag.java?rev=392102&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeListTag.java (added)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/HtmlFishEyeListTag.java Thu Apr  6 15:41:58 2006
@@ -0,0 +1,272 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.custom.fisheye;
+
+import javax.faces.application.Application;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+
+import org.apache.myfaces.custom.div.DivTag;
+
+/**
+ * JSP Tag for the FishEyeList component
+ * 
+ * @author Jurgen Lust (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
+public class HtmlFishEyeListTag extends DivTag
+{
+    private String _attachEdge;
+    private String _effectUnits;
+    private String _itemHeight;
+    private String _itemMaxHeight;
+    private String _itemMaxWidth;
+    private String _itemPadding;
+    private String _itemWidth;
+    private String _labelEdge;
+    private String _orientation;
+
+    public String getAttachEdge()
+    {
+        return _attachEdge;
+    }
+
+    public String getComponentType()
+    {
+        return HtmlFishEyeList.COMPONENT_TYPE;
+    }
+
+    public String getEffectUnits()
+    {
+        return _effectUnits;
+    }
+
+    public String getItemHeight()
+    {
+        return _itemHeight;
+    }
+
+    public String getItemMaxHeight()
+    {
+        return _itemMaxHeight;
+    }
+
+    public String getItemMaxWidth()
+    {
+        return _itemMaxWidth;
+    }
+
+    public String getItemPadding()
+    {
+        return _itemPadding;
+    }
+
+    public String getItemWidth()
+    {
+        return _itemWidth;
+    }
+
+    public String getLabelEdge()
+    {
+        return _labelEdge;
+    }
+
+    public String getOrientation()
+    {
+        return _orientation;
+    }
+
+    public String getRendererType()
+    {
+        return HtmlFishEyeListRenderer.RENDERER_TYPE;
+    }
+
+    public void release()
+    {
+        super.release();
+        _attachEdge = null;
+        _effectUnits = null;
+        _itemHeight = null;
+        _itemMaxHeight = null;
+        _itemMaxWidth = null;
+        _itemPadding = null;
+        _itemWidth = null;
+        _labelEdge = null;
+        _orientation = null;
+    }
+
+    public void setAttachEdge(String attachEdge)
+    {
+        this._attachEdge = attachEdge;
+    }
+
+    public void setEffectUnits(String effectUnits)
+    {
+        this._effectUnits = effectUnits;
+    }
+
+    public void setItemHeight(String itemHeight)
+    {
+        this._itemHeight = itemHeight;
+    }
+
+    public void setItemMaxHeight(String itemMaxHeight)
+    {
+        this._itemMaxHeight = itemMaxHeight;
+    }
+
+    public void setItemMaxWidth(String itemMaxWidth)
+    {
+        this._itemMaxWidth = itemMaxWidth;
+    }
+
+    public void setItemPadding(String itemPadding)
+    {
+        this._itemPadding = itemPadding;
+    }
+
+    public void setItemWidth(String itemWidth)
+    {
+        this._itemWidth = itemWidth;
+    }
+
+    public void setLabelEdge(String labelEdge)
+    {
+        this._labelEdge = labelEdge;
+    }
+
+    public void setOrientation(String orientation)
+    {
+        this._orientation = orientation;
+    }
+
+    protected void setProperties(UIComponent component)
+    {
+        super.setProperties(component);
+        HtmlFishEyeList fisheye = (HtmlFishEyeList) component;
+        FacesContext context = FacesContext.getCurrentInstance();
+        Application app = context.getApplication();
+        if (_attachEdge != null)
+        {
+            if (isValueReference(_attachEdge))
+            {
+                fisheye.setValueBinding("attachEdge", app
+                        .createValueBinding(_attachEdge));
+            }
+            else
+            {
+                fisheye.setAttachEdge(_attachEdge);
+            }
+        }
+        if (_effectUnits != null)
+        {
+            if (isValueReference(_effectUnits))
+            {
+                fisheye.setValueBinding("effectUnits", app
+                        .createValueBinding(_effectUnits));
+            }
+            else
+            {
+                fisheye.setEffectUnits(new Integer(_effectUnits));
+            }
+        }
+        if (_itemHeight != null)
+        {
+            if (isValueReference(_itemHeight))
+            {
+                fisheye.setValueBinding("itemHeight", app
+                        .createValueBinding(_itemHeight));
+            }
+            else
+            {
+                fisheye.setItemHeight(new Integer(_itemHeight));
+            }
+        }
+        if (_itemMaxHeight != null)
+        {
+            if (isValueReference(_itemMaxHeight))
+            {
+                fisheye.setValueBinding("itemMaxHeight", app
+                        .createValueBinding(_itemMaxHeight));
+            }
+            else
+            {
+                fisheye.setItemMaxHeight(new Integer(_itemMaxHeight));
+            }
+        }
+        if (_itemMaxWidth != null)
+        {
+            if (isValueReference(_itemMaxWidth))
+            {
+                fisheye.setValueBinding("itemMaxWidth", app
+                        .createValueBinding(_itemMaxWidth));
+            }
+            else
+            {
+                fisheye.setItemMaxWidth(new Integer(_itemMaxWidth));
+            }
+        }
+        if (_itemPadding != null)
+        {
+            if (isValueReference(_itemPadding))
+            {
+                fisheye.setValueBinding("itemPadding", app
+                        .createValueBinding(_itemPadding));
+            }
+            else
+            {
+                fisheye.setItemPadding(new Integer(_itemPadding));
+            }
+        }
+        if (_itemWidth != null)
+        {
+            if (isValueReference(_itemWidth))
+            {
+                fisheye.setValueBinding("itemWidth", app
+                        .createValueBinding(_itemWidth));
+            }
+            else
+            {
+                fisheye.setItemWidth(new Integer(_itemWidth));
+            }
+        }
+        if (_labelEdge != null)
+        {
+            if (isValueReference(_labelEdge))
+            {
+                fisheye.setValueBinding("labelEdge", app
+                        .createValueBinding(_labelEdge));
+            }
+            else
+            {
+                fisheye.setLabelEdge(_labelEdge);
+            }
+        }
+        if (_orientation != null)
+        {
+            if (isValueReference(_orientation))
+            {
+                fisheye.setValueBinding("orientation", app
+                        .createValueBinding(_orientation));
+            }
+            else
+            {
+                fisheye.setOrientation(_orientation);
+            }
+        }
+    }
+
+}

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml?rev=392102&r1=392101&r2=392102&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml Thu Apr  6 15:41:58 2006
@@ -148,6 +148,11 @@
     <component-type>org.apache.myfaces.IfMessage</component-type>
     <component-class>org.apache.myfaces.custom.ifmessage.IfMessage</component-class>
   </component>
+  
+  <component>
+  	<component-type>org.apache.myfaces.FishEyeList</component-type>
+  	<component-class>org.apache.myfaces.custom.fisheye.HtmlFishEyeList</component-class>
+  </component>
 
   
   <!-- sandbox converters -->
@@ -335,6 +340,12 @@
         <renderer-type>org.apache.myfaces.IfMessageRenderer</renderer-type>
         <renderer-class>org.apache.myfaces.custom.ifmessage.IfMessageRenderer</renderer-class>
     </renderer>
+
+    <renderer>
+		<component-family>javax.faces.Output</component-family>
+		<renderer-type>org.apache.myfaces.FishEyeList</renderer-type>
+		<renderer-class>org.apache.myfaces.custom.fisheye.HtmlFishEyeListRenderer</renderer-class>
+	</renderer>
 
    <!-- <renderer>
         <component-family>javax.faces.Messages</component-family>

Added: myfaces/tomahawk/trunk/sandbox/core/src/main/tld/entities/html_fisheyelist_attributes.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/tld/entities/html_fisheyelist_attributes.xml?rev=392102&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/tld/entities/html_fisheyelist_attributes.xml (added)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/tld/entities/html_fisheyelist_attributes.xml Thu Apr  6 15:41:58 2006
@@ -0,0 +1,54 @@
+		<attribute>
+			<name>attachEdge</name>
+			<required>false</required>
+			<rtexprvalue>false</rtexprvalue>
+	        <type>java.lang.String</type>
+		</attribute>
+		<attribute>
+			<name>itemHeight</name>
+			<required>false</required>
+			<rtexprvalue>false</rtexprvalue>
+	        <type>java.lang.Integer</type>
+		</attribute>
+		<attribute>
+			<name>effectUnits</name>
+			<required>false</required>
+			<rtexprvalue>true</rtexprvalue>
+	        <type>java.lang.Integer</type>
+		</attribute>
+		<attribute>
+			<name>itemMaxHeight</name>
+			<required>false</required>
+			<rtexprvalue>false</rtexprvalue>
+	        <type>java.lang.Integer</type>
+		</attribute>
+		<attribute>
+			<name>itemMaxWidth</name>
+			<required>false</required>
+			<rtexprvalue>false</rtexprvalue>
+	        <type>java.lang.Integer</type>
+		</attribute>
+		<attribute>
+			<name>itemPadding</name>
+			<required>false</required>
+			<rtexprvalue>false</rtexprvalue>
+	        <type>java.lang.Integer</type>
+		</attribute>
+		<attribute>
+			<name>itemWidth</name>
+			<required>false</required>
+			<rtexprvalue>false</rtexprvalue>
+	        <type>java.lang.Integer</type>
+		</attribute>
+		<attribute>
+			<name>labelEdge</name>
+			<required>false</required>
+			<rtexprvalue>false</rtexprvalue>
+	        <type>java.lang.String</type>
+		</attribute>
+		<attribute>
+			<name>orientation</name>
+			<required>false</required>
+			<rtexprvalue>false</rtexprvalue>
+	        <type>java.lang.String</type>
+		</attribute>

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld?rev=392102&r1=392101&r2=392102&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld Thu Apr  6 15:41:58 2006
@@ -126,6 +126,7 @@
 <!ENTITY input_suggest_ajax_attributes       SYSTEM "entities/input_suggest_ajax_attributes.xml">
 <!ENTITY table_suggest_ajax_attributes       SYSTEM "entities/table_suggest_ajax_attributes.xml">
 <!ENTITY suggest_ajax_attributes       SYSTEM "entities/suggest_ajax_attributes.xml">
+<!ENTITY html_fisheye_list_attributes	SYSTEM "entities/html_fisheyelist_attributes.xml">
 ]>
 
 <taglib>
@@ -828,11 +829,10 @@
 
 	<tag>
 		<name>dojoInitializer</name>
-		&ui_component_attributes;
-
 		<tag-class>org.apache.myfaces.custom.dojo.DojoInitializerTag</tag-class>
 		<body-content>JSP</body-content>
 		<description>Dojo initializer helper tag for debugging and communication flags. This tag encapsules the Dojo DjConfig meta configuration and also adds the needed dojo required functionality.</description>
+		&ui_component_attributes;
 		<attribute>
 			<name>ioSendTransport</name>
 			<required>false</required>
@@ -990,4 +990,17 @@
             <description></description>
         </attribute>
     </tag>
+    
+	<!--  fishEyeList -->
+	<tag>
+		<name>fishEyeList</name>
+		<tag-class>org.apache.myfaces.custom.fisheye.HtmlFishEyeListTag</tag-class>
+		<body-content>JSP</body-content>
+		<display-name>fishEye List component</display-name>
+		<description>Provide a FishEye toolbar component from the DOJO toolkit</description>
+		&faces_id_required_attribute;
+		&faces_rendered_attribute;
+
+		&html_fisheye_list_attributes;
+	</tag>    
 </taglib>

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/dojo/fisheyetest.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/dojo/fisheyetest.jsp?rev=392102&r1=392101&r2=392102&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/dojo/fisheyetest.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/dojo/fisheyetest.jsp Thu Apr  6 15:41:58 2006
@@ -25,12 +25,10 @@
 <%@include file="../inc/head.inc"%>
 <body>
 <f:view>
-	<s:dojoInitializer require="dojo.widget.FisheyeList" />
-	<div class="dojo-FisheyeList" dojo:itemWidth="50" dojo:itemHeight="50"
-		dojo:itemMaxWidth="200" dojo:itemMaxHeight="200"
-		dojo:orientation="horizontal" dojo:effectUnits="2"
-		dojo:itemPadding="10" dojo:attachEdge="top" dojo:labelEdge="bottom"
-		dojo:enableCrappySvgSupport="false">
+	<s:fishEyeList itemWidth="50" itemHeight="50"
+		itemMaxWidth="200" itemMaxHeight="200"
+		orientation="horizontal" effectUnits="2"
+		itemPadding="10" attachEdge="top" labelEdge="bottom">
 
 	<div class="dojo-FisheyeListItem" onClick="load_app(1);"
 		dojo:iconsrc="images/icon_browser.png" caption="Web Browser"></div>
@@ -49,7 +47,7 @@
 
 	<div class="dojo-FisheyeListItem" onClick="load_app(6);"
 		dojo:iconsrc="images/icon_users.png" dojo:caption="Users"></div>
-	</div>
+	</s:fishEyeList>
 
 
 	<%@include file="../inc/page_footer.jsp"%>