Bug 218036 - New File wizard showing all file templates in folder
New File wizard showing all file templates in folder
Status: NEW
Product: platform
Classification: Unclassified
Component: Templates
7.2
PC Mac OS X
: P3 (vote)
: TBD
Assigned To: Martin Entlicher
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-10 03:09 UTC by kreatorye
Modified: 2012-09-11 10:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kreatorye 2012-09-10 03:09:34 UTC
I have developed a new file module and registered 2 contents for template in @TemplateRegistration content={"template1","template2"}. When the module is deployed in IDE, both template1 and template2 appears in New File wizard of Netbeans 7.2. template2 doesn't appear (correct behavior) in Netbeans 7.1.2.
Comment 1 Martin Entlicher 2012-09-10 13:00:02 UTC
And is the appropriate data loader installed in NetBeans 7.2, which makes a DataObject from the two template files?
Are the "template1" and "template2" files parts of one multifile data object?
Comment 2 kreatorye 2012-09-11 10:14:42 UTC
(In reply to comment #1)
> And is the appropriate data loader installed in NetBeans 7.2, which makes a
> DataObject from the two template files?
> Are the "template1" and "template2" files parts of one multifile data object?

template1 and template2 are 2 freemarker templates which the modules uses to create 2 new files based on wizard in the module. In netbeans 7.1.2, the @TemplateRegistration behaviour is correct. It shows only template1 in new file wizard. But in netbeans 7.2, template2 also appears in new file wizard.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo