Svatopluk Dedic created NETBEANS-993:
----------------------------------------

             Summary: Template Wizard ignores folder selection sometimes
                 Key: NETBEANS-993
                 URL: https://issues.apache.org/jira/browse/NETBEANS-993
             Project: NetBeans
          Issue Type: Bug
          Components: platform - Data Systems
            Reporter: Svatopluk Dedic
            Assignee: Svatopluk Dedic


The template wizard allows to select a folder where the template is 
instantiated. If the user selects the target folder using the file list (i.e. 
doubleclicks the folder name), everything seems to be OK - the custom 
PropertyEditor calls setValue --> setTargetFolder on the wizard panel.

But I don't see such a call if the user selects a (parent) folder using the 
combobox above the file list. 

Note that if the user first selects a parent from the dropdown, then picks some 
child (i.e. sibling of the original), the template wizard will use the 
appropriate value.

To reproduce: invoke new from template from some folder. Select some of the 
parents from the drop down. check that "Look in" edit box indeed changed the 
folder's name. Press Finish. The file will be created in the folder originally 
selected, not the current one.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to