[richfaces-issues] [JBoss JIRA] Commented: (RF-6910) Chrome warning

Jordy Baas (JIRA) jira-events at lists.jboss.org
Fri Apr 24 04:08:46 EDT 2009


    [ 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

        



More information about the richfaces-issues mailing list