Weceem

Add wcm:resource tag that automatically does correct html for JS/CSS etc

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0-M2
  • Component/s: None
  • Labels:
    None
  • Request Controller:
    Please Select
  • External Supervisor:
    Please select
  • Executing Programmer:
    Please select

Description

I've already implemented this in blueprint/jquery ui plugins.

Activity

Hide
Marc Palmer added a comment - 14/Jan/11 3:57 PM

Reuses the tag from jquery-ui plugin for now, because the tag from resources plugin will be in grails core soon and then we can use that.

Usage:

<wcm:resource path="some/cms/node/path"/>

The rest is automatic - <link> or <script> etc.

Show
Marc Palmer added a comment - 14/Jan/11 3:57 PM Reuses the tag from jquery-ui plugin for now, because the tag from resources plugin will be in grails core soon and then we can use that. Usage: <wcm:resource path="some/cms/node/path"/> The rest is automatic - <link> or <script> etc.

People

Vote (0)
Watch (0)

Dates

  • Created:
    04/Aug/10 12:45 PM
    Updated:
    14/Jan/11 3:57 PM
    Resolved:
    14/Jan/11 3:57 PM