targetName in wizard

Peter Wisnovsky <[email protected]> Fri, 3 Oct 2003 11:23:27 -0700
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Message-ID <[email protected]>
I'm using a template wizard iterator and having trouble accessing the
target name of the wizard. 

I have the following:

                  DataFolder folder = wiz.getTargetFolder();
                  FileObject packageObject = folder.getPrimaryFile();
                  String targetName = packageObject.getName() + "." + wiz.getTargetName();


where wiz is a TemplateWizard. getTargetName() is returning null, even
though I've set a name in the target location panel. As I recall this
used to retrieve the name I entered in the "Name" field of the
chooser. Is this no longer the right API?

Peter