[JBoss JIRA] Created: (RF-11097) RichFaces showcase enhanced for the mobile web
by Jay Balunas (JIRA)
RichFaces showcase enhanced for the mobile web
----------------------------------------------
Key: RF-11097
URL: https://issues.jboss.org/browse/RF-11097
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Components: examples, mobile, showcase
Reporter: Jay Balunas
Assignee: Wesley Hales
Priority: Critical
Fix For: 4.1.0.Milestone2
The showcase should be enhanced to support the mobile web including device detection, orientations, transitions, and layout updates based on device type.
Ideally this is the same application, but updated with this support. It would be a great example of how to add mobile web support to an existing web application.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (RF-11658) Upgrade hibernate validator to 4.2
by Marek Novotny (Created) (JIRA)
Upgrade hibernate validator to 4.2
----------------------------------
Key: RF-11658
URL: https://issues.jboss.org/browse/RF-11658
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Marek Novotny
We need to use Hibernate Validator 4.2.0 and if I do upgrade with help of jboss-paren, Richfaces UI Components: validator ui project test fails.
{noformat}
Failed tests:
testSubmitTooShortValue(org.richfaces.component.GraphValidationTest):
testBeanLevelConstrain(org.richfaces.component.GraphValidationTest):
testSubmitTooShortValue(org.richfaces.component.FacesBeanValidatorTest):
testBeanLevelConstrain(org.richfaces.component.FacesBeanValidatorTest):
Tests in error:
testValidator[0](org.richfaces.javascript.client.validator.MaxValidatorTest): org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
testValidator[1](org.richfaces.javascript.client.validator.MaxValidatorTest): Could not initialize class org.hibernate.validator.engine.ConfigurationImpl
testValidator[2](org.richfaces.javascript.client.validator.MaxValidatorTest): Could not initialize class org.hibernate.validator.engine.ConfigurationImpl
testGetSingleValidator(org.richfaces.validator.BeanValidatorServiceConstrainsTest): Could not initialize class org.hibernate.validator.engine.ConfigurationImpl
testGetNoValidator(org.richfaces.validator.BeanValidatorServiceConstrainsTest): Could not initialize class org.hibernate.validator.engine.ConfigurationImpl
testValidatorMessageExtractor(org.richfaces.validator.BeanValidatorServiceConstrainsTest): Could not initialize class org.hibernate.validator.engine.ConfigurationImpl
testGetConstrainsWithDefaulGroup(org.richfaces.validator.BeanValidatorServiceConstrainsTest): Could not initialize class org.hibernate.validator.engine.ConfigurationImpl
testGetConstrainsWithNullGroup(org.richfaces.validator.BeanValidatorServiceConstrainsTest): Could not initialize class org.hibernate.validator.engine.ConfigurationImpl
testGetConstrainsWithCustomGroup(org.richfaces.validator.BeanValidatorServiceConstrainsTest): Could not initialize class org.hibernate.validator.engine.ConfigurationImpl
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 12 months
[JBoss JIRA] (RF-11802) A project created richfaces-archetype-simpleapp won't compile with eclipse
by Brian Leathem (Created) (JIRA)
A project created richfaces-archetype-simpleapp won't compile with eclipse
--------------------------------------------------------------------------
Key: RF-11802
URL: https://issues.jboss.org/browse/RF-11802
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: archetype
Affects Versions: 4.1.0.CR2
Reporter: Fred Bricon
Fix For: 4.1.1.Final
(12:54:10 PM) fbricon: the compiler target version is not set
(12:54:37 PM) fbricon: gives a compilation error in eclipse
(12:55:01 PM) fbricon: takes java 1.5 by default
(12:55:54 PM) fbricon: it *might* compile when running in CLI with a jdk6
(12:56:05 PM) fbricon: but Eclipse is *very* strict about it
(12:59:41 PM) fbricon: bleathem: You just need to add the following properties in the <properties> section
(12:59:41 PM) fbricon: <maven.compiler.source>1.6</maven.compiler.source>
(12:59:41 PM) fbricon: <maven.compiler.target>1.6</maven.compiler.target>
(01:01:54 PM) fbricon: bleathem: you also should bump the maven-compiler-plugin version to 2.3.2, unless you have good reasons not to
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 12 months
[JBoss JIRA] (RF-11790) f:setPropertyActionListener is passing the wrong value
by Fabio Fonseca (Created) (JIRA)
f:setPropertyActionListener is passing the wrong value
------------------------------------------------------
Key: RF-11790
URL: https://issues.jboss.org/browse/RF-11790
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core, component-tables, component-validators
Affects Versions: 3.3.3.Final
Reporter: Fabio Fonseca
I have a data table with an edit button for each row. When the edit button is clicked, I pass the values of that row to a bean through f:setPropertyActionListener and open a modal panel with an edit form.
Everything works fine. I can change the values and submit. I can open another row, edit the values, submit and it is ok.
But, if the validator of one input fails during the edition and I close the modal panel, when I click to edit another row, the values of the previous clicked row appear.
Further explanation including code can be seen here:
http://stackoverflow.com/questions/8059810/fsetpropertyactionlistener-is-...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 12 months
[JBoss JIRA] (RF-11710) rich:validator - selection size validation fails
by Jan Papousek (Created) (JIRA)
rich:validator - selection size validation fails
------------------------------------------------
Key: RF-11710
URL: https://issues.jboss.org/browse/RF-11710
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-validators
Affects Versions: 4.1.0.CR1
Environment: RichFaces 4.1.0-SNAPSHOT
Metamer 4.1.0-SNAPSHOT r.22936
Mojarra 2.1.3-SNAPSHOT
JBoss AS 7.0.2.Final
Java(TM) SE Runtime Environment 1.6.0_25-b06 @ Linux
Firefox 7.0.1 @ Linux x86_64
RichFaces 4.1.0-SNAPSHOT
Metamer 4.1.0-SNAPSHOT r.22936
Mojarra 2.1.3-SNAPSHOT
Apache Tomcat 7.0.22
Java(TM) SE Runtime Environment 1.6.0_25-b06 @ Linux
Firefox 7.0.1 @ Linux x86_64
Reporter: Jan Papousek
The bug occurs when I start JBoss AS 7.0.2/Apache Tomcat 7.0.22 manually. The selection size validation on the page http://localhost:8080/metamer-mojarra/faces/components/richValidator/csv.... throws the following exception (this is from JBoss AS):
{code}
15:45:39,631 SEVERE [org.richfaces.log.Context] (http-0.0.0.0-0.0.0.0-8080-1) Unexpected exception during isValid call: javax.validation.ValidationException: Unexpected exception during isValid call
at org.hibernate.validator.engine.ConstraintTree.validateSingleConstraint(ConstraintTree.java:281) [hibernate-validator-4.2.0.Final.jar:4.2.0.Final]
at org.hibernate.validator.engine.ConstraintTree.validateConstraints(ConstraintTree.java:153) [hibernate-validator-4.2.0.Final.jar:4.2.0.Final]
at org.hibernate.validator.engine.ConstraintTree.validateConstraints(ConstraintTree.java:117) [hibernate-validator-4.2.0.Final.jar:4.2.0.Final]
at org.hibernate.validator.metadata.MetaConstraint.validateConstraint(MetaConstraint.java:84) [hibernate-validator-4.2.0.Final.jar:4.2.0.Final]
at org.hibernate.validator.engine.ValidatorImpl.validatePropertyForDefaultGroup(ValidatorImpl.java:829) [hibernate-validator-4.2.0.Final.jar:4.2.0.Final]
at org.hibernate.validator.engine.ValidatorImpl.validatePropertyForCurrentGroup(ValidatorImpl.java:742) [hibernate-validator-4.2.0.Final.jar:4.2.0.Final]
at org.hibernate.validator.engine.ValidatorImpl.validateValueInContext(ValidatorImpl.java:699) [hibernate-validator-4.2.0.Final.jar:4.2.0.Final]
at org.hibernate.validator.engine.ValidatorImpl.validateValue(ValidatorImpl.java:176) [hibernate-validator-4.2.0.Final.jar:4.2.0.Final]
at javax.faces.validator.BeanValidator.validate(BeanValidator.java:306) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIInput.validateValue(UIInput.java:1149) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UISelectMany.validateValue(UISelectMany.java:581) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIInput.validate(UIInput.java:967) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIInput.executeValidate(UIInput.java:1233) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIInput.processValidators(UIInput.java:698) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIForm.processValidators(UIForm.java:253) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at org.richfaces.context.PartialViewExecuteVisitCallback.visit(PartialViewExecuteVisitCallback.java:55) [richfaces-core-impl-4.1.0-20111114.102006-146.jar:]
at org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:321) [richfaces-core-impl-4.1.0-20111114.102006-146.jar:]
at javax.faces.component.UIForm.visitTree(UIForm.java:354) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at org.richfaces.context.ExtendedPartialViewContextImpl.executeComponents(ExtendedPartialViewContextImpl.java:237) [richfaces-core-impl-4.1.0-20111114.102006-146.jar:]
at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialExecutePhase(ExtendedPartialViewContextImpl.java:217) [richfaces-core-impl-4.1.0-20111114.102006-146.jar:]
at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:196) [richfaces-core-impl-4.1.0-20111114.102006-146.jar:]
at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1170) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93) [classes:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:130) [richfaces-core-impl-4.1.0-20111114.102006-146.jar:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
Caused by: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.Collection
at org.hibernate.validator.constraints.impl.SizeValidatorForCollection.isValid(SizeValidatorForCollection.java:29) [hibernate-validator-4.2.0.Final.jar:4.2.0.Final]
at org.hibernate.validator.engine.ConstraintTree.validateSingleConstraint(ConstraintTree.java:278) [hibernate-validator-4.2.0.Final.jar:4.2.0.Final]
... 49 more
{code}
It works correctly when I start a container from Eclipse Indigo (using the same profile and WAR file).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 12 months
[JBoss JIRA] (RF-11786) dragSource within collapsed collapsibleSubTable not initially working
by Brendan Healey (Created) (JIRA)
dragSource within collapsed collapsibleSubTable not initially working
---------------------------------------------------------------------
Key: RF-11786
URL: https://issues.jboss.org/browse/RF-11786
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.1.0.Milestone4
Reporter: Brendan Healey
I have a map which is <Integer, List<SomeClass>>. I navigate to a page
containing the below fragment and push the commandButton. The map populates
with data, the dataTable is re-rendered and I see the collapsed subtables.
I expand a few of the subtables and attempt to drag a cell, but it doesn't
work. There is an error in the javascript console shown below.
I refresh the page with F5 and re-click the commandButton to populate the
map, expand a few subtables and drag and drop is working.
This process is repeatable.
<a4j:commandButton action="#{bean.populateMap}"
render="aTable"/>
<rich:dataTable
id="aTable"
value="#{bean.myMap.keySet().toArray()}" var="key">
<f:facet name="header">
<rich:column colspan="2">Rounds</rich:column>
</f:facet>
<rich:column colspan="2">
<rich:collapsibleSubTableToggler for="stable"/>
<h:outputText value="Round #{key}"/>
</rich:column>
<rich:collapsibleSubTable id="sTable" expanded="#{false}"
value="#{bean.myMap[key]}" var="var">
<rich:column>
<f:facet name="header">Col 1</f:facet>
<h:panelGroup id="id1" styleClass="rf-ind-drag">
<rich:dragSource type="row" dragIndicator="drag1"
dragValue="#{var}"/>
<rich:dropTarget acceptedTypes="row" dropValue="#{var}"
dropListener="#{bean.dropListener}"/>
<h:outputText value="#{var.name}"/>
</h:panelGroup>
</rich:column>
<rich:column>
<f:facet name="header">Col 2</f:facet>
<h:panelGroup id="id2" styleClass="rf-ind-drag">
<rich:dragSource type="row" dragIndicator="drag1"
dragValue="#{var}"/>
<rich:dropTarget acceptedTypes="row" dropValue="#{var}"
dropListener="#{bean.dropListener}"/>
<h:outputText value="#{var.name}"/>
</h:panelGroup>
</rich:column>
</rich:collapsibleSubTable>
</rich:dataTable>
<rich:dragIndicator id="drag1">
<h:panelGrid columns="2" rules="all">
<h:panelGroup>
<br/><h:outputText value=" ~~~~~~~~ "/><br/><br/>
</h:panelGroup>
<h:panelGroup>
<br/><h:outputText value=" ~~~~~~~~ "/><br/><br/>
</h:panelGroup>
</h:panelGrid>
</rich:dragIndicator>
Uncaught TypeError: undefined is not a function
(anonymous function)
serverEventHandler richfaces.js.xhtml:499
curry richfaces.js.xhtml:475
richfaces.createJSFEventsAdapter richfaces.js.xhtml:428
sendEvent jsf.js.xhtml:1
response jsf.js.xhtml:1
richfaces.queue.response richfaces-queue.js.xhtml:407
jsf.ajax.response richfaces-queue.js.xhtml:50
onComplete jsf.js.xhtml:1
req.xmlReq.onreadystatechange jsf.js.xhtml:1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 12 months