This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <template name='welcomePage'> | |
| <a href="https://twitter.com/intent/tweet?screen_name=TemplHub" | |
| class="twitter-mention-button" | |
| data-related="TemplHub"> | |
| Tweet to @TemplHub | |
| </a> | |
| </template> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE module PUBLIC | |
| "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" | |
| "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd"> | |
| <module> | |
| <inherits name="com.vaadin.DefaultWidgetSet" /> | |
| <inherits name="com.example.YourWidgetset" /> | |
| </module> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Template.googleAnalytics.rendered = function() { | |
| new GA('UA-111-1', 'my-account-name'); | |
| } | |
| GA = function(code, account) { | |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
| })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | class UserService { | |
| static transactional = true | |
| void update(User user) { | |
| // TODO: ... implement the logic ... | |
| user.save(flush:true, failOnError:true) | |
| } | |
| } | 
NewerOlder