JBoss Rich Faces SVN: r13034 - in trunk/test-applications/realworld2/web/src/main/webapp: stylesheet and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2009-03-19 14:12:02 -0400 (Thu, 19 Mar 2009)
New Revision: 13034
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageAdditionalInfo.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageEditInfo.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageInfo.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld.css
Log:
Apply realworld-style ajax button tag; move style to css
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageAdditionalInfo.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageEditInfo.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/image/imageInfo.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld.css
===================================================================
--- trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld.css 2009-03-19 17:35:33 UTC (rev 13033)
+++ trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld.css 2009-03-19 18:12:02 UTC (rev 13034)
@@ -514,6 +514,17 @@
color : #666666;
}
+.additional-info-avatar {
+ width: 80px;
+ height: 80px;
+ border:0px;
+}
+
+.additional-info-comment-del {
+ float : right;
+ cursor : pointer
+}
+
.album-header-table{
border-collapse : collapse;
margin-bottom : 15px;
@@ -626,6 +637,38 @@
border-collapse : collapse;
}
+.image-edit-label {
+ padding-top : 8px;
+}
+
+.image-edit-photo-input {
+ border : 1px solid #999999;
+ width : 350px;
+}
+
+.image-edit-calendar {
+ border : 1px solid #999999;
+ width : 80px;
+}
+
+.image-edit-description-input {
+ border : 1px solid #999999;
+ width : 350px;
+ height : 150px;
+}
+
+.image-edit-tags-input {
+ border : 1px solid #999999;
+ width : 150px;
+ margin-bottom : 4px;
+}
+
+.image-edit-direct-link {
+ border : 0px;
+ background : none;
+ width : 350px
+}
+
.main-menu-icons-outer-div {
cursor: pointer;
float: left;
@@ -762,27 +805,27 @@
.album-edit-area {
border : 1px solid #999999;
width : 350px;
- height : 150px
+ height : 150px;
}
.search-criteria {
- color: #666666
+ color: #666666;
}
.shelf-edit {
margin : 10px 0px 30px 30px;
width : 504px;
- background : #f1f1f1
+ background : #f1f1f1;
}
.shelf-edit-calendar {
border : 1px solid #999999;
- width : 80px
+ width : 80px;
}
.shelf-edit-input {
border : 1px solid #999999;
- width : 350px
+ width : 350px;
}
.shelf-edit-area {
@@ -806,5 +849,5 @@
text-align: center;
vertical-align: middle;
background: white;
- border: 1px solid #909090
+ border: 1px solid #909090;
}
\ No newline at end of file
15 years, 10 months
JBoss Rich Faces SVN: r13033 - in trunk/test-applications/realworld2/web/src/main: java/org/richfaces/realworld/tags and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2009-03-19 13:35:33 -0400 (Thu, 19 Mar 2009)
New Revision: 13033
Added:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/tags/
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/tags/RealworldCommandButtonRenderer.java
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/faces-config.xml
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/realWorld-taglib.xml
trunk/test-applications/realworld2/web/src/main/webapp/includes/albumEdit.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/search.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/shelfEdit.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/tag.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld.css
Log:
Add renderer for Realworld-style Ajax button. Move styles to css
Added: trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/tags/RealworldCommandButtonRenderer.java
===================================================================
--- trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/tags/RealworldCommandButtonRenderer.java (rev 0)
+++ trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/tags/RealworldCommandButtonRenderer.java 2009-03-19 17:35:33 UTC (rev 13033)
@@ -0,0 +1,66 @@
+/**
+ *
+ */
+package org.richfaces.realworld.tags;
+
+import java.io.IOException;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+import javax.faces.render.Renderer;
+
+import org.ajax4jsf.renderkit.AjaxCommandRendererBase;
+import org.ajax4jsf.renderkit.AjaxRendererUtils;
+import org.ajax4jsf.renderkit.RendererUtils.HTML;
+
+
+/**
+ * @author Andrey Markavtsov
+ *
+ */
+public class RealworldCommandButtonRenderer extends AjaxCommandRendererBase {
+
+ @Override
+ public void encodeBegin(FacesContext context, UIComponent component)
+ throws IOException {
+ Object id = component.getClientId(context);
+ Object style = component.getAttributes().get("style");
+ Object value = component.getAttributes().get("value");
+
+ ResponseWriter writer = context.getResponseWriter();
+ writer.startElement(HTML.DIV_ELEM, component);
+ writer.writeAttribute(HTML.id_ATTRIBUTE, id, null);
+ writer.writeAttribute(HTML.class_ATTRIBUTE, "realworldButton", null);
+ writer.writeAttribute(HTML.style_ATTRIBUTE, style, null);
+ writer.writeAttribute(HTML.onclick_ATTRIBUTE, getOnClick(context, component), null);
+
+ writer.startElement(HTML.IMG_ELEMENT, component);
+ writer.writeAttribute(HTML.src_ATTRIBUTE, "img/shell/button.png", null);
+ writer.writeAttribute(HTML.width_ATTRIBUTE, "103", null);
+ writer.writeAttribute(HTML.height_ATTRIBUTE, "28", null);
+ writer.writeAttribute(HTML.alt_ATTRIBUTE, "", null);
+ writer.writeAttribute(HTML.border_ATTRIBUTE, "0", null);
+ writer.endElement(HTML.IMG_ELEMENT);
+
+ writer.startElement(HTML.DIV_ELEM, component);
+ writer.writeText(value, null);
+ writer.endElement(HTML.DIV_ELEM);
+
+ writer.startElement(HTML.IMG_ELEMENT, component);
+ writer.writeAttribute(HTML.src_ATTRIBUTE, "img/shell/spacer.gif", null);
+ writer.writeAttribute(HTML.width_ATTRIBUTE, "103", null);
+ writer.writeAttribute(HTML.height_ATTRIBUTE, "28", null);
+ writer.writeAttribute(HTML.alt_ATTRIBUTE, "", null);
+ writer.writeAttribute(HTML.border_ATTRIBUTE, "0", null);
+ writer.endElement(HTML.IMG_ELEMENT);
+
+ writer.endElement(HTML.DIV_ELEM);
+ }
+
+ @Override
+ protected Class<? extends UIComponent> getComponentClass() {
+ return org.ajax4jsf.component.UIAjaxCommandButton.class;
+ }
+
+}
Modified: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/faces-config.xml 2009-03-19 17:14:59 UTC (rev 13032)
+++ trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/faces-config.xml 2009-03-19 17:35:33 UTC (rev 13033)
@@ -12,4 +12,18 @@
</locale-config>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>
+
+
+ <render-kit>
+ <render-kit-id>HTML_BASIC</render-kit-id>
+ <renderer>
+ <component-family>javax.faces.Command</component-family>
+ <renderer-type>
+ org.ajax4jsf.components.RealworldAjaxCommandButtonRenderer
+ </renderer-type>
+ <renderer-class>
+ org.richfaces.realworld.tags.RealworldCommandButtonRenderer
+ </renderer-class>
+ </renderer>
+ </render-kit>
</faces-config>
Modified: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/realWorld-taglib.xml
===================================================================
--- trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/realWorld-taglib.xml 2009-03-19 17:14:59 UTC (rev 13032)
+++ trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/realWorld-taglib.xml 2009-03-19 17:35:33 UTC (rev 13033)
@@ -16,6 +16,13 @@
<tag-name>confirm</tag-name>
<source>templates/confirmation.xhtml</source>
</tag>
+ <tag>
+ <tag-name>commandButton</tag-name>
+ <component>
+ <component-type>org.ajax4jsf.CommandButton</component-type>
+ <renderer-type>org.ajax4jsf.components.RealworldAjaxCommandButtonRenderer</renderer-type>
+ </component>
+ </tag>
<function>
<function-name>rectangle</function-name>
<function-class>org.richfaces.realworld.util.Functions</function-class>
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/albumEdit.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/search.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/shelfEdit.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/tag.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld.css
===================================================================
--- trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld.css 2009-03-19 17:14:59 UTC (rev 13032)
+++ trunk/test-applications/realworld2/web/src/main/webapp/stylesheet/realworld.css 2009-03-19 17:35:33 UTC (rev 13033)
@@ -722,3 +722,89 @@
color:black;
text-decoration:none;
}
+
+.realworldButton {
+ margin : 0px 0px 0px 0px;
+ position : relative;
+ width : 103px;
+ height : 28px;
+ cursor: pointer;
+}
+
+.realworldButton div {
+ position : absolute;
+ color : #ffffff;
+ top : 7px;
+ left : 11px;
+ font-weight : bold;
+}
+
+.realworldButton img {
+ position : absolute;
+ top : 0px;
+ left : 0px;
+}
+
+.album-edit-field {
+ padding-top : 8px
+}
+
+.album-edit-calendar {
+ border : 1px solid #999999;
+ width : 80px
+}
+
+.album-edit-input {
+ border : 1px solid #999999;
+ width : 350px
+}
+
+.album-edit-area {
+ border : 1px solid #999999;
+ width : 350px;
+ height : 150px
+}
+
+.search-criteria {
+ color: #666666
+}
+
+.shelf-edit {
+ margin : 10px 0px 30px 30px;
+ width : 504px;
+ background : #f1f1f1
+}
+
+.shelf-edit-calendar {
+ border : 1px solid #999999;
+ width : 80px
+}
+
+.shelf-edit-input {
+ border : 1px solid #999999;
+ width : 350px
+}
+
+.shelf-edit-area {
+ border : 1px solid #999999;
+ width : 350px;
+ height : 150px
+}
+
+.tag-panel {
+ border: 0px;
+ background: none;
+ overflow: auto;
+}
+
+.tag-table {
+ float: left;
+ margin: 0px 10px 10px 0px;
+}
+
+.tag-table-td {
+ text-align: center;
+ vertical-align: middle;
+ background: white;
+ border: 1px solid #909090
+}
\ No newline at end of file
15 years, 10 months
JBoss Rich Faces SVN: r13032 - in trunk/test-applications/seleniumTest/richfaces/src: main/webapp/pages/simpleTogglePanel and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-03-19 13:14:59 -0400 (Thu, 19 Mar 2009)
New Revision: 13032
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/simpleTogglePanel/simpleTogglePanelChildProcessingTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/simpleTogglePanel/simpleTogglePanelTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SimpleTogglePanelTest.java
Log:
RF-6523
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java 2009-03-19 16:10:12 UTC (rev 13031)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java 2009-03-19 17:14:59 UTC (rev 13032)
@@ -55,6 +55,14 @@
private String selectedChild;
+ private String opened;
+
+ private String ajaxOpened;
+
+ private String clientOpened;
+
+ private String serverOpened;
+
public RichPanelTestBean() {
value = "";
value2 = 0;
@@ -62,6 +70,10 @@
content = "content";
immediate = false;
selectedChild = null;
+ opened = "false";
+ ajaxOpened = "false";
+ clientOpened = "false";
+ serverOpened = "false";
}
public void reset() {
@@ -253,18 +265,21 @@
cleanValues();
content = "";
switchType = "server";
+ opened = "false";
}
public void reset2Ajax() {
cleanValues();
content = "";
switchType = "ajax";
+ opened = "false";
}
public void reset2Client() {
cleanValues();
content = "";
switchType = "client";
+ opened = "false";
}
public void cleanValues() {
@@ -277,6 +292,9 @@
content = "content";
immediate = false;
selectedChild = null;
+ ajaxOpened = "false";
+ clientOpened = "false";
+ serverOpened = "false";
}
/**
@@ -347,4 +365,36 @@
return selectedChild;
}
+ public void setOpened(String opened) {
+ this.opened = opened;
+ }
+
+ public String getOpened() {
+ return opened;
+ }
+
+ public void setAjaxOpened(String ajaxOpened) {
+ this.ajaxOpened = ajaxOpened;
+ }
+
+ public String getAjaxOpened() {
+ return ajaxOpened;
+ }
+
+ public void setClientOpened(String clientOpened) {
+ this.clientOpened = clientOpened;
+ }
+
+ public String getClientOpened() {
+ return clientOpened;
+ }
+
+ public void setServerOpened(String serverOpened) {
+ this.serverOpened = serverOpened;
+ }
+
+ public String getServerOpened() {
+ return serverOpened;
+ }
+
}
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/simpleTogglePanel/simpleTogglePanelChildProcessingTest.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/simpleTogglePanel/simpleTogglePanelTest.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SimpleTogglePanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SimpleTogglePanelTest.java 2009-03-19 16:10:12 UTC (rev 13031)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SimpleTogglePanelTest.java 2009-03-19 17:14:59 UTC (rev 13032)
@@ -322,7 +322,7 @@
clickCommandAndWait(fullSubmit);
AssertTextEquals(luckId, "0", "Panel is not server-aware! Invalid child components must be processed");
- type(childId, "valid");
+ selenium.type(childId, "valid");
clickAjaxCommandAndWait(ajaxSubmit);
AssertTextEquals(luckId, "1", "Panel is not server-aware! Valid child components must be processed");
15 years, 10 months
JBoss Rich Faces SVN: r13031 - trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-03-19 12:10:12 -0400 (Thu, 19 Mar 2009)
New Revision: 13031
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
https://jira.jboss.org/jira/browse/RF-6266
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2009-03-19 14:40:35 UTC (rev 13030)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2009-03-19 16:10:12 UTC (rev 13031)
@@ -570,17 +570,19 @@
},
getFileSize: function (data) {
- if (!this.labelMarkup) return;
- if (data) {
- var progressData = new ProgressData(data);
- this.progressData = progressData;
- if (this.activeEntry) {
- this.activeEntry.setupLabelUpdate();
+ if (data) {
+ if (this.labelMarkup) {
+ var progressData = new ProgressData(data);
+ this.progressData = progressData;
+ if (this.activeEntry) {
+ this.activeEntry.setupLabelUpdate();
+ }
+ }
+ }else {
+ if (this.activeEntry) {
+ this.getFileSizeScript(this.activeEntry.uid, this.formId);
+ }
}
- }else {
- if (this.activeEntry)
- this.getFileSizeScript(this.activeEntry.uid, this.formId);
- }
},
prepareProgressBar: function () {
15 years, 10 months
JBoss Rich Faces SVN: r13030 - trunk/test-applications/richfaces-docs/web/src/main/webapp.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-03-19 10:40:35 -0400 (Thu, 19 Mar 2009)
New Revision: 13030
Added:
trunk/test-applications/richfaces-docs/web/src/main/webapp/framework.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/stskinning.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-6419
Added new sections and fixed menu
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/framework.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/framework.xhtml (rev 0)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/framework.xhtml 2009-03-19 14:40:35 UTC (rev 13030)
@@ -0,0 +1,25 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="layout/template.xhtml"
+ xmlns:a4j="http://richfaces.org/a4j">
+
+<ui:define name="body">
+
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+
+
+ <rich:panel>
+ <f:facet name="header">Framework</f:facet>
+
+ </rich:panel>
+
+</ui:define>
+</ui:composition>
Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/stskinning.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/stskinning.xhtml (rev 0)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/stskinning.xhtml 2009-03-19 14:40:35 UTC (rev 13030)
@@ -0,0 +1,53 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.org/rich"
+ template="layout/template.xhtml"
+ xmlns:a4j="http://richfaces.org/a4j">
+
+<ui:define name="body">
+
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+
+
+ <rich:panel>
+ <f:facet name="header">Standard Controls Skinning</f:facet>
+
+<h:selectOneRadio id="subscriptions1" value="">
+ <f:selectItem itemLabel="News" itemValue="1" />
+ <f:selectItem itemLabel="Sports" itemValue="2" />
+ <f:selectItem itemLabel="Music" itemValue="3" />
+ <f:selectItem itemLabel="Java" itemValue="4" />
+ <f:selectItem itemLabel="Web" itemValue="5" />
+</h:selectOneRadio>
+
+
+<h:selectManyCheckbox id="subscriptions2" value="" layout="pageDirection">
+ <f:selectItem itemLabel="News" itemValue="1" />
+ <f:selectItem itemLabel="Sports" itemValue="2" />
+ <f:selectItem itemLabel="Music" itemValue="3" />
+ <f:selectItem itemLabel="Java" itemValue="4" />
+ <f:selectItem itemLabel="Web" itemValue="5" />
+</h:selectManyCheckbox>
+
+<h:selectManyListbox id="subscriptions3" value="">
+ <f:selectItem itemLabel="News" itemValue="1" />
+ <f:selectItem itemLabel="Sports" itemValue="2" />
+ <f:selectItem itemLabel="Music" itemValue="3" />
+ <f:selectItem itemLabel="Java" itemValue="4" />
+ <f:selectItem itemLabel="Web" itemValue="5" />
+</h:selectManyListbox>
+
+
+<h:commandButton value="Submit" />
+
+ </rich:panel>
+
+</ui:define>
+</ui:composition>
15 years, 10 months
JBoss Rich Faces SVN: r13029 - trunk/test-applications/richfaces-docs/web/src/main/webapp.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-03-19 10:39:59 -0400 (Thu, 19 Mar 2009)
New Revision: 13029
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/index.html
Log:
https://jira.jboss.org/jira/browse/RF-6419
Added new sections and fixed menu
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/index.html
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/index.html 2009-03-19 14:39:38 UTC (rev 13028)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/index.html 2009-03-19 14:39:59 UTC (rev 13029)
@@ -1,5 +1,5 @@
<html>
<head>
- <meta http-equiv="Refresh" content="0; URL=home.seam">
+ <meta http-equiv="Refresh" content="0; URL=home.xhtml">
</head>
</html>
\ No newline at end of file
15 years, 10 months
JBoss Rich Faces SVN: r13028 - trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-03-19 10:39:38 -0400 (Thu, 19 Mar 2009)
New Revision: 13028
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml
Log:
https://jira.jboss.org/jira/browse/RF-6419
Added new sections and fixed menu
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml 2009-03-19 14:39:10 UTC (rev 13027)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml 2009-03-19 14:39:38 UTC (rev 13028)
@@ -57,6 +57,31 @@
<value>enable</value>
</managed-property>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>menuState</managed-bean-name>
+ <managed-bean-class>org.docs.util.MenuState</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>menu</property-name>
+ <property-class>java.util.Map</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>selectedMenuItem</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>menuBean</managed-bean-name>
+ <managed-bean-class>org.docs.util.MenuBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>menuState</property-name>
+ <property-class>org.docs.util.MenuState</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
<locale-config>
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml 2009-03-19 14:39:10 UTC (rev 13027)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml 2009-03-19 14:39:38 UTC (rev 13028)
@@ -76,16 +76,15 @@
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.seam</url-pattern>
- </servlet-mapping>
+ </servlet-mapping>
- <security-constraint>
- <display-name>Restrict raw XHTML Documents</display-name>
- <web-resource-collection>
- <web-resource-name>XHTML</web-resource-name>
- <url-pattern>*.xhtml</url-pattern>
- </web-resource-collection>
- <auth-constraint/>
- </security-constraint>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.xhtml</url-pattern>
+ </servlet-mapping>
+
+
+
15 years, 10 months
JBoss Rich Faces SVN: r13027 - trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-03-19 10:39:10 -0400 (Thu, 19 Mar 2009)
New Revision: 13027
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet/theme.css
Log:
https://jira.jboss.org/jira/browse/RF-6419
Added new sections and fixed menu
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet/theme.css
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet/theme.css 2009-03-19 14:38:52 UTC (rev 13026)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/stylesheet/theme.css 2009-03-19 14:39:10 UTC (rev 13027)
@@ -129,3 +129,5 @@
padding-top: 30px;
}
+.richcomponentsmenu a:HOVER {background: #FFFFFF; display: block}
+.dr-pmenu-hovered-element {background-color: #FFFFFF;}
\ No newline at end of file
15 years, 10 months
JBoss Rich Faces SVN: r13026 - trunk/test-applications/richfaces-docs/web/src/main/webapp/layout.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-03-19 10:38:52 -0400 (Thu, 19 Mar 2009)
New Revision: 13026
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-6419
Added new sections and fixed menu
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml 2009-03-19 14:38:28 UTC (rev 13025)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml 2009-03-19 14:38:52 UTC (rev 13026)
@@ -20,40 +20,48 @@
<div class="richcomponentsmenu">
<rich:panelMenu
+mode="client"
iconExpandedGroup="disc"
iconCollapsedGroup="disc"
iconExpandedTopGroup="chevronUp"
iconGroupTopPosition="right"
iconCollapsedTopGroup="chevronDown"
- iconCollapsedTopPosition="right">
-<rich:panelMenuGroup label="Rich Components">
-<rich:panelMenuItem>
-<h:outputLink value="colorPicker.seam">rich:colorPicker</h:outputLink>
+ iconCollapsedTopPosition="right"
+
+ >
+<rich:panelMenuGroup label="Rich Components" id="group1" value="#{menuState.menu['group1']}" >
+
+<rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+<h:outputLink value="colorPicker.xhtml" >rich:colorPicker</h:outputLink>
</rich:panelMenuItem>
+</rich:panelMenuGroup>
+<rich:panelMenuGroup label="A4J Components" id="group2" value="#{menuState.menu['group2']}">
+<rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+<h:outputLink value="queue.xhtml" >a4j:queue</h:outputLink>
+</rich:panelMenuItem>
+
</rich:panelMenuGroup>
-<rich:panelMenuGroup label="A4J Components">
-<rich:panelMenuItem>
-<h:outputLink value="queue.seam">a4j:queue</h:outputLink>
+<rich:panelMenuGroup label="Framework" id="group3" value="#{menuState.menu['group3']}">
+
+<rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+<h:outputLink value="framework.xhtml" >Framework</h:outputLink>
</rich:panelMenuItem>
-
</rich:panelMenuGroup>
+<rich:panelMenuGroup label="Skinnability" id="group4" value="#{menuState.menu['group4']}">
-<rich:panelMenuGroup label="Framework">
-<rich:panelMenuItem>
-<h:outputLink value="empty.seam">empty</h:outputLink>
+<rich:panelMenuItem actionListener="#{menuBean.select}" mode="server">
+<h:outputLink value="stskinning.xhtml" >Standard Skinning</h:outputLink>
</rich:panelMenuItem>
+
</rich:panelMenuGroup>
-<rich:panelMenuGroup label="Skinnability">
-<rich:panelMenuItem>
-<h:outputLink value="empty.seam">empty</h:outputLink>
-</rich:panelMenuItem>
-</rich:panelMenuGroup>
+
+
</rich:panelMenu>
</div>
@@ -66,6 +74,7 @@
<div class="footer" style="display: block; float: none; clear:both;">
Powered by <a href="http://jboss.com/products/seam">Seam</a>.
Generated by seam-gen.
+ <p>Developed and maintained by Michael Sorokin. Feel free to email me: msorokin(a)exadel.com</p>
</div>
</body>
15 years, 10 months
JBoss Rich Faces SVN: r13025 - trunk/test-applications/richfaces-docs/web.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-03-19 10:38:28 -0400 (Thu, 19 Mar 2009)
New Revision: 13025
Modified:
trunk/test-applications/richfaces-docs/web/pom.xml
Log:
https://jira.jboss.org/jira/browse/RF-6419
Added new sections and fixed menu
Modified: trunk/test-applications/richfaces-docs/web/pom.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/pom.xml 2009-03-19 14:38:10 UTC (rev 13024)
+++ trunk/test-applications/richfaces-docs/web/pom.xml 2009-03-19 14:38:28 UTC (rev 13025)
@@ -10,6 +10,28 @@
<name>WAR module</name>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
+ <dependencies>
+
+ <dependency>
+
+ <groupId>javax.faces</groupId>
+
+ <artifactId>jsf-api</artifactId>
+
+ <version>1.2_12</version>
+<scope>provided</scope>
+ </dependency>
+
+ <dependency>
+
+ <groupId>javax.faces</groupId>
+
+ <artifactId>jsf-impl</artifactId>
+
+ <version>1.2_12</version>
+<scope>provided</scope>
+ </dependency>
+</dependencies>
<build>
<plugins>
<plugin>
15 years, 10 months