[JBoss JIRA] Created: (RF-8149) Demo: Ajax Validator -- Bean Validator could not be instantiated
by Pavol Pitonak (JIRA)
Demo: Ajax Validator -- Bean Validator could not be instantiated
----------------------------------------------------------------
Key: RF-8149
URL: https://jira.jboss.org/jira/browse/RF-8149
Project: RichFaces
Issue Type: Bug
Components: examples
Affects Versions: 3.3.3.BETA1
Environment: Linux, Tomcat 6.0.20, RF 3.3.3-SNAPSHOT (Revision: 15940)
Reporter: Pavol Pitonak
In richfaces-demo, page Ajax Validator it throws an exception to server's console after typing "a" into name field and clicking into age field.
Nov 20, 2009 11:02:37 AM org.richfaces.validator.ObjectValidator createInstance
WARNING: Bean Validator could not be instantiated
javax.validation.ValidationException: Unable to find a default provider
at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)
at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111)
at org.richfaces.validator.BeanValidator.<init>(BeanValidator.java:35)
at org.richfaces.validator.ObjectValidator.createInstance(ObjectValidator.java:54)
at org.richfaces.validator.ObjectValidator.getInstance(ObjectValidator.java:85)
at org.richfaces.validator.FacesBeanValidator.validate(FacesBeanValidator.java:104)
at org.richfaces.component.html.HtmlInputText.validateValue(HtmlInputText.java:52)
at javax.faces.component.UIInput.validate(UIInput.java:875)
at javax.faces.component.UIInput.executeValidate(UIInput.java:1072)
at javax.faces.component.UIInput.processValidators(UIInput.java:672)
at org.ajax4jsf.component.AjaxViewRoot$3.invokeContextCallback(AjaxViewRoot.java:442)
at org.ajax4jsf.component.ContextCallbackWrapper.invokeContextCallback(ContextCallbackWrapper.java:44
Does it something in common with https://jira.jboss.org/jira/browse/RF-7226 ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months
[JBoss JIRA] Created: (RF-8188) rf-demo ftest - add cmd-line parameter for focusing and maximizing selenium window
by Lukas Fryc (JIRA)
rf-demo ftest - add cmd-line parameter for focusing and maximizing selenium window
----------------------------------------------------------------------------------
Key: RF-8188
URL: https://jira.jboss.org/jira/browse/RF-8188
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Components: QA-environment
Reporter: Lukas Fryc
Assignee: Lukas Fryc
Priority: Optional
There is need for cmd-line parameter intended to debugging since in hudson environment (xvnc display) is created windows too small and makes difficult to be debugged.
We need to add
selenium.windowMaximize()
selenium.windowFocus()
before each test method to satisfy that we can watch the progress of tests.
Integrate new parameter to maven pom and implement method which will test this parameter inside tests.
Modify all hudson jobs to follow this parameter.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months
[JBoss JIRA] Created: (RF-8209) inputNumberSlider: onchange event - this passed to handler should be input and not slider object as for any other inputs.
by Ilya Shaikovsky (JIRA)
inputNumberSlider: onchange event - this passed to handler should be input and not slider object as for any other inputs.
-------------------------------------------------------------------------------------------------------------------------
Key: RF-8209
URL: https://jira.jboss.org/jira/browse/RF-8209
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 3.3.2.SR1
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Priority: Optional
<rich:inputNumberSlider id="slider"
>
<a4j:support event="onchange"
onsubmit="myFunc(this, event)"
requestDelay="1000"
reRender="part" />
</rich:inputNumberSlider>
<rich:calendar >
<a4j:support event="onchanged"
onsubmit="myFunc(this,event)"
requestDelay="1000"
reRender="part" />
</rich:calendar>
<h:inputText value="" >
<a4j:support event="onchange"
onsubmit="myFunc(this,event)"
requestDelay="1000"
reRender="part" />
</h:inputText>
for inputText and calendar - this passed as input DOM element and for slider - passed as slider object. so I can't get form as usually using this.form
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months
[JBoss JIRA] Created: (RF-8173) Regression: Calendar: converter is not working
by Joseph Miller (JIRA)
Regression: Calendar: converter is not working
----------------------------------------------
Key: RF-8173
URL: https://jira.jboss.org/jira/browse/RF-8173
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input, regression
Affects Versions: 3.3.2.SR1
Environment: JBoss 5.0 / Seam 2.1.2.GA
Reporter: Joseph Miller
I have a model property with is a Joda LocalDate. For normal input fields, I have a converter, which is working fine. However, when I try to use the converter with rich:calendar, it complains:
<rich:calendar id="from" locale="AU" showApplyButton="false" popup="true"
enableManualInput="true" datePattern="dd/MM/yyyy"
value="#{adviserAvailability.validFrom}">
<f:converter converterId="localDateConverter" />
</rich:calendar>
javax.faces.convert.ConverterException: Value must be a date
at javax.faces.convert.DateTimeConverter.getAsObject(DateTimeConverter.java:401)
at org.richfaces.component.UICalendar.getAsDate(UICalendar.java:399)
at org.richfaces.component.UICalendar.getAsDate(UICalendar.java:410)
at org.richfaces.component.UICalendar.getCurrentDateOrDefault(UICalendar.java:374)
at org.richfaces.renderkit.html.CalendarRenderer.doEncodeEnd(CalendarRenderer.java:381)
at org.richfaces.renderkit.html.CalendarRenderer.doEncodeEnd(CalendarRenderer.java:531)
at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:134)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)
...
I'm defining the converter as such:
@Name( "localDateConverter" )
@BypassInterceptors
@Converter( forClass = LocalDate.class, id = "localDateConverter")
public class LocalDateConverter
implements javax.faces.convert.Converter {
public Object getAsObject( ... ) { .... }
public String getAsString( ... ) { .... }
}
If I turn the property into a Date by using: value="#{adviserAvailability.validFrom.toDateMidnight().toDate()}"
I get a conversion error, as I would expect from with LocalDateConverter.getAsObject, so it's definitely being made available.
I get the same issue regardless of if I use <f:converter> or the converter attribute of <rich:calendar>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months
[JBoss JIRA] Created: (RF-3453) rich:modalPanel does not work with event listeners added using a4j:support
by Paul Speijers (JIRA)
rich:modalPanel does not work with event listeners added using a4j:support
--------------------------------------------------------------------------
Key: RF-3453
URL: http://jira.jboss.com/jira/browse/RF-3453
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5, 3.1.x
Reporter: Paul Speijers
Fix For: 3.1.6, 3.1.x
I wanted to perform some finalization work when I hide a modalPanel and an obvious solution would be to register an action to the onhide event using an a4j:support. However, the action is never executed and it seems like the event listener is not registered with the onhide event.
<rich:modalPanel id="#{modalPanelId}" height="600" top="20" left="112" width="900" resizeable="false" moveable="true"
onshow="focusFirstModalPanelElement('#{modalPanelId}')">
<a4j:support event="onhide" action="#{modalPanelDelegator.closePanel}" oncomplete="alert('test2')"/>
.....
</rich:modalPanel>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months
[JBoss JIRA] Created: (RF-5240) Exception processing in the richfaces custom listeners
by Anton Belevich (JIRA)
Exception processing in the richfaces custom listeners
-------------------------------------------------------
Key: RF-5240
URL: https://jira.jboss.org/jira/browse/RF-5240
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.3.0
Reporter: Anton Belevich
Assignee: Anton Belevich
Fix For: Future
exception which could occur in our listeners should be wrapped with AbortProcessingException (see MethodBindingValueChangeListener, MethodExpressionValueChangeListener for the implementation details)
Hint: It's seems we should change componentTag.vm (setProperties) component.vm (getters generation) templates in our component generator for this purpose and implement custom MethodExpressionListeners, MethodBindingListeners like sun do with valueChangeListener, actionListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months