[JBoss JIRA] (RF-11529) a4j:support in rich:datatable JS crash in Chrome with limitToList="true"
by Stef Klaassen (Created) (JIRA)
a4j:support in rich:datatable JS crash in Chrome with limitToList="true"
------------------------------------------------------------------------
Key: RF-11529
URL: https://issues.jboss.org/browse/RF-11529
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.3.Final
Environment: Tomcat 7, RichFaces 3.3.3.Final
Reporter: Stef Klaassen
Priority: Minor
I've got a Datatable in which I have a column that contains a tomahawk selectOneRadio. In this selectOneRadio is a a4j:support that has an onclick event to update some components. On this support-tag I had the limitToList-attribute set to true. This works fine in FF and IE, but today I tested it in Chrome and I saw that the Javascript wasn't executed anymore. When I click a radiobutton first, which makes another button in the next column dissapear, all goes well. But when I click another radiobutton that should make the next column button reappear again, it fails.
I get the following error in chrome: Uncaught Error: Uncaught Error: NOT_SUPPORTED_ERR: DOM Exception 9 3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript.html:121 which points at this line: var importednode=window.document.importNode(newnode,true);LOG.debug("Replace content of node by replaceChild()");var oldGetElementById=null;A4J.AJAX.TestReplacedGetElementByIdVisibility();if(!A4J.AJAX._testReplacedGetElementByIdVisibility){LOG.debug("Temporarily substituting document.getElementById() to work around WebKit issue");oldGetElementById=document.getElementById;document.getElementById=function(id){var elt=oldGetElementById.apply(document,arguments);if(!elt){var id=arguments[0];LOG.debug("Element [@id='"+id+"'] was not found in document, trying to locate XPath match");try{var result=importednode.ownerDocument.evaluate("//*[@id='"+id+"']",importednode,null,XPathResult.ANY_UNORDERED_NODE_TYPE);if(result){elt=result.singleNodeValue;}
--
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, 10 months
[JBoss JIRA] Created: (RF-11035) Unexpected exception during isValid call with Hibernate @Size validation on h:selectManyCheckbox
by Ján Jamrich (JIRA)
Unexpected exception during isValid call with Hibernate @Size validation on h:selectManyCheckbox
------------------------------------------------------------------------------------------------
Key: RF-11035
URL: https://issues.jboss.org/browse/RF-11035
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: * RichFaces 4.1.0-SNAPSHOT r.22520
* Metamer ${4.1.0-SNAPSHOT} r.${22520}
* Apache MyFaces JSF-2.0 Core Impl 2.0.4 /
* Apache Tomcat 7.0.12
* Java(TM) SE Runtime Environment 1.6.0_19-b04 @Linux
* Firefox 3.6.17 @ Linux x86_64
Reporter: Ján Jamrich
When validation performed on input of type h:selectManyCheckbox (bound to property of type List<String>) on backing bean), and unexpected error appear. See details for Mojarra and MyFaces in log attached.
Since property bound to property is List type, SizeValidatorForCollection validator implementation is called. But submited items from h:selectManyCheckbox are sent to appropriate method (isValid() ) as String[]. (Every item from selectManyCheckbox is another array item). Its the same behavior for Mojarra and MyFaces.
@Size annotation declare that it should work with String, Collection, Map and Array.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months
[JBoss JIRA] (RF-11772) showcase - a4j:attachQueue - ajax request from mobile device generates WARNING on the server log
by Juraj Huska (Created) (JIRA)
showcase - a4j:attachQueue - ajax request from mobile device generates WARNING on the server log
------------------------------------------------------------------------------------------------
Key: RF-11772
URL: https://issues.jboss.org/browse/RF-11772
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core, mobile, showcase
Affects Versions: 4.1.0.CR2
Environment: richfaces showcase 4.1.CR2
container: JBoss AS 7.1.0.Beta1
mobile device: iPad1, Motorola Xoom, iPhone4
Reporter: Juraj Huska
Priority: Minor
In demo for a4j:attachQueue, when typing to input, the *generated ajax requests cause warning logged on the container console*:
{code}
17:29:40,118 WARNING [org.richfaces.log.Components] (http--0.0.0.0-8080-5) Queue with name 'j_idt9' has already been registered
{code}
The *functionality remains fine*, and this is noticeable *only on mobile devices*.
--
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, 10 months