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 - Support merge key syntax
Summary: Support merge key syntax
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: YAML (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-23 08:35 UTC by develop7
Modified: 2010-06-23 08:36 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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