JBoss Rich Faces SVN: r3234 - in branches/3.1.x/ui/togglePanel/src/main: java/org/richfaces/component and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-10-03 12:45:17 -0400 (Wed, 03 Oct 2007)
New Revision: 3234
Modified:
branches/3.1.x/ui/togglePanel/src/main/config/component/togglePanel.xml
branches/3.1.x/ui/togglePanel/src/main/java/org/richfaces/component/UITogglePanel.java
branches/3.1.x/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
Log:
http://jira.jboss.com/jira/browse/RF-1015
Modified: branches/3.1.x/ui/togglePanel/src/main/config/component/togglePanel.xml
===================================================================
--- branches/3.1.x/ui/togglePanel/src/main/config/component/togglePanel.xml 2007-10-03 16:33:40 UTC (rev 3233)
+++ branches/3.1.x/ui/togglePanel/src/main/config/component/togglePanel.xml 2007-10-03 16:45:17 UTC (rev 3234)
@@ -179,7 +179,7 @@
</description>
</property>
- <property required="false" el="true" elonly="true">
+ <property required="false" el="true" elonly="false">
<name>switchToState</name>
<classname>java.lang.String</classname>
<description>Contains one of the facets names where target togglePanel is switched to
Modified: branches/3.1.x/ui/togglePanel/src/main/java/org/richfaces/component/UITogglePanel.java
===================================================================
--- branches/3.1.x/ui/togglePanel/src/main/java/org/richfaces/component/UITogglePanel.java 2007-10-03 16:33:40 UTC (rev 3233)
+++ branches/3.1.x/ui/togglePanel/src/main/java/org/richfaces/component/UITogglePanel.java 2007-10-03 16:45:17 UTC (rev 3234)
@@ -57,11 +57,6 @@
List stateOrderList = getStateOrderList();
if (stateName != null) {
- int index = stateOrderList.indexOf(stateName);
- if (index == -1) {
- throw new IllegalArgumentException("State " + stateName + " is not in order list!");
- }
-
return stateName;
} else {
//switch to next state
Modified: branches/3.1.x/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
===================================================================
--- branches/3.1.x/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2007-10-03 16:33:40 UTC (rev 3233)
+++ branches/3.1.x/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2007-10-03 16:45:17 UTC (rev 3234)
@@ -70,7 +70,7 @@
UIComponent child = (UIComponent) togglePanel.getFacet(facetName);
if (child == null) {
- throw new FacesException("Facet with name: " + facetName + " mentioned in stateOrder not found!");
+ throw new FacesException("Facet with name: " + facetName + " not found!");
}
return child;
@@ -172,4 +172,4 @@
panel.setValue(value);
}
}
-}
\ No newline at end of file
+}
17 years, 2 months
JBoss Rich Faces SVN: r3233 - branches/3.1.x/framework/impl/src/main/java/org/ajax4jsf/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-10-03 12:33:40 -0400 (Wed, 03 Oct 2007)
New Revision: 3233
Modified:
branches/3.1.x/framework/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java
Log:
http://jira.jboss.com/jira/browse/RF-1033
Modified: branches/3.1.x/framework/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java
===================================================================
--- branches/3.1.x/framework/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java 2007-10-03 16:32:35 UTC (rev 3232)
+++ branches/3.1.x/framework/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java 2007-10-03 16:33:40 UTC (rev 3233)
@@ -197,7 +197,7 @@
"frame", "border", "cellspacing", "cellpadding", "summary",
"bgcolor", "usemap", "enctype", "accept-charset", "accept",
"target", "charset", "coords", "hreflang", "rel", "rev",
- "shape", "disabled", "readonly", "ismap"
+ "shape", "disabled", "readonly", "ismap", "align"
};
@@ -849,4 +849,4 @@
return target;
}
-}
\ No newline at end of file
+}
17 years, 2 months
JBoss Rich Faces SVN: r3232 - branches/3.1.x/ui/dataTable/src/main/templates/org/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-10-03 12:32:35 -0400 (Wed, 03 Oct 2007)
New Revision: 3232
Modified:
branches/3.1.x/ui/dataTable/src/main/templates/org/richfaces/htmlDataGrid.jspx
branches/3.1.x/ui/dataTable/src/main/templates/org/richfaces/htmlDataTable.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1033
Modified: branches/3.1.x/ui/dataTable/src/main/templates/org/richfaces/htmlDataGrid.jspx
===================================================================
--- branches/3.1.x/ui/dataTable/src/main/templates/org/richfaces/htmlDataGrid.jspx 2007-10-03 16:09:48 UTC (rev 3231)
+++ branches/3.1.x/ui/dataTable/src/main/templates/org/richfaces/htmlDataGrid.jspx 2007-10-03 16:32:35 UTC (rev 3232)
@@ -15,8 +15,10 @@
<f:clientid var="clientId"/>
<table id="#{clientId}"
class="dr-table rich-table #{component.attributes['styleClass']}"
- x:passThruWithExclusions="value,name,type,id,class"
>
+ <f:call name="utils.encodePassThruWithExclusions">
+ <f:parameter value="value,name,type,id,class" />
+ </f:call>
<f:call name="encodeCaption" />
<colgroup span="#{component.attributes['columns']}">
</colgroup>
Modified: branches/3.1.x/ui/dataTable/src/main/templates/org/richfaces/htmlDataTable.jspx
===================================================================
--- branches/3.1.x/ui/dataTable/src/main/templates/org/richfaces/htmlDataTable.jspx 2007-10-03 16:09:48 UTC (rev 3231)
+++ branches/3.1.x/ui/dataTable/src/main/templates/org/richfaces/htmlDataTable.jspx 2007-10-03 16:32:35 UTC (rev 3232)
@@ -17,9 +17,10 @@
<f:clientid var="clientId"/>
<table id="#{clientId}"
class="dr-table rich-table #{component.attributes['styleClass']}"
- bgcolor="#{component.attributes['bgcolor']}"
- x:passThruWithExclusions="value,name,type,id,class"
- >
+ >
+ <f:call name="utils.encodePassThruWithExclusions">
+ <f:parameter value="value,name,type,id,class" />
+ </f:call>
<f:call name="encodeTableStructure"/>
<tbody>
<vcp:body>
17 years, 2 months
JBoss Rich Faces SVN: r3231 - trunk/ui/gmap/src/main/templates.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-10-03 12:09:48 -0400 (Wed, 03 Oct 2007)
New Revision: 3231
Modified:
trunk/ui/gmap/src/main/templates/gmap.jspx
Log:
http://jira.jboss.com/jira/browse/RF-899
Modified: trunk/ui/gmap/src/main/templates/gmap.jspx
===================================================================
--- trunk/ui/gmap/src/main/templates/gmap.jspx 2007-10-03 16:00:53 UTC (rev 3230)
+++ trunk/ui/gmap/src/main/templates/gmap.jspx 2007-10-03 16:09:48 UTC (rev 3231)
@@ -29,9 +29,12 @@
<h:styles>css/gmap.xcss</h:styles>
<h:scripts>new org.ajax4jsf.javascript.PrototypeScript(),script/gmap.js</h:scripts>
-<div id="#{clientId}" class="dr-gmap rich-gmap #{component.attributes['styleClass']}"
- x:passThruWithExclusions="id, styleClass, class"
->
+<div id="#{clientId}" class="dr-gmap rich-gmap #{component.attributes['styleClass']}" >
+
+ <f:call name="utils.encodePassThruWithExclusions">
+ <f:parameter value="id,class" />
+ </f:call>
+
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=#{key}" />
<script type="text/javascript">
//<![CDATA[
17 years, 2 months
JBoss Rich Faces SVN: r3230 - in branches/3.1.x/ui/scrollableDataTable/src/main: resources/org/richfaces/renderkit/html/css and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2007-10-03 12:00:53 -0400 (Wed, 03 Oct 2007)
New Revision: 3230
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js
branches/3.1.x/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss
Log:
RF-938
Modified: branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js
===================================================================
--- branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2007-10-03 15:54:56 UTC (rev 3229)
+++ branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2007-10-03 16:00:53 UTC (rev 3230)
@@ -399,7 +399,6 @@
this.columnSplitter = new ClientUI.common.box.Box(this.gridId +":cs", this.grid.getElement());
this.columnSplitter.makeAbsolute();
this.columnSplitter.setWidth(10);
- this.columnSplitter.hide();
},
adjustScrollPosition: function(pos) {
this.contentBox.moveToX(this.grid.getColumnsFrozenWidth()-pos);
Modified: branches/3.1.x/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss
===================================================================
--- branches/3.1.x/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss 2007-10-03 15:54:56 UTC (rev 3229)
+++ branches/3.1.x/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss 2007-10-03 16:00:53 UTC (rev 3230)
@@ -88,6 +88,7 @@
border-right: 1px dashed;
cursor: col-resize;
z-index: 100;
+ display: none;
}
/**
17 years, 2 months
JBoss Rich Faces SVN: r3229 - trunk/test-applications/facelets/src/main/webapp/pages/RichMenu.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-10-03 11:54:56 -0400 (Wed, 03 Oct 2007)
New Revision: 3229
Modified:
trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml
Log:
fix name ScrollableDataTable
Modified: trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml 2007-10-03 14:59:07 UTC (rev 3228)
+++ trunk/test-applications/facelets/src/main/webapp/pages/RichMenu/RichMenu.xhtml 2007-10-03 15:54:56 UTC (rev 3229)
@@ -39,7 +39,7 @@
<f:selectItem itemValue="/Tooltip/Tooltip.xhtml" itemLabel="Tooltip" />
<f:selectItem itemValue="/Tree/Tree.xhtml" itemLabel="Tree" />
<f:selectItem itemValue="/VirtualEarth/VirtualEarth.xhtml" itemLabel="Virtual Earth" />
- <f:selectItem itemValue="/ScrollableDataTable/ScrollableDataTable.xhtml" itemLabel="Calendar" />
+ <f:selectItem itemValue="/ScrollableDataTable/ScrollableDataTable.xhtml" itemLabel="ScrollableDataTable" />
</h:selectOneMenu>
</h:panelGrid>
<h:commandLink value="Back" action="main"></h:commandLink>
17 years, 2 months
JBoss Rich Faces SVN: r3228 - trunk/docs/userguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-10-03 10:59:07 -0400 (Wed, 03 Oct 2007)
New Revision: 3228
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
Log:
http://jira.jboss.com/jira/browse/RF-1049 - improved description
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2007-10-03 14:59:02 UTC (rev 3227)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2007-10-03 14:59:07 UTC (rev 3228)
@@ -316,9 +316,10 @@
</listitem>
</itemizedlist>
- <para>Tidy filter corresponds to the former "Filter". This filter is
- recommended for applications with complicated or non-standard markup when all necessary code
- corrections are made by the filter when a response comes from the server.</para>
+ <para>Tidy filter corresponds to the former "Filter" and it's based on the
+ Tidy parser. This filter is recommended for applications with complicated or non-standard
+ markup when all necessary code corrections are made by the filter when a response comes from
+ the server.</para>
<itemizedlist>
<listitem>
@@ -326,11 +327,11 @@
</listitem>
</itemizedlist>
- <para>Neko filter corresponds to the former "Fast Filter". In case of using
- this filter code isn't strictly verified. Use this one if you are sure that your
- application markup is really strict for this filter. Otherwise it could cause lot's
- of errors and corrupt a layout as a result. This filter considerably accelerates all Ajax
- requests processing.</para>
+ <para>Neko filter corresponds to the former "Fast Filter" and it's based on
+ the Neko parser. In case of using this filter code isn't strictly verified. Use this
+ one if you are sure that your application markup is really strict for this filter. Otherwise
+ it could cause lot's of errors and corrupt a layout as a result. This filter
+ considerably accelerates all Ajax requests processing.</para>
<itemizedlist>
<listitem>
@@ -377,6 +378,31 @@
...
]]></programlisting>
+ <para>The example shows that ORDER parameter defines the order in which particular filter types
+ are used for pages code correction. </para>
+ <para> First of all "NONE" value is specified for the filter. Then 2 different
+ sets of pages are defined for which two filter types (NONE and NEKO) are used correspondingly.
+ If a page relates to the first set that is defined in the following way: </para>
+
+ <programlisting role="XML"><![CDATA[<param-value>/pages/performance\.xhtml,/pages/default.*\.xhtml</param-value>,
+]]></programlisting>
+
+ <para> it's not corrected, because filter value for this page is defined as
+ "NONE". If a page is not from the first set, then "NEKO"
+ value is set.</para>
+ <para>If a page relates to the second set that is defined in the following way:</para>
+
+ <programlisting role="XML"><![CDATA[<param-value>/pages/repeat\.xhtml</param-value>,
+]]></programlisting>
+
+ <para>then Neko filter is used for correction. If it's not related to the second set,
+ "TIDY" value is set for the filter (Tidy filter is used for code
+ correction). </para>
+
+ <note>
+ <title>Note:</title> It's possible to configure different types (NONE, NEKO and TIDY)
+ only for Filter. Fast Filter doesn't support this functionality. It's
+ available for backward compatibility with previous RichFaces versions. </note>
</section>
17 years, 2 months
JBoss Rich Faces SVN: r3227 - in trunk/test-applications/facelets/src/main: webapp/Calendar and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-10-03 10:59:02 -0400 (Wed, 03 Oct 2007)
New Revision: 3227
Modified:
trunk/test-applications/facelets/src/main/java/calendar/CalendarBean.java
trunk/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-972
Modified: trunk/test-applications/facelets/src/main/java/calendar/CalendarBean.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/calendar/CalendarBean.java 2007-10-03 14:58:55 UTC (rev 3226)
+++ trunk/test-applications/facelets/src/main/java/calendar/CalendarBean.java 2007-10-03 14:59:02 UTC (rev 3227)
@@ -29,14 +29,16 @@
import java.util.StringTokenizer;
import java.util.TimeZone;
import javax.faces.event.ValueChangeEvent;
+import javax.faces.webapp.UIComponentTag;
+
import org.richfaces.event.CurrentDateChangeEvent;
public class CalendarBean {
- private static final String [] WEEK_DAY_SHORT = new String[] { "Sun *",
- "Mon +", "Tue +", "Wed +", "Thu +", "Fri +", "Sat *" };
- private static final String [] WEEK_DAY = new String[] { "Saturday *", "Monday +",
- "Tuesday +", "Wednesday +", "Thursday +", "Friday +", "Sunday *"};
+ private static final String [] WEEK_DAY_SHORT = new String[] { "|>Sun*<|",
+ "|>Mon +<|", "|>Tue +<|", "|>Wed +<|", "|>Thu +<|", "|>Fri +<|", "|>Sat*<|" };
+ private static final String [] WEEK_DAY = new String[] { "|>Saturday*<|", "|>Monday+<|",
+ "|>Tuesday+<|", "|>Wednesday+<|", "|>Thursday+<|", "|>Friday+<|", "|>Sunday*<|"};
private static final String [] MOUNT_LABELS = new String[] { "January +",
"February +", "March +", "April +", "May +", "June +", "July +", "August +",
"September +", "October +", "November +", "December +" };
@@ -68,7 +70,6 @@
private String boundary;
private String icon;
private String toolTipMode;
- private String scrollMode;
private String label;
private String timeZone;
private String mode;
@@ -145,13 +146,12 @@
rendered = true;
zindex = 2;
toolTipMode = "none";
- scrollMode = "client";
required = false;
weekDay = "long";
month = "none";
mode = "client";
timeZone = "Eastern European Time";
- preloadDateRangeBegin = "10.09.2007";
+ preloadDateRangeBegin = "10.08.2007"; //d.m.y
preloadDateRangeEnd = "11.10.2007";
}
@@ -376,14 +376,6 @@
this.toolTipMode = toolTipMode;
}
- public String getScrollMode() {
- return scrollMode;
- }
-
- public void setScrollMode(String scrollMode) {
- this.scrollMode = scrollMode;
- }
-
public int getZindex() {
return zindex;
}
Modified: trunk/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml 2007-10-03 14:58:55 UTC (rev 3226)
+++ trunk/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml 2007-10-03 14:59:02 UTC (rev 3227)
@@ -13,8 +13,6 @@
<rich:calendar id="calendarID" dataModel="#{calendarDataModel}"
locale="#{calendarBean.locale}" popup="#{calendarBean.popup}"
datePattern="#{calendarBean.pattern}"
- preloadDateRangeBegin="#{calendarBean.prDateRangeBegin}"
- preloadDateRangeEnd="#{calendarBean.prDateRangeEnd}"
weekDayLabels="#{calendarBean.weekDayLabels}"
weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
monthLabels="#{calendarBean.monthLabels}"
@@ -38,15 +36,15 @@
width="#{calendarBean.width}"
zindex="#{calendarBean.zindex}"
toolTipMode="#{calendarBean.toolTipMode}"
- scrollMode="#{calendarBean.scrollMode}"
rendered="#{calendarBean.rendered}"
focus="popupModeID"
mode="#{calendarBean.mode}"
required="#{calendarBean.required}"
- requiredMessage="Required Message">
+ requiredMessage="Required Message"
+ >
<f:facet name="weekDay">
- <f:verbatim><span style="padding: 2px;" >{weekDayLabel}</span></f:verbatim>
+ <f:verbatim><span style="padding: 2px; font-size: 4" >{weekDayLabel + weekDayLabelShort}</span></f:verbatim>
</f:facet>
<f:facet name="optionalHeader">
@@ -107,6 +105,7 @@
<f:selectItem itemLabel="d/M/yy" itemValue="d/M/yy" />
<f:selectItem itemLabel="dd/M/yy" itemValue="dd/M/yy" />
<f:selectItem itemLabel="d/MMM/y" itemValue="d/MMM/y" />
+ <f:selectItem itemLabel="dd.MM.yyyy" itemValue="dd.MM.yyyy" />
<f:selectItem itemLabel="MMM d, yyyy" itemValue="MMM d, yyyy" />
</h:selectOneMenu>
@@ -182,12 +181,6 @@
<f:selectItem itemLabel="single" itemValue="single"/>
<f:selectItem itemLabel="batch" itemValue="batch"/>
</h:selectOneRadio>
-
- <h:outputText value="Mode:" />
- <h:selectOneRadio value="#{calendarBean.scrollMode}" onchange="submit();">
- <f:selectItem itemLabel="client" itemValue="client"/>
- <f:selectItem itemLabel="ajax" itemValue="ajax"/>
- </h:selectOneRadio>
<h:outputText value="BoundaryDatesMode:" />
<h:selectOneRadio onclick="submit()" value="#{calendarBean.boundary}">
17 years, 2 months
JBoss Rich Faces SVN: r3226 - in trunk/test-applications/jsp/src/main: webapp/Calendar and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-10-03 10:58:55 -0400 (Wed, 03 Oct 2007)
New Revision: 3226
Modified:
trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java
trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
Log:
http://jira.jboss.com/jira/browse/RF-972
Modified: trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java 2007-10-03 14:20:14 UTC (rev 3225)
+++ trunk/test-applications/jsp/src/main/java/calendar/CalendarBean.java 2007-10-03 14:58:55 UTC (rev 3226)
@@ -33,10 +33,10 @@
public class CalendarBean {
- private static final String [] WEEK_DAY_SHORT = new String[] { "Sun *",
- "Mon +", "Tue +", "Wed +", "Thu +", "Fri +", "Sat *" };
- private static final String [] WEEK_DAY = new String[] { "Monday",
- "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" };
+ private static final String [] WEEK_DAY_SHORT = new String[] { "|>Sun*<|",
+ "|>Mon +<|", "|>Tue +<|", "|>Wed +<|", "|>Thu +<|", "|>Fri +<|", "|>Sat*<|" };
+ private static final String [] WEEK_DAY = new String[] { "|>Saturday*<|", "|>Monday+<|",
+ "|>Tuesday+<|", "|>Wednesday+<|", "|>Thursday+<|", "|>Friday+<|", "|>Sunday*<|"};
private static final String [] MOUNT_LABELS = new String[] { "January",
"February", "March", "April", "May", "June", "July", "August",
"September", "October", "November", "December" };
Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2007-10-03 14:20:14 UTC (rev 3225)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2007-10-03 14:58:55 UTC (rev 3226)
@@ -113,6 +113,7 @@
<f:selectItem itemLabel="d/M/yy" itemValue="d/M/yy" />
<f:selectItem itemLabel="dd/M/yy" itemValue="dd/M/yy" />
<f:selectItem itemLabel="d/MMM/y" itemValue="d/MMM/y" />
+ <f:selectItem itemLabel="dd.MM.yyyy" itemValue="dd.MM.yyyy" />
<f:selectItem itemLabel="MMM d, yyyy" itemValue="MMM d, yyyy" />
</h:selectOneMenu>
17 years, 2 months
JBoss Rich Faces SVN: r3225 - in trunk/ui/togglePanel/src/main: java/org/richfaces/component and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-10-03 10:20:14 -0400 (Wed, 03 Oct 2007)
New Revision: 3225
Modified:
trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
trunk/ui/togglePanel/src/main/java/org/richfaces/component/UITogglePanel.java
trunk/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
Log:
http://jira.jboss.com/jira/browse/RF-1015
Modified: trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
===================================================================
--- trunk/ui/togglePanel/src/main/config/component/togglePanel.xml 2007-10-03 13:05:34 UTC (rev 3224)
+++ trunk/ui/togglePanel/src/main/config/component/togglePanel.xml 2007-10-03 14:20:14 UTC (rev 3225)
@@ -179,7 +179,7 @@
</description>
</property>
- <property required="false" el="true" elonly="true">
+ <property required="false" el="true" elonly="false">
<name>switchToState</name>
<classname>java.lang.String</classname>
<description>Contains one of the facets names where target togglePanel is switched to
Modified: trunk/ui/togglePanel/src/main/java/org/richfaces/component/UITogglePanel.java
===================================================================
--- trunk/ui/togglePanel/src/main/java/org/richfaces/component/UITogglePanel.java 2007-10-03 13:05:34 UTC (rev 3224)
+++ trunk/ui/togglePanel/src/main/java/org/richfaces/component/UITogglePanel.java 2007-10-03 14:20:14 UTC (rev 3225)
@@ -63,11 +63,6 @@
List stateOrderList = getStateOrderList();
if (stateName != null) {
- int index = stateOrderList.indexOf(stateName);
- if (index == -1) {
- throw new IllegalArgumentException("State " + stateName + " is not in order list!");
- }
-
return stateName;
} else {
//switch to next state
Modified: trunk/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
===================================================================
--- trunk/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2007-10-03 13:05:34 UTC (rev 3224)
+++ trunk/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2007-10-03 14:20:14 UTC (rev 3225)
@@ -70,7 +70,7 @@
UIComponent child = (UIComponent) togglePanel.getFacet(facetName);
if (child == null) {
- throw new FacesException("Facet with name: " + facetName + " mentioned in stateOrder not found!");
+ throw new FacesException("Facet with name: " + facetName + " not found!");
}
return child;
17 years, 2 months