JBoss Rich Faces SVN: r8060 - trunk/test-applications/facelets/src/main/java/pickList.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-22 10:47:13 -0400 (Tue, 22 Apr 2008)
New Revision: 8060
Modified:
trunk/test-applications/facelets/src/main/java/pickList/PickList.java
Log:
Add test for lang
Modified: trunk/test-applications/facelets/src/main/java/pickList/PickList.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/pickList/PickList.java 2008-04-22 13:44:51 UTC (rev 8059)
+++ trunk/test-applications/facelets/src/main/java/pickList/PickList.java 2008-04-22 14:47:13 UTC (rev 8060)
@@ -36,6 +36,7 @@
private String valueCL;
private HtmlPickList myPickList = null;
private String bindLabel;
+ private String lang;
public PickList() {
this.copyAllControlLabel = "copyAllControlLabel";
@@ -60,6 +61,7 @@
this.required = false;
this.requiredMessage = "requiredMessage";
bindLabel = "Click Binding";
+ this.lang = "defaultLang";
data = new ArrayList<SelectItem>();
for (int i = 0; i < 10; i++)
data.add(new SelectItem("selectItems " + i));
@@ -274,4 +276,12 @@
public void setValue(Object[] value) {
this.value = value;
}
+
+ public String getLang() {
+ return lang;
+ }
+
+ public void setLang(String lang) {
+ this.lang = lang;
+ }
}
16 years, 8 months
JBoss Rich Faces SVN: r8059 - in trunk/ui/calendar/src/main: java/org/richfaces/component and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: vbaranov
Date: 2008-04-22 09:44:51 -0400 (Tue, 22 Apr 2008)
New Revision: 8059
Modified:
trunk/ui/calendar/src/main/config/component/calendar.xml
trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
Log:
http://jira.jboss.com/jira/browse/RF-3106
Modified: trunk/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- trunk/ui/calendar/src/main/config/component/calendar.xml 2008-04-22 12:55:08 UTC (rev 8058)
+++ trunk/ui/calendar/src/main/config/component/calendar.xml 2008-04-22 13:44:51 UTC (rev 8059)
@@ -127,7 +127,7 @@
</property>
<property>
- <name>resetTimeOnDateChange</name>
+ <name>resetTimeOnDateSelect</name>
<classname>boolean</classname>
<description>If value is true then calendar should change time to defaultTime for newly-selected dates.</description>
<defaultvalue>false</defaultvalue>
Modified: trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
===================================================================
--- trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2008-04-22 12:55:08 UTC (rev 8058)
+++ trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2008-04-22 13:44:51 UTC (rev 8059)
@@ -70,6 +70,21 @@
public static final String COMPONENT_TYPE = "org.richfaces.Calendar";
private static final String COMPONENT_FAMILY = "org.richfaces.Calendar";
+
+ /**
+ * Default value of "defaultTime" attribute
+ */
+ private static String DEFAULT_TIME_VALUE = "hours:12,minutes:0";
+
+ /**
+ * Constant "hours"
+ */
+ private static String HOURS_VALUE = "hours";
+
+ /**
+ * Constant "minutes"
+ */
+ private static String MINUTES_VALUE = "minutes";
public static final String AJAX_MODE = "ajax";
@@ -109,9 +124,9 @@
public abstract void setDefaultTime(Object defaultTime);
- public abstract boolean isResetTimeOnDateChange();
+ public abstract boolean isResetTimeOnDateSelect();
- public abstract void setResetTimeOnDateChange(boolean resetTimeOnDateChange);
+ public abstract void setResetTimeOnDateSelect(boolean resetTimeOnDateSelect);
public abstract Object getMonthLabels();
@@ -289,41 +304,35 @@
}
return result;
}
-
+
/**
- * Returns hours from "defaultTime" attribute
- * @return hours from "defaultTime" attribute
+ * Returns hours and minutes from "defaultTime" attribute as a String
+ * with special format:
+ * hours:"value_hours",minutes:"value_minutes"
+ *
+ * @return hours and minutes from "defaultTime" attribute
*/
- public int getDefaultTimeHours() {
+ public String getPreparedDefaultTime() {
Date date = getFormattedDefaultTime();
if (date == null) {
- return 0;
+ return DEFAULT_TIME_VALUE;
}
-
- Calendar calendar = getCalendar();
- calendar.setTime(date);
-
- return calendar.get(Calendar.HOUR_OF_DAY);
- }
-
- /**
- * Returns minutes from "defaultTime" attribute
- * @return minutes from "defaultTime" attribute
- */
- public int getDefaultTimeMinutes() {
- Date date = getFormattedDefaultTime();
+ StringBuilder result = new StringBuilder();
- if (date == null) {
- return 0;
- }
-
Calendar calendar = getCalendar();
calendar.setTime(date);
+
+ result.append(HOURS_VALUE).append(":");
+ result.append(calendar.get(Calendar.HOUR_OF_DAY));
+ result.append(",");
+ result.append(MINUTES_VALUE).append(":");
+ result.append(calendar.get(Calendar.MINUTE));
+
+ return result.toString();
+
+ }
- return calendar.get(Calendar.MINUTE);
- }
-
protected void validateValue(FacesContext context, Object newValue) {
// TODO nick - nick - do we need this?
// store converted value in submitted value to ease client-side code's
Modified: trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
===================================================================
--- trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2008-04-22 12:55:08 UTC (rev 8058)
+++ trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2008-04-22 13:44:51 UTC (rev 8059)
@@ -157,6 +157,18 @@
return null;
}
}
+
+ /**
+ * Returns hours and minutes from "defaultTime" attribute as a String with
+ * special format: hours:"value_hours",minutes:"value_minutes"
+ *
+ * @param calendar - UICalendar
+ *
+ * @return hours and minutes from "defaultTime" attribute
+ */
+ public String getPreparedDefaultTime(UICalendar calendar) {
+ return calendar.getPreparedDefaultTime();
+ }
/**
* Overloads getFormattedValue to take a advantage of a previously
Modified: trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
--- trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2008-04-22 12:55:08 UTC (rev 8058)
+++ trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2008-04-22 13:44:51 UTC (rev 8059)
@@ -188,7 +188,9 @@
showFooter:#{component.attributes['showFooter']},
showWeeksBar:#{component.attributes['showWeeksBar']},
showWeekDaysBar:#{component.attributes['showWeekDaysBar']},
- showApplyButton:#{component.attributes['showApplyButton']}
+ showApplyButton:#{component.attributes['showApplyButton']},
+ resetTimeOnDateChange:#{component.attributes['resetTimeOnDateChange']} ,
+ defaultTime: #{this:getPreparedDefaultTime(component)}
<f:call name="writeLabels" />
16 years, 8 months
JBoss Rich Faces SVN: r8058 - trunk/test-applications/jsp/src/main/webapp/Combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-22 08:55:08 -0400 (Tue, 22 Apr 2008)
New Revision: 8058
Modified:
trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
Log:
Remove test for size.
Modified: trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-04-22 12:54:55 UTC (rev 8057)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-04-22 12:55:08 UTC (rev 8058)
@@ -20,9 +20,6 @@
<h:outputText value="width"></h:outputText>
<h:inputText value="#{combobox.width}" onchange="submit();"></h:inputText>
- <h:outputText value="size"></h:outputText>
- <h:inputText value="#{combobox.size}" onchange="submit();"></h:inputText>
-
<h:outputText value="listHeight"></h:outputText>
<h:inputText value="#{combobox.listHeight}" onchange="submit();"></h:inputText>
@@ -59,7 +56,7 @@
<h:outputText value="align"></h:outputText>
<h:inputText value="#{combobox.align}" onchange="submit();"></h:inputText>
- <h:outputText value="alt"></h:outputText>
+ <h:outputText value="alt (hidden)"></h:outputText>
<h:inputText value="#{combobox.alt}" onchange="submit();"></h:inputText>
</h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r8057 - trunk/test-applications/facelets/src/main/webapp/Combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-22 08:54:55 -0400 (Tue, 22 Apr 2008)
New Revision: 8057
Modified:
trunk/test-applications/facelets/src/main/webapp/Combobox/ComboboxProperty.xhtml
Log:
Remove test for size.
Modified: trunk/test-applications/facelets/src/main/webapp/Combobox/ComboboxProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Combobox/ComboboxProperty.xhtml 2008-04-22 12:54:39 UTC (rev 8056)
+++ trunk/test-applications/facelets/src/main/webapp/Combobox/ComboboxProperty.xhtml 2008-04-22 12:54:55 UTC (rev 8057)
@@ -11,9 +11,6 @@
<h:outputText value="filterNewValues"></h:outputText>
<h:selectBooleanCheckbox value="#{combobox.filterNewValues}" onchange="submit();"></h:selectBooleanCheckbox>
- <h:outputText value="inputSize"></h:outputText>
- <h:inputText value="#{combobox.inputSize}" onchange="submit();"></h:inputText>
-
<h:outputText value="tabindex"></h:outputText>
<h:inputText value="#{combobox.tabindex}" onchange="submit();"></h:inputText>
@@ -23,9 +20,6 @@
<h:outputText value="width"></h:outputText>
<h:inputText value="#{combobox.width}" onchange="submit();"></h:inputText>
- <h:outputText value="size"></h:outputText>
- <h:inputText value="#{combobox.size}" onchange="submit();"></h:inputText>
-
<h:outputText value="listHeight"></h:outputText>
<h:inputText value="#{combobox.listHeight}" onchange="submit();"></h:inputText>
@@ -62,7 +56,7 @@
<h:outputText value="align"></h:outputText>
<h:inputText value="#{combobox.align}" onchange="submit();"></h:inputText>
- <h:outputText value="alt"></h:outputText>
+ <h:outputText value="alt (hidden)"></h:outputText>
<h:inputText value="#{combobox.alt}" onchange="submit();"></h:inputText>
</h:panelGrid>
16 years, 8 months
JBoss Rich Faces SVN: r8056 - trunk/test-applications/jsp/src/main/webapp/Combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-22 08:54:39 -0400 (Tue, 22 Apr 2008)
New Revision: 8056
Modified:
trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp
Log:
Remove test for size.
Modified: trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp 2008-04-22 12:54:27 UTC (rev 8055)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/Combobox.jsp 2008-04-22 12:54:39 UTC (rev 8056)
@@ -4,12 +4,33 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<f:subview id="comboboxSubviewID">
+
+ <h:inputText value="For test tabbing"></h:inputText> <br/>
+
<rich:comboBox id="comboboxID" disabled="#{combobox.disabled}" defaultLabel="#{combobox.defaultLabel}"
- buttonClass="#{style.buttonClass}" buttonDisabledClass="#{style.buttonDisabledClass}" buttonDisabledStyle="#{style.buttonDisabledStyle}" buttonInactiveClass="#{style.buttonInactiveClass}" buttonInactiveStyle="#{style.buttonInactiveStyle}" buttonStyle="#{style.buttonStyle}" inputClass="#{style.inputClass}" inputDisabledClass="#{style.inputDisabledClass}" inputDisabledStyle="#{style.inputDisabledStyle}" inputInactiveClass="#{style.inputInactiveClass}" inputInactiveStyle="#{style.inputInactiveStyle}" itemClass="#{style.itemClass}" inputStyle="#{style.inputStyle}" listClass="#{style.listClass}" listStyle="#{style.listStyle}"
+ buttonClass="#{style.buttonClass}"
+ buttonDisabledClass="#{style.buttonDisabledClass}"
+ buttonDisabledStyle="#{style.buttonDisabledStyle}"
+ buttonInactiveClass="#{style.buttonInactiveClass}"
+ buttonInactiveStyle="#{style.buttonInactiveStyle}"
+ buttonStyle="#{style.buttonStyle}"
+ inputClass="#{style.inputClass}"
+ inputDisabledClass="#{style.inputDisabledClass}"
+ inputDisabledStyle="#{style.inputDisabledStyle}"
+ inputInactiveClass="#{style.inputInactiveClass}"
+ inputInactiveStyle="#{style.inputInactiveStyle}"
+ itemClass="#{style.itemClass}"
+ inputStyle="#{style.inputStyle}"
+ listClass="#{style.listClass}"
+ listStyle="#{style.listStyle}"
+ buttonIconDisabled="ddd0"
+ buttonIconInactive="ddd1"
+
+
filterNewValues="#{combobox.filterNewValues}"
directInputSuggestions="#{combobox.directInputSuggestions}" immediate="#{combobox.immediate}"
- width="#{combobox.width}" valueChangeListener="#{combobox.valueChangeListener}" value="#{combobox.value}"
- tabindex="#{combobox.tabindex}" suggestionValues="#{combobox.suggestionValues}" size="#{combobox.size}"
+ width="#{combobox.width}" valueChangeListener="#{combobox.valueChangeListener}"
+ tabindex="#{combobox.tabindex}" suggestionValues="#{combobox.suggestionValues}"
required="#{combobox.required}" requiredMessage="#{combobox.requiredMessage}"
rendered="#{combobox.rendered}" selectFirstOnUpdate="#{combobox.selectFirstOnUpdate}" maxlength="#{combobox.maxlength}"
enableManualInput="#{combobox.enableManualInput}" listHeight="#{combobox.listHeight}" listWidth="#{combobox.listWidth}" style="#{style.style}" styleClass="#{style.styleClass}"
@@ -19,8 +40,7 @@
onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}"
binding="#{combobox.myComboBox}"
align="#{combobox.align}"
- alt="#{combobox.alt}"
- converter="comboBoxConverter">
+ alt="#{combobox.alt}">
</rich:comboBox>
</f:subview>
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r8055 - trunk/test-applications/facelets/src/main/webapp/Combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-22 08:54:27 -0400 (Tue, 22 Apr 2008)
New Revision: 8055
Modified:
trunk/test-applications/facelets/src/main/webapp/Combobox/Combobox.xhtml
Log:
Remove test for size.
Modified: trunk/test-applications/facelets/src/main/webapp/Combobox/Combobox.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Combobox/Combobox.xhtml 2008-04-22 12:54:12 UTC (rev 8054)
+++ trunk/test-applications/facelets/src/main/webapp/Combobox/Combobox.xhtml 2008-04-22 12:54:27 UTC (rev 8055)
@@ -1,10 +1,28 @@
<f:subview xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" id="comboboxSubviewID">
+
+ <h:inputText value="For test tabbing"></h:inputText> <br/>
+
<rich:comboBox id="comboboxID" disabled="#{combobox.disabled}" defaultLabel="#{combobox.defaultLabel}"
- buttonClass="#{style.buttonClass}" buttonDisabledClass="#{style.buttonDisabledClass}" buttonDisabledStyle="#{style.buttonDisabledStyle}" buttonInactiveClass="#{style.buttonInactiveClass}" buttonInactiveStyle="#{style.buttonInactiveStyle}" buttonStyle="#{style.buttonStyle}" inputClass="#{style.inputClass}" inputDisabledClass="#{style.inputDisabledClass}" inputDisabledStyle="#{style.inputDisabledStyle}" inputInactiveClass="#{style.inputInactiveClass}" inputInactiveStyle="#{style.inputInactiveStyle}" itemClass="#{style.itemClass}" inputStyle="#{style.inputStyle}" listClass="#{style.listClass}" listStyle="#{style.listStyle}"
+ buttonClass="#{style.buttonClass}"
+ buttonDisabledClass="#{style.buttonDisabledClass}"
+ buttonDisabledStyle="#{style.buttonDisabledStyle}"
+ buttonInactiveClass="#{style.buttonInactiveClass}"
+ buttonInactiveStyle="#{style.buttonInactiveStyle}"
+ buttonStyle="#{style.buttonStyle}"
+ inputClass="#{style.inputClass}"
+ inputDisabledClass="#{style.inputDisabledClass}"
+ inputDisabledStyle="#{style.inputDisabledStyle}"
+ inputInactiveClass="#{style.inputInactiveClass}"
+ inputInactiveStyle="#{style.inputInactiveStyle}"
+ itemClass="#{style.itemClass}"
+ inputStyle="#{style.inputStyle}"
+ listClass="#{style.listClass}"
+ listStyle="#{style.listStyle}"
+ itemSelectedClass="border:5px solid red"
filterNewValues="#{combobox.filterNewValues}"
- directInputSuggestions="#{combobox.directInputSuggestions}" immediate="#{combobox.immediate}" inputSize="#{combobox.inputSize}"
- width="#{combobox.width}" valueChangeListener="#{combobox.valueChangeListener}" value="#{combobox.value}"
- tabindex="#{combobox.tabindex}" suggestionValues="#{combobox.suggestionValues}" size="#{combobox.size}"
+ directInputSuggestions="#{combobox.directInputSuggestions}" immediate="#{combobox.immediate}"
+ width="#{combobox.width}" valueChangeListener="#{combobox.valueChangeListener}"
+ tabindex="#{combobox.tabindex}" suggestionValues="#{combobox.suggestionValues}"
required="#{combobox.required}" requiredMessage="#{combobox.requiredMessage}"
rendered="#{combobox.rendered}" selectFirstOnUpdate="#{combobox.selectFirstOnUpdate}" maxlength="#{combobox.maxlength}"
enableManualInput="#{combobox.enableManualInput}" listHeight="#{combobox.listHeight}" listWidth="#{combobox.listWidth}" style="#{style.style}" styleClass="#{style.styleClass}"
@@ -14,9 +32,8 @@
onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}"
binding="#{combobox.myComboBox}"
align="#{combobox.align}"
- alt="#{combobox.alt}"
- converter="comboBoxConverter">
-
+ alt="#{combobox.alt}">
+ <f:selectItems value="#{combobox.selectItem}"/>
</rich:comboBox>
-</f:subview>
\ No newline at end of file
+</f:subview>
16 years, 8 months
JBoss Rich Faces SVN: r8054 - trunk/test-applications/jsp/src/main/java/combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-22 08:54:12 -0400 (Tue, 22 Apr 2008)
New Revision: 8054
Modified:
trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
Log:
Remove test for size.
Modified: trunk/test-applications/jsp/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-04-22 12:54:00 UTC (rev 8053)
+++ trunk/test-applications/jsp/src/main/java/combobox/Combobox.java 2008-04-22 12:54:12 UTC (rev 8054)
@@ -52,7 +52,6 @@
this.width = "300";
this.value = new Data("default",0);
this.tabindex = 2;
- this.size = 5;
this.showDelay = "200";
this.required = false;
this.requiredMessage = "requiredMessage";
@@ -66,11 +65,11 @@
this.selectItem = new ArrayList<SelectItem>();
this.bindLabel = "Click Binding";
this.align = "left";
- this.alt = "default alt";
+ this.alt = "hidden";
Random r = new Random();
for(int i = 0; i < 10; i++){
suggestionValues.add(new Data("selectItem", i));
- selectItem.add(new SelectItem(new Data("selectItem", i)));
+ selectItem.add(new SelectItem("selectItem"));
System.out.println(selectItem.get(i).getValue().toString());
}
}
16 years, 8 months
JBoss Rich Faces SVN: r8053 - trunk/test-applications/facelets/src/main/java/combobox.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-04-22 08:54:00 -0400 (Tue, 22 Apr 2008)
New Revision: 8053
Modified:
trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
Log:
Remove test for size.
Modified: trunk/test-applications/facelets/src/main/java/combobox/Combobox.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-22 12:35:27 UTC (rev 8052)
+++ trunk/test-applications/facelets/src/main/java/combobox/Combobox.java 2008-04-22 12:54:00 UTC (rev 8053)
@@ -23,7 +23,6 @@
public String hideDelay;
public boolean directInputSuggestions;
public boolean immediate;
- public String inputSize;
public String width;
public Data value;
public int tabindex;
@@ -67,11 +66,9 @@
this.hideDelay = "100";
this.directInputSuggestions = true;
this.immediate = false;
- this.inputSize = "4";
this.width = "300";
this.value = new Data("default",0);
this.tabindex = 2;
- this.size = 5;
this.showDelay = "200";
this.required = false;
this.requiredMessage = "requiredMessage";
@@ -85,11 +82,11 @@
this.selectItem = new ArrayList<SelectItem>();
this.bindLabel = "Click Binding";
this.align = "left";
- this.alt = "default alt";
+ this.alt = "hidden";
Random r = new Random();
for(int i = 0; i < 10; i++){
suggestionValues.add(new Data("selectItem", i));
- selectItem.add(new SelectItem(new Data("selectItem", i)));
+ selectItem.add(new SelectItem("selectItem"));
System.out.println(selectItem.get(i).getValue().toString());
}
}
@@ -266,14 +263,7 @@
this.listWidth = listWidth;
}
- public String getInputSize() {
- return inputSize;
- }
- public void setInputSize(String inputSize) {
- this.inputSize = inputSize;
- }
-
public HtmlComboBox getMyComboBox() {
return myComboBox;
}
16 years, 8 months
JBoss Rich Faces SVN: r8052 - trunk/docs/migrationguide.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-04-22 08:35:27 -0400 (Tue, 22 Apr 2008)
New Revision: 8052
Modified:
trunk/docs/migrationguide/pom.xml
Log:
http://jira.jboss.com/jira/browse/RF-3048 - file name of html single version was changed
Modified: trunk/docs/migrationguide/pom.xml
===================================================================
--- trunk/docs/migrationguide/pom.xml 2008-04-22 11:58:24 UTC (rev 8051)
+++ trunk/docs/migrationguide/pom.xml 2008-04-22 12:35:27 UTC (rev 8052)
@@ -1,103 +1,103 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>docs</artifactId>
- <groupId>org.richfaces</groupId>
- <version>3.2.1-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.docs</groupId>
- <artifactId>migration</artifactId>
- <packaging>pom</packaging>
- <version>3.2.1-SNAPSHOT</version>
- <name>Migration Guide</name>
- <description>RichFaces Migration Guide from 3.1.* to 3.2.0 version</description>
- <pluginRepositories>
- <pluginRepository>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- <updatePolicy>never</updatePolicy>
- </snapshots>
- <id>repository.jboss.com</id>
- <name>Jboss Repository for Maven</name>
- <url>http://repository.jboss.com/maven2/</url>
- <layout>default</layout>
- </pluginRepository>
- </pluginRepositories>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.0.0</version>
- <dependencies>
- <dependency>
- <groupId>org.richfaces.docs.xslt</groupId>
- <artifactId>${translation}</artifactId>
- <version>${project.version}</version>
- <type>jar</type>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDirectory> ${basedir}/src/main/docbook </sourceDirectory>
- <imageResource>
- <directory> ${basedir}/src/main/resources </directory>
- </imageResource>
- <cssResource>
- <directory> ${basedir}/src/main/resources </directory>
- </cssResource>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>/xslt/fopdf.xsl</stylesheetResource>
- <finalName>RF_migration_guide.pdf</finalName>
- <imagePathSettingRequired>true</imagePathSettingRequired>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>
- /xslt/html_chunk.xsl
- </stylesheetResource>
- <finalName>index.html</finalName>
- <imageCopyingRequired>
- true
- </imageCopyingRequired>
- <imagePathSettingRequired>
- false
- </imagePathSettingRequired>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>/xslt/html.xsl</stylesheetResource>
- <imageCopyingRequired>true</imageCopyingRequired>
- <imagePathSettingRequired>false</imagePathSettingRequired>
- <finalName>RF_migration_guide.html </finalName>
- </format>
- </formats>
- <xincludeSupported>true</xincludeSupported>
- <options>
- <xincludeSupported>true</xincludeSupported>
- <useRelativeImageUris> true </useRelativeImageUris>
- <xmlTransformerType> saxon </xmlTransformerType>
- <docbookVersion>1.72.0</docbookVersion>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <properties>
- <masterTranslation>en</masterTranslation>
- </properties>
-
- <modules>
- <module>en</module>
- </modules>
-
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>docs</artifactId>
+ <groupId>org.richfaces</groupId>
+ <version>3.2.1-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>migration</artifactId>
+ <packaging>pom</packaging>
+ <version>3.2.1-SNAPSHOT</version>
+ <name>Migration Guide</name>
+ <description>RichFaces Migration Guide from 3.1.* to 3.2.0 version</description>
+ <pluginRepositories>
+ <pluginRepository>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ <id>repository.jboss.com</id>
+ <name>Jboss Repository for Maven</name>
+ <url>http://repository.jboss.com/maven2/</url>
+ <layout>default</layout>
+ </pluginRepository>
+ </pluginRepositories>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.0.0</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.docs.xslt</groupId>
+ <artifactId>${translation}</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDirectory> ${basedir}/src/main/docbook </sourceDirectory>
+ <imageResource>
+ <directory> ${basedir}/src/main/resources </directory>
+ </imageResource>
+ <cssResource>
+ <directory> ${basedir}/src/main/resources </directory>
+ </cssResource>
+ <sourceDocumentName>master.xml</sourceDocumentName>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>/xslt/fopdf.xsl</stylesheetResource>
+ <finalName>richfaces_migration_guide.pdf</finalName>
+ <imagePathSettingRequired>true</imagePathSettingRequired>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>
+ /xslt/html_chunk.xsl
+ </stylesheetResource>
+ <finalName>index.html</finalName>
+ <imageCopyingRequired>
+ true
+ </imageCopyingRequired>
+ <imagePathSettingRequired>
+ false
+ </imagePathSettingRequired>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>/xslt/html.xsl</stylesheetResource>
+ <imageCopyingRequired>true</imageCopyingRequired>
+ <imagePathSettingRequired>false</imagePathSettingRequired>
+ <finalName>index.html </finalName>
+ </format>
+ </formats>
+ <xincludeSupported>true</xincludeSupported>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <useRelativeImageUris> true </useRelativeImageUris>
+ <xmlTransformerType> saxon </xmlTransformerType>
+ <docbookVersion>1.72.0</docbookVersion>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ <properties>
+ <masterTranslation>en</masterTranslation>
+ </properties>
+
+ <modules>
+ <module>en</module>
+ </modules>
+
+</project>
16 years, 8 months
JBoss Rich Faces SVN: r8051 - trunk/framework/impl/src/main/javascript/ajaxjsf.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-04-22 07:58:24 -0400 (Tue, 22 Apr 2008)
New Revision: 8051
Modified:
trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
http://jira.jboss.com/jira/browse/RF-2993
Modified: trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-04-22 10:46:50 UTC (rev 8050)
+++ trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-04-22 11:58:24 UTC (rev 8051)
@@ -890,6 +890,7 @@
if(focusElement){
LOG.debug("Set focus to control ");
focusElement.focus();
+ if (focusElement.select) focusElement.select();
} else {
LOG.warn("Element for set focus not found");
}
16 years, 8 months