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 73138 - Property values should be stored using XMLEncoder/XMLDecoder mechanism
Summary: Property values should be stored using XMLEncoder/XMLDecoder mechanism
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-01 15:51 UTC by dpociu
Modified: 2007-10-01 15:22 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (72.21 KB, application/octet-stream)
2007-10-01 15:18 UTC, dpociu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dpociu 2006-03-01 15:51:00 UTC
When writing customizers/property editors for visual components currently there
is no developer friendly mechanism to persist complext values in the form file
other than serialization and using the Netbeans-specific XMLPropertyEditor.

In addition, when using XMLPropertyEditor, we also have to "patch" both the
development environment and the module's layer.xml file with the following in
order to get the form classloader to load the classes for the objects being
customized/edited.

     <!-- form class loader type registration -->
     <folder name="org-netbeans-modules-form">
         <folder name="classloader">
             <folder name="system_with_project">
                 <file name="MySystemAndProjectClasses.txt">
                 com.mypckage.**
                 </file>
             </folder>
         </folder>
     </folder>
Comment 1 Jan Stola 2006-03-23 15:19:25 UTC
I agree that we should support this type of persistence.
Changing to feature request because this is more a lack of a feature
than a bug.
Comment 2 dpociu 2007-10-01 15:18:14 UTC
Created attachment 49891 [details]
IDE log
Comment 3 dpociu 2007-10-01 15:22:21 UTC
Attached IDE log by mistake to this bug. Please disregard. (Log belongs to 116952)