[ 
https://jira.jboss.org/jira/browse/RF-6910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12464318#action_12464318
 ] 

Jordy Baas commented on RF-6910:
--------------------------------

I can reproduce this problem with the following code:
Since I create the components dynamically with JAVA, the code below will be in 
JAVA:

                HtmlAjaxOutputPanel dragPanel           = new 
HtmlAjaxOutputPanel();
                HtmlDragSupport dragsupport             = new HtmlDragSupport();
                
                dragPanel.setId("dragPanelId");
                dragsupport.setId("MDDrag");
                
                getChildren().add(dragPanel);
                dragPanel.getChildren().add(dragsupport);
                                
                dragPanel.setStyle("width: 300px; height: 5px; 
background-color: white;");
                dragPanel.setStyleClass("dragPanel");
                dragPanel.setLayout("block");
                
                dragsupport.setDragType("item");

This code reproduces the message:

drag: Element with[<myPanel>] ID was not found in the DOM tree. Probably 
element has no client ID or client ID hasn't been written. DnD's disabled. 
Check please!

> Chrome warning 
> ---------------
>
>                 Key: RF-6910
>                 URL: https://jira.jboss.org/jira/browse/RF-6910
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-drag/drop
>    Affects Versions: 3.3.0
>         Environment: Browser: Chrome. Richfaces 3.3.1 BETA3
>            Reporter: Erik Brink
>
> We created a splitter component using Richfaces Dragsupport on a 
> htmlAjaxOutputPanel. This works fine in all browsers, but in Chrome I get a 
> warning when I open my page. 
> The shown message is: drag: Element with[<myPanel>] ID was not found in the 
> DOM tree. Probably element has no client ID or client ID hasn't been written. 
> DnD's disabled. Check please!
> After the warning everything works fine. I searched on google with this 
> warning and I only find this alert from Richfaces development code. 
> Any idea what this warning is about?

-- 
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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to