Reviewers: shindig.remailer_gmail.com, etnu00, opensocial.evan_gmail.com),
louiscryan,
Message:
the @oncreate attribute was discussed during the spec discussions but
ended up not making the cut for the spec.
It is still a very useful attribute to support, so this patch adds
support for @oncreate and @x-oncreate (and variants with capital "C") -
the proposal being that we only document @x-oncreate until we convince
other containers that @oncreate is useful.
Description:
the @oncreate attribute was discussed during the spec discussions but
ended up not making the cut for the spec.
It is still a very useful attribute to support, so this patch adds
support for @oncreate and @x-oncreate (and variants with capital "C") -
the proposal being that we only document @x-oncreate until we convince
other containers that @oncreate is useful.
Please review this at http://codereview.appspot.com/65052
Affected files:
M
java/gadgets/src/main/java/org/apache/shindig/gadgets/templates/DefaultTemplateProcessor.java
M
java/gadgets/src/test/java/org/apache/shindig/gadgets/templates/DefaultTemplateProcessorTest.java