This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 101647 - Unable to reparent components using outline
Summary: Unable to reparent components using outline
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords:
: 101994 (view as bug list)
Depends on:
Blocks: 100628
  Show dependency tree
 
Reported: 2007-04-18 19:50 UTC by Lark Fitzgerald
Modified: 2007-04-23 19:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2007-04-18 19:50:39 UTC
VW 0418_3
NB 200704171800

steps:
add a label to page, set it to Names:
add a dropdown to page
add a button to page
add a grid panel to page, set columns to 3
go to outline window and drag the lable onto the grid panel

A refactoring window comes up (which fails because the changes are on the same 
page)
Comment 1 Jayashri Visvanathan 2007-04-19 18:46:36 UTC
We need to find out why rating component does not work with NB 5.5.1. Apparently
changes introduced in prototype.js in Woodstock 4.0.2 has triggered this problem.
Comment 2 Jayashri Visvanathan 2007-04-19 18:50:30 UTC
Please ignore my previous comment. It not meant for this issue.
Comment 3 Jayashri Visvanathan 2007-04-19 18:51:50 UTC
Assigning to Peter for evaluation.
Comment 4 Peter Zavadsky 2007-04-19 18:57:27 UTC
This belongs to insync (the node manipulation).
Comment 5 _ sandipchitale 2007-04-20 17:37:22 UTC
This is very strange. Looks like the nodes in outline have the .jsp file in 
the lookup. That triggers the DnD based NetBeans refactoring handler.
Comment 6 Peter Zavadsky 2007-04-20 17:45:14 UTC
Yes, the nodes contain the jsf jsp data object.

One reason is to get closed the multiview (when project is closing - NB looks
for dataobjects belonging to the project).

And I guess there are also other reasons for that (palette, navigator hints? etc.).

Maybe it all needs to be revised, but I guess we are tight to the above.

Comment 7 _ sandipchitale 2007-04-20 20:56:47 UTC
*** Issue 101994 has been marked as a duplicate of this issue. ***
Comment 8 _ sandipchitale 2007-04-20 22:46:07 UTC
Fixed by checking for DesignBean node instances. The DesignBeanNodes also
have JsfJspDataObject in their lookup. However DnD of DesignBeanNodes
should not trigger refactoring.
Comment 9 Lark Fitzgerald 2007-04-23 19:22:10 UTC
verified using netbeans-6.0-200704230000