]
Anton Belevich resolved RF-10056.
---------------------------------
Resolution: Done
rich:dropTarget - JavaScript error on drop when acceptedTypes/render
specified by EL
------------------------------------------------------------------------------------
Key: RF-10056
URL:
https://issues.jboss.org/browse/RF-10056
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-drag/drop
Affects Versions: 4.0.0.Milestone5
Environment: * RichFaces 4.0.0-SNAPSHOT r.20682
* Metamer 4.0.0-SNAPSHOT r.20684
* Mojarra 2.0.3-FCS
* Apache Tomcat 6.0.29
* OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
* Firefox 3.6.13 @ Linux x86_64
Reporter: Lukas Fryc
Assignee: Anton Belevich
Fix For: 4.0.0.CR1
The Metamer drag-n-drop sample [1] doesn't work due to JavaScript error:
object is null
http://localhost:8080/metamer/faces/javax.faces.resource/jquery.js
Line 620
when acceptedTypes set by EL like this:
acceptedTypes="#{richDragBehaviorBean.attributes['acceptedTypes'].value}"
but works with the same data using
acceptedTypes="drg1, drg2"
the similar situation for EL specification of render:
render="#{richDragBehaviorBean.attributes['render'].value}"
doesn't cause rerendering (EL internally provides Collection - this principle works
for a4j:ajax), however following works
render="droppedValues"
[1]
http://localhost:8080/metamer/faces/components/richDropTarget/simple.xhtml
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: