Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-993

Template Wizard ignores folder selection sometimes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            sdedic Svatopluk Dedic
            sdedic Svatopluk Dedic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: