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 81620 - xam doesn't allow reordering of children
Summary: xam doesn't allow reordering of children
Status: VERIFIED DUPLICATE of bug 77328
Alias: None
Product: xml
Classification: Unclassified
Component: XAM (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-01 17:51 UTC by Samaresh Panda
Modified: 2008-03-21 16:20 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 Samaresh Panda 2006-08-01 17:51:09 UTC
Currently XAM doesn't allow reordering of the children. For example, if a
component's children are A, B, C and during sync if your model wants to reorder
them to, lets say C, B, A XAM doesn't allow that. You have to create a copy the
components, delete the existing one and add the newly copied one at the correct
index. So it'll be C', B', A'.

This is a very difficult bug to reproduce and has been created to track the fix,
post-beta.

Later, I'll add an example to reproduce the same.
Comment 1 Nathan Fiedler 2006-08-01 18:37:09 UTC
This is identical to issue 77328, which is a P2 RFE. I suggest one of these two
issues be marked as duplicate. It's just a matter of whether this is considered
a defect or an enhancement.
Comment 2 Nam Nguyen 2006-08-01 18:53:14 UTC
Its up to Sam.  If the reordering sequence of component copy-remove-add produce
errors then it is a bug.  Else if it is just pure convenience and performance
then it is duplicate of the enhancement.
Comment 3 Nam Nguyen 2006-08-07 07:56:06 UTC
Mark duplicate of the enhancement for reorder api.

*** This issue has been marked as a duplicate of 77328 ***
Comment 4 Mikhail Matveev 2008-03-21 16:20:15 UTC
Verified