JBoss Rich Faces SVN: r12795 - in trunk/test-applications/seleniumTest/richfaces/src: main/webapp/pages/virtualEarth and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-03-02 13:00:56 -0500 (Mon, 02 Mar 2009)
New Revision: 12795
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/virtualEarth/
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/virtualEarth/virtualEarthAutoTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/VirtualEarthTest.java
Log:
RF-6297
Added: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/virtualEarth/virtualEarthAutoTest.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/virtualEarth/virtualEarthAutoTest.xhtml (rev 0)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/virtualEarth/virtualEarthAutoTest.xhtml 2009-03-02 18:00:56 UTC (rev 12795)
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<ui:composition template="#{templateBean.autoTestTemplate}">
+ <ui:define name="component">
+ <rich:virtualEarth id="componentId" rendered="#{autoTestBean.rendered}"
+ onclick="EventQueue.fire('onclick')"
+ onmousedown="EventQueue.fire('onmousedown')"
+ onmousemove="EventQueue.fire('onmousemove')"
+ onmouseup="EventQueue.fire('onmouseup')"
+ onmouseout="EventQueue.fire('onmouseout')"
+ onmouseover="EventQueue.fire('onmouseover')"
+ onkeydown="EventQueue.fire('onkeydown')"
+ onkeypress="EventQueue.fire('onkeypress')"
+ onkeyup="EventQueue.fire('onkeyup')"
+ style="width: 100%; color: yellow" styleClass="noname" />
+ </ui:define>
+</ui:composition>
+</html>
\ No newline at end of file
Added: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/VirtualEarthTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/VirtualEarthTest.java (rev 0)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/VirtualEarthTest.java 2009-03-02 18:00:56 UTC (rev 12795)
@@ -0,0 +1,50 @@
+package org.richfaces.testng;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.ajax4jsf.template.Template;
+import org.richfaces.AutoTester;
+import org.richfaces.SeleniumTestBase;
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+public class VirtualEarthTest extends SeleniumTestBase {
+
+ /**
+ * component is present on the page together with map images and there are no JS errors
+ */
+ @Test
+ public void testImages(Template template) {
+ AutoTester autoTester = getAutoTester(this);
+ autoTester.renderPage(template, null);
+ Assert.assertTrue(selenium.getXpathCount("id('" + autoTester.getClientId(AutoTester.COMPONENT_ID) + "')//img").intValue() != 0);
+ runScript("map.ZoomIn()");
+ }
+
+ /**
+ * component with rendered = false is not present on the page,
+ * style and classes, standard HTML attributes are output to client
+ */
+ @Test
+ public void testStandardAttributes(Template template) {
+ AutoTester autoTester = getAutoTester(this);
+ autoTester.renderPage(template, null);
+ autoTester.testRendered();
+ Map<String, String> styleAttributes = new HashMap<String, String>();
+ styleAttributes.put("width", "100%");
+ styleAttributes.put("color", "yellow");
+ autoTester.testStyleAndClasses(new String[]{"noname"}, styleAttributes);
+ autoTester.testHTMLEvents();
+ }
+
+ @Override
+ public String getTestUrl() {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public String getAutoTestUrl() {
+ return "pages/virtualEarth/virtualEarthAutoTest.xhtml";
+ }
+}
15 years, 10 months
JBoss Rich Faces SVN: r12794 - trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2009-03-02 12:54:34 -0500 (Mon, 02 Mar 2009)
New Revision: 12794
Added:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ToggleControlTest.java
Log:
Added: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ToggleControlTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ToggleControlTest.java (rev 0)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ToggleControlTest.java 2009-03-02 17:54:34 UTC (rev 12794)
@@ -0,0 +1,140 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.testng;
+
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.ajax4jsf.template.Template;
+import org.richfaces.AutoTester;
+import org.richfaces.SeleniumTestBase;
+import org.testng.annotations.Test;
+
+public class ToggleControlTest extends SeleniumTestBase {
+
+ private static final String RESET_METHOD = "#{panelBean.cleanValues}";
+
+ @Test
+ public void testRendered(Template template) {
+ AutoTester autoTester = getAutoTester(this);
+ autoTester.renderPage(template, RESET_METHOD);
+ autoTester.testRendered();
+ }
+
+ @Test
+ public void testReRenderAttribute(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ writeStatus("Test component re-renders another components");
+ tester.testReRender();
+ }
+
+ @Test
+ public void testStandardAttributes(Template template) {
+ AutoTester autoTester = getAutoTester(this);
+ autoTester.renderPage(template, RESET_METHOD);
+ Map <String, String> styleAttributes = new HashMap<String, String>();
+ styleAttributes.put("width", "200px");
+ styleAttributes.put("background-color", "blue");
+ styleAttributes.put("color", "yellow");
+ autoTester.testStyleAndClasses(new String[]{"className"}, styleAttributes);
+ autoTester.testHTMLEvents();
+ }
+
+ @Test
+ public void testImmediate(Template template) {
+ AutoTester autoTester = getAutoTester(this);
+ autoTester.renderPage(template, RESET_METHOD);
+ autoTester.testImmediate(false);
+ }
+
+
+ @Test
+ public void testImmediateWithExternalValidationFailed(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ writeStatus("Test immediate attribute with external validation failed");
+ tester.testImmediateWithExternalValidationFailed();
+ }
+
+ @Test
+ public void testAjaxSingle(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ tester.testAjaxSingle();
+ }
+
+ // https://jira.jboss.org/jira/browse/RF-6451
+ @Test
+ public void testAjaxSingleWithProcessExternalValidation(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ tester.testAjaxSingleWithProcesExternalValidation(true);
+ }
+
+ @Test
+ public void testAjaxSingleWithInternalValidationFailed(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ writeStatus("Test ajaxSingle attribute with internal validation failed");
+ tester.testAjaxSingleWithInternalValidationFailed();
+ }
+
+ @Test
+ public void testBypassUpdatesAttribute(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ writeStatus("Test component with bypassUpdates = true skips update model values phase");
+ tester.testBypassUpdate();
+ }
+
+ @Test
+ public void testLimitToListAttribute(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ writeStatus("Test component with limitToList = true skips ajaxRendered areas update");
+ tester.testLimitToList();
+ }
+
+ @Override
+ public void sendAjax() {
+ clickAjaxCommandAndWait(getAutoTester(this).getClientId(AutoTester.COMPONENT_ID));
+ }
+
+ @Override
+ public void setInternalValidationFailed() {
+ String childCompId = getAutoTester(this).getClientId("") + "child";
+ setValueById(childCompId, "");
+ }
+
+ @Override
+ public String getTestUrl() {
+ return "pages/togglePanel/togglePanelTest.xhtml";
+ }
+
+ @Override
+ public String getAutoTestUrl() {
+ return "pages/toggleControl/toggleControlAutoTest.xhtml";
+ }
+
+}
15 years, 10 months
JBoss Rich Faces SVN: r12793 - in trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages: toggleControl and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2009-03-02 12:53:47 -0500 (Mon, 02 Mar 2009)
New Revision: 12793
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/toggleControl/
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/toggleControl/toggleControlAutoTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/toggleControl/toggleControlTest.xhtml
Log:
Added: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/toggleControl/toggleControlAutoTest.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/toggleControl/toggleControlAutoTest.xhtml (rev 0)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/toggleControl/toggleControlAutoTest.xhtml 2009-03-02 17:53:47 UTC (rev 12793)
@@ -0,0 +1,69 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+ <ui:composition template="#{templateBean.autoTestTemplate}">
+ <ui:define name="component">
+ <h:outputText id="test2" value="#{autoTestBean.text}" />
+
+ <rich:togglePanel id="ajax_panel_one"
+ switchType="ajax"
+ stateOrder="first,second" initialState="first" label="Ajax">
+
+ <f:facet name="first">
+ <h:outputText id="ajax_state_one" value="First State" />
+ </f:facet>
+ <f:facet name="second">
+ <h:outputText id="ajax_state_two" value="Second State" />
+ </f:facet>
+
+ </rich:togglePanel>
+
+ <rich:toggleControl id="componentId"
+ for="ajax_panel_one"
+ immediate="#{autoTestBean.immediate}"
+ rendered="#{autoTestBean.rendered}"
+ ajaxSingle="#{autoTestBean.ajaxSingle}"
+ actionListener="#{autoTestBean.actionListener}"
+ process="#{autoTestBean.process}"
+ reRender="#{autoTestBean.reRender}, autoTestForm:test2"
+ limitToList="#{autoTestBean.limitToList}"
+ bypassUpdates="#{autoTestBean.bypassUpdate}"
+ style="width: 200px; background-color: blue; color: yellow;"
+ styleClass="className"
+ oncomplete="#{autoTestBean.oncomplete}"
+ onbeforedomupdate="EventQueue.fire('onbeforedomupdate')"
+ onblur="EventQueue.fire('onblur')"
+ onclick="EventQueue.fire('onclick')"
+ ondblclick="EventQueue.fire('ondblclick')"
+ onfocus="EventQueue.fire('onfocus')"
+ onkeydown="EventQueue.fire('onkeydown')"
+ onkeypress="EventQueue.fire('onkeypress')"
+ onkeyup="EventQueue.fire('onkeyup')"
+ onmousedown="EventQueue.fire('onmousedown')"
+ onmousemove="EventQueue.fire('onmousemove')"
+ onmouseout="EventQueue.fire('onmouseout')"
+ onmouseover="EventQueue.fire('onmouseover')"
+ onmouseup="EventQueue.fire('onmouseup')"
+ >
+
+ <h:outputText value="Ajax next" />
+ <h:panelGroup id="content">
+ <h:inputText id="child" value="#{panelBean.content}" required="true" />
+ </h:panelGroup>
+ </rich:toggleControl>
+ <br/>
+ <rich:toggleControl id="ajax_first_one" for="ajax_panel_one" switchToState="first" action="#{panelBean.increment}">
+ <h:outputText value="Ajax first" />
+ </rich:toggleControl>
+ <br/>
+ <rich:toggleControl id="ajax_second_one" for="ajax_panel_one" switchToState="second" action="#{panelBean.increment}">
+ <h:outputText value="Ajax second" />
+ </rich:toggleControl>
+ </ui:define>
+ </ui:composition>
+</html>
\ No newline at end of file
Added: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/toggleControl/toggleControlTest.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/toggleControl/toggleControlTest.xhtml (rev 0)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/toggleControl/toggleControlTest.xhtml 2009-03-02 17:53:47 UTC (rev 12793)
@@ -0,0 +1,197 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+ <ui:composition template="#{templateBean.template}">
+ <ui:define name="style">
+ .link {margin: 0px 5px}
+
+ .component_div {
+ border: 1px solid blue;
+ margin: 2px;
+ }
+ </ui:define>
+ <ui:define name="component">
+ <h:form id="mainForm">
+ <fieldset>
+ <legend>toggleConrol outside togglePanel</legend>
+ <h:panelGroup layout="block" styleClass="component_div">
+ <rich:togglePanel id="client_panel_one"
+ switchType="client"
+ stateOrder="first,second" initialState="first" label="Client">
+
+ <f:facet name="first">
+ <h:outputText id="client_state_one" value="First State" />
+ </f:facet>
+ <f:facet name="second">
+ <h:outputText id="client_state_two" value="Second State" />
+ </f:facet>
+ </rich:togglePanel>
+
+ <rich:toggleControl id="client_next_one" for="client_panel_one" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}">
+ <h:outputText value="Client next" />
+ </rich:toggleControl>
+ <br/>
+ <rich:toggleControl id="client_first_one" for="client_panel_one" switchToState="first" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}">
+ <h:outputText value="Client first" />
+ </rich:toggleControl>
+ <br/>
+ <rich:toggleControl id="client_second_one" for="client_panel_one" switchToState="second" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}">
+ <h:outputText value="Client second" />
+ </rich:toggleControl>
+ </h:panelGroup>
+
+ <h:panelGroup layout="block" styleClass="component_div">
+ <rich:togglePanel id="server_panel_one"
+ switchType="server"
+ stateOrder="first,second" initialState="first" label="Server">
+ <f:facet name="first">
+ <h:outputText id="server_state_one" value="First State" />
+ </f:facet>
+ <f:facet name="second">
+ <h:outputText id="server_state_two" value="Second State" />
+ </f:facet>
+ </rich:togglePanel>
+
+ <rich:toggleControl id="server_next_one" for="server_panel_one" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}">
+ <h:outputText value="Server next" />
+ </rich:toggleControl>
+ <br/>
+ <rich:toggleControl id="server_first_one" for="server_panel_one" switchToState="first" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}">
+ <h:outputText value="Server first" />
+ </rich:toggleControl>
+ <br/>
+ <rich:toggleControl id="server_second_one" for="server_panel_one" switchToState="second" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}">
+ <h:outputText value="Server second" />
+ </rich:toggleControl>
+ </h:panelGroup>
+
+ <h:panelGroup layout="block" styleClass="component_div">
+ <rich:togglePanel id="ajax_panel_one"
+ switchType="ajax"
+ stateOrder="first,second" initialState="first" label="Ajax">
+ <f:facet name="first">
+ <h:outputText id="ajax_state_one" value="First State" />
+ </f:facet>
+ <f:facet name="second">
+ <h:outputText id="ajax_state_two" value="Second State" />
+ </f:facet>
+ </rich:togglePanel>
+
+ <rich:toggleControl id="ajax_next_one" for="ajax_panel_one" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}">
+ <h:outputText value="Ajax next" />
+ </rich:toggleControl>
+ <br/>
+ <rich:toggleControl id="ajax_first_one" for="ajax_panel_one" switchToState="first" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}">
+ <h:outputText value="Ajax first" />
+ </rich:toggleControl>
+ <br/>
+ <rich:toggleControl id="ajax_second_one" for="ajax_panel_one" switchToState="second" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}">
+ <h:outputText value="Ajax second" />
+ </rich:toggleControl>
+ </h:panelGroup>
+ </fieldset>
+
+ <fieldset>
+ <legend>toggleConrol inside togglePanel</legend>
+
+ <h:panelGroup layout="block" styleClass="component_div">
+
+ <rich:togglePanel id="client_panel_two" initialState="empty" switchType="server">
+
+ <f:facet name="first">
+ <h:panelGroup layout="block">
+ <rich:toggleControl for="client_panel_two" value="empty " switchToState="empty" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <rich:toggleControl for="client_panel_two" value="second " switchToState="second" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <h:outputText value=" Client First" />
+ </h:panelGroup>
+ </f:facet>
+
+ <f:facet name="second">
+ <h:panelGroup layout="block">
+ <rich:toggleControl for="client_panel_two" value="empty " switchToState="empty" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <rich:toggleControl for="client_panel_two" value="first " switchToState="first" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <h:outputText value=" Client Second" />
+ </h:panelGroup>
+ </f:facet>
+
+ <f:facet name="empty">
+ <h:panelGroup layout="block">
+ <rich:toggleControl for="client_panel_two" value="first " switchToState="first" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <rich:toggleControl for="client_panel_two" value="second " switchToState="second" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ </h:panelGroup>
+ </f:facet>
+ </rich:togglePanel>
+
+ </h:panelGroup>
+
+ <h:panelGroup layout="block" styleClass="component_div">
+
+ <rich:togglePanel id="server_panel_two" initialState="empty" switchType="server">
+
+ <f:facet name="first">
+ <h:panelGroup layout="block">
+ <rich:toggleControl for="server_panel_two" value="empty " switchToState="empty" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <rich:toggleControl for="server_panel_two" value="second " switchToState="second" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <h:outputText value=" Server First" />
+ </h:panelGroup>
+ </f:facet>
+
+ <f:facet name="second">
+ <h:panelGroup layout="block">
+ <rich:toggleControl for="server_panel_two" value="empty " switchToState="empty" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <rich:toggleControl for="server_panel_two" value="first " switchToState="first" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <h:outputText value=" Server Second" />
+ </h:panelGroup>
+ </f:facet>
+
+ <f:facet name="empty">
+ <h:panelGroup layout="block">
+ <rich:toggleControl for="server_panel_two" value="first " switchToState="first" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <rich:toggleControl for="server_panel_two" value=" second " switchToState="second" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ </h:panelGroup>
+ </f:facet>
+ </rich:togglePanel>
+ </h:panelGroup>
+
+ <h:panelGroup layout="block" styleClass="component_div">
+
+ <rich:togglePanel id="ajax_panel_two" initialState="empty" switchType="ajax">
+
+ <f:facet name="first">
+ <h:panelGroup layout="block">
+ <rich:toggleControl for="ajax_panel_two" value="empty " switchToState="empty" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <rich:toggleControl for="ajax_panel_two" value="second " switchToState="second" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <h:outputText value=" Ajax First" />
+ </h:panelGroup>
+ </f:facet>
+
+ <f:facet name="second">
+ <h:panelGroup layout="block">
+ <rich:toggleControl for="ajax_panel_two" value="empty " switchToState="empty" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <rich:toggleControl for="ajax_panel_two" value="first " switchToState="first" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <h:outputText value=" Ajax Second" />
+ </h:panelGroup>
+ </f:facet>
+
+ <f:facet name="empty">
+ <h:panelGroup layout="block">
+ <rich:toggleControl for="ajax_panel_two" value="first " switchToState="first" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ <rich:toggleControl for="ajax_panel_two" value=" second " switchToState="second" action="#{panelBean.increment}" actionListener="#{panelBean.actionListener}"/>
+ </h:panelGroup>
+ </f:facet>
+ </rich:togglePanel>
+ </h:panelGroup>
+ </fieldset>
+ <a4j:outputPanel ajaxRendered="true" id="outputPanel" >
+ <h:inputText value="#{panelBean.value}" id="value"></h:inputText>
+ <h:outputText value="#{panelBean.value2}" id="value2"></h:outputText>
+ </a4j:outputPanel>
+ </h:form>
+ </ui:define>
+ </ui:composition>
+</html>
\ No newline at end of file
15 years, 10 months
JBoss Rich Faces SVN: r12792 - trunk/ui/togglePanel/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2009-03-02 12:52:23 -0500 (Mon, 02 Mar 2009)
New Revision: 12792
Modified:
trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
Log:
https://jira.jboss.org/jira/browse/RF-6454
Modified: trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
===================================================================
--- trunk/ui/togglePanel/src/main/config/component/togglePanel.xml 2009-03-02 17:52:07 UTC (rev 12791)
+++ trunk/ui/togglePanel/src/main/config/component/togglePanel.xml 2009-03-02 17:52:23 UTC (rev 12792)
@@ -19,6 +19,7 @@
<![CDATA[A collapsible panel, which content is shown/hidden after activating a header control.
]]>
</description>
+
<renderer generate="true" override="true">
<name>org.richfaces.TogglePanelRenderer</name>
<template>togglePanel.jspx</template>
@@ -386,7 +387,7 @@
</description>
</property>
- <property hidden="true">
+ <property>
<name>reRender</name>
<classname>java.lang.Object</classname>
</property>
15 years, 10 months
JBoss Rich Faces SVN: r12791 - trunk/ui/togglePanel/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2009-03-02 12:52:07 -0500 (Mon, 02 Mar 2009)
New Revision: 12791
Modified:
trunk/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java
Log:
https://jira.jboss.org/jira/browse/RF-6454
Modified: trunk/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java
===================================================================
--- trunk/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java 2009-03-02 17:24:53 UTC (rev 12790)
+++ trunk/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java 2009-03-02 17:52:07 UTC (rev 12791)
@@ -27,8 +27,7 @@
import javax.faces.FacesException;
import javax.faces.component.ActionSource;
import javax.faces.component.UIComponent;
-import javax.faces.el.MethodBinding;
-import javax.faces.el.ValueBinding;
+import javax.faces.context.FacesContext;
import org.ajax4jsf.component.AjaxActionComponent;
import org.ajax4jsf.component.AjaxComponent;
@@ -100,21 +99,32 @@
//xxx by nick - denis - "for" can be relative etc. Do we really need it here?
- public Object getReRender(){
- return getPanelId();
- }
+// public Object getReRender(){
+// return getPanelId();
+// }
//xxx by nick - denis - what do you think about setupReRender usage?
-/* protected void setupReRender() {
- super.setupReRender();
-
- FacesContext context = FacesContext.getCurrentInstance();
+
+ @Override
+ protected void setupReRender(FacesContext facesContext) {
+ super.setupReRender(facesContext);
UITogglePanel togglePanel = getPanel();
- AjaxRendererUtils.addRegionByName(context, togglePanel, togglePanel.getId());
+ AjaxRendererUtils.addRegionByName(facesContext, togglePanel, togglePanel.getId());
+
}
-*/
- public void setReRender(Object targetId) {
+
+ /**
+ * @deprecated
+ * use setupReRender(FacesContext facesContext)
+ */
+ @Deprecated
+ protected void setupReRender() {
+ FacesContext context = FacesContext.getCurrentInstance();
+ setupReRender(context);
}
+
+// public void setReRender(Object targetId) {
+// }
public String getFamily() {
return COMPONENT_FAMILY;
15 years, 10 months
JBoss Rich Faces SVN: r12790 - trunk/sandbox/samples/layout-sample.
by richfaces-svn-commits@lists.jboss.org
Author: SergeySmirnov
Date: 2009-03-02 12:24:53 -0500 (Mon, 02 Mar 2009)
New Revision: 12790
Modified:
trunk/sandbox/samples/layout-sample/
Log:
Property changes on: trunk/sandbox/samples/layout-sample
___________________________________________________________________
Name: svn:ignore
+ .classpath
.project
.settings
target
15 years, 10 months
JBoss Rich Faces SVN: r12789 - in trunk/test-applications/seleniumTest/richfaces/src: main/webapp/pages/pickList and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2009-03-02 12:24:13 -0500 (Mon, 02 Mar 2009)
New Revision: 12789
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/pickList/pickListAutoTest.xhtml
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PickListTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PickListTest.java
Log:
RF-6164, RF-6165, RF-6166, RF-6175
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PickListTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PickListTestBean.java 2009-03-02 16:40:50 UTC (rev 12788)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PickListTestBean.java 2009-03-02 17:24:13 UTC (rev 12789)
@@ -39,18 +39,12 @@
private List<String> items = Arrays.asList("ZHURIK", "MELESHKO", "LEONTIEV", "KOVAL", "KALYUZHNY", "DUDIK",
"KOSTITSYN", "GRABOVSKI");
- private List<SelectItem> options = new ArrayList<SelectItem>();
+ private List<SelectItem> options;
- private List<String> result = new ArrayList<String>();
+ private List<String> result;
public PickListTestBean() {
- for (String player : items) {
- options.add(new SelectItem(player, player));
- }
-
- // preselected items
- result.add(items.get(0));
- result.add(items.get(1));
+ reset();
}
/**
@@ -127,4 +121,15 @@
this.result = result;
}
+ public void reset() {
+ options = new ArrayList<SelectItem>();
+ for (String player : items) {
+ options.add(new SelectItem(player, player));
+ }
+
+ // preselected items
+ result = new ArrayList<String>();
+ result.add(items.get(0));
+ result.add(items.get(1));
+ }
}
Added: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/pickList/pickListAutoTest.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/pickList/pickListAutoTest.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PickListTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PickListTest.java 2009-03-02 16:40:50 UTC (rev 12788)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PickListTest.java 2009-03-02 17:24:13 UTC (rev 12789)
@@ -20,7 +20,11 @@
*/
package org.richfaces.testng;
+import java.util.HashMap;
+import java.util.Map;
+
import org.ajax4jsf.template.Template;
+import org.richfaces.AutoTester;
import org.richfaces.SeleniumTestBase;
import org.testng.Assert;
import org.testng.annotations.Test;
@@ -34,9 +38,19 @@
private static final String REMOVE_ALL_BTN = "removeAll";
private static final String SRC_ELEM_PREFIX = ":source::";
+ private final static String RESET_METHOD = "#{pickListBean.reset}";
+
+ private static Map<String, String> params = new HashMap<String, String>();
+
+ static {
+ params.put("parameter1", "value1");
+ params.put("parameter2", "value2");
+ params.put("parameter3", "value3");
+ }
+
@Test
public void testPickListComponent(Template template) {
- renderPage(template);
+ renderPage(template, RESET_METHOD);
String parentId = getParentId() + "_form:";
String pickListId = parentId + PICK_LIST;
@@ -76,7 +90,7 @@
writeStatus("Try to move the first item and check state thereafter");
String srcElemPrefix = parentId + PICK_LIST + SRC_ELEM_PREFIX;
- fireMouseEvent(srcElemPrefix + "1", "click", 0, 0, false);
+ fireMouseEvent(srcElemPrefix + "0", "click", 0, 0, false);
clickById(copyElemId);
Assert.assertEquals(getNumberOfChildren(srcListId), 5);
@@ -108,16 +122,47 @@
assertButtonDisabled(REMOVE_ALL_BTN);
}
+ @Test
+ public void testRenderedAttribute(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ writeStatus("Test component with rendered = false is not present on the page");
+ tester.testRendered();
+ }
+
+ @Test
+ public void testConverterAttribute(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ tester.testConverterAttribute();
+ }
+
+ @Test
+ public void testValidatorAndValidatorMessageAttributes(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ tester.testValidatorAndValidatorMessageAttributes(false);
+ }
+
+ @Test
+ public void testRequiredAndRequiredMessageAttributes(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+
+ writeStatus("Check required & requiredMessage attributes");
+ tester.testRequiredAndRequiredMessageAttributes();
+ }
+
private void assertButtonEnabled(String btnId) {
String id = getParentId() + "_form:" + PICK_LIST;
- Assert.assertTrue(isVisibleById(id + btnId));
- Assert.assertFalse(isVisibleById(id + "dis" + btnId));
+ AssertVisible(id + btnId);
+ AssertNotVisible(id + "dis" + btnId);
}
private void assertButtonDisabled(String btnId) {
String id = getParentId() + "_form:" + PICK_LIST;
- Assert.assertFalse(isVisibleById(id + btnId));
- Assert.assertTrue(isVisibleById(id + "dis" + btnId));
+ AssertNotVisible(id + btnId);
+ AssertVisible(id + "dis" + btnId);
}
/**
@@ -129,8 +174,24 @@
return selenium.getXpathCount("//*[@id='" + elemId + "']/*").intValue();
}
+ @Override
+ public void changeValue() {
+ clickById(getAutoTester(this).getClientId(AutoTester.COMPONENT_ID) + COPY_ALL_BTN);
+ }
+
+ @Override
+ public void setValueEmpty() {
+ clickById(getAutoTester(this).getClientId(AutoTester.COMPONENT_ID) + REMOVE_ALL_BTN);
+ }
+
+ @Override
public String getTestUrl() {
return "pages/pickList/pickListTest.xhtml";
}
+ @Override
+ public String getAutoTestUrl() {
+ return "pages/pickList/pickListAutoTest.xhtml";
+ }
+
}
15 years, 10 months
JBoss Rich Faces SVN: r12788 - in management/design/realWorldDemo/html: images and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: admitriev
Date: 2009-03-02 11:40:50 -0500 (Mon, 02 Mar 2009)
New Revision: 12788
Added:
management/design/realWorldDemo/html/album.html
management/design/realWorldDemo/html/images/
management/design/realWorldDemo/html/images/examples/
management/design/realWorldDemo/html/images/examples/photo_200.jpg
management/design/realWorldDemo/html/images/shell/
management/design/realWorldDemo/html/images/shell/ai.gif
management/design/realWorldDemo/html/images/shell/ai.png
management/design/realWorldDemo/html/images/shell/arr_left.png
management/design/realWorldDemo/html/images/shell/arr_right.png
management/design/realWorldDemo/html/images/shell/bull_arr_down.gif
management/design/realWorldDemo/html/images/shell/bull_arr_up.gif
management/design/realWorldDemo/html/images/shell/bullet.gif
management/design/realWorldDemo/html/images/shell/footer_bg.gif
management/design/realWorldDemo/html/images/shell/frame_album_120.png
management/design/realWorldDemo/html/images/shell/frame_album_200.png
management/design/realWorldDemo/html/images/shell/frame_album_80.png
management/design/realWorldDemo/html/images/shell/frame_photo_120.png
management/design/realWorldDemo/html/images/shell/frame_photo_200.png
management/design/realWorldDemo/html/images/shell/frame_photo_80.png
management/design/realWorldDemo/html/images/shell/general_panel_bg.gif
management/design/realWorldDemo/html/images/shell/general_panel_header_bg.gif
management/design/realWorldDemo/html/images/shell/general_panelbar_bg.gif
management/design/realWorldDemo/html/images/shell/general_panelbar_bullet.gif
management/design/realWorldDemo/html/images/shell/logo_bottom.gif
management/design/realWorldDemo/html/images/shell/logo_top.gif
management/design/realWorldDemo/html/images/shell/page_bg.gif
management/design/realWorldDemo/html/images/shell/search_bg.png
management/design/realWorldDemo/html/images/shell/search_option_bg.png
management/design/realWorldDemo/html/images/shell/spacer.gif
management/design/realWorldDemo/html/images/shell/top_tight_bullet.gif
management/design/realWorldDemo/html/images/shell/tree_icon_album.png
management/design/realWorldDemo/html/images/shell/tree_icon_minus.png
management/design/realWorldDemo/html/images/shell/tree_icon_plus.png
management/design/realWorldDemo/html/images/shell/tree_icon_shelf.png
management/design/realWorldDemo/html/images/shell/tree_icon_slid.png
management/design/realWorldDemo/html/photo.html
management/design/realWorldDemo/html/shelf.html
Log:
Added: management/design/realWorldDemo/html/album.html
===================================================================
--- management/design/realWorldDemo/html/album.html (rev 0)
+++ management/design/realWorldDemo/html/album.html 2009-03-02 16:40:50 UTC (rev 12788)
@@ -0,0 +1,656 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+ <title>Untitled</title>
+ <link rel="STYLESHEET" type="text/css" href="common.css">
+</head>
+<style>
+ *{font-family : verdana; font-size : 11px}
+ body {margin : 0px; background : url(images/shell/page_bg.gif) repeat-x #D7D7D7; height : 100%}
+ h1{font-size : 175%; font-weight : normal; margin : 0px;}
+ .top_part {height : 116px;}
+ .header_box {height : 79px; position : relative;}
+ .auth_box {position : absolute; font-weight : bold; color : #ffffff; right : 8px; top : 42px}
+ .auth_data {vertical-align : top; padding : 0px 8px 0px 15px; font-weight : bold; color : #ffffff;}
+ .auth_data span {color : #FF7200;}
+ .about_toolbar {position : absolute; right : 8px; top : 12px;}
+ .about_toolbar_item {vertical-align : top; padding : 0px 8px 0px 15px;}
+ .about_toolbar_item a{font-size : 11px; color : #ffffff; text-decoration : none;}
+ .about_toolbar_item a:hover{font-size : 11px; color : #ffffff; text-decoration : underline;}
+
+ .content_box {padding : 15px 35px 15px 35px;}
+ .content_box p {margin : 0px 0px 5px 0px; FONT-SIZE : 12PX}
+
+ a{color : #DF6400;}
+
+
+ .preview_box_album_80 {width : 100px; height : 100px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_album_80 img.pr_album_bg {width : 100px; height : 100px; position : absolute;}
+ .preview_box_album_80 table{position : relative; width : 100px; height : 100px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_album_80 table img{margin: 0px 0px 2px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_album_120 {width : 140px; height : 140px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_album_120 img.pr_album_bg {width : 140px; height : 140px; position : absolute;}
+ .preview_box_album_120 table{position : relative; width : 140px; height : 140px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_album_120 table img{margin: 0px 0px 2px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_album_160 {width : 180px; height : 180px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_album_160 img.pr_album_bg {width : 180px; height : 180px; position : absolute;}
+ .preview_box_album_160 table{position : relative; width : 180px; height : 180px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_album_160 table img{margin: 0px 0px 1px 1px; border : 1px solid #FFFFFF;}
+
+
+
+ .preview_box_photo_80 {width : 100px; height : 100px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_photo_80 img.pr_photo_bg {width : 100px; height : 100px; position : absolute;}
+ .preview_box_photo_80 table{position : relative; width : 100px; height : 100px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_photo_80 table img{margin: 0px 0px 0px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_photo_120 {width : 140px; height : 140px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_photo_120 img.pr_photo_bg {width : 140px; height : 140px; position : absolute;}
+ .preview_box_photo_120 table{position : relative; width : 140px; height : 140px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_photo_120 table img{margin: 0px 0px 0px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_photo_160 {width : 180px; height : 180px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_photo_160 img.pr_photo_bg {width : 180px; height : 180px; position : absolute;}
+ .preview_box_photo_160 table{position : relative; width : 180px; height : 180px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_photo_160 table img{margin: 0px 0px 0px 0px; border : 1px solid #FFFFFF;}
+
+
+
+
+</style>
+
+<body>
+
+<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
+ <tr>
+ <td colspan="2">
+ <div class="top_part">
+ <div class="header_box">
+ <a href="#"><img src="images/shell/logo_top.gif" width="290" height="79" alt="" border="0" style="position : absolute;"></a>
+ <div class="auth_box">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td class="auth_data">
+ Welcome, <span>Jhon Smith</span>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+
+ <div class="about_toolbar">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td class="about_toolbar_item">
+ <a href="#">User guide</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ <td class="about_toolbar_item">
+ <a href="#">F.A.Q.</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ <td class="about_toolbar_item">
+ <a href="#">About Demo at JBossWiki</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ <td class="about_toolbar_item">
+ <a href="#">About Demo at JBossForum</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+ </div>
+ <div style="height : 37px; position : relative; background : url(images/shell/general_panelbar_bg.gif) repeat-x #A84807; padding-left : 15px; ">
+ <table height="37px" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td valign="middle">
+ <img src="images/shell/general_panelbar_bullet.gif" width="11" height="15" alt="" border="0"><br>
+ </td>
+ <td style="vertical-align : top; padding : 11px 25px 0px 8px">
+ <a href="#" style="font-size : 11px; font-weight : bold; color : #ffffff; text-decoration : none;">My Album</a>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td height="100%" valign="top">
+ <div style="background : url(images/shell/general_panel_bg.gif) right top repeat-y; height : 100%;">
+ <div style="height : 15px; background : url(images/shell/general_panel_header_bg.gif) right top; font-size : 1px;">
+ <img src="images/shell/spacer.gif" width="300" height="1" alt="" border="0">
+ </div>
+
+ <div style="padding : 15px 35px 15px 15px;">
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_minus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Shelf name :: <a href="#"><strong>7</strong> new</a>
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ <strong>Album name</strong>
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_plus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Shelf name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_plus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Shelf name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_plus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Shelf name
+ </td>
+ </tr>
+ </table>
+
+
+ </div>
+
+ </div>
+ </td>
+ <td height="100%" width="100%" valign="top"">
+ <div style="background : url(images/shell/general_panel_bg.gif) right top repeat-y; height : 100%;">
+ <div style="height : 15px; background : url(images/shell/general_panel_header_bg.gif) right top; font-size : 1px;">
+
+ </div>
+ <div class="content_box">
+
+ <table style="border-collapse : collapse; margin-bottom : 15px" cellpadding="0">
+ <tr>
+ <td>
+ <h1 style="margin-bottom : 4px">Album name (0-50 symb; first cann't be SPACE symb)</h1>
+ <span style="color : #666666">Created <strong>29 Jan 2009</strong>, contain <strong>200</strong> pics, <a href="#"><strong>7</strong> new</a></span>
+ </td>
+ <td style=" padding : 8px 0px 0px 20px; vertical-align : top; white-space : nowrap">
+ <a href="#">Edit</a>
+ <a href="#">Delete</a>
+ </td>
+ </tr>
+ </table>
+
+ <p> This is a "Album name..." description.
+
+ <div style="margin : 30px 0px 0px 0px;">
+ <div style="float : right" onclick="window.location.href='#'" style="cursor : pointer">
+ <img src="images/shell/tree_icon_slid.png" width="27" height="16" alt="" border="0" style="vertical-align : bottom; margin-right : 5px">Slideshow
+ </div>
+ <div>
+ Preview size: inputNumberSlider
+ </div>
+ </div>
+ <br><br>
+
+ <div class="preview_box_album_80">
+ <img class="pr_album_bg" src="images/shell/frame_album_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="80" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_photo_80">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="60" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+
+
+ <div style="width : 90%; height : 10px; float : left;"> <div>
+
+
+ </div>
+
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div style="height : 82px; position : relative; background : url(images/shell/footer_bg.gif) repeat-x #000000;">
+ <img src="images/shell/logo_bottom.gif" width="160" height="55" alt="" border="0" style="position : absolute; right : 0px; top : 27px">
+ <div style="position : absolute; left : 8px; top : 51px">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+ <td style="vertical-align : top; padding : 0px 15px 0px 8px">
+ <a href="#" style="font-size : 11px; color : #ffffff; text-decoration : none;"> Terms And Conditions</a>
+ </td>
+
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+ <td style="vertical-align : top; padding : 0px 15px 0px 8px">
+ <a href="#" style="font-size : 11px; color : #ffffff; text-decoration : none;">Privacy Statement</a>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+ </div>
+ </td>
+ </tr>
+</table>
+
+<form style="margin : 0px">
+ <div style="height : 65px; width: 339px; position : absolute; top : 64px; right : 0px; margin-right : 0px;">
+ <img src="images/shell/search_bg.png" width="339" height="65" alt="" border="0" style="position : absolute; top : 0px; left: 0px">
+ <div style="position : absolute; color : #FFFFFF; font-weight : bold; top : 22px; left : 20px">
+ Search
+ </div>
+ <div style="position : absolute; color : #FFFFFF; font-weight : bold; top : 21px; left : 277px">
+ Find
+ </div>
+ <input type="Text" style="width : 176px; height : 17px; border : 0px; position : absolute; top : 20px; left : 73px; background : none; font-weight : bold;">
+ <input type="Image" src="images/shell/spacer.gif" border="0" style="width : 61px; height : 18px; position : absolute; top : 20px; left : 261px;">
+ <div style="position : absolute; top : 41px; left : 197px">
+ <a href="#" style="color : #FFFFFF; text-decoration : none">Options <img src="images/shell/bull_arr_down.gif" width="7" height="7" alt="" border="0"> </a>
+ </div>
+ </div>
+ <div style="height : 90px; width: 327px; position : absolute; top : 107px; right : 5px; background : none; display : !none; overflow : hidden;">
+ <img src="images/shell/search_option_bg.png" width="327" height="153" alt="" border="0" style="position : absolute; bottom : 0px; left: 0px">
+ <div style="position : absolute; color : white; top : 7px; left : 45px">
+ in <input type="checkbox">in My Album <input type="checkbox">in Shared Albums
+ </div>
+ <div style="position : absolute; color : white; top : 32px; padding-top : 3px; left : 38px; border-top : 1px solid #383838">
+ for <input type="checkbox">Tags <input type="checkbox">Photos <input type="checkbox">Albums <input type="checkbox">Users
+ </div>
+ <div style="position : absolute; top : 70px; left : 163px">
+ <a href="#" style="color : #FFFFFF; text-decoration : none">Hide options <img src="images/shell/bull_arr_up.gif" width="7" height="7" alt="" border="0"> </a>
+ </div>
+ </div>
+</form>
+
+<div style="height : 52px; width: 79px; position : absolute; top : 0px; left : 278px; visibility : vidden;">
+ <img src="images/shell/ai.png" width="52" height="79" alt="" border="0" style="position : absolute; top : 0px; left: 0px">
+ <img src="images/shell/ai.gif" width="26" height="26" alt="" border="0" style="position : absolute; top : 26px; left: 13px">
+</div>
+</body>
+</html>
Added: management/design/realWorldDemo/html/images/examples/photo_200.jpg
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/examples/photo_200.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/ai.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/ai.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/ai.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/ai.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/arr_left.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/arr_left.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/arr_right.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/arr_right.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/bull_arr_down.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/bull_arr_down.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/bull_arr_up.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/bull_arr_up.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/bullet.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/bullet.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/footer_bg.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/footer_bg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/frame_album_120.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/frame_album_120.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/frame_album_200.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/frame_album_200.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/frame_album_80.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/frame_album_80.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/frame_photo_120.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/frame_photo_120.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/frame_photo_200.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/frame_photo_200.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/frame_photo_80.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/frame_photo_80.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/general_panel_bg.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/general_panel_bg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/general_panel_header_bg.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/general_panel_header_bg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/general_panelbar_bg.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/general_panelbar_bg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/general_panelbar_bullet.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/general_panelbar_bullet.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/logo_bottom.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/logo_bottom.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/logo_top.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/logo_top.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/page_bg.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/page_bg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/search_bg.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/search_bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/search_option_bg.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/search_option_bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/spacer.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/spacer.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/top_tight_bullet.gif
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/top_tight_bullet.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/tree_icon_album.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/tree_icon_album.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/tree_icon_minus.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/tree_icon_minus.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/tree_icon_plus.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/tree_icon_plus.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/tree_icon_shelf.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/tree_icon_shelf.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/images/shell/tree_icon_slid.png
===================================================================
(Binary files differ)
Property changes on: management/design/realWorldDemo/html/images/shell/tree_icon_slid.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/realWorldDemo/html/photo.html
===================================================================
--- management/design/realWorldDemo/html/photo.html (rev 0)
+++ management/design/realWorldDemo/html/photo.html 2009-03-02 16:40:50 UTC (rev 12788)
@@ -0,0 +1,698 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+ <title>Untitled</title>
+ <link rel="STYLESHEET" type="text/css" href="common.css">
+</head>
+<style>
+ *{font-family : verdana; font-size : 11px}
+ body {margin : 0px; background : url(images/shell/page_bg.gif) repeat-x #D7D7D7; height : 100%}
+ h1{font-size : 175%; font-weight : normal; margin : 0px;}
+ .top_part {height : 116px;}
+ .header_box {height : 79px; position : relative;}
+ .auth_box {position : absolute; font-weight : bold; color : #ffffff; right : 8px; top : 42px}
+ .auth_data {vertical-align : top; padding : 0px 8px 0px 15px; font-weight : bold; color : #ffffff;}
+ .auth_data span {color : #FF7200;}
+ .about_toolbar {position : absolute; right : 8px; top : 12px;}
+ .about_toolbar_item {vertical-align : top; padding : 0px 8px 0px 15px;}
+ .about_toolbar_item a{font-size : 11px; color : #ffffff; text-decoration : none;}
+ .about_toolbar_item a:hover{font-size : 11px; color : #ffffff; text-decoration : underline;}
+
+ .content_box {padding : 15px 35px 45px 35px;}
+ .content_box p {margin : 0px 0px 5px 0px; FONT-SIZE : 12PX}
+
+ a{color : #DF6400;}
+
+
+ .preview_box_album_80 {width : 100px; height : 100px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_album_80 img.pr_album_bg {width : 100px; height : 100px; position : absolute;}
+ .preview_box_album_80 table{position : relative; width : 100px; height : 100px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_album_80 table img{margin: 0px 0px 2px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_album_120 {width : 140px; height : 140px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_album_120 img.pr_album_bg {width : 140px; height : 140px; position : absolute;}
+ .preview_box_album_120 table{position : relative; width : 140px; height : 140px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_album_120 table img{margin: 0px 0px 2px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_album_160 {width : 180px; height : 180px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_album_160 img.pr_album_bg {width : 180px; height : 180px; position : absolute;}
+ .preview_box_album_160 table{position : relative; width : 180px; height : 180px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_album_160 table img{margin: 0px 0px 1px 1px; border : 1px solid #FFFFFF;}
+
+
+
+ .preview_box_photo_80 {width : 100px; height : 100px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_photo_80 img.pr_photo_bg {width : 100px; height : 100px; position : absolute;}
+ .preview_box_photo_80 table{position : relative; width : 100px; height : 100px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_photo_80 table img{margin: 0px 0px 0px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_photo_120 {width : 140px; height : 140px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_photo_120 img.pr_photo_bg {width : 140px; height : 140px; position : absolute;}
+ .preview_box_photo_120 table{position : relative; width : 140px; height : 140px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_photo_120 table img{margin: 0px 0px 0px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_photo_160 {width : 180px; height : 180px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_photo_160 img.pr_photo_bg {width : 180px; height : 180px; position : absolute;}
+ .preview_box_photo_160 table{position : relative; width : 180px; height : 180px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_photo_160 table img{margin: 0px 0px 0px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_photo_nav {width : 50px; height : 50px; position : relative; float : left; margin : 0px 2px 0px 0px;}
+ .preview_box_photo_nav img.pr_photo_bg {width : 50px; height : 50px; position : absolute;}
+ .preview_box_photo_nav table{position : relative; width : 50px; height : 50px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_photo_nav table img{margin: 0px 0px 0px 0px; border : 1px solid #FFFFFF;}
+ .preview_box_photo_nav table img.sel{margin: 0px 0px 0px 0px; border : 3px solid #DF6400;}
+
+
+
+
+</style>
+
+<body>
+
+<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
+ <tr>
+ <td colspan="2">
+ <div class="top_part">
+ <div class="header_box">
+ <a href="#"><img src="images/shell/logo_top.gif" width="290" height="79" alt="" border="0" style="position : absolute;"></a>
+ <div class="auth_box">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td class="auth_data">
+ Welcome, <span>Jhon Smith</span>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+
+ <div class="about_toolbar">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td class="about_toolbar_item">
+ <a href="#">User guide</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ <td class="about_toolbar_item">
+ <a href="#">F.A.Q.</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ <td class="about_toolbar_item">
+ <a href="#">About Demo at JBossWiki</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ <td class="about_toolbar_item">
+ <a href="#">About Demo at JBossForum</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+ </div>
+ <div style="height : 37px; position : relative; background : url(images/shell/general_panelbar_bg.gif) repeat-x #A84807; padding-left : 15px; ">
+ <table height="37px" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td valign="middle">
+ <img src="images/shell/general_panelbar_bullet.gif" width="11" height="15" alt="" border="0"><br>
+ </td>
+ <td style="vertical-align : top; padding : 11px 25px 0px 8px">
+ <a href="#" style="font-size : 11px; font-weight : bold; color : #ffffff; text-decoration : none;">My Album</a>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td height="100%" valign="top">
+ <div style="background : url(images/shell/general_panel_bg.gif) right top repeat-y; height : 100%;">
+ <div style="height : 15px; background : url(images/shell/general_panel_header_bg.gif) right top; font-size : 1px;">
+ <img src="images/shell/spacer.gif" width="300" height="1" alt="" border="0">
+ </div>
+
+ <div style="padding : 15px 35px 15px 15px;">
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_minus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ <strong>Shelf name</strong> :: <a href="#"><strong>7</strong> new</a>
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_plus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Shelf name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_plus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Shelf name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_plus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Shelf name
+ </td>
+ </tr>
+ </table>
+
+
+ </div>
+
+ </div>
+ </td>
+ <td height="100%" width="100%" valign="top"">
+ <div style="background : url(images/shell/general_panel_bg.gif) right top repeat-y; height : 100%;">
+ <div style="height : 15px; background : url(images/shell/general_panel_header_bg.gif) right top; font-size : 1px;">
+
+ </div>
+ <div class="content_box">
+
+ <table style="border-collapse : collapse; margin-bottom : 15px" cellpadding="0">
+ <tr>
+ <td>
+ <h1 style="margin-bottom : 4px">Photo name (0-50 symb; first cann't be SPACE symb)</h1>
+ <span style="color : #666666">Album «Album name»</span>
+ </td>
+ <td style=" padding : 8px 0px 0px 20px; vertical-align : top; white-space : nowrap">
+ </td>
+ </tr>
+ </table>
+
+ <p> This is a "Photo name..." description.
+
+
+ <div style="margin : 30px 0px 0px 0px; background : #f1f1f1; padding : 3px 4px 53px 2px;">
+ <div style="float : right" onclick="window.location.href='#'" style="cursor : pointer">
+ <img src="images/shell/tree_icon_slid.png" width="27" height="16" alt="" border="0" style="vertical-align : bottom; margin-right : 5px">Slideshow
+ </div>
+
+ <div>
+ <a href="#"><img src="images/shell/arr_left.png" width="16" height="50" alt="" border="0" style="float : left; margin-right : 4px"></a>
+ <div class="preview_box_photo_nav">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="preview_box_photo_nav">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="preview_box_photo_nav">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="preview_box_photo_nav">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="preview_box_photo_nav">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="preview_box_photo_nav">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="preview_box_photo_nav">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0" class="sel"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="preview_box_photo_nav">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="preview_box_photo_nav">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="preview_box_photo_nav">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <a href="#"><img src="images/shell/arr_right.png" width="16" height="50" alt="" border="0" style="float : left"></a>
+ </div>
+ </div>
+ <br clear="all">
+ <div style="padding-top : 10px;">
+ <table cellpadding="0" style="border-collapse : collapse; margin-bottom : 5px">
+ <tr>
+ <td style="padding-right : 10px" rowspan="2">
+ <img src="images/examples/photo_200.jpg" width="600" height="400" alt="" border="0" style="border : 2px solid #FFFFFF;">
+ </td>
+ <td valign="top">
+ <div style="margin : 0px 0px 0px 0px; background : #f1f1f1; padding : 3px 4px 4px 4px;">
+ <a href="#">Original size</a>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td valign="bottom" style="padding-bottom : 5px">
+ <div style="margin : 0px 0px 0px 0px; background : #f1f1f1; padding : 3px 4px 4px 4px;">
+ <a href="#">Edit</a>
+ </div>
+
+ <div style="margin : 3px 0px 0px 0px; background : #f1f1f1; padding : 3px 4px 4px 4px;">
+ <a href="#">Delete</a>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <span style="color : #666666">Captured:</span> Samsung T1000<br>
+ <span style="color : #666666">Uploaded:</span> 1 november 2008<br>
+ <span style="color : #666666">Author:</span> <a href="#">Author Name</a>
+ <br><br>
+
+
+
+ <div style="margin-top : 20px">
+ <strong>Tags:</strong> <a href="#">breathtaking</a>, <a href="#">bright</a>, <a href="#">clouds</a>, <a href="#">cloudy</a>, <a href="#">day</a>, <a href="#">grass</a>, <a href="#">lens flare</a>, <a href="#">low angle</a>, <a href="#">view</a>, <a href="#">nature</a>, <a href="#">nobody</a>, <a href="#">outdoor</a>, <a href="#">peaceful</a>, <a href="#">picturesque</a>, <a href="#">serenity</a>, <a href="#">sky</a>, <a href="#">sunny</a>, <a href="#">sun</a>, <a href="#">sunshine</a>
+ </div>
+
+ <div style="margin-top : 30px">
+ <strong>Comments:</strong>
+ <br><br>
+
+ <table style="border-collapse : collapse; margin-bottom : 20px" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <div class="preview_box_photo_nav" style="margin-right : 5px">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ <td width="100%" valign="top">
+
+ <div style="margin : 1px 0px 7px 0px; background : #f1f1f1; padding : 3px 4px 4px 4px;">
+ <div style="float : right" onclick="window.location.href='#'" style="cursor : pointer">
+ <a href="#">Delete comment</a>
+ </div>
+ <div>
+ <strong>Username</strong> <span style="color : #666666">1 Dec 2008</span>
+ </div>
+ </div>
+ <div style="margin : 0px 0px 10px 0px; padding : 0px 4px 0px 4px;">
+ Comment
+ </div>
+
+ </td>
+ </tr>
+ </table>
+
+ <table style="border-collapse : collapse; margin-bottom : 20px" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <div class="preview_box_photo_nav" style="margin-right : 5px">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ <td width="100%" valign="top">
+
+ <div style="margin : 1px 0px 7px 0px; background : #f1f1f1; padding : 3px 4px 4px 4px;">
+ <div style="float : right" onclick="window.location.href='#'" style="cursor : pointer">
+ <a href="#">Delete comment</a>
+ </div>
+ <div>
+ <strong>Username</strong> <span style="color : #666666">1 Dec 2008</span>
+ </div>
+ </div>
+ <div style="margin : 0px 0px 10px 0px; padding : 0px 4px 0px 4px;">
+ Comment
+ </div>
+
+ </td>
+ </tr>
+ </table>
+
+ <table style="border-collapse : collapse; margin-bottom : 20px" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <div class="preview_box_photo_nav" style="margin-right : 5px">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ <td width="100%" valign="top">
+
+ <div style="margin : 1px 0px 7px 0px; background : #f1f1f1; padding : 3px 4px 4px 4px;">
+ <div style="float : right" onclick="window.location.href='#'" style="cursor : pointer">
+ <a href="#">Delete comment</a>
+ </div>
+ <div>
+ <strong>Username</strong> <span style="color : #666666">1 Dec 2008</span>
+ </div>
+ </div>
+ <div style="margin : 0px 0px 10px 0px; padding : 0px 4px 0px 4px;">
+ Comment
+ </div>
+
+ </td>
+ </tr>
+ </table>
+
+ <table style="border-collapse : collapse; margin-bottom : 20px" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <div class="preview_box_photo_nav" style="margin-right : 5px">
+ <img class="pr_photo_bg" src="images/shell/frame_photo_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="40" height="40" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ <td width="100%" valign="top">
+
+ <div style="margin : 1px 0px 7px 0px; background : #f1f1f1; padding : 3px 4px 4px 4px;">
+ <div style="float : right" onclick="window.location.href='#'" style="cursor : pointer">
+ <a href="#">Delete comment</a>
+ </div>
+ <div>
+ <strong>Username</strong> <span style="color : #666666">1 Dec 2008</span>
+ </div>
+ </div>
+ <div style="margin : 0px 0px 10px 0px; padding : 0px 4px 0px 4px;">
+ Comment
+ </div>
+
+ </td>
+ </tr>
+ </table>
+
+ <a href="#">Add comment</a>
+ </div>
+
+ </div>
+
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div style="height : 82px; position : relative; background : url(images/shell/footer_bg.gif) repeat-x #000000;">
+ <img src="images/shell/logo_bottom.gif" width="160" height="55" alt="" border="0" style="position : absolute; right : 0px; top : 27px">
+ <div style="position : absolute; left : 8px; top : 51px">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+ <td style="vertical-align : top; padding : 0px 15px 0px 8px">
+ <a href="#" style="font-size : 11px; color : #ffffff; text-decoration : none;"> Terms And Conditions</a>
+ </td>
+
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+ <td style="vertical-align : top; padding : 0px 15px 0px 8px">
+ <a href="#" style="font-size : 11px; color : #ffffff; text-decoration : none;">Privacy Statement</a>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+ </div>
+ </td>
+ </tr>
+</table>
+
+<form style="margin : 0px">
+ <div style="height : 65px; width: 339px; position : absolute; top : 64px; right : 0px; margin-right : 0px;">
+ <img src="images/shell/search_bg.png" width="339" height="65" alt="" border="0" style="position : absolute; top : 0px; left: 0px">
+ <div style="position : absolute; color : #FFFFFF; font-weight : bold; top : 22px; left : 20px">
+ Search
+ </div>
+ <div style="position : absolute; color : #FFFFFF; font-weight : bold; top : 21px; left : 277px">
+ Find
+ </div>
+ <input type="Text" style="width : 176px; height : 17px; border : 0px; position : absolute; top : 20px; left : 73px; background : none; font-weight : bold;">
+ <input type="Image" src="images/shell/spacer.gif" border="0" style="width : 61px; height : 18px; position : absolute; top : 20px; left : 261px;">
+ <div style="position : absolute; top : 41px; left : 197px">
+ <a href="#" style="color : #FFFFFF; text-decoration : none">Options <img src="images/shell/bull_arr_down.gif" width="7" height="7" alt="" border="0"> </a>
+ </div>
+ </div>
+ <div style="height : 90px; width: 327px; position : absolute; top : 107px; right : 5px; background : none; display : none; overflow : hidden;">
+ <img src="images/shell/search_option_bg.png" width="327" height="153" alt="" border="0" style="position : absolute; bottom : 0px; left: 0px">
+ <div style="position : absolute; color : white; top : 7px; left : 45px">
+ in <input type="checkbox">in My Album <input type="checkbox">in Shared Albums
+ </div>
+ <div style="position : absolute; color : white; top : 32px; padding-top : 3px; left : 38px; border-top : 1px solid #383838">
+ for <input type="checkbox">Tags <input type="checkbox">Photos <input type="checkbox">Albums <input type="checkbox">Users
+ </div>
+ <div style="position : absolute; top : 70px; left : 163px">
+ <a href="#" style="color : #FFFFFF; text-decoration : none">Hide options <img src="images/shell/bull_arr_up.gif" width="7" height="7" alt="" border="0"> </a>
+ </div>
+ </div>
+</form>
+
+<div style="height : 52px; width: 79px; position : absolute; top : 0px; left : 278px; visibility : vidden;">
+ <img src="images/shell/ai.png" width="52" height="79" alt="" border="0" style="position : absolute; top : 0px; left: 0px">
+ <img src="images/shell/ai.gif" width="26" height="26" alt="" border="0" style="position : absolute; top : 26px; left: 13px">
+</div>
+</body>
+</html>
Added: management/design/realWorldDemo/html/shelf.html
===================================================================
--- management/design/realWorldDemo/html/shelf.html (rev 0)
+++ management/design/realWorldDemo/html/shelf.html 2009-03-02 16:40:50 UTC (rev 12788)
@@ -0,0 +1,476 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+ <title>Untitled</title>
+ <link rel="STYLESHEET" type="text/css" href="common.css">
+</head>
+<style>
+ *{font-family : verdana; font-size : 11px}
+ body {margin : 0px; background : url(images/shell/page_bg.gif) repeat-x #D7D7D7; height : 100%}
+ h1{font-size : 175%; font-weight : normal; margin : 0px;}
+ .top_part {height : 116px;}
+ .header_box {height : 79px; position : relative;}
+ .auth_box {position : absolute; font-weight : bold; color : #ffffff; right : 8px; top : 42px}
+ .auth_data {vertical-align : top; padding : 0px 8px 0px 15px; font-weight : bold; color : #ffffff;}
+ .auth_data span {color : #FF7200;}
+ .about_toolbar {position : absolute; right : 8px; top : 12px;}
+ .about_toolbar_item {vertical-align : top; padding : 0px 8px 0px 15px;}
+ .about_toolbar_item a{font-size : 11px; color : #ffffff; text-decoration : none;}
+ .about_toolbar_item a:hover{font-size : 11px; color : #ffffff; text-decoration : underline;}
+
+ .content_box {padding : 15px 35px 15px 35px;}
+ .content_box p {margin : 0px 0px 5px 0px; FONT-SIZE : 12PX}
+
+ a{color : #DF6400;}
+
+
+ .preview_box_album_80 {width : 100px; height : 100px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_album_80 img.pr_album_bg {width : 100px; height : 100px; position : absolute;}
+ .preview_box_album_80 table{position : relative; width : 100px; height : 100px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_album_80 table img{margin: 0px 0px 2px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_album_120 {width : 140px; height : 140px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_album_120 img.pr_album_bg {width : 140px; height : 140px; position : absolute;}
+ .preview_box_album_120 table{position : relative; width : 140px; height : 140px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_album_120 table img{margin: 0px 0px 2px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_album_160 {width : 180px; height : 180px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_album_160 img.pr_album_bg {width : 180px; height : 180px; position : absolute;}
+ .preview_box_album_160 table{position : relative; width : 180px; height : 180px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_album_160 table img{margin: 0px 0px 1px 1px; border : 1px solid #FFFFFF;}
+
+
+
+ .preview_box_photo_80 {width : 100px; height : 100px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_photo_80 img.pr_photo_bg {width : 100px; height : 100px; position : absolute;}
+ .preview_box_photo_80 table{position : relative; width : 100px; height : 100px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_photo_80 table img{margin: 0px 0px 0px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_photo_120 {width : 140px; height : 140px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_photo_120 img.pr_photo_bg {width : 140px; height : 140px; position : absolute;}
+ .preview_box_photo_120 table{position : relative; width : 140px; height : 140px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_photo_120 table img{margin: 0px 0px 0px 0px; border : 1px solid #FFFFFF;}
+
+ .preview_box_photo_160 {width : 180px; height : 180px; position : relative; float : left; margin : 0px 10px 20px 0px;}
+ .preview_box_photo_160 img.pr_photo_bg {width : 180px; height : 180px; position : absolute;}
+ .preview_box_photo_160 table{position : relative; width : 180px; height : 180px; text-align : center; vertical-align : middle; border-collapse : collapse;}
+ .preview_box_photo_160 table img{margin: 0px 0px 0px 0px; border : 1px solid #FFFFFF;}
+
+
+
+
+</style>
+
+<body>
+
+<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
+ <tr>
+ <td colspan="2">
+ <div class="top_part">
+ <div class="header_box">
+ <a href="#"><img src="images/shell/logo_top.gif" width="290" height="79" alt="" border="0" style="position : absolute;"></a>
+ <div class="auth_box">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td class="auth_data">
+ Welcome, <span>Jhon Smith</span>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+
+ <div class="about_toolbar">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td class="about_toolbar_item">
+ <a href="#">User guide</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ <td class="about_toolbar_item">
+ <a href="#">F.A.Q.</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ <td class="about_toolbar_item">
+ <a href="#">About Demo at JBossWiki</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ <td class="about_toolbar_item">
+ <a href="#">About Demo at JBossForum</a>
+ </td>
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+ </div>
+ <div style="height : 37px; position : relative; background : url(images/shell/general_panelbar_bg.gif) repeat-x #A84807; padding-left : 15px; ">
+ <table height="37px" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td valign="middle">
+ <img src="images/shell/general_panelbar_bullet.gif" width="11" height="15" alt="" border="0"><br>
+ </td>
+ <td style="vertical-align : top; padding : 11px 25px 0px 8px">
+ <a href="#" style="font-size : 11px; font-weight : bold; color : #ffffff; text-decoration : none;">My Album</a>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td height="100%" valign="top">
+ <div style="background : url(images/shell/general_panel_bg.gif) right top repeat-y; height : 100%;">
+ <div style="height : 15px; background : url(images/shell/general_panel_header_bg.gif) right top; font-size : 1px;">
+ <img src="images/shell/spacer.gif" width="300" height="1" alt="" border="0">
+ </div>
+
+ <div style="padding : 15px 35px 15px 15px;">
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_minus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ <strong>Shelf name</strong> :: <a href="#"><strong>7</strong> new</a>
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/spacer.gif" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_album.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Album name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_plus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Shelf name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_plus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Shelf name
+ </td>
+ </tr>
+ </table>
+ <table style="border-collapse : collapse; margin-bottom : 5px;" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <img src="images/shell/tree_icon_plus.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top">
+ <img src="images/shell/tree_icon_shelf.png" width="25" height="16" alt="" border="0"><br>
+ </td>
+ <td valign="top" style="padding-left : 4px">
+ Shelf name
+ </td>
+ </tr>
+ </table>
+
+
+ </div>
+
+ </div>
+ </td>
+ <td height="100%" width="100%" valign="top"">
+ <div style="background : url(images/shell/general_panel_bg.gif) right top repeat-y; height : 100%;">
+ <div style="height : 15px; background : url(images/shell/general_panel_header_bg.gif) right top; font-size : 1px;">
+
+ </div>
+ <div class="content_box">
+
+ <table style="border-collapse : collapse; margin-bottom : 15px" cellpadding="0">
+ <tr>
+ <td>
+ <h1 style="margin-bottom : 4px">Shelf name (0-50 symb; first cann't be SPACE symb)</h1>
+ <span style="color : #666666">Created <strong>29 Jan 2009</strong>, contain <strong>200</strong> pics into <strong>10</strong> albums, <a href="#"><strong>7</strong> new</a> pics</span>
+ </td>
+ <td style=" padding : 8px 0px 0px 20px; vertical-align : top; white-space : nowrap">
+ <a href="#">Edit</a>
+ <a href="#">Delete</a>
+ </td>
+ </tr>
+ </table>
+
+ <p> This is a "Album name..." description.
+
+ <div style="margin : 30px 0px 0px 0px;">
+ <div>
+ Preview size: inputNumberSlider
+ </div>
+ </div>
+ <br><br>
+
+ <div class="preview_box_album_80">
+ <img class="pr_album_bg" src="images/shell/frame_album_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="80" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_album_80">
+ <img class="pr_album_bg" src="images/shell/frame_album_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="80" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_album_80">
+ <img class="pr_album_bg" src="images/shell/frame_album_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="80" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_album_80">
+ <img class="pr_album_bg" src="images/shell/frame_album_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="80" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div class="preview_box_album_80">
+ <img class="pr_album_bg" src="images/shell/frame_album_200.png" border="0">
+ <table cellpadding="0">
+ <tr>
+ <td>
+ <a href="#"><img src="images/examples/photo_200.jpg" width="80" height="80" alt="" border="0"></a><br>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+
+ <div style="width : 90%; height : 10px; float : left;"> <div>
+
+
+ </div>
+
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div style="height : 82px; position : relative; background : url(images/shell/footer_bg.gif) repeat-x #000000;">
+ <img src="images/shell/logo_bottom.gif" width="160" height="55" alt="" border="0" style="position : absolute; right : 0px; top : 27px">
+ <div style="position : absolute; left : 8px; top : 51px">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+ <td style="vertical-align : top; padding : 0px 15px 0px 8px">
+ <a href="#" style="font-size : 11px; color : #ffffff; text-decoration : none;"> Terms And Conditions</a>
+ </td>
+
+ <td valign="middle">
+ <img src="images/shell/bullet.gif" width="3" height="15" alt="" border="0"><br>
+ </td>
+ <td style="vertical-align : top; padding : 0px 15px 0px 8px">
+ <a href="#" style="font-size : 11px; color : #ffffff; text-decoration : none;">Privacy Statement</a>
+ </td>
+
+ </tr>
+ </table>
+ </div>
+ </div>
+ </td>
+ </tr>
+</table>
+
+<form style="margin : 0px">
+ <div style="height : 65px; width: 339px; position : absolute; top : 64px; right : 0px; margin-right : 0px;">
+ <img src="images/shell/search_bg.png" width="339" height="65" alt="" border="0" style="position : absolute; top : 0px; left: 0px">
+ <div style="position : absolute; color : #FFFFFF; font-weight : bold; top : 22px; left : 20px">
+ Search
+ </div>
+ <div style="position : absolute; color : #FFFFFF; font-weight : bold; top : 21px; left : 277px">
+ Find
+ </div>
+ <input type="Text" style="width : 176px; height : 17px; border : 0px; position : absolute; top : 20px; left : 73px; background : none; font-weight : bold;">
+ <input type="Image" src="images/shell/spacer.gif" border="0" style="width : 61px; height : 18px; position : absolute; top : 20px; left : 261px;">
+ <div style="position : absolute; top : 41px; left : 197px">
+ <a href="#" style="color : #FFFFFF; text-decoration : none">Options <img src="images/shell/bull_arr_down.gif" width="7" height="7" alt="" border="0"> </a>
+ </div>
+ </div>
+ <div style="height : 90px; width: 327px; position : absolute; top : 107px; right : 5px; background : none; display : none; overflow : hidden;">
+ <img src="images/shell/search_option_bg.png" width="327" height="153" alt="" border="0" style="position : absolute; bottom : 0px; left: 0px">
+ <div style="position : absolute; color : white; top : 7px; left : 45px">
+ in <input type="checkbox">in My Album <input type="checkbox">in Shared Albums
+ </div>
+ <div style="position : absolute; color : white; top : 32px; padding-top : 3px; left : 38px; border-top : 1px solid #383838">
+ for <input type="checkbox">Tags <input type="checkbox">Photos <input type="checkbox">Albums <input type="checkbox">Users
+ </div>
+ <div style="position : absolute; top : 70px; left : 163px">
+ <a href="#" style="color : #FFFFFF; text-decoration : none">Hide options <img src="images/shell/bull_arr_up.gif" width="7" height="7" alt="" border="0"> </a>
+ </div>
+ </div>
+</form>
+
+<div style="height : 52px; width: 79px; position : absolute; top : 0px; left : 278px; visibility : vidden;">
+ <img src="images/shell/ai.png" width="52" height="79" alt="" border="0" style="position : absolute; top : 0px; left: 0px">
+ <img src="images/shell/ai.gif" width="26" height="26" alt="" border="0" style="position : absolute; top : 26px; left: 13px">
+</div>
+</body>
+</html>
15 years, 10 months
JBoss Rich Faces SVN: r12787 - in trunk: framework/api/src/test/java/org/ajax4jsf/framework/util/javascript and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2009-03-02 09:52:46 -0500 (Mon, 02 Mar 2009)
New Revision: 12787
Added:
trunk/samples/panelmenu-sample/src/main/webapp/pages/rf5671.jsp
Modified:
trunk/framework/api/src/main/java/org/ajax4jsf/javascript/ScriptUtils.java
trunk/framework/api/src/test/java/org/ajax4jsf/framework/util/javascript/ScriptUtilsTest.java
trunk/framework/impl/src/main/java/org/ajax4jsf/resource/InternetResourceBase.java
trunk/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java
trunk/framework/impl/src/main/java/org/ajax4jsf/resource/ServletResourceContext.java
trunk/framework/impl/src/main/java/org/ajax4jsf/resource/UserResource.java
trunk/samples/panelmenu-sample/src/main/java/org/richfaces/Bean.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java
trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
Log:
ScriptUtils: toScript() fails with java.sql.* types
https://jira.jboss.org/jira/browse/RF-6278
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/javascript/ScriptUtils.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/javascript/ScriptUtils.java 2009-03-02 14:41:00 UTC (rev 12786)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/javascript/ScriptUtils.java 2009-03-02 14:52:46 UTC (rev 12787)
@@ -71,11 +71,9 @@
} else if (obj instanceof Collection) {
// Collections put as JavaScript array.
-
@SuppressWarnings("unchecked")
Collection<Object> collection = (Collection<Object>) obj;
-
StringBuilder ret = new StringBuilder("[");
boolean first = true;
for (Iterator<Object> iter = collection.iterator(); iter.hasNext();) {
@@ -95,8 +93,7 @@
StringBuilder ret = new StringBuilder("{");
boolean first = true;
- for (Iterator<Map.Entry<Object, Object>> iter = map.entrySet().iterator(); iter.hasNext();) {
- Map.Entry<Object, Object> entry = iter.next();
+ for (Map.Entry<Object, Object> entry : map.entrySet()) {
if (!first) {
ret.append(',');
}
@@ -116,36 +113,63 @@
addEncodedString(ret, obj);
return ret.toString();
} else if (obj instanceof Enum) {
- // all other put as encoded strings.
- StringBuilder ret = new StringBuilder();
- addEncodedString(ret, obj);
- return ret.toString();
+ // all other put as encoded strings.
+ StringBuilder ret = new StringBuilder();
+ addEncodedString(ret, obj);
+ return ret.toString();
+ } else if (obj.getClass().getName().startsWith("java.sql.")) {
+ StringBuilder ret = new StringBuilder("{");
+ boolean first = true;
+ for (PropertyDescriptor propertyDescriptor :
+ PropertyUtils.getPropertyDescriptors(obj)) {
+ String key = propertyDescriptor.getName();
+ if ("class".equals(key)) {
+ continue;
+ }
+ Object value = null;
+ try {
+ value = PropertyUtils.getProperty(obj, key);
+ } catch (Exception e) {
+ continue;
+ }
+
+ if (!first) {
+ ret.append(',');
+ }
+
+ addEncodedString(ret, key);
+ ret.append(":");
+ ret.append(toScript(value));
+
+ first = false;
+ }
+ return ret.append("} ").toString();
}
+
// All other objects threaded as Java Beans.
- try {
- StringBuilder ret = new StringBuilder("{");
- PropertyDescriptor[] propertyDescriptors = PropertyUtils
- .getPropertyDescriptors(obj);
- boolean first = true;
- for (int i = 0; i < propertyDescriptors.length; i++) {
- PropertyDescriptor propertyDescriptor = propertyDescriptors[i];
- String key = propertyDescriptor.getName();
- if ("class".equals(key)) {
- continue;
- }
- if (!first) {
- ret.append(',');
- }
- addEncodedString(ret, key);
- ret.append(":");
- ret.append(toScript(PropertyUtils.getProperty(obj, key)));
- first = false;
- }
- return ret.append("} ").toString();
- } catch (Exception e) {
- throw new FacesException(
- "Error in conversion Java Object to JavaScript", e);
- }
+ try {
+ StringBuilder ret = new StringBuilder("{");
+ PropertyDescriptor[] propertyDescriptors = PropertyUtils
+ .getPropertyDescriptors(obj);
+ boolean first = true;
+ for (PropertyDescriptor propertyDescriptor : propertyDescriptors) {
+ String key = propertyDescriptor.getName();
+ if ("class".equals(key)) {
+ continue;
+ }
+ if (!first) {
+ ret.append(',');
+ }
+ addEncodedString(ret, key);
+ ret.append(":");
+ ret.append(toScript(PropertyUtils.getProperty(obj, key)));
+ first = false;
+ }
+ return ret.append("} ").toString();
+ } catch (Exception e) {
+ throw new FacesException(
+ "Error in conversion Java Object to JavaScript", e);
+ }
}
public static void addEncodedString(StringBuilder buff, Object obj) {
Modified: trunk/framework/api/src/test/java/org/ajax4jsf/framework/util/javascript/ScriptUtilsTest.java
===================================================================
--- trunk/framework/api/src/test/java/org/ajax4jsf/framework/util/javascript/ScriptUtilsTest.java 2009-03-02 14:41:00 UTC (rev 12786)
+++ trunk/framework/api/src/test/java/org/ajax4jsf/framework/util/javascript/ScriptUtilsTest.java 2009-03-02 14:52:46 UTC (rev 12787)
@@ -49,9 +49,6 @@
boolean _bool;
Object _foo;
- /**
- *
- */
public Bean() {
}
/**
@@ -100,7 +97,6 @@
public void setFoo(Object foo) {
this._foo = foo;
}
-
}
/**
@@ -125,6 +121,15 @@
int[] obj = {1,2,3,4,5};
assertEquals("[1,2,3,4,5] ", ScriptUtils.toScript(obj));
}
+
+ public void testSqlDate() {
+ java.sql.Time obj = new java.sql.Time(1);
+ assertNotNull(ScriptUtils.toScript(obj));
+
+ java.sql.Date obj1 = new java.sql.Date(1);
+ assertNotNull(ScriptUtils.toScript(obj1));
+ }
+
/**
* Test method for {@link org.ajax4jsf.javascript.ScriptUtils#toScript(java.lang.Object)}.
*/
@@ -139,7 +144,7 @@
public void testTwoDimentionalStringArrayToScript() {
String[][] obj = {{"one","two"},{"three","four"}};
assertEquals("[['one','two'] ,['three','four'] ] ", ScriptUtils.toScript(obj));
- Map map = new TreeMap();
+ Map<String, Object> map = new TreeMap<String, Object>();
map.put("a", obj);
map.put("b", "c");
assertEquals("{'a':[['one','two'] ,['three','four'] ] ,'b':'c'} ", ScriptUtils.toScript(map));
@@ -148,7 +153,7 @@
* Test method for {@link org.ajax4jsf.javascript.ScriptUtils#toScript(java.lang.Object)}.
*/
public void testListToScript() {
- List obj = new ArrayList();
+ List<Integer> obj = new ArrayList<Integer>();
obj.add(new Integer(1));
obj.add(new Integer(2));
obj.add(new Integer(3));
@@ -161,7 +166,7 @@
* Test method for {@link org.ajax4jsf.javascript.ScriptUtils#toScript(java.lang.Object)}.
*/
public void testSetToScript() {
- Set obj = new TreeSet();
+ Set<Integer> obj = new TreeSet<Integer>();
obj.add(new Integer(1));
obj.add(new Integer(2));
obj.add(new Integer(3));
@@ -182,7 +187,7 @@
*/
public void testObjectListToScript() {
Bean[] array = {new Bean(1,true,"foo"),new Bean(2,false,"bar")};
- List obj = Arrays.asList(array);
+ List<Bean> obj = Arrays.asList(array);
assertEquals("[{'bool':true,'foo':'foo',\'integer\':1} ,{'bool':false,'foo':'bar','integer':2} ] ", ScriptUtils.toScript(obj));
}
@@ -190,7 +195,7 @@
* Test method for {@link org.ajax4jsf.javascript.ScriptUtils#toScript(java.lang.Object)}.
*/
public void testMapToScript() {
- TreeMap obj = new TreeMap();
+ TreeMap<String, String> obj = new TreeMap<String, String>();
obj.put("a", "foo");
obj.put("b", "bar");
obj.put("c", "baz");
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/resource/InternetResourceBase.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/resource/InternetResourceBase.java 2009-03-02 14:41:00 UTC (rev 12786)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/resource/InternetResourceBase.java 2009-03-02 14:52:46 UTC (rev 12787)
@@ -369,9 +369,7 @@
*/
public void send(ResourceContext context) throws IOException {
if (log.isDebugEnabled()) {
- log
- .debug(Messages.getMessage(Messages.SEND_CONTENT_INFO,
- getKey()));
+ log.debug(Messages.getMessage(Messages.SEND_CONTENT_INFO,getKey()));
}
int total = getRenderer(context).send(this, context);
// For cacheable resources, store size.
@@ -391,41 +389,39 @@
* @see org.ajax4jsf.chameleon.resource.InternetResource#sendHeaders(javax.servlet.http.HttpServletResponse)
*/
public void sendHeaders(ResourceContext context) {
- boolean cached = context.isCacheEnabled() && isCacheable(context);
- if (log.isDebugEnabled()) {
- log.debug(Messages.getMessage(Messages.SET_RESPONSE_HEADERS_INFO,
- getKey()));
- }
- // context.setHeader("Content-Type",getContentType());
- context.setContentType(getContentType(context));
- Date lastModified = getLastModified(context);
- if (lastModified != null) {
- context.setDateHeader("Last-Modified", lastModified.getTime());
- }
- int contentLength = getContentLength(context);
- if (cached) {
- if (contentLength > 0) {
- context.setContentLength(contentLength);
- }
- long expired = getExpired(context);
- if (expired < 0 ) {
- expired = DEFAULT_EXPIRE;
- }
- context.setDateHeader("Expires", System.currentTimeMillis()
- + expired);
- context.setHeader("Cache-control", "max-age="
- + (expired / 1000L));
- } else {
- if (contentLength > 0) {
- context.setContentLength(contentLength);
-// } else {
-// context.setHeader("Transfer-Encoding", "chunked");
- }
- context.setHeader("Cache-control", "max-age=0, no-store, no-cache");
- context.setHeader("Pragma", "no-cache");
- context.setIntHeader("Expires", 0);
- }
- }
+ boolean cached = context.isCacheEnabled() && isCacheable(context);
+ if (log.isDebugEnabled()) {
+ log.debug(Messages.getMessage(Messages.SET_RESPONSE_HEADERS_INFO,
+ getKey()));
+ }
+ // context.setHeader("Content-Type",getContentType());
+ context.setContentType(getContentType(context));
+ Date lastModified = getLastModified(context);
+ if (lastModified != null) {
+ context.setDateHeader("Last-Modified", lastModified.getTime());
+ }
+ int contentLength = getContentLength(context);
+ if (cached) {
+ if (contentLength > 0) {
+ context.setContentLength(contentLength);
+ }
+ long expired = getExpired(context);
+ if (expired < 0) {
+ expired = DEFAULT_EXPIRE;
+ }
+ context.setDateHeader("Expires", System.currentTimeMillis() + expired);
+ context.setHeader("Cache-control", "max-age=" + (expired / 1000L));
+ } else {
+ if (contentLength > 0) {
+ context.setContentLength(contentLength);
+ // } else {
+ // context.setHeader("Transfer-Encoding", "chunked");
+ }
+ context.setHeader("Cache-control", "max-age=0, no-store, no-cache");
+ context.setHeader("Pragma", "no-cache");
+ context.setIntHeader("Expires", 0);
+ }
+ }
/*
* (non-Javadoc)
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java 2009-03-02 14:41:00 UTC (rev 12786)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java 2009-03-02 14:52:46 UTC (rev 12787)
@@ -109,27 +109,25 @@
public void send(ResourceContext resourceContext, InternetResource resource)
throws IOException {
FacesContext facesContext = FacesContext.getCurrentInstance();
- PhaseListener[] phaseListeners = null;
- PhaseEvent renderViewEvent = null;
if (null != facesContext) {
Lifecycle facesLifecycle = getFacesLifecycle();
- phaseListeners = facesLifecycle.getPhaseListeners();
+ PhaseListener[] phaseListeners = facesLifecycle.getPhaseListeners();
PhaseEvent restoreViewEvent = new PhaseEvent(facesContext,
PhaseId.RESTORE_VIEW, this);
processPhaseListeners(phaseListeners, restoreViewEvent, true);
// Fix for a http://jira.jboss.org/jira/browse/RF-1056
- if (facesContext.getResponseComplete())
+ if (facesContext.getResponseComplete()) {
return;
+ }
// fix for a http://jira.jboss.com/jira/browse/RF-1064 .
// viewRoot can be created outside.
UIViewRoot savedViewRoot = facesContext.getViewRoot();
try {
- // create "dummy" viewRoot, to avoid problems in phase
- // listeners.
+ // create "dummy" viewRoot, to avoid problems in phase listeners.
UIViewRoot root = new UIViewRoot();
String key = resource.getKey();
- if(null != key && !key.startsWith("/")){
- key="/"+key;
+ if (null != key && !key.startsWith("/")) {
+ key = "/" + key;
}
root.setViewId(key);
root.setLocale(Locale.getDefault());
@@ -140,12 +138,11 @@
// Fix for a http://jira.jboss.org/jira/browse/RF-1056
if (!facesContext.getResponseComplete()) {
// Invoke before render view phase listeners
- renderViewEvent = new PhaseEvent(facesContext,
+ PhaseEvent renderViewEvent = new PhaseEvent(facesContext,
PhaseId.RENDER_RESPONSE, this);
processPhaseListeners(phaseListeners, renderViewEvent, true);
sendResource(resourceContext, resource);
- processPhaseListeners(phaseListeners, renderViewEvent,
- false);
+ processPhaseListeners(phaseListeners, renderViewEvent, false);
}
} finally {
@@ -201,11 +198,8 @@
phaseListener.afterPhase(phaseEvent);
}
} catch (Exception e) {
- _log
- .debug("Exception in PhaseListener, phase :"
- + phaseEvent.getPhaseId().toString()
- + (beforePhase ? " : beforePhase"
- : " : afterPhase"), e);
+ _log.debug("Exception in PhaseListener, phase :" + phaseEvent.getPhaseId().toString()
+ + (beforePhase ? " : beforePhase" : " : afterPhase"), e);
}
}
}
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/resource/ServletResourceContext.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/resource/ServletResourceContext.java 2009-03-02 14:41:00 UTC (rev 12786)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/resource/ServletResourceContext.java 2009-03-02 14:52:46 UTC (rev 12787)
@@ -135,7 +135,8 @@
* @return
* @see javax.servlet.ServletContext#getResourcePaths(java.lang.String)
*/
- public Set getResourcePaths(String path) {
+ @SuppressWarnings("unchecked")
+ public Set getResourcePaths(String path) {
return context.getResourcePaths(path);
}
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/resource/UserResource.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/resource/UserResource.java 2009-03-02 14:41:00 UTC (rev 12786)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/resource/UserResource.java 2009-03-02 14:52:46 UTC (rev 12787)
@@ -32,12 +32,7 @@
import javax.faces.component.UIComponent;
import javax.faces.component.UIComponentBase;
import javax.faces.context.FacesContext;
-import javax.faces.el.MethodBinding;
-import javax.faces.el.ValueBinding;
-import org.ajax4jsf.resource.ResourceComponent;
-import org.ajax4jsf.resource.ResourceContext;
-
/**
* @author shura
*
Modified: trunk/samples/panelmenu-sample/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/samples/panelmenu-sample/src/main/java/org/richfaces/Bean.java 2009-03-02 14:41:00 UTC (rev 12786)
+++ trunk/samples/panelmenu-sample/src/main/java/org/richfaces/Bean.java 2009-03-02 14:52:46 UTC (rev 12787)
@@ -25,7 +25,13 @@
*
*/
public class Bean {
+
+ private String name = "two";
+ public void action() {
+ System.out.println(">> Bean.action");
+ }
+
public String executeServer(){
System.out.println("executed server");
return null;
@@ -36,18 +42,14 @@
return null;
}
-
-
public String executeItem1(){
System.out.println("item1 executed ");
return null;
-
}
public String executeItem2(){
System.out.println("item2 executed ");
return null;
-
}
public String executeItem3(){
@@ -55,5 +57,13 @@
return null;
}
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
}
\ No newline at end of file
Added: trunk/samples/panelmenu-sample/src/main/webapp/pages/rf5671.jsp
===================================================================
--- trunk/samples/panelmenu-sample/src/main/webapp/pages/rf5671.jsp (rev 0)
+++ trunk/samples/panelmenu-sample/src/main/webapp/pages/rf5671.jsp 2009-03-02 14:52:46 UTC (rev 12787)
@@ -0,0 +1,27 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/panelmenu" prefix="pm"%>
+
+<html>
+ <head>
+ <style type="text/css">
+ </style>
+ </head>
+ <body>
+ <f:view>
+ <h:form>
+ <h2>3</h2>
+ <pm:panelMenu selectedChild="one" id="pb3" mode="ajax">
+ <pm:panelMenuGroup expanded="true">
+ <pm:panelMenuItem id="one" label="one"/>
+ <pm:panelMenuItem id="two" label="two"/>
+ </pm:panelMenuGroup>
+ </pm:panelMenu>
+ <div>
+ In this case if the User.name="one" by default - no selection will happens at all from the beggining because item in collapsed group.
+ </div>
+ </h:form>
+ </f:view>
+ </body>
+</html>
\ No newline at end of file
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java 2009-03-02 14:41:00 UTC (rev 12786)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java 2009-03-02 14:52:46 UTC (rev 12787)
@@ -254,9 +254,7 @@
Assert.fail("https://jira.jboss.org/jira/browse/RF-5759");
String tabId1 = parentId + FORM_ID + "tab1";
String tabId2 = parentId + FORM_ID + "tab2";
- String tabId3 = parentId + FORM_ID + "tab3";
String tabId4 = parentId + FORM_ID + "tab4";
- String messages = parentId + FORM_ID + "messages";
setValueById(tabId1 + "_input", "text");
setValueById(tabId4 + "_input", "text");
@@ -276,9 +274,6 @@
Assert.fail("https://jira.jboss.org/jira/browse/RF-5759");
String tabId1 = parentId + FORM_ID + "tab1";
String tabId2 = parentId + FORM_ID + "tab2";
- String tabId3 = parentId + FORM_ID + "tab3";
- String tabId4 = parentId + FORM_ID + "tab4";
- String messages = parentId + FORM_ID + "messages";
setValueById(tabId1 + "_input", "text");
Modified: trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
===================================================================
--- trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2009-03-02 14:41:00 UTC (rev 12786)
+++ trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2009-03-02 14:52:46 UTC (rev 12787)
@@ -42,7 +42,7 @@
}
protected void doDecode(FacesContext context, UIComponent component) {
- if(isSubmitted(context, component)) {
+ if (isSubmitted(context, component)) {
new ActionEvent(component).queue();
if ("ajax".equals(getItemMode(component))) {
new AjaxEvent(component).queue();
15 years, 10 months
JBoss Rich Faces SVN: r12786 - trunk/ui/calendar/src/main/templates/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2009-03-02 09:41:00 -0500 (Mon, 02 Mar 2009)
New Revision: 12786
Modified:
trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
Log:
https://jira.jboss.org/jira/browse/RF-6277
Modified: trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
--- trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2009-03-02 14:24:56 UTC (rev 12785)
+++ trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2009-03-02 14:41:00 UTC (rev 12786)
@@ -174,7 +174,6 @@
datePattern: '#{component.datePattern}',
jointPoint: '#{component.jointPoint}',
direction: '#{component.direction}',
- toolTipMode:'#{component.toolTipMode}',
boundaryDatesMode:'#{component.boundaryDatesMode}',
popup: #{component.popup},
enableManualInput: #{component.attributes['enableManualInput']},
15 years, 10 months