JBoss Rich Faces SVN: r7098 - trunk/samples/dragDropDemo/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-23 20:44:39 -0400 (Sun, 23 Mar 2008)
New Revision: 7098
Modified:
trunk/samples/dragDropDemo/src/main/webapp/pages/index.jsp
Log:
DragDropDemo updated
Modified: trunk/samples/dragDropDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/dragDropDemo/src/main/webapp/pages/index.jsp 2008-03-24 00:34:51 UTC (rev 7097)
+++ trunk/samples/dragDropDemo/src/main/webapp/pages/index.jsp 2008-03-24 00:44:39 UTC (rev 7098)
@@ -104,7 +104,7 @@
Accepts file & folder... Customizes
</f:verbatim>
- <dnd:dropSupport id="zone1" ondrop="var zone = $('form:grid1'); zone.style.borderColor= 'red'; setTimeout( function() { this.style.borderColor= 'navy'; }.bind(zone), 300);" acceptedTypes="file, folder" typeMapping="{file: testDrop}">
+ <dnd:dropSupport id="zone1" ondrop="var zone = document.getElementById('form:grid1'); zone.style.borderColor= 'red'; setTimeout( function() { this.style.borderColor= 'navy'; }.bind(zone), 300);" acceptedTypes="file, folder" typeMapping="{file: testDrop}">
<dnd:dndParam name="testDrop">
<h:graphicImage height="16" width="16" value="/images/file-manager.png" />
</dnd:dndParam>
16 years, 9 months
JBoss Rich Faces SVN: r7097 - trunk/ui/core/src/main/resources/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-23 20:34:51 -0400 (Sun, 23 Mar 2008)
New Revision: 7097
Modified:
trunk/ui/core/src/main/resources/org/richfaces/skin-bas-both.xcss
trunk/ui/core/src/main/resources/org/richfaces/skin-bas-classes.xcss
trunk/ui/core/src/main/resources/org/richfaces/skin-bas-styles.xcss
trunk/ui/core/src/main/resources/org/richfaces/skin-ext-both.xcss
trunk/ui/core/src/main/resources/org/richfaces/skin-ext-classes.xcss
trunk/ui/core/src/main/resources/org/richfaces/skin-ext-styles.xcss
Log:
http://jira.jboss.com/jira/browse/RF-2703
Modified: trunk/ui/core/src/main/resources/org/richfaces/skin-bas-both.xcss
===================================================================
--- trunk/ui/core/src/main/resources/org/richfaces/skin-bas-both.xcss 2008-03-23 23:17:19 UTC (rev 7096)
+++ trunk/ui/core/src/main/resources/org/richfaces/skin-bas-both.xcss 2008-03-24 00:34:51 UTC (rev 7097)
@@ -4,8 +4,8 @@
xmlns:u='http:/jsf.exadel.com/template/util'
xmlns="http://www.w3.org/1999/xhtml">
- <u:insertResource src="org/richfaces/skin.xcss" />
+ <f:importResource src="org/richfaces/skin.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/basic.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/basic_classes.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/basic.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/basic_classes.xcss" />
</f:template>
\ No newline at end of file
Modified: trunk/ui/core/src/main/resources/org/richfaces/skin-bas-classes.xcss
===================================================================
--- trunk/ui/core/src/main/resources/org/richfaces/skin-bas-classes.xcss 2008-03-23 23:17:19 UTC (rev 7096)
+++ trunk/ui/core/src/main/resources/org/richfaces/skin-bas-classes.xcss 2008-03-24 00:34:51 UTC (rev 7097)
@@ -4,7 +4,7 @@
xmlns:u='http:/jsf.exadel.com/template/util'
xmlns="http://www.w3.org/1999/xhtml">
- <u:insertResource src="org/richfaces/skin.xcss" />
+ <f:importResource src="org/richfaces/skin.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/basic_classes.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/basic_classes.xcss" />
</f:template>
\ No newline at end of file
Modified: trunk/ui/core/src/main/resources/org/richfaces/skin-bas-styles.xcss
===================================================================
--- trunk/ui/core/src/main/resources/org/richfaces/skin-bas-styles.xcss 2008-03-23 23:17:19 UTC (rev 7096)
+++ trunk/ui/core/src/main/resources/org/richfaces/skin-bas-styles.xcss 2008-03-24 00:34:51 UTC (rev 7097)
@@ -4,7 +4,7 @@
xmlns:u='http:/jsf.exadel.com/template/util'
xmlns="http://www.w3.org/1999/xhtml">
- <u:insertResource src="org/richfaces/skin.xcss" />
+ <f:importResource src="org/richfaces/skin.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/basic.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/basic.xcss" />
</f:template>
\ No newline at end of file
Modified: trunk/ui/core/src/main/resources/org/richfaces/skin-ext-both.xcss
===================================================================
--- trunk/ui/core/src/main/resources/org/richfaces/skin-ext-both.xcss 2008-03-23 23:17:19 UTC (rev 7096)
+++ trunk/ui/core/src/main/resources/org/richfaces/skin-ext-both.xcss 2008-03-24 00:34:51 UTC (rev 7097)
@@ -4,11 +4,11 @@
xmlns:u='http:/jsf.exadel.com/template/util'
xmlns="http://www.w3.org/1999/xhtml">
- <u:insertResource src="org/richfaces/skin.xcss" />
+ <f:importResource src="org/richfaces/skin.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/basic.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/basic_classes.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/basic.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/basic_classes.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/extended.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/extended_classes.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/extended.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/extended_classes.xcss" />
</f:template>
\ No newline at end of file
Modified: trunk/ui/core/src/main/resources/org/richfaces/skin-ext-classes.xcss
===================================================================
--- trunk/ui/core/src/main/resources/org/richfaces/skin-ext-classes.xcss 2008-03-23 23:17:19 UTC (rev 7096)
+++ trunk/ui/core/src/main/resources/org/richfaces/skin-ext-classes.xcss 2008-03-24 00:34:51 UTC (rev 7097)
@@ -4,8 +4,8 @@
xmlns:u='http:/jsf.exadel.com/template/util'
xmlns="http://www.w3.org/1999/xhtml">
- <u:insertResource src="org/richfaces/skin.xcss" />
+ <f:importResource src="org/richfaces/skin.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/basic_classes.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/extended_classes.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/basic_classes.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/extended_classes.xcss" />
</f:template>
\ No newline at end of file
Modified: trunk/ui/core/src/main/resources/org/richfaces/skin-ext-styles.xcss
===================================================================
--- trunk/ui/core/src/main/resources/org/richfaces/skin-ext-styles.xcss 2008-03-23 23:17:19 UTC (rev 7096)
+++ trunk/ui/core/src/main/resources/org/richfaces/skin-ext-styles.xcss 2008-03-24 00:34:51 UTC (rev 7097)
@@ -4,8 +4,8 @@
xmlns:u='http:/jsf.exadel.com/template/util'
xmlns="http://www.w3.org/1999/xhtml">
- <u:insertResource src="org/richfaces/skin.xcss" />
+ <f:importResource src="org/richfaces/skin.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/basic.xcss" />
- <u:insertResource src="org/richfaces/renderkit/html/css/extended.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/basic.xcss" />
+ <f:importResource src="org/richfaces/renderkit/html/css/extended.xcss" />
</f:template>
\ No newline at end of file
16 years, 9 months
JBoss Rich Faces SVN: r7096 - trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/compiler.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-23 19:17:19 -0400 (Sun, 23 Mar 2008)
New Revision: 7096
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/compiler/HtmlCompiler.java
Log:
Comment updated
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/compiler/HtmlCompiler.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/compiler/HtmlCompiler.java 2008-03-23 21:48:44 UTC (rev 7095)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/compiler/HtmlCompiler.java 2008-03-23 23:17:19 UTC (rev 7096)
@@ -184,7 +184,7 @@
digestr.addObjectCreate(pattern,IfElement.class);
digestr.addSetProperties(pattern);
digestr.addSetNext(pattern,CHILD_METHOD);
- // resources import <f:resourceImport src="...">
+ // resources import <f:importResource src="...">
pattern = ANY_PARENT+NS_PREFIX+IMPORT_RESOURCE_TAG;
digestr.addFactoryCreate(pattern, new AbstractObjectCreationFactory() {
16 years, 9 months
JBoss Rich Faces SVN: r7095 - trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-23 17:48:44 -0400 (Sun, 23 Mar 2008)
New Revision: 7095
Modified:
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
Log:
http://jira.jboss.com/jira/browse/RF-2596
Modified: trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
===================================================================
--- trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-03-23 19:42:52 UTC (rev 7094)
+++ trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-03-23 21:48:44 UTC (rev 7095)
@@ -78,7 +78,7 @@
this.labelArea = this.mainRow.firstChild.nextSibling;
this.leftIcon = this.mainRow.firstChild.firstChild;
this.rightIcon = this.labelArea.nextSibling.firstChild;
- this.content = document.getElementsByClassName("dr-pmenu-group-self-label", this.tdhider)[0];
+ this.content = this.tdhider.select(".dr-pmenu-group-self-label")[0];
this.iconAlign = iconAlign;
/*
16 years, 9 months
JBoss Rich Faces SVN: r7094 - in trunk/ui/suggestionbox/src/main: java/org/richfaces/component and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-23 15:42:52 -0400 (Sun, 23 Mar 2008)
New Revision: 7094
Modified:
trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml
trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java
trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-2576
Modified: trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml
===================================================================
--- trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml 2008-03-23 19:42:44 UTC (rev 7093)
+++ trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml 2008-03-23 19:42:52 UTC (rev 7094)
@@ -88,7 +88,7 @@
<defaultvalue>true</defaultvalue>
</property>
<property>
- <name>useSuggestObjects</name>
+ <name>usingSuggestObjects</name>
<classname>boolean</classname>
<description>
if true suggested object list will be created and witt be updated every time when user changes input value
@@ -373,6 +373,5 @@
<name>rowNumber</name>
<classname>java.lang.Object</classname>
</property>
-
</component>
</components>
Modified: trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java
===================================================================
--- trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java 2008-03-23 19:42:44 UTC (rev 7093)
+++ trunk/ui/suggestionbox/src/main/java/org/richfaces/component/UISuggestionBox.java 2008-03-23 19:42:52 UTC (rev 7094)
@@ -349,56 +349,58 @@
}
private Object getRequestedValuesData() {
- MethodExpression suggestingAction = getSuggestionAction();
SubmittedValue valueHolder = (SubmittedValue) getSubmitedValue();
FacesContext context = getFacesContext();
- if (null != suggestingAction && valueHolder != null) {
+ if (valueHolder != null) {
String[] requestedValues = valueHolder.getRequestedValues();
if (requestedValues != null) {
- int first = getFirst();
- int rows = getRows();
- int rowIndex = getRowIndex();
- Object value = getValue();
-
- setFirst(0);
- setRows(0);
+ MethodExpression suggestingAction = getSuggestionAction();
+ if (suggestingAction != null) {
+ int first = getFirst();
+ int rows = getRows();
+ int rowIndex = getRowIndex();
+ Object value = getValue();
- Map<String, Object> results = new HashMap<String, Object>();
- for (int i = 0; i < requestedValues.length; i++) {
- String requestedValue = requestedValues[i];
- if (requestedValue != null) {
- setValue(suggestingAction.invoke(
- context.getELContext(), new Object[]{requestedValue}));
+ setFirst(0);
+ setRows(0);
- setRowIndex(-1);
+ Map<String, Object> results = new HashMap<String, Object>();
+ for (int i = 0; i < requestedValues.length; i++) {
+ String requestedValue = requestedValues[i];
+ if (requestedValue != null) {
+ setValue(suggestingAction.invoke(
+ context.getELContext(), new Object[]{requestedValue}));
- int j = 0;
- boolean stop = false;
+ setRowIndex(-1);
- while (!stop) {
- setRowIndex(j++);
- if (isRowAvailable()) {
- Object fetchValue = getFetchValue();
- if (fetchValue != null) {
- if (requestedValue.equalsIgnoreCase(fetchValue.toString())) {
- results.put(requestedValue, getRowData());
- stop = true;
+ int j = 0;
+ boolean stop = false;
+
+ while (!stop) {
+ setRowIndex(j++);
+ if (isRowAvailable()) {
+ Object fetchValue = getFetchValue();
+ if (fetchValue != null) {
+ if (requestedValue.equalsIgnoreCase(fetchValue.toString())) {
+ results.put(requestedValue, getRowData());
+ stop = true;
+ }
}
+ } else {
+ stop = true;
}
- } else {
- stop = true;
}
}
}
+
+ setFirst(first);
+ setRows(rows);
+ setRowIndex(rowIndex);
+ setValue(value);
+
+ return results;
}
-
- setFirst(first);
- setRows(rows);
- setRowIndex(rowIndex);
- setValue(value);
-
- return results;
}
}
@@ -426,7 +428,11 @@
if (null != modelValues || null != requestedData) {
Map<String,Object> map = new HashMap<String, Object>();
map.put("suggestionObjects", modelValues);
- map.put("requestedObjects", requestedData);
+
+ if (requestedData != null) {
+ map.put("requestedObjects", requestedData);
+ }
+
ajaxContext.setResponseData(map);
}
AjaxRendererUtils.addRegionsFromComponent(this, context);
@@ -558,4 +564,7 @@
*/
public abstract void setPopupStyle(String value);
+ public abstract boolean isUsingSuggestObjects();
+
+ public abstract void setUsingSuggestObjects(boolean usingSuggestObjects);
}
Modified: trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java
===================================================================
--- trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java 2008-03-23 19:42:44 UTC (rev 7093)
+++ trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java 2008-03-23 19:42:52 UTC (rev 7094)
@@ -177,25 +177,29 @@
suggestionBox.setSubmitted(true);
component.queueEvent(
new AjaxSuggestionEvent(component, elementValue));
- String requestedParamName = paramName + "request";
+
String[] requestedValues = null;
- String requestedValuesParam = requestParameterMap.get(requestedParamName);
-
- if (requestedValuesParam != null) {
- String requestedString = requestedValuesParam.toString();
- Pattern pattern = getTokensPattern(component);
-
- if (pattern != null) {
- requestedValues = pattern.split(requestedString);
+
+ if (suggestionBox.isUsingSuggestObjects()) {
+ String requestedParamName = paramName + "request";
+ String requestedValuesParam = requestParameterMap.get(requestedParamName);
+
+ if (requestedValuesParam != null) {
+ String requestedString = requestedValuesParam.toString();
+ Pattern pattern = getTokensPattern(component);
+
+ if (pattern != null) {
+ requestedValues = pattern.split(requestedString);
+ } else {
+ requestedValues = new String[] {requestedString};
+ }
} else {
- requestedValues = new String[] {requestedString};
+ //TODO nick - review together with pasha
}
- } else {
- //TODO nick - review together with pasha
}
- suggestionBox.setSubmitedValue(elementValue,
+
+ suggestionBox.setSubmitedValue(elementValue,
requestedValues);
-
}
}
@@ -407,6 +411,10 @@
|| attributes.get("fetchValue") != null) {
options.put("select", attributes.get("selectValueClass"));
}
+
+ UISuggestionBox suggestionBox = (UISuggestionBox) component;
+ options.put("usingSuggestObjects", suggestionBox.isUsingSuggestObjects());
+
submitSuggest.addParameter(options);
script.append(submitSuggest.toScript()).append(";\n");
return "Richfaces.onAvailable('" + targetId + "', function() {" + script.toString() + "});";
Modified: trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
--- trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-03-23 19:42:44 UTC (rev 7093)
+++ trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-03-23 19:42:52 UTC (rev 7094)
@@ -685,7 +685,7 @@
while (this.startPosition>0 && tokens.indexOf(oldValue.charAt(this.startPosition-1))==-1) this.startPosition--;
}
- if (this.options.useSuggestObjects) this.updateItems(oldValue);
+ if (this.options.usingSuggestObjects) this.updateItems(oldValue);
}
if (this.getToken().length >= this.options.minChars) {
@@ -788,7 +788,7 @@
if (whitespace) endStr = whitespace[0] + endStr;
this.element.value = startStr + value + endStr;
- if (this.options.useSuggestObjects)
+ if (this.options.usingSuggestObjects)
{
var index = 0;
if (this.options.tokens.length!=0)
@@ -854,7 +854,7 @@
getUpdatedChoices: function(event) {
this.options.parameters[this.options.param] = this.getToken();
- if (this.options.useSuggestObjects) this.options.parameters[this.options.param + "request"] = this.getItemListForUpdate();
+ if (this.options.usingSuggestObjects) this.options.parameters[this.options.param + "request"] = this.getItemListForUpdate();
if (this.onsubmitFunction && ! this.onsubmitFunction()) {
return;
}
@@ -871,7 +871,7 @@
RichFaces.Position.smartClone(this.element, this.update, this.options);
}
this.updateChoices();
- if (this.options.useSuggestObjects && data) {
+ if (this.options.usingSuggestObjects && data) {
this.fetchValues = data.suggestionObjects;
this.updateSelectedItems(data.requestedObjects);
if (this.isSelectedItemsUpdated)
16 years, 9 months
JBoss Rich Faces SVN: r7093 - in trunk/samples/suggestionbox-sample/src/main: webapp/pages and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-23 15:42:44 -0400 (Sun, 23 Mar 2008)
New Revision: 7093
Modified:
trunk/samples/suggestionbox-sample/src/main/java/org/richfaces/SuggestionBox.java
trunk/samples/suggestionbox-sample/src/main/webapp/pages/index.jsp
Log:
http://jira.jboss.com/jira/browse/RF-2576
Modified: trunk/samples/suggestionbox-sample/src/main/java/org/richfaces/SuggestionBox.java
===================================================================
--- trunk/samples/suggestionbox-sample/src/main/java/org/richfaces/SuggestionBox.java 2008-03-23 14:53:26 UTC (rev 7092)
+++ trunk/samples/suggestionbox-sample/src/main/java/org/richfaces/SuggestionBox.java 2008-03-23 19:42:44 UTC (rev 7093)
@@ -32,6 +32,8 @@
import org.richfaces.renderkit.html.SuggestionBoxRenderer;
public class SuggestionBox implements Serializable {
+ private boolean usingSuggestObjects;
+
private String property;
private ArrayList cities;
@@ -261,4 +263,12 @@
public void setOnsubmitFunction(String onsubmit) {
}
+
+ public boolean isUsingSuggestObjects() {
+ return usingSuggestObjects;
+ }
+
+ public void setUsingSuggestObjects(boolean usingSuggestObjects) {
+ this.usingSuggestObjects = usingSuggestObjects;
+ }
}
Modified: trunk/samples/suggestionbox-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/suggestionbox-sample/src/main/webapp/pages/index.jsp 2008-03-23 14:53:26 UTC (rev 7092)
+++ trunk/samples/suggestionbox-sample/src/main/webapp/pages/index.jsp 2008-03-23 19:42:44 UTC (rev 7093)
@@ -53,7 +53,8 @@
width="#{suggestionBox.width}"
height="#{suggestionBox.height}"
shadowDepth="#{suggestionBox.shadowDepth}"
- cellpadding="#{suggestionBox.cellpadding}">
+ cellpadding="#{suggestionBox.cellpadding}"
+ usingSuggestObjects="#{suggestionBox.usingSuggestObjects}">
<a4j:ajaxListener type="org.richfaces.AjaxListener"/>
<h:column>
@@ -80,7 +81,7 @@
height="#{suggestionBox.height}"
shadowDepth="#{suggestionBox.shadowDepth}"
cellpadding="#{suggestionBox.cellpadding}"
- useSuggestObjects="true">
+ usingSuggestObjects="#{suggestionBox.usingSuggestObjects}">
<a4j:ajaxListener type="org.richfaces.AjaxListener"/>
<h:column>
@@ -163,6 +164,10 @@
<f:selectItem itemLabel="no function" itemValue="none"/>
</h:selectOneRadio>
+ <f:verbatim>Using Suggestion Objects</f:verbatim>
+ <f:verbatim> </f:verbatim>
+ <h:selectBooleanCheckbox value="#{suggestionBox.usingSuggestObjects}" onchange="submit()" />
+
</h:panelGrid>
</h:form>
</f:view>
16 years, 9 months
JBoss Rich Faces SVN: r7092 - in trunk/samples: richfaces-demo and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-03-23 10:53:26 -0400 (Sun, 23 Mar 2008)
New Revision: 7092
Modified:
trunk/samples/pom.xml
trunk/samples/richfaces-demo/pom.xml
Log:
Changes from r7088 reverted
Maven dependency plugin resurrected in richfaces-demo
Modified: trunk/samples/pom.xml
===================================================================
--- trunk/samples/pom.xml 2008-03-22 18:41:17 UTC (rev 7091)
+++ trunk/samples/pom.xml 2008-03-23 14:53:26 UTC (rev 7092)
@@ -70,6 +70,11 @@
<version>3.2.0-SNAPSHOT</version>
</dependency>
<dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>core</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
<groupId>com.sun.facelets</groupId>
<artifactId>jsf-facelets</artifactId>
<version>1.1.14</version>
@@ -375,6 +380,21 @@
</exclusions>
</dependency>
<dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>core</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>${myfaces}</version>
Modified: trunk/samples/richfaces-demo/pom.xml
===================================================================
--- trunk/samples/richfaces-demo/pom.xml 2008-03-22 18:41:17 UTC (rev 7091)
+++ trunk/samples/richfaces-demo/pom.xml 2008-03-23 14:53:26 UTC (rev 7092)
@@ -13,7 +13,7 @@
<build>
<finalName>richfaces-demo</finalName>
<plugins>
- <!--plugin>
+ <plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
@@ -73,7 +73,7 @@
<argument>${project.build.directory}/richfaces/META-INF/rich.tld</argument>
</arguments>
</configuration>
- </plugin-->
+ </plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
@@ -187,6 +187,12 @@
<version>1.0</version>
</dependency>
<dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>core</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.8.1</version>
16 years, 9 months
JBoss Rich Faces SVN: r7091 - trunk/samples/richfaces-demo/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-22 14:41:17 -0400 (Sat, 22 Mar 2008)
New Revision: 7091
Modified:
trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml
Log:
script compression enabled in demo
Modified: trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml 2008-03-22 18:26:22 UTC (rev 7090)
+++ trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/web.xml 2008-03-22 18:41:17 UTC (rev 7091)
@@ -41,8 +41,8 @@
</context-param>
<context-param>
<param-name>org.ajax4jsf.COMPRESS_STYLE</param-name>
- <param-value>false</param-value>
- </context-param>
+ <param-value>true</param-value>
+ </context-param>
<context-param>
<param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
<param-value>NONE, NEKO, TIDY</param-value>
@@ -58,7 +58,7 @@
</context-param-->
<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
- <param-value>DEFAULT</param-value>
+ <param-value>ALL</param-value>
</context-param>
<filter>
16 years, 9 months
JBoss Rich Faces SVN: r7090 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/style.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-22 14:26:22 -0400 (Sat, 22 Mar 2008)
New Revision: 7090
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-2225
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/usage.xhtml 2008-03-22 18:24:00 UTC (rev 7089)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/usage.xhtml 2008-03-22 18:26:22 UTC (rev 7090)
@@ -23,7 +23,7 @@
point to it with:
</p>
<pre style="margin:0px">
- <span class="xml_tag_symbols"><</span><span class="xml_tag_name">a4j:loadScript</span><span class="xml_plain"> </span><span class="xml_attribute_name">src</span><span class="xml_tag_symbols">=</span><span class="xml_attribute_value">"resource:///org/mycompany/assets/css/common.css"</span><span class="xml_plain"> </span><span class="xml_tag_symbols">/></span><span class="xml_plain"/>
+ <span class="xml_tag_symbols"><</span><span class="xml_tag_name">a4j:loadStyle</span><span class="xml_plain"> </span><span class="xml_attribute_name">src</span><span class="xml_tag_symbols">=</span><span class="xml_attribute_value">"resource:///org/mycompany/assets/css/common.css"</span><span class="xml_plain"> </span><span class="xml_tag_symbols">/></span><span class="xml_plain"/>
</pre>
<p>
Richfaces allows to have a dynamically generated css file based on RichFaces
16 years, 9 months
JBoss Rich Faces SVN: r7089 - trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/tree.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-22 14:24:00 -0400 (Sat, 22 Mar 2008)
New Revision: 7089
Modified:
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/tree/data.txt
Log:
typo fixed.
Modified: trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/tree/data.txt
===================================================================
--- trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/tree/data.txt 2008-03-22 16:13:49 UTC (rev 7088)
+++ trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/tree/data.txt 2008-03-22 18:24:00 UTC (rev 7089)
@@ -1,5 +1,5 @@
Yes Sir, I Can Boogie Baccara Grand Collection 6750318 242 1 1999 7/4/2005 2:15 PM 5/7/2005 3:36 PM 220 44100 AAC audio file www.allofmp3.com M:\My Music\Baccara\Grand Collection\01 Yes Sir, I Can Boogie.m4a
-Sory, i`m A Lady Baccara Grand Collection 7643797 266 2 1999 7/4/2005 2:15 PM 5/7/2005 3:36 PM 227 44100 AAC audio file www.allofmp3.com M:\My Music\Baccara\Grand Collection\02 Soryy,i`m A Lady.m4a
+Sorry, i`m A Lady Baccara Grand Collection 7643797 266 2 1999 7/4/2005 2:15 PM 5/7/2005 3:36 PM 227 44100 AAC audio file www.allofmp3.com M:\My Music\Baccara\Grand Collection\02 Sorry,i`m A Lady.m4a
A Quien Le Importa Baccara Grand Collection 7649974 270 3 1999 7/4/2005 2:15 PM 5/7/2005 3:36 PM 224 44100 AAC audio file www.allofmp3.com M:\My Music\Baccara\Grand Collection\03 A Quien Le Importa.m4a
The Devil Send You To Laredo Baccara Grand Collection 6084233 222 4 1999 7/4/2005 2:15 PM 5/7/2005 3:36 PM 216 44100 AAC audio file www.allofmp3.com M:\My Music\Baccara\Grand Collection\04 The Devil Send You To Laredo.m4a
Ni Mas Ni Menos Baccara Grand Collection 5323998 219 5 1999 7/4/2005 2:15 PM 5/7/2005 3:36 PM 192 44100 AAC audio file www.allofmp3.com M:\My Music\Baccara\Grand Collection\05 Ni Mas Ni Menos.m4a
16 years, 9 months