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 23859

Summary: TemplateWizard.setIterator is deprecated
Product: javaee Reporter: Jesse Glick <jglick>
Component: CodeAssignee: sgleason <sgleason>
Status: RESOLVED FIXED    
Severity: blocker CC: eadams
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Bug Depends on: 8858    
Bug Blocks:    

Description Jesse Glick 2002-05-22 18:51:55 UTC
Please check all uses in the web modules (I saw
several). Rather than setting a special template
wizard iterator on a .webapp file (etc.)
programmatically, just return a (singleton)
iterator from DataObject.getCookie. This avoids
the need to save file attributes and clutter the
user directory with .nbattrs (which can also pose
compatibility problems).
Comment 1 Jesse Glick 2002-05-22 18:53:26 UTC
See issue #8858 for details. Specifically you must depend on IDE/1 > 2.13.
Comment 3 Damian Frach 2002-06-20 10:10:47 UTC
setIterator is still in the TldDataObject
Comment 4 _ rkubacki 2002-06-20 12:31:29 UTC
My change was correct but it was overriden by next commit done by
Simran (revision 1.8). This is not acceptable way also because this is
the same commit that was originally commited into wrong branch.
Reassigning.
Comment 5 Marek Grummich 2002-07-22 12:11:55 UTC
Set target milestone to TBD
Comment 6 Marek Grummich 2002-07-22 12:22:04 UTC
Set target milestone to TBD
Comment 7 sgleason 2003-02-20 23:01:44 UTC
It looks like the correct version is in the trunk, so I will
resolve this task.