JBoss Rich Faces SVN: r18953 - in trunk/ui/input/ui/src/main: java/org/richfaces/view/facelets and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2010-08-24 13:09:31 -0400 (Tue, 24 Aug 2010)
New Revision: 18953
Modified:
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java
trunk/ui/input/ui/src/main/java/org/richfaces/view/facelets/AutocompleteHandler.java
trunk/ui/input/ui/src/main/templates/autocomplete.template.xml
Log:
Fix checkstyle and add support for mode attribbute
Modified: trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java
===================================================================
--- trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java 2010-08-24 15:57:13 UTC (rev 18952)
+++ trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java 2010-08-24 17:09:31 UTC (rev 18953)
@@ -88,6 +88,11 @@
utils.addToScriptHash(options, "onerror", attributes.get("onerror"));
utils.addToScriptHash(options, "onbeforedomupdate", attributes.get("onbeforedomupdate"));
utils.addToScriptHash(options, "onchange", attributes.get("onchange"));
+ if (attributes.get("mode").equals("ajax")){
+ utils.addToScriptHash(options, "isCachedAjax", false, "true");
+ } else if (attributes.get("mode").equals("client")) {
+ utils.addToScriptHash(options, "ajaxMode", false, "true");
+ }
StringBuilder builder = new StringBuilder();
builder.append(ScriptUtils.toScript(options));
return builder.toString();
@@ -201,23 +206,28 @@
protected void encodeItemsContainer(FacesContext facesContext, UIComponent component) throws IOException {
AutocompleteEncodeStrategy strategy = getStrategy(component);
strategy.encodeItemsContainerBegin(facesContext, component);
- strategy.encodeFakeItem(facesContext, component);
+ if (component.getAttributes().get("mode").equals("client")) {
+ List<Object> fetchValues = new ArrayList<Object>();
+ this.encodeItems(facesContext, component, fetchValues);
+ } else {
+ strategy.encodeFakeItem(facesContext, component);
+ }
strategy.encodeItemsContainerEnd(facesContext, component);
}
private AutocompleteEncodeStrategy getStrategy(UIComponent component) {
AbstractAutocomplete comboBox = (AbstractAutocomplete) component;
if (comboBox.getLayout() != null) {
- if (comboBox.getLayout().equals(AutocompleteLayout.div)) {
+ if (comboBox.getLayout().equals(AutocompleteLayout.div.toString())) {
return new AutocompleteDivLayoutStrategy();
}
- if (comboBox.getLayout().equals(AutocompleteLayout.grid)) {
+ if (comboBox.getLayout().equals(AutocompleteLayout.grid.toString())) {
return new AutocompleteGridLayoutStrategy();
}
- if (comboBox.getLayout().equals(AutocompleteLayout.list)) {
+ if (comboBox.getLayout().equals(AutocompleteLayout.list.toString())) {
return new AutocompleteListLayoutStrategy();
}
- if (comboBox.getLayout().equals(AutocompleteLayout.table)) {
+ if (comboBox.getLayout().equals(AutocompleteLayout.table.toString())) {
return new AutocompleteTableLayoutStrategy();
}
}
@@ -226,12 +236,21 @@
@Override
protected void doDecode(FacesContext context, UIComponent component) {
- if (InputUtils.isDisabled(component)) {
+ AbstractAutocomplete autocomplete = (AbstractAutocomplete)component;
+ if (InputUtils.isDisabled(autocomplete)) {
return;
}
+ Map<String, String> requestParameters = context.getExternalContext().getRequestParameterMap();
+ Object value = requestParameters.get(component.getClientId(context) + "Value");
+ if (value != null) {
+ if(autocomplete.getConverter() != null){
+ value = autocomplete.getConverter().getAsObject(context, component, value.toString());
+ }
+ autocomplete.setSubmittedValue(value);
+ }
super.doDecode(context, component);
- Map<String, String> requestParameters = context.getExternalContext().getRequestParameterMap();
+
if (requestParameters.get(component.getClientId(context) + ".ajax") != null) {
PartialViewContext pvc = context.getPartialViewContext();
pvc.getRenderIds().add(
Modified: trunk/ui/input/ui/src/main/java/org/richfaces/view/facelets/AutocompleteHandler.java
===================================================================
--- trunk/ui/input/ui/src/main/java/org/richfaces/view/facelets/AutocompleteHandler.java 2010-08-24 15:57:13 UTC (rev 18952)
+++ trunk/ui/input/ui/src/main/java/org/richfaces/view/facelets/AutocompleteHandler.java 2010-08-24 17:09:31 UTC (rev 18953)
@@ -21,8 +21,10 @@
*/
package org.richfaces.view.facelets;
+import javax.el.ValueExpression;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
+import javax.faces.convert.Converter;
import javax.faces.view.facelets.ComponentConfig;
import javax.faces.view.facelets.ComponentHandler;
import javax.faces.view.facelets.FaceletContext;
@@ -39,31 +41,44 @@
* @author Nick Belaevski
*
*/
-// TODO nick - this should be generated by CDK
+//TODO nick - this should be generated by CDK
public class AutocompleteHandler extends ComponentHandler {
private static final MetaRule AUTOCOMPLETE_METHOD_META_RULE = new MetaRule() {
@Override
- public Metadata applyRule(String name, TagAttribute attribute, MetadataTarget meta) {
+ public Metadata applyRule(String name, TagAttribute attribute,
+ MetadataTarget meta) {
if (meta.isTargetInstanceOf(AbstractAutocomplete.class)) {
if ("autocompleteMethod".equals(name)) {
- return new MethodMetadata(attribute, FacesContext.class, UIComponent.class, String.class) {
+ return new MethodMetadata(attribute, FacesContext.class,
+ UIComponent.class, String.class) {
public void applyMetadata(FaceletContext ctx, Object instance) {
((AbstractAutocomplete) instance).setAutocompleteMethod(getMethodExpression(ctx));
}
};
}
- /*
- * if ("converter".equals(name)) { return new ConverterMetadata(attribute) { public void
- * applyMetadata(FaceletContext ctx, Object instance) { ((AbstractComboBox)
- * instance).setConverter((Converter) this.getAttr() .getObject(ctx, Converter.class)); } }; }
- */
- /*
- * if ("itemConverter".equals(name)) { return new ConverterMetadata(attribute) { public void
- * applyMetadata(FaceletContext ctx, Object instance) { ((AbstractComboBox)
- * instance).setItemConverter((Converter) this.getAttr() .getObject(ctx, Converter.class)); } }; }
- */
+
+ if ("converter".equals(name)) {
+ return new ConverterMetadata(attribute) {
+ public void applyMetadata(FaceletContext ctx, Object instance) {
+ ((AbstractAutocomplete) instance).setConverter(this.getConverter(ctx,
+ (AbstractAutocomplete) instance,
+ this.getAttr().getValueExpression(ctx, Converter.class)));
+ }
+ };
+ }
+
+ if ("itemConverter".equals(name)) {
+ return new ConverterMetadata(attribute) {
+ public void applyMetadata(FaceletContext ctx, Object instance) {
+ ((AbstractAutocomplete) instance).setItemConverter(this.getConverter(ctx,
+ (AbstractAutocomplete) instance,
+ this.getAttr().getValueExpression(ctx, Converter.class)));
+ }
+ };
+ }
+
}
return null;
@@ -71,7 +86,7 @@
};
public AutocompleteHandler(ComponentConfig config) {
- super(config);
+ super(config);
}
@Override
@@ -93,5 +108,38 @@
return attr;
}
+ public Converter getConverter(FaceletContext ctx,
+ AbstractAutocomplete component, ValueExpression converter) {
+ ValueExpression ve = null;
+ Converter c = null;
+ if (converter != null) {
+ ve = converter;
+ try {
+ c = (Converter) ve.getValue(ctx);
+ } catch (Exception e) {
+ // ok
+ }
+
+ }
+ if (c == null) {
+ c = this.createConverter(ctx, component);
+ }
+ if (c == null) {
+ // throw new TagException(this.getTag(), "No Converter was
+ // created");
+ }
+ return c;
+ }
+
+ private String getConverterId(FaceletContext ctx) {
+ return this.getAttr().getValue(ctx);
+ }
+
+ private Converter createConverter(FaceletContext ctx,
+ AbstractAutocomplete component) {
+ return ctx.getFacesContext().getApplication().createConverter(
+ getConverterId(ctx));
+ }
+
}
}
Modified: trunk/ui/input/ui/src/main/templates/autocomplete.template.xml
===================================================================
--- trunk/ui/input/ui/src/main/templates/autocomplete.template.xml 2010-08-24 15:57:13 UTC (rev 18952)
+++ trunk/ui/input/ui/src/main/templates/autocomplete.template.xml 2010-08-24 17:09:31 UTC (rev 18953)
@@ -29,7 +29,7 @@
onmouseout="#{component.attributes['onmouseout']}"
onkeyup="#{component.attributes['onkeyup']}"
onkeydown="#{component.attributes['onkeydown']}"
- onkeypress="#{component.attributes['onkeypress']}" id="#{clientId}Input" disabled="#{disabled}" name="#{clientId}" type="text" class="rf-au-font rf-au-input" />
+ onkeypress="#{component.attributes['onkeypress']}" id="#{clientId}Input" value="#{component.attributes['value']}" disabled="#{disabled}" name="#{clientId}" type="text" class="rf-au-font rf-au-input" />
<c:if test="#{component.attributes['showButton']}">
<c:if test="#{component.attributes['disabled']}">
<div id="#{clientId}Button" class="rf-au-button">
15 years, 1 month
JBoss Rich Faces SVN: r18952 - trunk/examples/richfaces-showcase.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2010-08-24 11:57:13 -0400 (Tue, 24 Aug 2010)
New Revision: 18952
Modified:
trunk/examples/richfaces-showcase/readme.txt
Log:
https://jira.jboss.org/browse/RF-8739
Modified: trunk/examples/richfaces-showcase/readme.txt
===================================================================
--- trunk/examples/richfaces-showcase/readme.txt 2010-08-24 15:50:37 UTC (rev 18951)
+++ trunk/examples/richfaces-showcase/readme.txt 2010-08-24 15:57:13 UTC (rev 18952)
@@ -49,4 +49,9 @@
And now you're ready to publish the application to GAE. just use appcfg as for any other one like described at google documentation.
more details about the resource plugin(it could be highly usefull not only in case of GAE usage but for general cases like serving resources at separate content systems) -
-will be published at our wiki and announced at RichFaces usage space.
\ No newline at end of file
+will be published at our wiki and announced at RichFaces usage space.
+
+There are some additional changes were made in order to make richfaces-showcase GAE compatible:
+ * WebConfiguration class from com.sun.faces were patched removing code which is not compatible with GAE
+ * web.xml with additional properties for GAE created and placed at src\main\webapp-gae\WEB-INF\ (it replaces common one durinf build with GAE profile)
+ * check pom.xml GAE profile section in order to check additional dependencies for that configuration.
15 years, 1 month
JBoss Rich Faces SVN: r18951 - trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2010-08-24 11:50:37 -0400 (Tue, 24 Aug 2010)
New Revision: 18951
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/AutocompleteBase.js
Log:
bugfix - scroll event name was added to unbind function
Modified: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/AutocompleteBase.js
===================================================================
--- trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/AutocompleteBase.js 2010-08-24 15:47:14 UTC (rev 18950)
+++ trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/AutocompleteBase.js 2010-08-24 15:50:37 UTC (rev 18951)
@@ -15,7 +15,7 @@
return elements;
},
unbindScrollEventHandlers: function(elements, component) {
- RichFaces.Event.unbind(elements, component.getNamespace());
+ RichFaces.Event.unbind(elements, "scroll"+component.getNamespace());
}
});
15 years, 1 month
JBoss Rich Faces SVN: r18950 - in trunk: examples/richfaces-showcase and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2010-08-24 11:47:14 -0400 (Tue, 24 Aug 2010)
New Revision: 18950
Modified:
trunk/dist/readme-examples.txt
trunk/dist/readme-ui.txt
trunk/examples/richfaces-showcase/pom.xml
trunk/examples/richfaces-showcase/readme.txt
Log:
https://jira.jboss.org/browse/RF-8739
GAE dependencies fixed.
Modified: trunk/dist/readme-examples.txt
===================================================================
--- trunk/dist/readme-examples.txt 2010-08-24 15:28:53 UTC (rev 18949)
+++ trunk/dist/readme-examples.txt 2010-08-24 15:47:14 UTC (rev 18950)
@@ -1,6 +1,6 @@
RichFaces 4.0 Examples
=========================================================
-Version 4.0.0.M1
+Version 4.0.0.M2
This software is distributed under the terms of the FSF Lesser Gnu Public License (see lgpl.txt).
@@ -21,6 +21,8 @@
More additional information about build profiles for concrete applications and working with them - inside readme's for application itself.
+NEW for M2: richfaces-showcase contains readme.txt which shows how to publish the application to Google Application Engine.
+
Using IDE to work with examples
-------------------------------
*You could use Jboss Tools with m2eclipse plugin and just import the examples as maven-based projects.
Modified: trunk/dist/readme-ui.txt
===================================================================
--- trunk/dist/readme-ui.txt 2010-08-24 15:28:53 UTC (rev 18949)
+++ trunk/dist/readme-ui.txt 2010-08-24 15:47:14 UTC (rev 18950)
@@ -1,6 +1,6 @@
RichFaces - Ajax enabled JSF 2.0 component library
=========================================================
-Version 4.0.0.M1
+Version 4.0.0.M2
This software is distributed under the terms of the FSF Lesser Gnu Public License (see lgpl.txt).
@@ -8,16 +8,18 @@
-------------------------------
1) Put RichFaces libraries and its dependencies in your application libraries folder:
- 1.1) richfaces-commons-api-4.0.0.20100713-M1.jar
- 1.2) richfaces-core-api-4.0.0.20100713-M1.jar
- 1.3) richfaces-core-impl-4.0.0.20100713-M1.jar
- 1.4) richfaces-components-api-4.0.0.20100713-M1.jar
- 1.5) richfaces-components-impl-4.0.0.20100713-M1.jar
- 1.6) richfaces-components-ui-4.0.0.20100713-M1.jar
- 1.7) slf4j-api
- 1.8) slf4j-log4j12 (or whatever else - select the implementation according to logging framework that you use)
+ 1.1) richfaces-commons-api-4.0.0.20100824-M2.jar
+ 1.2) richfaces-core-api-4.0.0.20100824-M2.jar
+ 1.3) richfaces-core-impl-4.0.0.20100824-M2.jar
+ 1.4) richfaces-components-api-4.0.0.20100824-M2.jar
+ 1.5) richfaces-components-ui-4.0.0.20100824-M2.jar
+ 1.6) slf4j-api
+ 1.7) slf4j-log4j12 (or whatever else - select the implementation according to logging framework that you use)
+ 1.8) sac-1.3, cssparser-0.9.5 - required for components CSS work
+ 1.9) google-guava-r06 - core runtime dependency.
For optimal performance it's recommended to add one of these caching frameworks to application classpath: EhCache, JBoss Cache, OsCache.
+
2) As opposed to the previous 3.x.y versions of RichFaces, no special configuration steps are necessary.
You don't need to modify web.xml or faces-config.xml
@@ -26,7 +28,7 @@
Use xmlns:a4j="http://richfaces.org/a4j" namespace for core components
Use xmlns:rich="http://richfaces.org/rich" namespace for rich components
-4) Add one of the available RichFaces 4.0.M1 components to your page and try it!
+4) Add one of the available RichFaces 4.0.M2 components to your page and try it!
4.1) Take a look at the RichFaces examples for assistance with usage.
Available Components/Behaviors/Tags/Functions
@@ -80,14 +82,21 @@
---------------------------------
Output:
---------------------------------
-rich:divPanel
rich:panel
rich:popupPanel
rich:togglePanel
rich:toggleControl
rich:togglePanelItem
rich:itemChangeListener
+rich:accordion
+rich:accordionItem
+---------------------------------
+Output:
+---------------------------------
+rich:autocomplete
+rich:inplaceInput
+rich:inputNumberSlider
Learn more
----------
Modified: trunk/examples/richfaces-showcase/pom.xml
===================================================================
--- trunk/examples/richfaces-showcase/pom.xml 2010-08-24 15:28:53 UTC (rev 18949)
+++ trunk/examples/richfaces-showcase/pom.xml 2010-08-24 15:47:14 UTC (rev 18950)
@@ -124,17 +124,16 @@
<scope>provided</scope>
</dependency>
<dependency>
+ <groupId>org.glassfish.web</groupId>
+ <artifactId>el-impl</artifactId>
+ <version>2.2</version>
+ </dependency>
+ <dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
- <scope>runtime</scope>
- </dependency>
+ <version>2.2</version>
+ </dependency>
<dependency>
- <groupId>el-impl</groupId>
- <artifactId>el-impl</artifactId>
- <scope>runtime</scope>
- <version>1.0</version>
- </dependency>
- <dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId>
<version>1.1.1</version>
Modified: trunk/examples/richfaces-showcase/readme.txt
===================================================================
--- trunk/examples/richfaces-showcase/readme.txt 2010-08-24 15:28:53 UTC (rev 18949)
+++ trunk/examples/richfaces-showcase/readme.txt 2010-08-24 15:47:14 UTC (rev 18950)
@@ -38,5 +38,15 @@
You can find more details in the RichFaces Getting Started Guide (visit documentation page at http://jboss.org/richfaces)
+2) Publishing to Google Application Engine
+
+In M2 we completed resource plugin which generates static resources and that allow us to create Google App Engine compatible application using RichFaces.
+just execute
+ * mvn clean package -Pgae -Denforcer.skip=true
+(enforcer skipped as resource plugin using snapshot plugin)
+And now you're ready to publish the application to GAE. just use appcfg as for any other one like described at google documentation.
+
+more details about the resource plugin(it could be highly usefull not only in case of GAE usage but for general cases like serving resources at separate content systems) -
+will be published at our wiki and announced at RichFaces usage space.
\ No newline at end of file
15 years, 1 month
JBoss Rich Faces SVN: r18949 - trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2010-08-24 11:28:53 -0400 (Tue, 24 Aug 2010)
New Revision: 18949
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.js
Log:
bug fixing
Modified: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.js
===================================================================
--- trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.js 2010-08-24 12:13:10 UTC (rev 18948)
+++ trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.js 2010-08-24 15:28:53 UTC (rev 18949)
@@ -2,13 +2,14 @@
rf.utils = rf.utils || {};
rf.utils.Cache = function (key, items, values) {
- this.key = key;
+ this.key = key.toLowerCase();
this.cache = {}
this.cache[this.key] = items || [];
this.values = typeof values != "function" ? values || this.cache[this.key] : values(items);
};
var getItems = function (key) {
+ key = key.toLowerCase();
var newCache = [];
if (key.length < this.key.length) {
@@ -21,7 +22,7 @@
var itemsCache = this.cache[this.key];
for (var i = 0; i<this.values.length; i++) {
var value = this.values[i].toLowerCase();
- var p = value.indexOf(key.toLowerCase());
+ var p = value.indexOf(key);
if (p == 0) {
newCache.push(itemsCache[i]);
}
@@ -43,7 +44,8 @@
};
var isCached = function (key) {
- return this.cache[key];
+ key = key.toLowerCase();
+ return this.cache[key] || this.key.indexOf(key)==0;
};
$.extend(rf.utils.Cache.prototype, (function () {
@@ -93,6 +95,7 @@
minChars:1,
selectFirst:true,
ajaxMode:true,
+ isCachedAjax:true,
tokens: ",",
attachToBody:true
};
@@ -182,6 +185,7 @@
var callAjax = function(event, value) {
$(rf.getDomElement(this.id+ID.ITEMS)).removeData().empty();
+
rf.getDomElement(this.id+ID.VALUE).value = value;
var _this = this;
@@ -236,37 +240,39 @@
!noAutoFill && autoFill.call(this, this.value, getSelectedItemValue.call(this));
};
+ var updateItemsFromCache = function (value) {
+ var newItems = this.cache.getItems(value);
+ this.items = $(newItems);
+ //TODO: works only with simple markup, not with <tr>
+ $(rf.getDomElement(this.id+ID.ITEMS)).empty().append(newItems);
+ }
+
var onChangeValue = function (event, value) {
selectItem.call(this);
// value is undefined if called from AutocompleteBase onChange
var subValue = (typeof value == "undefined") ? this.__getSubValue() : value;
- // TODO: ajax call here if needed
- if ((!this.cache || subValue.length==0 || subValue.toLowerCase().indexOf(this.cache.key.toLowerCase())!=0) &&
- subValue.length>=this.options.minChars) {
+ if (this.cache && this.cache.isCached(subValue)) {
+ updateItemsFromCache.call(this, subValue);
+ this.index = -1;
this.value = subValue;
- this.options.ajaxMode && callAjax.call(this, event, subValue);
- return;
+ if (this.options.selectFirst) {
+ if (event.which == rf.KEYS.RETURN || event.type == "click") {
+ this.setInputValue(subValue);
+ } else {
+ selectItem.call(this, 0, false, event.which == rf.KEYS.BACKSPACE || event.which == rf.KEYS.LEFT || event.which == rf.KEYS.RIGHT);
+ }
+ }
+ } else {
+ if (subValue.length>=this.options.minChars) {
+ if (this.options.ajaxMode && this.value!=subValue) {
+ this.value = subValue;
+ this.options.ajaxMode && callAjax.call(this, event, subValue);
+ }
+ }
}
- // TODO: check js error if open by shoButton and minchar>0
- if(!this.cache){
- return;
- }
- var newItems = this.cache.getItems(subValue);
- this.items = $(newItems);
- //TODO: works only with simple markup, not with <tr>
- $(rf.getDomElement(this.id+ID.ITEMS)).empty().append(newItems);
- this.index = -1;
- this.value = subValue;
- if (this.options.selectFirst) {
- if (event.which == rf.KEYS.RETURN || event.type == "click") {
- this.setInputValue(subValue);
- } else {
- selectItem.call(this, 0, false, event.which == rf.KEYS.BACKSPACE || event.which == rf.KEYS.LEFT || event.which == rf.KEYS.RIGHT);
- }
- }
};
var getSelectedItemValue = function () {
15 years, 1 month
JBoss Rich Faces SVN: r18948 - trunk/ui/input/ui/src/main/templates.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2010-08-24 08:13:10 -0400 (Tue, 24 Aug 2010)
New Revision: 18948
Modified:
trunk/ui/input/ui/src/main/templates/autocomplete.template.xml
Log:
Rename css classes
Modified: trunk/ui/input/ui/src/main/templates/autocomplete.template.xml
===================================================================
--- trunk/ui/input/ui/src/main/templates/autocomplete.template.xml 2010-08-24 12:01:23 UTC (rev 18947)
+++ trunk/ui/input/ui/src/main/templates/autocomplete.template.xml 2010-08-24 12:13:10 UTC (rev 18948)
@@ -29,7 +29,7 @@
onmouseout="#{component.attributes['onmouseout']}"
onkeyup="#{component.attributes['onkeyup']}"
onkeydown="#{component.attributes['onkeydown']}"
- onkeypress="#{component.attributes['onkeypress']}" id="#{clientId}Input" converter="#{component.attributes['converter']}" disabled="#{disabled}" name="#{clientId}" type="text" class="rf-au-ft rf-au-i" />
+ onkeypress="#{component.attributes['onkeypress']}" id="#{clientId}Input" disabled="#{disabled}" name="#{clientId}" type="text" class="rf-au-font rf-au-input" />
<c:if test="#{component.attributes['showButton']}">
<c:if test="#{component.attributes['disabled']}">
<div id="#{clientId}Button" class="rf-au-button">
15 years, 1 month
JBoss Rich Faces SVN: r18947 - in trunk/examples/richfaces-showcase/src/main/webapp: resources/org.richfaces.showcase and 9 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2010-08-24 08:01:23 -0400 (Tue, 24 Aug 2010)
New Revision: 18947
Added:
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/message.css
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/message.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/messages.css
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/messages.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/page.ecss
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/page.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/panel.ecss
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/panel.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/rich/
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/rich/css/
trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/toolBar.xhtml
Removed:
trunk/examples/richfaces-showcase/src/main/webapp/resources/rich/
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableFiltering-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/samples/region-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/navigation.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/skin-chooser.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml
Log:
solving problems with resources.
and https://jira.jboss.org/browse/RF-9021
Added: trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/message.css
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/message.css (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/message.css 2010-08-24 12:01:23 UTC (rev 18947)
@@ -0,0 +1,3 @@
+rich-message{
+ color:red;
+}
\ No newline at end of file
Added: trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/message.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/message.xhtml (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/message.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:composite="http://java.sun.com/jsf/composite"
+ xmlns:a4j="http://richfaces.org/a4j">
+<head>
+<title>panel</title>
+</head>
+<body>
+
+<composite:interface>
+ <composite:attribute name="for" required="true" />
+ <composite:attribute name="style" required="false" />
+ <composite:attribute name="styleClass" required="false" />
+</composite:interface>
+
+<composite:implementation>
+ <h:outputStylesheet library="org.richfaces.showcase" name="message.css" />
+ <a4j:outputPanel ajaxRendered="true" layout="none">
+ <h:message for="#{cc.attrs.for}" showDetail="#{cc.attrs.showDetails}"
+ showSummary="#{cc.attrs.showSummary}" style="#{cc.attrs.style}"
+ styleClass="rich-message #{cc.attrs.styleClass}" />
+ </a4j:outputPanel>
+</composite:implementation>
+</body>
+</html>
Added: trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/messages.css
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/messages.css (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/messages.css 2010-08-24 12:01:23 UTC (rev 18947)
@@ -0,0 +1,3 @@
+rich-messages{
+ color:red;
+}
\ No newline at end of file
Added: trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/messages.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/messages.xhtml (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/messages.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:composite="http://java.sun.com/jsf/composite"
+ xmlns:a4j="http://richfaces.org/a4j">
+<head>
+<title>panel</title>
+</head>
+<body>
+
+<composite:interface>
+ <composite:attribute name="style" required="false" />
+ <composite:attribute name="styleClass" required="false" />
+</composite:interface>
+
+<composite:implementation>
+ <h:outputStylesheet library="org.richfaces.showcase" name="messages.css" />
+ <a4j:outputPanel ajaxRendered="true" layout="none">
+ <h:messages layout="#{cc.attrs.layout}"
+ showSummary="true" style="color:red; #{cc.attrs.style}"
+ styleClass="rich-message #{cc.attrs.styleClass}" />
+ </a4j:outputPanel>
+</composite:implementation>
+</body>
+</html>
Added: trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/page.ecss
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/page.ecss (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/page.ecss 2010-08-24 12:01:23 UTC (rev 18947)
@@ -0,0 +1,96 @@
+.rich-page {
+ width: 100%;
+}
+
+body {
+ background-color: #FFFFFF;
+ margin: 10px;
+}
+
+.header_bg {
+ background-image:
+ "url(#{resource['org.richfaces.demo.images.PageHeaderGradient']})";
+ border-bottom: 1px solid #FFFFFF;
+ background-color: '#{richSkin.headerBackgroundColor}';
+ background-repeat: repeat-x;
+ background-position: top left;
+}
+
+.footer_bg {
+ background-image:
+ "url(#{resource['org.richfaces.demo.images.PageFooterGradient']})";
+ border-top: 1px solid #FFFFFF;
+ background-color: '#{richSkin.headerBackgroundColor}';
+ background-repeat: repeat-x;
+ background-position: center left;
+}
+
+.menu_col {
+ background-color: '#{richSkin.generalBackgroundColor}';
+ vertical-align: top;
+ border-top: 10px solid #FFFFFF;
+ border-right: 10px solid #FFFFFF;
+ border-bottom: 10px solid #FFFFFF;
+}
+
+.content_col {
+ background-color: #FFFFFF;
+ vertical-align: top;
+ width: 100%;
+ border-top: 10px solid #FFFFFF;
+ border-bottom: 10px solid #FFFFFF;
+}
+
+*.menu_col,*.content_col,*.footer_bg {
+ font-family: '#{richSkin.generalFamilyFont}';
+ color: '#{richSkin.generalTextColor}';
+ font-size: '#{richSkin.generalSizeFont}';
+}
+
+*.header_content {
+ font-family: '#{richSkin.generalFamilyFont}';
+ color: '#{richSkin.headerTextColor}';
+ font-size: '#{richSkin.generalSizeFont}';
+ padding-left: 20px;
+}
+
+.page_size {
+ width: 100%;
+ height: 100%;
+}
+
+.header_content {
+ margin: 0px 0px 0px 0px;
+ position: relative
+}
+
+.spacer {
+ font-size: 1px;
+}
+
+.footer_bg_content {
+ padding:20px;
+ margin: 0px 0px 0px 0px;
+}
+
+.new_marker {
+ color: red;
+ vertical-align: super;
+ font-size: 8px;
+ padding-left: 2px;
+}
+
+.header_links_container, .header_links_container a:visited, .header_links_container * {
+ color: '#{richSkin.headerTextColor}';
+}
+
+.header_links_container {
+ padding-right: 20px;
+}
+
+.skin-chooser{
+margin-bottom: 3px;
+}
+.samples-navigator{
+margin-bottom: 10px;
+}
\ No newline at end of file
Added: trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/page.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/page.xhtml (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/page.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -0,0 +1,69 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:composite="http://java.sun.com/jsf/composite">
+ <head>
+ <title>page</title>
+ </head>
+<body>
+
+<composite:interface>
+ <composite:attribute name="style" />
+ <composite:attribute name="styleClass"/>
+ <composite:attribute name="headerClass"/>
+ <composite:attribute name="bodyClass"/>
+ <composite:attribute name="sidebarClass"/>
+</composite:interface>
+<composite:implementation>
+<h:outputText value="<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">" escape="false"/>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<h:head>
+ <title>#{cc.attrs.pageTitle}</title>
+ <composite:renderFacet name="pageHeader"/>
+</h:head>
+<h:body>
+ <h:outputStylesheet name="rich/css/page.ecss" />
+ <table border="0" cellpadding="0" cellspacing="0" class="rich-page #{cc.attrs.pageClass}">
+ <tbody>
+ <tr>
+ <td class="header_bg">
+ <div class="header_content rich-page-header #{cc.attrs.headerClass}">
+ <composite:renderFacet name="header"/>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td width="100%" height="100%" class="bg_tabbody">
+ <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%" class="rich-page-content #{cc.attrs.contentClass}">
+ <tbody>
+ <tr>
+ <td class="menu_col rich-page-sidebar #{cc.attrs.sidebarClass}">
+ <div class="menu_width spacer" style="width:#{cc.attrs.sidebarWidth}px"></div>
+ <composite:renderFacet name="sidebar"/>
+ </td>
+ <td class="content_col rich-page-body #{cc.attrs.bodyClass}">
+ <composite:insertChildren />
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="footer_bg">
+ <div class="footer_bg_content rich-page-footer #{cc.attrs.footerClass}">
+ <composite:renderFacet name="footer"/>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</h:body>
+</html>
+</composite:implementation>
+</body>
+</html>
Added: trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/panel.ecss
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/panel.ecss (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/panel.ecss 2010-08-24 12:01:23 UTC (rev 18947)
@@ -0,0 +1,28 @@
+.rich-panel {
+ border-width: 1px;
+ border-style: solid;
+ padding: 1px;
+ color: '#{richSkin.generalTextColor}';
+ font-family: '#{richSkin.generalFamilyFont}';
+ font-size: '#{richSkin.generalSizeFont}';
+ background-color: '#{richSkin.generalBackgroundColor}';
+ border-color: '#{richSkin.panelBorderColor}';
+}
+
+.rich-panel-header {
+ padding: 7px 20px;
+ border-width: 1px;
+ border-style: solid;
+ background-color: '#{richSkin.headerBackgroundColor}';
+ border-color: '#{richSkin.panelBorderColor}';
+ font-weight: bold;
+ background-position: left top;
+ background-repeat: repeat-x;
+ background-image:
+ "url(#{resource['org.richfaces.demo.images.PanelGradient']})";
+ color: '#{richSkin.headerTextColor}';
+}
+
+.rich-panel-body {
+ padding: 10px;
+}
\ No newline at end of file
Added: trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/panel.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/panel.xhtml (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/panel.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:composite="http://java.sun.com/jsf/composite">
+ <head>
+ <title>panel</title>
+ </head>
+<body>
+
+<composite:interface>
+ <composite:attribute name="id" required="false"/>
+ <composite:attribute name="style" required="false"/>
+ <composite:attribute name="styleClass" required="false"/>
+ <composite:attribute name="headerClass" required="false"/>
+ <composite:attribute name="bodyClass" required="false"/>
+</composite:interface>
+
+<composite:implementation>
+ <h:outputStylesheet library="org.richfaces.showcase" name="panel.ecss" />
+
+ <div class="rich-panel #{cc.attrs.styleClass}" id="#{cc.attrs.id}"
+ style="#{cc.attrs.style}"
+ onclick="#{cc.attrs.onclick}"
+ ondblclick="#{cc.attrs.ondblclick}"
+ onkeydown="#{cc.attrs.onkeydown}"
+ onkeypress="#{cc.attrs.onkeypress}"
+ onkeyup="#{cc.attrs.onkeyup}"
+ onmousedown="#{cc.attrs.onmousedown}"
+ onmousemove="#{cc.attrs.onmousemove}"
+ onmouseout="#{cc.attrs.onmouseout}"
+ onmouseover="#{cc.attrs.onmouseover}"
+ onmouseup="#{cc.attrs.onmouseup}">
+
+ <h:panelGroup rendered="#{not empty cc.facets.header}">
+ <div class="rich-panel-header #{cc.attrs.headerClass}">
+ <composite:renderFacet name="header"/>
+ </div>
+ </h:panelGroup>
+ <div class="rich-panel-body #{cc.attrs.bodyClass}" >
+ <composite:insertChildren />
+ </div>
+
+ </div>
+</composite:implementation>
+</body>
+</html>
Added: trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/toolBar.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/toolBar.xhtml (rev 0)
+++ trunk/examples/richfaces-showcase/src/main/webapp/resources/org.richfaces.showcase/toolBar.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:composite="http://java.sun.com/jsf/composite"
+ xmlns:a4j="http://richfaces.org/a4j">
+ <head>
+ <title>toolBar</title>
+ </head>
+<body>
+
+<composite:interface>
+ <composite:attribute name="items" required="true"/>
+</composite:interface>
+<composite:implementation>
+ <table>
+ <tbody>
+ <a4j:repeat value="#{cc.attrs.items}" var="item">
+ <tr>
+ <td>
+ <h:link value="#{item.name}" outcome="#{item.outcome}" />
+ </td>
+ </tr>
+ </a4j:repeat>
+ </tbody>
+ </table>
+</composite:implementation>
+</body>
+</html>
\ No newline at end of file
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml 2010-08-24 11:28:21 UTC (rev 18946)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -3,7 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:rich="http://java.sun.com/jsf/composite/rich">
+ xmlns:rich="http://java.sun.com/jsf/composite/org.richfaces.showcase">
<ui:composition template="/templates/main.xhtml">
<ui:define name="demoSampleParameters">
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableFiltering-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableFiltering-sample.xhtml 2010-08-24 11:28:21 UTC (rev 18946)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableFiltering-sample.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:fn="http://java.sun.com/jsp/jstl/functions"
- xmlns:r="http://java.sun.com/jsf/composite/rich">
+ xmlns:r="http://java.sun.com/jsf/composite/org.richfaces.showcase">
<h:form id="form">
<r:messages />
<rich:dataTable value="#{carsBean.allInventoryItems}" var="car"
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml 2010-08-24 11:28:21 UTC (rev 18946)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
- xmlns:r="http://java.sun.com/jsf/composite/rich">
+ xmlns:r="http://java.sun.com/jsf/composite/org.richfaces.showcase">
<h:form>
<rich:panel id="psnel">
<f:facet name="header">
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml 2010-08-24 11:28:21 UTC (rev 18946)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
- xmlns:r="http://java.sun.com/jsf/composite/rich">
+ xmlns:r="http://java.sun.com/jsf/composite/org.richfaces.showcase">
<rich:panel>
<h:form id="form">
<a4j:queue requestDelay="#{queueBean.requestDelay}" />
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/samples/region-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/samples/region-sample.xhtml 2010-08-24 11:28:21 UTC (rev 18946)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/samples/region-sample.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -4,7 +4,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://java.sun.com/jsf/composite/rich">
+ xmlns:rich="http://java.sun.com/jsf/composite/org.richfaces.showcase">
<ui:composition>
<h:form>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml 2010-08-24 11:28:21 UTC (rev 18946)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -4,7 +4,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://java.sun.com/jsf/composite/rich">
+ xmlns:rich="http://java.sun.com/jsf/composite/org.richfaces.showcase">
<ui:composition>
<p>This section overviews main principles of standard components
Modified: trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/navigation.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/navigation.xhtml 2010-08-24 11:28:21 UTC (rev 18946)
+++ trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/navigation.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -3,7 +3,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://java.sun.com/jsf/composite/rich">
+ xmlns:rich="http://java.sun.com/jsf/composite/org.richfaces.showcase">
<rich:panel style="width:300px" bodyClass="">
<f:facet name="header">
<h:outputText value="Navigation" />
Modified: trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/skin-chooser.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/skin-chooser.xhtml 2010-08-24 11:28:21 UTC (rev 18946)
+++ trunk/examples/richfaces-showcase/src/main/webapp/templates/includes/skin-chooser.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -4,7 +4,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://java.sun.com/jsf/composite/rich">
+ xmlns:rich="http://java.sun.com/jsf/composite/org.richfaces.showcase">
<ui:composition>
<rich:panel styleClass="skin-chooser">
Modified: trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml 2010-08-24 11:28:21 UTC (rev 18946)
+++ trunk/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml 2010-08-24 12:01:23 UTC (rev 18947)
@@ -3,16 +3,29 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:rich="http://java.sun.com/jsf/composite/rich"
+ xmlns:rich="http://java.sun.com/jsf/composite/org.richfaces.showcase"
xmlns:a4j="http://richfaces.org/a4j">
<f:view>
<ui:insert name="demoSampleParameters"/>
<h:head>
- <title>Components Gallery</title>
+<title>Components Gallery</title>
+<script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-7306415-3']);
+ _gaq.push(['_trackPageview']);
+ (function() {
+ if (window.location.hostname.indexOf("appspot.com") != -1) {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ }
+ })();
+
+</script>
</h:head>
<h:body>
- <h:outputStylesheet name="rich/css/page.ecss" />
+ <h:outputStylesheet library="org.richfaces.showcase" name="page.ecss" />
<table border="0" cellpadding="0" cellspacing="0"
class="rich-page header_bg #{cc.attrs.pageClass}">
<tbody>
15 years, 1 month
JBoss Rich Faces SVN: r18946 - trunk/ui/input/ui/src/main/templates.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2010-08-24 07:28:21 -0400 (Tue, 24 Aug 2010)
New Revision: 18946
Modified:
trunk/ui/input/ui/src/main/templates/autocomplete.template.xml
Log:
Rename css classes
Modified: trunk/ui/input/ui/src/main/templates/autocomplete.template.xml
===================================================================
--- trunk/ui/input/ui/src/main/templates/autocomplete.template.xml 2010-08-24 11:25:07 UTC (rev 18945)
+++ trunk/ui/input/ui/src/main/templates/autocomplete.template.xml 2010-08-24 11:28:21 UTC (rev 18946)
@@ -15,8 +15,8 @@
<cc:implementation>
<cdk:object type="java.lang.Object" name="disabled" value="#{component.attributes['disabled']}" />
- <div id="#{clientId}" class="rf-au-f-w rf-au-f">
- <input id="#{clientId}Value" name="#{clientId}Value" type="hidden" class="rf-au-ft rf-au-i" />
+ <div id="#{clientId}" class="rf-au-field-width rf-au-field">
+ <input id="#{clientId}Value" name="#{clientId}Value" type="hidden" class="rf-au-font rf-au-input" />
<div style="position : relative; overflow : hidden; text-align : left; padding-right : 21px;">
<input onclick="#{component.attributes['onclick']}"
ondblclick="#{component.attributes['ondblclick']}"
@@ -29,16 +29,16 @@
onmouseout="#{component.attributes['onmouseout']}"
onkeyup="#{component.attributes['onkeyup']}"
onkeydown="#{component.attributes['onkeydown']}"
- onkeypress="#{component.attributes['onkeypress']}" id="#{clientId}Input" disabled="#{disabled}" name="#{clientId}" type="text" class="rf-au-ft rf-au-i" />
+ onkeypress="#{component.attributes['onkeypress']}" id="#{clientId}Input" converter="#{component.attributes['converter']}" disabled="#{disabled}" name="#{clientId}" type="text" class="rf-au-ft rf-au-i" />
<c:if test="#{component.attributes['showButton']}">
<c:if test="#{component.attributes['disabled']}">
- <div id="#{clientId}Button" class="rf-au-b">
- <div class="rf-au-b-a"></div>
+ <div id="#{clientId}Button" class="rf-au-button">
+ <div class="rf-au-button-arrow"></div>
</div>
</c:if>
<c:if test="#{!component.attributes['disabled']}">
- <div id="#{clientId}Button" class="rf-au-b">
- <div class="rf-au-b-a"></div>
+ <div id="#{clientId}Button" class="rf-au-button">
+ <div class="rf-au-button-arrow"></div>
</div>
</c:if>
</c:if>
@@ -56,16 +56,16 @@
onkeyup="#{component.attributes['onlistkeyup']}"
onkeydown="#{component.attributes['onlistkeydown']}"
onkeypress="#{component.attributes['onlistkeypress']}"
- id="#{clientId}List" class="rf-au-l-c">
+ id="#{clientId}List" class="rf-au-list-cord">
- <div class="rf-au-shw">
- <div class="rf-au-shw-t"></div>
- <div class="rf-au-shw-l"></div>
- <div class="rf-au-shw-r"></div>
- <div class="rf-au-shw-b"></div>
+ <div class="rf-au-shadow">
+ <div class="rf-au-shadow-t"></div>
+ <div class="rf-au-shadow-l"></div>
+ <div class="rf-au-shadow-r"></div>
+ <div class="rf-au-shadow-b"></div>
- <div class="rf-au-l-d">
- <div class="rf-au-l-s rf-au-l-w rf-au-l-h">
+ <div class="rf-au-list-decoration">
+ <div class="rf-au-list-scroll rf-au-list-width rf-au-list-height">
<cdk:body>
<cdk:call expression="encodeItemsContainer(facesContext, component)"/>
</cdk:body>
15 years, 1 month
JBoss Rich Faces SVN: r18945 - trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2010-08-24 07:25:07 -0400 (Tue, 24 Aug 2010)
New Revision: 18945
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.js
Log:
css fixes
Modified: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.js
===================================================================
--- trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.js 2010-08-24 11:07:56 UTC (rev 18944)
+++ trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.js 2010-08-24 11:25:07 UTC (rev 18945)
@@ -87,8 +87,8 @@
var $super = rf.ui.Autocomplete.$super;
var defaultOptions = {
- selectedItemClass:'rf-au-s',
- itemClass:'cb_option',
+ selectedItemClass:'rf-au-select',
+ itemClass:'rf-au-option',
autofill:true,
minChars:1,
selectFirst:true,
15 years, 1 month
JBoss Rich Faces SVN: r18944 - in modules/tests/metamer/trunk: ftest and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-08-24 07:07:56 -0400 (Tue, 24 Aug 2010)
New Revision: 18944
Modified:
modules/tests/metamer/trunk/
modules/tests/metamer/trunk/ftest/pom.xml
modules/tests/metamer/trunk/pom.xml
Log:
* version of parent changed back to snapshot
* added JBoss public repository
Property changes on: modules/tests/metamer/trunk
___________________________________________________________________
Name: svn:ignore
- .checkstyle
.classpath
.project
.settings
target
+ .checkstyle
.classpath
.project
.settings
target
.pom.xml.swp
Modified: modules/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest/pom.xml 2010-08-24 07:47:22 UTC (rev 18943)
+++ modules/tests/metamer/trunk/ftest/pom.xml 2010-08-24 11:07:56 UTC (rev 18944)
@@ -79,8 +79,8 @@
<properties>
<context.path>/metamer/</context.path>
- <deployable.version>4.0.0.20100822-M2</deployable.version>
- <ftest.source.version>4.0.0.20100822-M2</ftest.source.version>
+ <deployable.version>4.0.0-SNAPSHOT</deployable.version>
+ <ftest.source.version>4.0.0-SNAPSHOT</ftest.source.version>
<testng.suite.xml>src/test/resources/testng.xml</testng.suite.xml>
</properties>
Modified: modules/tests/metamer/trunk/pom.xml
===================================================================
--- modules/tests/metamer/trunk/pom.xml 2010-08-24 07:47:22 UTC (rev 18943)
+++ modules/tests/metamer/trunk/pom.xml 2010-08-24 11:07:56 UTC (rev 18944)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.richfaces.examples</groupId>
<artifactId>richfaces-example-parent</artifactId>
- <version>4.0.0.20100822-M2</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<groupId>org.richfaces.tests</groupId>
@@ -89,13 +89,26 @@
<id>jboss-qa-repository</id>
<url>http://nexus.qa.jboss.com:8081/nexus/content/groups/public-all</url>
</repository>
+ <repository>
+ <id>jboss-public-repository-group</id>
+ <name>JBoss Public Maven Repository Group</name>
+ <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+
+ </repository>
+
</repositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<richfaces.checkstyle.version>2</richfaces.checkstyle.version>
- <version.richfaces>4.0.0.20100822-M2</version.richfaces>
+ <version.richfaces>4.0.0-SNAPSHOT</version.richfaces>
</properties>
<dependencyManagement>
15 years, 1 month