JBoss Rich Faces SVN: r6047 - management/design/comboBox.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-02-13 06:12:03 -0500 (Wed, 13 Feb 2008)
New Revision: 6047
Modified:
management/design/comboBox/comboBox.doc
Log:
Modified: management/design/comboBox/comboBox.doc
===================================================================
(Binary files differ)
18 years, 2 months
JBoss Rich Faces SVN: r6046 - management/design/inplaceInput.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-02-13 06:08:05 -0500 (Wed, 13 Feb 2008)
New Revision: 6046
Modified:
management/design/inplaceInput/FuncSpec - InplaceInput.doc
Log:
Modified: management/design/inplaceInput/FuncSpec - InplaceInput.doc
===================================================================
(Binary files differ)
18 years, 2 months
JBoss Rich Faces SVN: r6045 - in trunk: samples/jira-data/src/main/java/org/richfaces/demo/datagrid/service and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-02-13 05:52:39 -0500 (Wed, 13 Feb 2008)
New Revision: 6045
Added:
trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/META-INF/
trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/META-INF/MANIFEST.MF
trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/WEB-INF/lib/
Modified:
trunk/samples/jira-data/src/main/java/org/richfaces/demo/datagrid/model/Channel.java
trunk/samples/jira-data/src/main/java/org/richfaces/demo/datagrid/service/JiraService.java
trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/WEB-INF/web.xml
trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/pages/index.jsp
trunk/ui/dataTable/src/main/templates/org/richfaces/htmlDataTable.jspx
Log:
sumbitted minor changes to jira-data project
Modified: trunk/samples/jira-data/src/main/java/org/richfaces/demo/datagrid/model/Channel.java
===================================================================
--- trunk/samples/jira-data/src/main/java/org/richfaces/demo/datagrid/model/Channel.java 2008-02-13 09:00:24 UTC (rev 6044)
+++ trunk/samples/jira-data/src/main/java/org/richfaces/demo/datagrid/model/Channel.java 2008-02-13 10:52:39 UTC (rev 6045)
@@ -132,7 +132,7 @@
};
};
-
+ private int maxSize;
private List<Issue> issues = new ArrayList<Issue>();
private String title;
private String description;
@@ -141,9 +141,11 @@
private Map <Integer, Issue> index = new HashMap<Integer, Issue>();
+ public Channel(int maxSize) {
+ this.maxSize = maxSize;
+ }
-
public int size() {
return issues.size();
}
@@ -235,9 +237,11 @@
}
public void addIssue(Issue issue) {
- if (issues.size() > 5) {
+
+ if (maxSize >= 0 && issues.size() > maxSize) {
return;
}
+
issues.add(issue);
index.put(issue.getIndex(), issue);
}
Modified: trunk/samples/jira-data/src/main/java/org/richfaces/demo/datagrid/service/JiraService.java
===================================================================
--- trunk/samples/jira-data/src/main/java/org/richfaces/demo/datagrid/service/JiraService.java 2008-02-13 09:00:24 UTC (rev 6044)
+++ trunk/samples/jira-data/src/main/java/org/richfaces/demo/datagrid/service/JiraService.java 2008-02-13 10:52:39 UTC (rev 6045)
@@ -17,6 +17,7 @@
import javax.el.ELContext;
import javax.el.ELResolver;
+import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import org.apache.commons.beanutils.PropertyUtils;
@@ -42,6 +43,8 @@
*/
public class JiraService {
+ public static final String ORG_RICHFACES_ISSUES = "org.richfaces.demo.MAX_ISSUES";
+
private static final String KEY = "jiraService";
private static final Log log = LogFactory.getLog(JiraService.class);
@@ -95,7 +98,21 @@
private void init() {
System.out.println("JiraService.init()");
- channel = new Channel();
+
+ FacesContext context = FacesContext.getCurrentInstance();
+ ExternalContext externalContext = context.getExternalContext();
+ String string =
+ externalContext.getInitParameter(ORG_RICHFACES_ISSUES);
+
+ int defaultSize = -1;
+ try {
+ defaultSize = Integer.parseInt(string);
+ } catch (Exception e) {
+ System.out.println("Parameter " + ORG_RICHFACES_ISSUES + " not defined. Using default value -1.");
+ }
+
+
+ channel = new Channel(defaultSize);
Digester digester = new Digester();
digester.setValidating(false);
digester.setNamespaceAware(false);
Added: trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/META-INF/MANIFEST.MF
===================================================================
--- trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/META-INF/MANIFEST.MF (rev 0)
+++ trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/META-INF/MANIFEST.MF 2008-02-13 10:52:39 UTC (rev 6045)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Property changes on: trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/WEB-INF/web.xml 2008-02-13 09:00:24 UTC (rev 6044)
+++ trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/WEB-INF/web.xml 2008-02-13 10:52:39 UTC (rev 6045)
@@ -10,6 +10,10 @@
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
+ <context-param>
+ <param-name>org.richfaces.demo.MAX_ISSUES</param-name>
+ <param-value>1000</param-value>
+ </context-param>
<!--
-->
<filter>
Modified: trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/pages/index.jsp 2008-02-13 09:00:24 UTC (rev 6044)
+++ trunk/sandbox/samples/sortingFilteringDemo/src/main/webapp/pages/index.jsp 2008-02-13 10:52:39 UTC (rev 6045)
@@ -8,32 +8,34 @@
</head>
<body>
<f:view>
- <dt:dataTable value="#{jiraService.issues}" var="issue">
- <dt:column>
- <f:facet name="header">
- <h:outputText value="Key"></h:outputText>
- </f:facet>
- <h:outputText value="#{issue.key}"></h:outputText>
- </dt:column>
- <dt:column>
- <f:facet name="header">
- <h:outputText value="Summary"></h:outputText>
- </f:facet>
- <h:outputText value="#{issue.summary}"></h:outputText>
- </dt:column>
- <dt:column>
- <f:facet name="header">
- <h:outputText value="Assignee"></h:outputText>
- </f:facet>
- <h:outputText value="#{issue.assignee.name}"></h:outputText>
- </dt:column>
- <dt:column>
- <f:facet name="header">
- <h:outputText value="Reporter"></h:outputText>
- </f:facet>
- <h:outputText value="#{issue.assignee.name}"></h:outputText>
- </dt:column>
- </dt:dataTable>
+ <h:form>
+ <dt:dataTable value="#{jiraService.channel.issues}" var="issue">
+ <dt:column filterBy="#{issue.key.value}">
+ <f:facet name="header">
+ <h:outputText value="Key"></h:outputText>
+ </f:facet>
+ <h:outputText value="#{issue.key.value}"></h:outputText>
+ </dt:column>
+ <dt:column filterBy="#{issue.summary}" sortExpression="#{issues.summary}">
+ <f:facet name="header">
+ <h:outputText value="Summary"></h:outputText>
+ </f:facet>
+ <h:outputText value="#{issue.summary}"></h:outputText>
+ </dt:column>
+ <dt:column>
+ <f:facet name="header">
+ <h:outputText value="Assignee"></h:outputText>
+ </f:facet>
+ <h:outputText value="#{issue.assignee.name}"></h:outputText>
+ </dt:column>
+ <dt:column>
+ <f:facet name="header">
+ <h:outputText value="Reporter"></h:outputText>
+ </f:facet>
+ <h:outputText value="#{issue.reporter.name}"></h:outputText>
+ </dt:column>
+ </dt:dataTable>
+ </h:form>
</f:view>
</body>
</html>
Modified: trunk/ui/dataTable/src/main/templates/org/richfaces/htmlDataTable.jspx
===================================================================
--- trunk/ui/dataTable/src/main/templates/org/richfaces/htmlDataTable.jspx 2008-02-13 09:00:24 UTC (rev 6044)
+++ trunk/ui/dataTable/src/main/templates/org/richfaces/htmlDataTable.jspx 2008-02-13 10:52:39 UTC (rev 6045)
@@ -13,6 +13,7 @@
component="org.richfaces.component.UIDataTable"
>
<h:styles>css/table.xcss</h:styles>
+ <h:scripts>new org.ajax4jsf.javascript.AjaxScript()</h:scripts>
<f:clientid var="clientId"/>
<table id="#{clientId}"
class="dr-table rich-table #{component.attributes['styleClass']}" style="#{component.attributes['style']}"
18 years, 2 months
JBoss Rich Faces SVN: r6044 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-02-13 04:00:24 -0500 (Wed, 13 Feb 2008)
New Revision: 6044
Modified:
trunk/docs/userguide/en/src/main/docbook/included/comboBox.desc.xml
Log:
test for commit
Modified: trunk/docs/userguide/en/src/main/docbook/included/comboBox.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/comboBox.desc.xml 2008-02-12 21:29:46 UTC (rev 6043)
+++ trunk/docs/userguide/en/src/main/docbook/included/comboBox.desc.xml 2008-02-13 09:00:24 UTC (rev 6044)
@@ -28,7 +28,7 @@
<listitem>Browser like selection</listitem>
<listitem>Smart user-defined positioning</listitem>
<listitem>Multicolumn suggestion popup list</listitem>
- <!--listitem>Possible to set the popup appearance delay through <emphasis><property>"showDelay"</property></emphasis>
+ <!-- listitem>Possible to set the popup appearance delay through <emphasis><property>"showDelay"</property></emphasis>
or <emphasis><property>"minChars"</property></emphasis> attributes
</listitem-->
<listitem>Seam entity converter support</listitem>
18 years, 2 months
JBoss Rich Faces SVN: r6042 - in trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit: html and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-02-12 14:10:34 -0500 (Tue, 12 Feb 2008)
New Revision: 6042
Added:
trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/
trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/
trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadAddIcon.java
trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadClearIcon.java
trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadStartIcon.java
trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadHeaderBg.java
trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadPressedBtnBg.java
trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadStopIcon.java
trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/OneColorBasedResource.java
Log:
skinning
Added: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadAddIcon.java
===================================================================
--- trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadAddIcon.java (rev 0)
+++ trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadAddIcon.java 2008-02-12 19:10:34 UTC (rev 6042)
@@ -0,0 +1,51 @@
+/**
+ * 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.org.jboss.seam.ui.renderkit.html.images;
+
+import static org.richfaces.renderkit.html.images.ColorUtils.adjustLightness;
+
+import java.awt.GradientPaint;
+import java.awt.Graphics2D;
+import java.awt.RenderingHints;
+
+import org.ajax4jsf.resource.Java2Dresource;
+import org.ajax4jsf.resource.ResourceContext;
+
+public class BaseFileUploadAddIcon extends OneColorBasedResource {
+
+ public BaseFileUploadAddIcon(String basicColorParamName) {
+ super(16, 16, basicColorParamName);
+ }
+
+ /**
+ * @see Java2Dresource#paint(ResourceContext, Graphics2D)
+ */
+ protected void paint(ResourceContext context, Graphics2D g2d) {
+ g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
+ g2d.setColor(getBasicColor());
+ g2d.fillPolygon(new int[] { 2, 6, 6, 10, 10, 14, 14, 10, 10, 6, 6, 2 },
+ new int[] { 6, 6, 2, 2, 6, 6, 10, 10, 14, 14, 10, 10 }, 12);
+ g2d.setPaint(new GradientPaint(0, 4, adjustLightness(getBasicColor(), 0.2f), 0, 10, adjustLightness(getBasicColor(), 0.05f)));
+ g2d.fillPolygon(new int[] { 3, 6, 6, 7, 7, 9, 9, 10, 10, 13, 13, 10, 10, 6, 6, 3 },
+ new int[] { 7, 7, 6, 6, 3, 3, 6, 6, 7, 7, 9, 9, 10, 10, 9, 9 }, 16);
+ }
+
+}
Property changes on: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadAddIcon.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadClearIcon.java
===================================================================
--- trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadClearIcon.java (rev 0)
+++ trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadClearIcon.java 2008-02-12 19:10:34 UTC (rev 6042)
@@ -0,0 +1,34 @@
+package org.richfaces.org.jboss.seam.ui.renderkit.html.images;
+
+
+import java.awt.GradientPaint;
+import java.awt.Graphics2D;
+import java.awt.RenderingHints;
+
+import org.ajax4jsf.resource.Java2Dresource;
+import org.ajax4jsf.resource.ResourceContext;
+
+import static org.richfaces.renderkit.html.images.ColorUtils.adjustLightness;
+
+public class BaseFileUploadClearIcon extends OneColorBasedResource {
+
+ public BaseFileUploadClearIcon(String basicColorParamName) {
+ super(16, 16, basicColorParamName);
+ }
+
+ /**
+ * @see Java2Dresource#paint(ResourceContext, Graphics2D)
+ */
+ protected void paint(ResourceContext context, Graphics2D g2d) {
+ g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
+ g2d.setPaint(new GradientPaint(0, 4, adjustLightness(getBasicColor(), 0.2f), 0, 13, getBasicColor()));
+ g2d.drawLine(5, 4, 13, 12);
+ g2d.drawLine(4, 5, 12, 13);
+ g2d.drawLine(5, 5, 12, 12);
+
+ g2d.drawLine(4, 12, 12, 4);
+ g2d.drawLine(5, 13, 13, 5);
+ g2d.drawLine(5, 12, 12, 5);
+ }
+
+}
Property changes on: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadClearIcon.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadStartIcon.java
===================================================================
--- trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadStartIcon.java (rev 0)
+++ trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadStartIcon.java 2008-02-12 19:10:34 UTC (rev 6042)
@@ -0,0 +1,30 @@
+package org.richfaces.org.jboss.seam.ui.renderkit.html.images;
+
+import static org.richfaces.renderkit.html.images.ColorUtils.adjustLightness;
+
+import java.awt.GradientPaint;
+import java.awt.Graphics2D;
+import java.awt.RenderingHints;
+
+import org.ajax4jsf.resource.Java2Dresource;
+import org.ajax4jsf.resource.ResourceContext;
+
+public class BaseFileUploadStartIcon extends OneColorBasedResource {
+
+ public BaseFileUploadStartIcon(String basicColorParamName) {
+ super(16, 16, basicColorParamName);
+ }
+
+ /**
+ * @see Java2Dresource#paint(ResourceContext, Graphics2D)
+ */
+ protected void paint(ResourceContext context, Graphics2D g2d) {
+ g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
+ g2d.setColor(getBasicColor());
+ g2d.fillPolygon(new int[] { 6, 12, 5, 5, 6 }, new int[] { 2, 8, 8, 6, 6 }, 5);
+ g2d.setPaint(new GradientPaint(0, 9, adjustLightness(getBasicColor(), 0.05f), 0, 15, adjustLightness(getBasicColor(), 0.2f)));
+ g2d.fillPolygon(new int[] { 6, 12, 5, 5, 6 }, new int[] { 14, 8, 8, 10, 10 }, 5);
+ g2d.setPaint(new GradientPaint(0, 4, adjustLightness(getBasicColor(), 0.2f), 0, 10, adjustLightness(getBasicColor(), 0.05f)));
+ g2d.fillPolygon(new int[] { 7, 11, 11, 6, 6, 7 }, new int[] { 4, 8, 9, 9, 7, 7 }, 6);
+ }
+}
Property changes on: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/BaseFileUploadStartIcon.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadHeaderBg.java
===================================================================
--- trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadHeaderBg.java (rev 0)
+++ trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadHeaderBg.java 2008-02-12 19:10:34 UTC (rev 6042)
@@ -0,0 +1,30 @@
+package org.richfaces.org.jboss.seam.ui.renderkit.html.images;
+
+import static org.richfaces.renderkit.html.images.ColorUtils.adjustLightness;
+
+import java.awt.GradientPaint;
+import java.awt.Graphics2D;
+import java.awt.RenderingHints;
+
+import org.ajax4jsf.resource.Java2Dresource;
+import org.ajax4jsf.resource.ResourceContext;
+
+public class FileUploadHeaderBg extends OneColorBasedResource {
+
+ /**
+ * <P>
+ * No args constructor.
+ * </p>
+ */
+ public FileUploadHeaderBg() {
+ super(16, 16, "");
+ }
+
+ /**
+ * @see Java2Dresource#paint(ResourceContext, Graphics2D)
+ */
+ protected void paint(ResourceContext context, Graphics2D g2d) {
+ g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
+ g2d.setPaint(new GradientPaint(0, 0, adjustLightness(getBasicColor(), 0.2f), 0, 16, getBasicColor()));
+ }
+}
Property changes on: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadHeaderBg.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadPressedBtnBg.java
===================================================================
--- trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadPressedBtnBg.java (rev 0)
+++ trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadPressedBtnBg.java 2008-02-12 19:10:34 UTC (rev 6042)
@@ -0,0 +1,30 @@
+package org.richfaces.org.jboss.seam.ui.renderkit.html.images;
+
+import static org.richfaces.renderkit.html.images.ColorUtils.adjustLightness;
+
+import java.awt.GradientPaint;
+import java.awt.Graphics2D;
+import java.awt.RenderingHints;
+
+import org.ajax4jsf.resource.Java2Dresource;
+import org.ajax4jsf.resource.ResourceContext;
+
+public class FileUploadPressedBtnBg extends OneColorBasedResource {
+
+ /**
+ * <P>
+ * No args constructor.
+ * </p>
+ */
+ public FileUploadPressedBtnBg() {
+ super(16, 16, "");
+ }
+
+ /**
+ * @see Java2Dresource#paint(ResourceContext, Graphics2D)
+ */
+ protected void paint(ResourceContext context, Graphics2D g2d) {
+ g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
+ g2d.setPaint(new GradientPaint(0, 0, getBasicColor(), 0, 16, adjustLightness(getBasicColor(), 0.2f)));
+ }
+}
Property changes on: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadPressedBtnBg.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadStopIcon.java
===================================================================
--- trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadStopIcon.java (rev 0)
+++ trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadStopIcon.java 2008-02-12 19:10:34 UTC (rev 6042)
@@ -0,0 +1,34 @@
+package org.richfaces.org.jboss.seam.ui.renderkit.html.images;
+
+import static org.richfaces.renderkit.html.images.ColorUtils.adjustLightness;
+import static org.richfaces.renderkit.html.images.ColorUtils.overwriteAlpha;
+
+import java.awt.GradientPaint;
+import java.awt.Graphics2D;
+import java.awt.RenderingHints;
+
+import org.ajax4jsf.resource.Java2Dresource;
+import org.ajax4jsf.resource.ResourceContext;
+
+public class FileUploadStopIcon extends OneColorBasedResource {
+
+ /**
+ * <P>
+ * No args constructor.
+ * </p>
+ */
+ public FileUploadStopIcon() {
+ super(16, 16, "");
+ }
+
+ /**
+ * @see Java2Dresource#paint(ResourceContext, Graphics2D)
+ */
+ protected void paint(ResourceContext context, Graphics2D g2d) {
+ g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
+ g2d.setPaint(new GradientPaint(0, 4, adjustLightness(getBasicColor(), -0.3f) , 0, 13, getBasicColor()));
+ g2d.fillRect(4, 4, 10, 10);
+ g2d.setPaint(new GradientPaint(0, 5, overwriteAlpha(adjustLightness(getBasicColor(), 0.3f), 0.6f), 0, 10, overwriteAlpha(getBasicColor(), 0.6f)));
+ g2d.fillRect(5, 5, 8, 7);
+ }
+}
Property changes on: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/FileUploadStopIcon.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/OneColorBasedResource.java
===================================================================
--- trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/OneColorBasedResource.java (rev 0)
+++ trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/OneColorBasedResource.java 2008-02-12 19:10:34 UTC (rev 6042)
@@ -0,0 +1,96 @@
+package org.richfaces.org.jboss.seam.ui.renderkit.html.images;
+
+import java.awt.Color;
+import java.awt.Dimension;
+import java.util.Date;
+
+import javax.faces.context.FacesContext;
+
+import org.ajax4jsf.resource.GifRenderer;
+import org.ajax4jsf.resource.InternetResourceBuilder;
+import org.ajax4jsf.resource.Java2Dresource;
+import org.ajax4jsf.resource.ResourceContext;
+import org.ajax4jsf.util.HtmlColor;
+import org.ajax4jsf.util.Zipper2;
+import org.richfaces.skin.SkinFactory;
+
+public class OneColorBasedResource extends Java2Dresource {
+
+ private Dimension dimension;
+
+ private String basicColorParamName;
+
+ private Color basicColor;
+
+ public OneColorBasedResource(int width, int height, final String basicColorParamName) {
+ this.basicColorParamName = basicColorParamName;
+ this.dimension = new Dimension(width, height);
+ setRenderer(new GifRenderer());
+ setLastModified(new Date(InternetResourceBuilder.getInstance().getStartTime()));
+ }
+
+ /**
+ * @see Java2Dresource#getDimensions(ResourceContext)
+ */
+ protected Dimension getDimensions(ResourceContext resourceContext) {
+ return dimension;
+ }
+
+ /**
+ * @see Java2Dresource#getDimensions(FacesContext, Object)
+ */
+ public Dimension getDimensions(FacesContext facesContext, Object data) {
+ return dimension;
+ }
+
+ /**
+ * @see Java2Dresource#isCacheable(ResourceContext)
+ */
+ public boolean isCacheable(ResourceContext ctx) {
+ return true;
+ }
+
+ /**
+ * Gets value of basicColor field.
+ * @return value of basicColor field
+ */
+ public Color getBasicColor() {
+ return basicColor;
+ }
+
+ /**
+ * @see InternetResourceBase#getDataToStore(FacesContext, Object)
+ */
+ protected Object getDataToStore(FacesContext context, Object data) {
+ byte[] retVal = null;
+ if (basicColor == null) {
+ basicColor = getColorValueParameter(context, basicColorParamName);
+ }
+
+ retVal = new byte[3 * 1];
+ new Zipper2(retVal).addColor(basicColor);
+
+ return retVal;
+ }
+
+ /**
+ * @see InternetResourceBase#deserializeData(byte[])
+ */
+ protected Object deserializeData(byte[] objectArray) {
+ if (objectArray != null) {
+ Zipper2 zipper2 = new Zipper2(objectArray);
+ basicColor = zipper2.nextColor();
+ }
+
+ return objectArray;
+ }
+
+ private Color getColorValueParameter(FacesContext context, String name) {
+ Color retVal = null;
+ String color = (String) SkinFactory.getInstance().getSkin(context).getParameter(context, name);
+ if (color != null && !color.trim().equals("")) {
+ retVal = HtmlColor.decode(color);
+ }
+ return retVal;
+ }
+}
Property changes on: trunk/sandbox/ui/fileUpload/src/main/java/org/richfaces/org/jboss/seam/ui/renderkit/html/images/OneColorBasedResource.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
18 years, 2 months
JBoss Rich Faces SVN: r6041 - in trunk/sandbox/ui/inplaceInput/src/main: templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-02-12 13:53:00 -0500 (Tue, 12 Feb 2008)
New Revision: 6041
Modified:
trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx
Log:
tab switching
Modified: trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-02-12 18:01:32 UTC (rev 6040)
+++ trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-02-12 18:53:00 UTC (rev 6041)
@@ -4,11 +4,12 @@
Richfaces.InplaceInput.prototype = {
- initialize: function(clientId, temValueKeepId, valueKeepId, attributes, events, classes, barParams) {
+ initialize: function(clientId, temValueKeepId, valueKeepId, tabberId, attributes, events, classes, barParams) {
this.inplaceInput = $(clientId);
this.tempValueKeeper = $(temValueKeepId);
this.valueKeeper = $(valueKeepId);
this.attributes = attributes;
+ this.tabber = $(tabberId);
this.events = events;
this.classes = classes;
@@ -30,14 +31,20 @@
initHandlers : function() {
this.inplaceInput.observe(this.attributes.editEvent, function(e){this.switchingStatesHandler(e);}.bindAsEventListener(this));
this.tempValueKeeper.observe("blur", function(e){this.tmpValueBlurHandler(e);}.bindAsEventListener(this));
+ this.tempValueKeeper.observe("keydown", function(e){this.tmpValueKeyDownHandler(e);}.bindAsEventListener(this));
- if (this.bar.ok) {
- this.bar.ok.observe("click", function(e){this.okHandler(e);}.bindAsEventListener(this));
+ if (this.bar) {
+ if (this.bar.ok) {
+ this.bar.ok.observe("click", function(e){this.okHandler(e);}.bindAsEventListener(this));
+ }
+ if (this.bar.cancel) {
+ this.bar.cancel.observe("click", function(e){this.cancelHandler(e)}.bindAsEventListener(this));
+ }
}
- if (this.bar.cancel) {
- this.bar.cancel.observe("click", function(e){this.cancelHandler(e)}.bindAsEventListener(this));
- }
+ this.tabber.observe("focus", function(e){this.switchingStatesHandler(e);}.bindAsEventListener(this));
+ this.tabber.observe("blur", function(e){this.tmpValueBlurHandler(e);}.bindAsEventListener(this));
+
this.bar.bsPanel.observe("mousedown", function(e){this.barMouseDownHandler(e);}.bindAsEventListener(this));
},
@@ -49,18 +56,6 @@
}
},
- /*initDimensions : function() {
-
- this.valueKeeper.style.visibility = "hidden";
- this.valueKeeper.show();
-
- this.INPUT_WIDTH = 100;
- this.INPUT_HEIGHT = 12;
-
- this.valueKeeper.hide();
- this.valueKeeper.style.visibility = "visible";
- },*/
-
/*
* HANDLERS
*/
@@ -74,7 +69,11 @@
//TO DO: to catch this exception
}
if (target.tagName.toLowerCase() == "input") {
- return;
+ if (target.id == this.tabber.id) {
+ this.byTab = true;
+ } else {
+ return;
+ }
}
if (this.events.oneditactivation) {
@@ -90,8 +89,9 @@
},
tmpValueBlurHandler : function() {
- if (this.clickOnBar) {
+ if (this.clickOnBar || this.byTab) {
this.clickOnBar = false;
+ this.byTab = false;
return;
}
@@ -100,12 +100,27 @@
}
},
+ tmpValueKeyDownHandler : function(e) {
+ switch (e.keyCode) {
+ case Event.KEY_ESC :
+ this.cancel();
+ break;
+ case Event.KEY_RETURN :
+ //TO DO
+ break;
+ case Event.KEY_TAB :
+ this.inputProcessing();
+ this.byTab = true;
+ break;
+ }
+ },
+
barMouseDownHandler : function(e) {
this.clickOnBar = true;
},
okHandler : function(e) {
- this.inputProcessing(e);
+ this.inputProcessing();
Event.stop(e);
},
@@ -143,10 +158,10 @@
this.bar.show(inputSize, this.tempValueKeeper.offsetHeight);
}
- this.tempValueKeeper.focus();
if (this.attributes.selectOnEdit) {
Richfaces.InplaceInput.textboxSelect(this.tempValueKeeper, 0, this.tempValueKeeper.value.length);
}
+ this.tempValueKeeper.focus();
},
startViewState : function() {
@@ -234,14 +249,14 @@
},
deleteViewArtifacts : function () {
- var text = this.inplaceInput.childNodes[3];
+ var text = this.inplaceInput.childNodes[4];
if (text) {
this.inplaceInput.removeChild(text);
}
},
getCurrentText : function() {
- return this.inplaceInput.childNodes[3];
+ return this.inplaceInput.childNodes[4];
},
createNewText : function(text) {
Modified: trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-02-12 18:01:32 UTC (rev 6040)
+++ trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-02-12 18:53:00 UTC (rev 6041)
@@ -40,6 +40,7 @@
</jsp:scriptlet>
<span id="#{clientId}" class="rich-inplace rich-inplace-view">
+ <input id="#{clientId}tabber" type="button" value="" style="width: 1px; position: absolute; left: -32767px;" />
<input id='#{clientId}tempValue'
class='rich-inplace-field'
style='display:none;'
@@ -48,7 +49,6 @@
autocomplete="off"
value='#{fieldValue}'/>
<input id='#{clientId}value' name='#{clientId}value' type='hidden' value='#{fieldValue}'/>
-
<div id="#{clientId}bar" class="is_btn_set" style="display:none;">
<div class="rich-inplace-shadow">
<table class="rich-inplace-shadow-size" cellspacing="0" cellpadding="0" border="0">
@@ -100,6 +100,6 @@
oneditactivated : #{this:getAsEventHandler(context, component, "oneditactivated")},
onviewactivated : #{this:getAsEventHandler(context, component, "onviewactivated")}};
- var inplaceInput = new Richfaces.InplaceInput('#{clientId}', '#{clientId}tempValue', '#{clientId}value', attributes, events, Richfaces.InplaceInput.CLASSES, ['#{clientId}bar', '#{clientId}ok', '#{clientId}cancel', '#{clientId}buttons']);
+ var inplaceInput = new Richfaces.InplaceInput('#{clientId}', '#{clientId}tempValue', '#{clientId}value', '#{clientId}tabber', attributes, events, Richfaces.InplaceInput.CLASSES, ['#{clientId}bar', '#{clientId}ok', '#{clientId}cancel', '#{clientId}buttons']);
</script>
</f:root>
\ No newline at end of file
18 years, 2 months
JBoss Rich Faces SVN: r6040 - trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-12 13:01:32 -0500 (Tue, 12 Feb 2008)
New Revision: 6040
Modified:
trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/css/inplaceinput.xcss
Log:
Modified: trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/css/inplaceinput.xcss
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/css/inplaceinput.xcss 2008-02-12 17:39:16 UTC (rev 6039)
+++ trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/css/inplaceinput.xcss 2008-02-12 18:01:32 UTC (rev 6040)
@@ -55,7 +55,7 @@
}
.rich-inplace-shadow {
- top:-7px;
+ top:-6px;
left:-4px;
position : absolute;
}
18 years, 2 months
JBoss Rich Faces SVN: r6039 - trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-12 12:39:16 -0500 (Tue, 12 Feb 2008)
New Revision: 6039
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
Log:
RF-2210
Modified: trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
===================================================================
--- trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss 2008-02-12 17:32:31 UTC (rev 6038)
+++ trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss 2008-02-12 17:39:16 UTC (rev 6039)
@@ -77,7 +77,6 @@
.rich-combobox-list-cord {
position : relative;
- font-size : 0px;
}
.rich-combobox-item {
18 years, 2 months
JBoss Rich Faces SVN: r6038 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-02-12 12:32:31 -0500 (Tue, 12 Feb 2008)
New Revision: 6038
Modified:
trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml
trunk/docs/userguide/en/src/main/docbook/included/columns.xml
trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml
trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml
trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/dragListener.xml
trunk/docs/userguide/en/src/main/docbook/included/draggable.xml
trunk/docs/userguide/en/src/main/docbook/included/dropListener.xml
trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml
trunk/docs/userguide/en/src/main/docbook/included/gmap.xml
trunk/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml
trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml
trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml
trunk/docs/userguide/en/src/main/docbook/included/loadScript.xml
trunk/docs/userguide/en/src/main/docbook/included/loadStyle.xml
trunk/docs/userguide/en/src/main/docbook/included/log.xml
trunk/docs/userguide/en/src/main/docbook/included/mediaOutput.xml
trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml
trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml
trunk/docs/userguide/en/src/main/docbook/included/panel.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
trunk/docs/userguide/en/src/main/docbook/included/portlet.xml
trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
trunk/docs/userguide/en/src/main/docbook/included/spacer.xml
trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
trunk/docs/userguide/en/src/main/docbook/included/tab.xml
trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml
trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.xml
Log:
http://jira.jboss.com/jira/browse/RF-2157 - Section names unification
Modified: trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -32,7 +32,7 @@
<section>
<title>Creating on a page</title>
- <para>Simple Component definition on a page:</para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/changeExpandListener.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -30,8 +30,8 @@
</table>
<section>
- <title>Creating the Component with a Page Tag</title>
- <para>Simple Component definition on a page:</para>
+ <title>Creating the Component with a Page Tag</title>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/columns.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -42,7 +42,7 @@
</table>
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -43,7 +43,7 @@
</table>
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -33,7 +33,7 @@
<section>
<title>Creating on a page</title>
- <para>The simplest tag usage example:</para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -41,7 +41,7 @@
</table>
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dragListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragListener.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragListener.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -31,8 +31,8 @@
<section>
- <title>Creating the Component with a Page Tag</title>
- <para>Simple Component definition on a page:</para>
+ <title>Creating the Component with a Page Tag</title>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/draggable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/draggable.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/draggable.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -45,7 +45,7 @@
</section>
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropListener.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropListener.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -32,7 +32,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Simple Component definition on a page:</para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
</section>
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/gmap.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/gmap.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/gmap.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -32,7 +32,7 @@
</table>
<section>
- <title>Creating on a page</title>
+ <title>Creating the Component with a Page Tag</title>
<para>Component definition on a page is the same as for the original component from the JSF HTML library.</para>
<para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -43,7 +43,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -27,9 +27,9 @@
</table>
<section>
- <title>Creating on a page</title>
+ <title>Creating the Component with a Page Tag</title>
- <para>Simple Component definition on a page:</para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis> </para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -8,7 +8,7 @@
</sectioninfo>
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -29,7 +29,7 @@
<section>
<title>Creating on a page</title>
- <para>Simple component definition on a page:</para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis></para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/loadScript.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/loadScript.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/loadScript.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -32,7 +32,7 @@
<section>
<title>Creating on a page</title>
- <para>Simple Component definition on a page:</para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/loadStyle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/loadStyle.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/loadStyle.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -32,7 +32,7 @@
<section>
<title>Creating on a page</title>
- <para>Simple Component definition on a page:</para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/log.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/log.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/log.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -32,8 +32,8 @@
</table>
<section>
- <title>Creating on a page</title>
- <para>To use the component, it's necessary to place the following string on a page:</para><programlisting role="XML"><![CDATA[<a4j:log popup="false" level="ALL" style="width: 800px; height: 300px;"></a4j:log>]]></programlisting>
+ <title>Creating the Component with a Page Tag</title>
+ <para>To create the simplest variant on a page use the following syntax:</para><programlisting role="XML"><![CDATA[<a4j:log popup="false" level="ALL" style="width: 800px; height: 300px;"></a4j:log>]]></programlisting>
<para>Then, in order to open a log window, press "CTRL+SHIFT+L" on a page with the component.</para>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/mediaOutput.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/mediaOutput.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/mediaOutput.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -32,8 +32,7 @@
<section>
<title>Creating on a page</title>
-
- <para>Component definition on a page for graphical data output</para>
+ <para>Component definition on a page for graphical data output</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/nodeSelectListener.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -30,8 +30,8 @@
</table>
<section>
- <title>Creating the Component with a Page Tag</title>
- <para>Simple Component definition on a page:</para>
+ <title>Creating the Component with a Page Tag</title>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -48,7 +48,7 @@
</table>
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/paint2D.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/portlet.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/portlet.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/portlet.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -28,7 +28,8 @@
</table>
<section>
- <title>Creating on a page</title>
+ <title>Creating the Component with a Page Tag</title>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<programlisting role="XML"><![CDATA[
<f:view>
<a4j:portlet>
Modified: trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -45,7 +45,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/spacer.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/spacer.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/spacer.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page:</para>
+ <para>To create the simplest variant on a page use the following syntax::</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tab.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -43,7 +43,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -45,7 +45,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
</section>
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/treeNode.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.xml 2008-02-12 17:22:09 UTC (rev 6037)
+++ trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.xml 2008-02-12 17:32:31 UTC (rev 6038)
@@ -43,7 +43,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>Here is a simple example as it could be used on a page: </para>
+ <para>To create the simplest variant on a page use the following syntax:</para>
<para>
<emphasis role="bold">Example:</emphasis>
18 years, 2 months
JBoss Rich Faces SVN: r6037 - trunk/ui/combobox/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-12 12:22:09 -0500 (Tue, 12 Feb 2008)
New Revision: 6037
Modified:
trunk/ui/combobox/src/main/config/component/combobox.xml
Log:
hide size attribute
Modified: trunk/ui/combobox/src/main/config/component/combobox.xml
===================================================================
--- trunk/ui/combobox/src/main/config/component/combobox.xml 2008-02-12 17:12:22 UTC (rev 6036)
+++ trunk/ui/combobox/src/main/config/component/combobox.xml 2008-02-12 17:22:09 UTC (rev 6037)
@@ -232,7 +232,11 @@
<description></description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
- <property>
+ <property hidden="true">
+ <name>size</name>
+ <classname>int</classname>
+ </property>
+ <property>
<name>styleClass</name>
<classname>java.lang.String</classname>
<description></description>
18 years, 2 months