Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(51)

Issue 65052: Adding @oncreate and @x-oncreate support to server-side templates

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 4 months ago by levik
Modified:
16 years, 4 months ago
Reviewers:
etnu00, shindig.remailer, louiscryan, Evan Gilbert (code review)
Base URL:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

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.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Moved to an ID-based element-finding scheme #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -10 lines) Patch
M java/gadgets/src/main/java/org/apache/shindig/gadgets/templates/DefaultTemplateProcessor.java View 1 8 chunks +63 lines, -5 lines 0 comments Download
M java/gadgets/src/test/java/org/apache/shindig/gadgets/templates/DefaultTemplateProcessorTest.java View 1 2 chunks +22 lines, -5 lines 0 comments Download

Messages

Total messages: 6
levik
the @oncreate attribute was discussed during the spec discussions but ended up not making the ...
16 years, 4 months ago (2009-05-12 22:11:46 UTC) #1
Evan Gilbert (code review)
http://codereview.appspot.com/65052/diff/1/2 File java/gadgets/src/main/java/org/apache/shindig/gadgets/templates/DefaultTemplateProcessor.java (right): http://codereview.appspot.com/65052/diff/1/2#newcode446 Line 446: buffer.append("}).apply(e);"); Might be easier to add an ID ...
16 years, 4 months ago (2009-05-15 17:47:00 UTC) #2
levik
http://codereview.appspot.com/65052/diff/1/2 File java/gadgets/src/main/java/org/apache/shindig/gadgets/templates/DefaultTemplateProcessor.java (right): http://codereview.appspot.com/65052/diff/1/2#newcode446 Line 446: buffer.append("}).apply(e);"); On 2009/05/15 17:47:00, Evan Gilbert (code review) ...
16 years, 4 months ago (2009-05-20 13:40:32 UTC) #3
Evan Gilbert (code review)
http://codereview.appspot.com/65052/diff/1/2 File java/gadgets/src/main/java/org/apache/shindig/gadgets/templates/DefaultTemplateProcessor.java (right): http://codereview.appspot.com/65052/diff/1/2#newcode446 Line 446: buffer.append("}).apply(e);"); On 2009/05/20 13:40:32, levik wrote: > On ...
16 years, 4 months ago (2009-05-20 16:52:55 UTC) #4
levik
Oh, fine, have it your way :) I liked how clever I was being, but ...
16 years, 4 months ago (2009-05-20 22:05:20 UTC) #5
levik
16 years, 4 months ago (2009-05-20 22:05:37 UTC) #6

          
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b