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 - TemplateWizard.setIterator is deprecated
Summary: TemplateWizard.setIterator is deprecated
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: sgleason
URL:
Keywords:
Depends on: 8858
Blocks:
  Show dependency tree
 
Reported: 2002-05-22 18:51 UTC by Jesse Glick
Modified: 2003-02-20 23:01 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.