Julien Viet
unread,Sep 18, 2013, 5:02:04 AM9/18/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ju...@googlegroups.com
Hi,
0.7.0-beta17 was just released with a few fixes for AMD and Webjars but most importantly the asset plugin refactor:
1/ a single kind of asset instead of stylesheets / scripts / declaredStylesheets / scripts
@Assets({@Asset("jquery.js"), @Asset("bootstrap.css")})
2/ cross asset dependencies
@Assets({@Asset("jquery.js"), @Asset("bootstrap.css", depends = "jquery.js")})
3/ decoupled asset declaration from asset serving : @Assets versus @WithAssets
@Assets(…)
@WithAssets("bootstrap")
4/ fine grained, flexible asset serving: @WithAssets on package or controller
@WithAssets("bootstrap")
public void MyController {
@View
@WithAssets("jquery.js)
public Response.Content index() { … }
}
You will need to update your application and adapt it to the new API in this release.
cheers
Julien