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/06 11:56:50 UTC

svn commit: r391952 - /myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/dojo/fisheyetest.jsp

Author: jlust
Date: Thu Apr  6 02:56:39 2006
New Revision: 391952

URL: http://svn.apache.org/viewcvs?rev=391952&view=rev
Log:
Started work on the fisheyelist component from the dojo toolkit

Added:
    myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/dojo/fisheyetest.jsp

Added: 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=391952&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/dojo/fisheyetest.jsp (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/dojo/fisheyetest.jsp Thu Apr  6 02:56:39 2006
@@ -0,0 +1,58 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
+
+<!--
+/*
+ * Copyright 2005 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.
+ */
+//-->
+
+<html>
+<%@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">
+
+	<div class="dojo-FisheyeListItem" onClick="load_app(1);"
+		dojo:iconsrc="images/icon_browser.png" caption="Web Browser"></div>
+
+	<div class="dojo-FisheyeListItem" onClick="load_app(2);"
+		dojo:iconsrc="images/icon_calendar.png" caption="Calendar"></div>
+
+	<div class="dojo-FisheyeListItem" onClick="load_app(3);"
+		dojo:iconsrc="images/icon_email.png" caption="Email"></div>
+
+	<div class="dojo-FisheyeListItem" onClick="load_app(4);"
+		dojo:iconsrc="images/icon_texteditor.png" caption="Text Editor"></div>
+
+	<div class="dojo-FisheyeListItem" onClick="load_app(5);"
+		dojo:iconsrc="images/icon_update.png" caption="Software Update"></div>
+
+	<div class="dojo-FisheyeListItem" onClick="load_app(6);"
+		dojo:iconsrc="images/icon_users.png" dojo:caption="Users"></div>
+	</div>
+
+
+	<%@include file="../inc/page_footer.jsp"%>
+</f:view>
+</body>
+</html>