JBoss Rich Faces SVN: r7078 - Reports/3.2.0 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-03-21 13:49:12 -0400 (Fri, 21 Mar 2008)
New Revision: 7078
Modified:
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR321032008mvitenkov.xls
trunk/test-applications/qa/Test Reports/3.2.0/QA test report Build RF 3.2.0 CR3.xls
Log:
Modified: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR321032008mvitenkov.xls
===================================================================
(Binary files differ)
Modified: trunk/test-applications/qa/Test Reports/3.2.0/QA test report Build RF 3.2.0 CR3.xls
===================================================================
(Binary files differ)
16 years, 9 months
JBoss Rich Faces SVN: r7077 - Reports/3.2.0 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-03-21 13:42:21 -0400 (Fri, 21 Mar 2008)
New Revision: 7077
Added:
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR320032008vvolkov.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR321032008tkuprevich.xls
trunk/test-applications/qa/Test Reports/3.2.0/QA test report Build RF 3.2.0 CR3.xls
Modified:
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR317032008ayanul.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR317032008mvitenkov.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR317032008vvolkov.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR318032008mvitenkov.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR318032008tkuprevich.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR318032008vvolkov.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR319032008ayanul.xls
trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR319032008vvolkov.xls
Log:
Modified: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR317032008ayanul.xls
===================================================================
(Binary files differ)
Modified: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR317032008mvitenkov.xls
===================================================================
(Binary files differ)
Modified: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR317032008vvolkov.xls
===================================================================
(Binary files differ)
Modified: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR318032008mvitenkov.xls
===================================================================
(Binary files differ)
Modified: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR318032008tkuprevich.xls
===================================================================
(Binary files differ)
Modified: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR318032008vvolkov.xls
===================================================================
(Binary files differ)
Modified: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR319032008ayanul.xls
===================================================================
(Binary files differ)
Modified: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR319032008vvolkov.xls
===================================================================
(Binary files differ)
Added: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR320032008vvolkov.xls
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR320032008vvolkov.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR321032008tkuprevich.xls
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Test Reports/3.2.0/DailyReport320CR321032008tkuprevich.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/qa/Test Reports/3.2.0/QA test report Build RF 3.2.0 CR3.xls
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Test Reports/3.2.0/QA test report Build RF 3.2.0 CR3.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 9 months
JBoss Rich Faces SVN: r7076 - in trunk: cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-21 13:21:23 -0400 (Fri, 21 Mar 2008)
New Revision: 7076
Added:
trunk/ui/scrollableDataTable/src/main/config/converter/
trunk/ui/scrollableDataTable/src/main/config/converter/selection.xml
Modified:
trunk/cdk/generator/src/main/resources/META-INF/templates12/componentTag.vm
trunk/cdk/generator/src/main/resources/META-INF/templates12/tag.vm
trunk/cdk/generator/src/main/resources/META-INF/templates12/tagtest.vm
trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/AbstractCDKMojo.java
trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java
trunk/framework/api/src/main/java/org/ajax4jsf/Messages.java
trunk/ui/scrollableDataTable/src/main/config/component/scrollable-data-table.xml
Log:
added rowKeyConverter, made separate folders for converters, validators
http://jira.jboss.com/jira/browse/RF-1024
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates12/componentTag.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates12/componentTag.vm 2008-03-21 17:15:41 UTC (rev 7075)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates12/componentTag.vm 2008-03-21 17:21:23 UTC (rev 7076)
@@ -48,6 +48,8 @@
//Do nothing. Use 'action' instead
#elseif($prop.name == "converter")
setConverterProperty(comp, this._${prop.name});
+ #elseif($prop.name == "rowKeyConverter")
+ setRowKeyConverterProperty(comp, this._${prop.name});
#elseif($prop.name == "validator")
setValidatorProperty(comp, this._${prop.name});
#elseif($prop.name == "valueChangeListener")
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates12/tag.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates12/tag.vm 2008-03-21 17:15:41 UTC (rev 7075)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates12/tag.vm 2008-03-21 17:21:23 UTC (rev 7076)
@@ -93,6 +93,8 @@
setActionListenerProperty(component, this._${prop.name});
#elseif($prop.name == "converter")
setConverterProperty(component, this._${prop.name});
+ #elseif($prop.name == "rowKeyConverter")
+ setRowKeyConverterProperty(component, this._${prop.name});
#elseif($prop.name == "validator")
setValidatorProperty(component, this._${prop.name});
#elseif($prop.name == "valueChangeListener")
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates12/tagtest.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates12/tagtest.vm 2008-03-21 17:15:41 UTC (rev 7075)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates12/tagtest.vm 2008-03-21 17:21:23 UTC (rev 7076)
@@ -172,12 +172,12 @@
tag.${prop.setterName}(expression);
tag.setProperties(component);
verify(component);
- #if($prop.name == 'converter')
+ #if($prop.name == 'converter' || $prop.name == 'rowKeyConverter')
String converterType = this.getClass().getName();
expression = new org.ajax4jsf.tests.LiteralValueExpression(converterType);
reset(component);
- component.setConverter(isA(MyConverter.class));
- tag.setConverter(expression);
+ component.${prop.setterName}(isA(MyConverter.class));
+ tag.${prop.setterName}(expression);
replay(component);
tag.setProperties(component);
verify(component);
Modified: trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/AbstractCDKMojo.java
===================================================================
--- trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/AbstractCDKMojo.java 2008-03-21 17:15:41 UTC (rev 7075)
+++ trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/AbstractCDKMojo.java 2008-03-21 17:21:23 UTC (rev 7076)
@@ -70,6 +70,24 @@
*/
protected File componentConfigDirectory;
/**
+ * Place for validator configuration XML files. All '*.xml' files wil be
+ * parsed as component config. All '*.ent' files will be processed as
+ * include configurations.
+ *
+ * @parameter expression="src/main/config/validator"
+ */
+ protected File validatorConfigDirectory;
+
+ /**
+ * Place for converter configuration XML files. All '*.xml' files wil be
+ * parsed as components config. All '*.ent' files will be processed as
+ * include configurations.
+ *
+ * @parameter expression="src/main/config/converter"
+ */
+ protected File converterConfigDirectory;
+
+ /**
* Place for faces configuration XML files
*
* @parameter expression="src/main/config/faces"
@@ -166,7 +184,7 @@
String version = Library.JSF11;
// Check version-specific methods in UIComponent class
try {
- Class componentClass = createProjectClassLoader(project, false).loadClass("javax.faces.component.UIComponent");
+ Class<?> componentClass = createProjectClassLoader(project, false).loadClass("javax.faces.component.UIComponent");
Method[] methods = componentClass.getDeclaredMethods();
for (int i = 0; i < methods.length; i++) {
if("encodeAll".equals(methods[i].getName())){
Modified: trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java
===================================================================
--- trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java 2008-03-21 17:15:41 UTC (rev 7075)
+++ trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java 2008-03-21 17:21:23 UTC (rev 7076)
@@ -251,13 +251,27 @@
}
};
- File[] files = componentConfigDirectory.listFiles(filter);
- if (null == files) {
+ boolean filesParsed = false;
+ File [] directories = {
+ componentConfigDirectory,
+ validatorConfigDirectory,
+ converterConfigDirectory
+ };
+
+ for (File directory : directories) {
+ if (directory.exists()) {
+ File[] files = directory.listFiles(filter);
+ for (File file : files) {
+ filesParsed = true;
+ builderConfig.parseConfig(file);
+ }
+ }
+ }
+
+ if (!filesParsed) {
throw new ParsingException("No config files found");
}
- for (int i = 0; i < files.length; i++) {
- builderConfig.parseConfig(files[i]);
- }
+
builderConfig.checkComponentProperties();
return builderConfig;
}
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/Messages.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/Messages.java 2008-03-21 17:15:41 UTC (rev 7075)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/Messages.java 2008-03-21 17:21:23 UTC (rev 7076)
@@ -252,6 +252,7 @@
public static final String ACESSING_SKIN_PROPERTY_AS_ARRAY_ERROR = "ACESSING_SKIN_PROPERTY_AS_ARRAY_ERROR";
public static final String ACESSING_SKIN_PROPERTY_ERROR = "ACESSING_SKIN_PROPERTY_ERROR";
public static final String SKIN_PROPERTIES_READ_ONLY_ERROR = "SKIN_PROPERTIES_READ_ONLY_ERROR";
+ public static final String NO_DATA_ADAPTOR = "NO_DATA_ADAPTOR";
public static final String NO_VALUE_HOLDER_ERROR = "NO_VALUE_HOLDER_ERROR";
public static final String NO_EDITABLE_VALUE_HOLDER_ERROR = "NO_EDITABLE_VALUE_HOLDER_ERROR";
public static final String INVALID_VALIDATION_EXPRESSION = "INVALID_VALIDATION_EXPRESSION";
Modified: trunk/ui/scrollableDataTable/src/main/config/component/scrollable-data-table.xml
===================================================================
--- trunk/ui/scrollableDataTable/src/main/config/component/scrollable-data-table.xml 2008-03-21 17:15:41 UTC (rev 7075)
+++ trunk/ui/scrollableDataTable/src/main/config/component/scrollable-data-table.xml 2008-03-21 17:21:23 UTC (rev 7076)
@@ -278,10 +278,4 @@
<template>org/richfaces/scrollable-data-table-header-itself.jspx</template>
</renderer>
- <converter generate="false">
- <classname>org.richfaces.convert.selection.ClientSelectionConverter</classname>
- <forclass>org.richfaces.model.selection.ClientSelection</forclass>
- </converter>
-
-
</components>
\ No newline at end of file
Added: trunk/ui/scrollableDataTable/src/main/config/converter/selection.xml
===================================================================
--- trunk/ui/scrollableDataTable/src/main/config/converter/selection.xml (rev 0)
+++ trunk/ui/scrollableDataTable/src/main/config/converter/selection.xml 2008-03-21 17:21:23 UTC (rev 7076)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN" "https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd"
+
+>
+
+<components>
+ <converter generate="false">
+ <classname>org.richfaces.convert.selection.ClientSelectionConverter</classname>
+ <forclass>org.richfaces.model.selection.ClientSelection</forclass>
+ </converter>
+</components>
\ No newline at end of file
16 years, 9 months
JBoss Rich Faces SVN: r7075 - trunk/test-applications/jsp/src/main/webapp/Combobox.
by richfaces-svn-commits@lists.jboss.org
Author: viktor_volkov
Date: 2008-03-21 13:15:41 -0400 (Fri, 21 Mar 2008)
New Revision: 7075
Modified:
trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp
Log:
onitemselected="#{event.onitemselected}" was removed
Modified: trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp 2008-03-21 17:10:59 UTC (rev 7074)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp 2008-03-21 17:15:41 UTC (rev 7075)
@@ -14,7 +14,7 @@
rendered="#{combobox.rendered}" selectFirstOnUpdate="#{combobox.selectFirstOnUpdate}" maxlength="#{combobox.maxlength}"
enableManualInput="#{combobox.enableManualInput}" listHeight="#{combobox.listHeight}" listWidth="#{combobox.listWidth}" style="#{style.style}" styleClass="#{style.styleClass}"
onblur="#{event.onblur}" onchange="#{event.onchange}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
- onfocus="#{event.onfocus}" onitemselected="#{event.onitemselected}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onfocus="#{event.onfocus}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
onkeyup="#{event.onkeyup}" onlistcall="#{event.onlistcall}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}">
<f:selectItem itemValue="selectItem 1"/>
16 years, 9 months
JBoss Rich Faces SVN: r7074 - in trunk/framework/impl/src/main: resources/org/ajax4jsf and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-21 13:10:59 -0400 (Fri, 21 Mar 2008)
New Revision: 7074
Modified:
trunk/framework/impl/src/main/java/org/richfaces/webapp/taglib/UIComponentELTagBase.java
trunk/framework/impl/src/main/resources/org/ajax4jsf/messages.properties
Log:
supportd rowKeyConverter
Modified: trunk/framework/impl/src/main/java/org/richfaces/webapp/taglib/UIComponentELTagBase.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/webapp/taglib/UIComponentELTagBase.java 2008-03-21 17:04:14 UTC (rev 7073)
+++ trunk/framework/impl/src/main/java/org/richfaces/webapp/taglib/UIComponentELTagBase.java 2008-03-21 17:10:59 UTC (rev 7074)
@@ -11,13 +11,13 @@
import javax.faces.component.ValueHolder;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
-import javax.faces.el.MethodBinding;
import javax.faces.event.MethodExpressionActionListener;
import javax.faces.event.MethodExpressionValueChangeListener;
import javax.faces.validator.MethodExpressionValidator;
import javax.faces.webapp.UIComponentELTag;
import org.ajax4jsf.Messages;
+import org.ajax4jsf.component.UIDataAdaptor;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -67,6 +67,23 @@
}
}
+ protected void setRowKeyConverterProperty(UIComponent component, ValueExpression converter) {
+ if (converter != null) {
+ if (component instanceof UIDataAdaptor) {
+ UIDataAdaptor data = (UIDataAdaptor) component;
+ if (!converter.isLiteralText()) {
+ component.setValueExpression("rowKeyConverter", converter);
+ } else {
+ Converter conv = FacesContext.getCurrentInstance().getApplication().createConverter(converter.getExpressionString());
+ data.setRowKeyConverter(conv);
+ }
+ } else {
+ throw new IllegalArgumentException(Messages.getMessage(Messages.NO_VALUE_HOLDER_ERROR, component.getClass().getName()));
+ }
+ }
+ }
+
+
protected void setValidatorProperty(UIComponent component, MethodExpression validator) {
if (validator != null) {
Modified: trunk/framework/impl/src/main/resources/org/ajax4jsf/messages.properties
===================================================================
--- trunk/framework/impl/src/main/resources/org/ajax4jsf/messages.properties 2008-03-21 17:04:14 UTC (rev 7073)
+++ trunk/framework/impl/src/main/resources/org/ajax4jsf/messages.properties 2008-03-21 17:10:59 UTC (rev 7074)
@@ -186,6 +186,7 @@
ACESSING_SKIN_PROPERTY_ERROR=Attempt to access to skin property not as string parameter
SKIN_PROPERTIES_READ_ONLY_ERROR=Skin properties is read-only
NO_VALUE_HOLDER_ERROR=Component {0} is no ValueHolder, cannot set value.
+NO_DATA_ADAPTOR=Component {0} is no UIDataAdaptor.
NO_EDITABLE_VALUE_HOLDER_ERROR=Component {0} is no EditableValueHolder
INVALID_VALIDATION_EXPRESSION=Component {0} has invalid validation expression {1}
NO_ACTION_SOURCE_ERROR=Component {0} is no ActionSource
16 years, 9 months
JBoss Rich Faces SVN: r7073 - trunk.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2008-03-21 13:04:14 -0400 (Fri, 21 Mar 2008)
New Revision: 7073
Modified:
trunk/developmentBuild.sh
Log:
fix ui build
Modified: trunk/developmentBuild.sh
===================================================================
--- trunk/developmentBuild.sh 2008-03-21 16:59:50 UTC (rev 7072)
+++ trunk/developmentBuild.sh 2008-03-21 17:04:14 UTC (rev 7073)
@@ -6,7 +6,7 @@
cd $PROJECT_DIR/framework
mvn clean install -Dmaven.test.skip=true
cd $PROJECT_DIR/ui
-mvn clean install -N -Dmaven.test.skip=true
+mvn clean install -Dmaven.test.skip=true
#cd $PROJECT_DIR/docs
#mvn clean install
cd $PROJECT_DIR/ui/assembly
16 years, 9 months
JBoss Rich Faces SVN: r7072 - in trunk/ui/combobox/src/main: templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-03-21 12:59:50 -0400 (Fri, 21 Mar 2008)
New Revision: 7072
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
trunk/ui/combobox/src/main/templates/combobox.jspx
Log:
http://jira.jboss.com/jira/browse/RF-2566
Modified: trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
--- trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-03-21 16:46:11 UTC (rev 7071)
+++ trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-03-21 16:59:50 UTC (rev 7072)
@@ -56,6 +56,7 @@
this.comboList.createIframe(this.combobox, listWidth, this.combobox.id,
"rich-combobox-list-width rich-combobox-list-scroll rich-combobox-list-position");
}
+ this.combobox.component = this;
this.initHandlers();
},
@@ -372,7 +373,7 @@
* user's JavaScript API
*/
showList : function() {
- this.comboList.showWithDelay();
+ this.buttonClickHandler();
},
hideList : function() {
Modified: trunk/ui/combobox/src/main/templates/combobox.jspx
===================================================================
--- trunk/ui/combobox/src/main/templates/combobox.jspx 2008-03-21 16:46:11 UTC (rev 7071)
+++ trunk/ui/combobox/src/main/templates/combobox.jspx 2008-03-21 16:59:50 UTC (rev 7072)
@@ -293,7 +293,7 @@
}
}
- var combobox = new Richfaces.ComboBox( "#{clientId}combobox",
+ var combobox = new Richfaces.ComboBox( "#{clientId}",
"#{clientId}list",
"#{clientId}listParent",
"#{clientId}comboboxValue",
16 years, 9 months
JBoss Rich Faces SVN: r7071 - trunk/ui/tree/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-21 12:46:11 -0400 (Fri, 21 Mar 2008)
New Revision: 7071
Modified:
trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
Log:
UITree: back compatibility for collections of Swing tree nodes restored
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2008-03-21 16:41:17 UTC (rev 7070)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2008-03-21 16:46:11 UTC (rev 7071)
@@ -54,7 +54,6 @@
import org.richfaces.component.state.events.ExpandAllCommandEvent;
import org.richfaces.component.state.events.ExpandNodeCommandEvent;
import org.richfaces.component.state.events.TreeStateCommandEvent;
-import org.richfaces.component.util.MessageUtil;
import org.richfaces.event.DragEvent;
import org.richfaces.event.DragListener;
import org.richfaces.event.DropEvent;
@@ -578,7 +577,7 @@
}
return treeDataModel;
- } else if (value instanceof javax.swing.tree.TreeNode) {
+ } else {
TreeDataModel<javax.swing.tree.TreeNode> swingTreeDataModel = new SwingTreeDataModel();
swingTreeDataModel.setWrappedData(value);
@@ -587,12 +586,6 @@
}
return swingTreeDataModel;
- } else {
- throw new IllegalArgumentException("Value of tree component " +
- MessageUtil.getLabel(FacesContext.getCurrentInstance(), this) +
- "[" + value + "]" +
- "is not an instance of neither " + TreeNode.class.getName() +
- "nor " + javax.swing.tree.TreeNode.class.getName() + "!");
}
} else {
//TODO implement request caching
16 years, 9 months
JBoss Rich Faces SVN: r7070 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer: examples and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-03-21 12:41:17 -0400 (Fri, 21 Mar 2008)
New Revision: 7070
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/usage.xhtml
Log:
[RF-2662] Demo site: corrections of Spacer demo layout
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml 2008-03-21 16:19:20 UTC (rev 7069)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml 2008-03-21 16:41:17 UTC (rev 7070)
@@ -4,16 +4,19 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-
+
<style>
- .div_near_spacer {
- height: 2px;
- border: 0px;
- font-size: 0px;
- background-color: #{a4jSkin.panelBorderColor};
- }
+ .div_near_spacer {
+ border-top-width: 0px;
+ border-left-width: 0px;
+ font-size: 0px;
+ border-bottom-width: 0px;
+ height: 2px;
+ background-color: #{a4jSkin.panelBorderColor};
+ border-right-width: 0px
+ }
</style>
-
+
<p>
There is a spacer 100x10<rich:spacer width="100" height="10" title="Here is a spacer..."/>before this.
</p>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/usage.xhtml 2008-03-21 16:19:20 UTC (rev 7069)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/spacer/usage.xhtml 2008-03-21 16:41:17 UTC (rev 7070)
@@ -10,10 +10,17 @@
Spacer is a simple component that renders an invisible image with the given width, height. Usually it is used to separate elements of page design.
</p>
- <ui:include src="/richfaces/spacer/examples/spacers.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/spacer/examples/spacers.xhtml"/>
- </ui:include>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Spacer example</legend>
+ <div class="sample-container">
+ <ui:include src="/richfaces/spacer/examples/spacers.xhtml"/>
+ <br/><br/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/spacer/examples/spacers.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
+
</ui:define>
</ui:composition>
16 years, 9 months
JBoss Rich Faces SVN: r7069 - in trunk/ui/orderingList/src/main: resources/org/richfaces/renderkit/html/css and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-03-21 12:19:20 -0400 (Fri, 21 Mar 2008)
New Revision: 7069
Modified:
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentRendererBase.java
trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
Log:
http://jira.jboss.com/jira/browse/RF-2580
Modified: trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentRendererBase.java
===================================================================
--- trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentRendererBase.java 2008-03-21 16:15:18 UTC (rev 7068)
+++ trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentRendererBase.java 2008-03-21 16:19:20 UTC (rev 7069)
@@ -366,6 +366,10 @@
renderChild(context, facet);
} else {
writer.startElement(HTML.IMG_ELEMENT, orderingList);
+ //buttons sometimes don't work under IE if mouse cursor
+ //is above some special areas of the button
+ writer.writeAttribute(HTML.style_ATTRIBUTE, "margin:0px;padding:0px;border:0px;", null);
+
writer.writeAttribute(HTML.width_ATTRIBUTE, "15", null);
writer.writeAttribute(HTML.height_ATTRIBUTE, "15", null);
writer.writeAttribute(HTML.border_ATTRIBUTE, "0", null);
@@ -412,7 +416,6 @@
if (label == null) {
label = helper.getDefaultText();
}
-
writer.writeText(label, null);
}
}
Modified: trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
===================================================================
--- trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss 2008-03-21 16:15:18 UTC (rev 7068)
+++ trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss 2008-03-21 16:19:20 UTC (rev 7069)
@@ -71,7 +71,7 @@
}
.rich-ordering-list-button-content {
- padding : 0px 4px 0px 1px;
+ padding : 0px 1px 0px 1px;
text-align : left;
white-space: nowrap;
}
16 years, 9 months