[JBoss JIRA] Created: (RF-9594) calendar: warnings during ecss parsing
by Ilya Shaikovsky (JIRA)
calendar: warnings during ecss parsing
--------------------------------------
Key: RF-9594
URL: https://jira.jboss.org/browse/RF-9594
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Reporter: Ilya Shaikovsky
Assignee: Anton Belevich
Fix For: 4.0.0.Milestone4
just added simple calendar to the page.
seing next warnings in console:
31.10.2010 16:59:47 org.richfaces.resource.CompiledCSSResource$ErrorHandlerImpl logException
WARNING: Problem parsing 'org.richfaces/calendar.ecss' resource: Error in expression. Invalid token "=". Was expecting one of: <S>, ",", "/", "+", "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMEN>, <PERCENTAGE>, <NUMBER>, "rgb(", <FUNCTION>, <IDENT>, <UNICODERANGE>.
31.10.2010 16:59:47 org.richfaces.resource.CompiledCSSResource$ErrorHandlerImpl logException
WARNING: Problem parsing 'org.richfaces/calendar.ecss' resource: Error in style rule. Invalid token "\r\n". Was expecting one of: "}", ";".
31.10.2010 16:59:47 org.richfaces.resource.CompiledCSSResource$ErrorHandlerImpl logException
WARNING: Problem parsing 'org.richfaces/calendar.ecss' resource: Ignoring the following declarations in this rule.
31.10.2010 16:59:47 org.richfaces.resource.CompiledCSSResource$ErrorHandlerImpl logException
WARNING: Problem parsing 'org.richfaces/calendar.ecss' resource: Error in expression. Invalid token "=". Was expecting one of: <S>, ",", "/", "+", "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMEN>, <PERCENTAGE>, <NUMBER>, "rgb(", <FUNCTION>, <IDENT>, <UNICODERANGE>.
31.10.2010 16:59:47 org.richfaces.resource.CompiledCSSResource$ErrorHandlerImpl logException
WARNING: Problem parsing 'org.richfaces/calendar.ecss' resource: Error in style rule. Invalid token "\r\n". Was expecting one of: "}", ";".
31.10.2010 16:59:47 org.richfaces.resource.CompiledCSSResource$ErrorHandlerImpl logException
WARNING: Problem parsing 'org.richfaces/calendar.ecss' resource: Ignoring the following declarations in this rule.
Am I missing something?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (RF-9603) calendar: locales can't be switched
by Ilya Shaikovsky (JIRA)
calendar: locales can't be switched
-----------------------------------
Key: RF-9603
URL: https://jira.jboss.org/browse/RF-9603
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Reporter: Ilya Shaikovsky
Assignee: Andrey Markhel
Fix For: 4.0.0.Milestone4
addLocale js method currently encoded in next way:
RichFaces.ui.Calendar.addLocale({"ISO3Country":"RUS","ISO3Language":"rus","country":"RU","displayCountry":"\u0420\u043E\u0441\u0441\u0438\u044F","displayLanguage":"\u0440\u0443\u0441\u0441\u043A\u0438\u0439","displayName":"\u0440\u0443\u0441\u0441\u043A\u0438\u0439 (\u0420\u043E\u0441\u0441\u0438\u044F)","displayVariant":"","language":"ru","variant":""}
should be:
Richfaces.Calendar.addLocale('en_US', {'weekDayLabels':['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'] ,'weekDayLabelsShort':['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] ,'monthLabels':['January','February','March','April','May','June','July','August','September','October','November','December'] ,'monthLabelsShort':['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'] ,'minDaysInFirstWeek':1,'firstWeekDay':0} );
currently method not accepts name of locale so it evaluated wrong.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (RF-9595) calendar: no converter for java.util.Date attached by default
by Ilya Shaikovsky (JIRA)
calendar: no converter for java.util.Date attached by default
-------------------------------------------------------------
Key: RF-9595
URL: https://jira.jboss.org/browse/RF-9595
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Reporter: Ilya Shaikovsky
Assignee: Anton Belevich
Priority: Critical
Fix For: 4.0.0.Milestone4
<rich:calendar value="#{calendarBean.selectedDate}"
locale="#{calendarBean.locale}"
popup="#{calendarBean.popup}"
datePattern="#{calendarBean.pattern}"
showApplyButton="#{calendarBean.showApply}" cellWidth="24px" cellHeight="22px" style="width:200px"/>
..
private Date selectedDate;
...
Caused by: javax.faces.convert.ConverterException: No Converter for type java.util.Date found
at org.richfaces.component.util.SelectUtils.getConverterForProperty(SelectUtils.java:300)
at org.richfaces.renderkit.CalendarRendererBase.getInputValue(CalendarRendererBase.java:266)
at org.richfaces.renderkit.html.CalendarRenderer.encodeEnd(CalendarRenderer.java:217)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:878)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1620)
at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:280)
at org.richfaces.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:84)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287)
at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
... 14 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (RF-9604) select: submit fails with "Invalid chunk ignored" warning
by Ilya Shaikovsky (JIRA)
select: submit fails with "Invalid chunk ignored" warning
---------------------------------------------------------
Key: RF-9604
URL: https://jira.jboss.org/browse/RF-9604
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Reporter: Ilya Shaikovsky
Assignee: Anton Belevich
Fix For: 4.0.0.Milestone4
<rich:panel style="width:220px;">
<f:facet name="header">
<h:outputText value="Select with manual input"></h:outputText>
</f:facet>
<rich:select enableManualInput="true" defaultLabel="start typing for select" >
<f:selectItems value="#{inplaceSelectBean.capitalsOptions}"/>
</rich:select>
<a4j:commandButton value="submit"></a4j:commandButton>
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
</rich:panel>
clicking button I see
01.11.2010 15:50:31 org.apache.tomcat.util.http.Parameters processParameters
WARNING: Parameters: Invalid chunk ignored.
01.11.2010 15:50:31 org.apache.tomcat.util.http.Parameters processParameters
WARNING: Parameters: Invalid chunk ignored.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years