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 187981

Summary: Support merge key syntax
Product: web Reporter: develop7 <develop7>
Component: YAMLAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description develop7 2010-06-23 08:35:47 UTC
Well, %subj% actually.

Here's a spec (http://yaml.org/type/merge.html). Despite it isn't part of official YAML language spec, it is supported by symfony's YAML parser.

Here's an working, but "incorrect" example (view.yml):

    default:
      javascripts: &jses
        - jq/jquery-1.3.2.min.js
        - jq/jquery-ui-1.7.custom.min.js
        - jq/thickbox.js
        - /sfFormExtraPlugin/js/jquery.autocompleter.js
    
    signinSuccess:
      javascripts:
        << : *jses
        - jq/jquery.dropshadow.js