Skip to content

Instantly share code, notes, and snippets.

Sergey Daniloff Pencroff

View GitHub Profile
Pencroff / Example of using
Last active Dec 24, 2015
My implementation of LinkButton for ExtJS. It can be used as a link directly (set 'stopEvent' to false) or as a button (use subscription to 'click' event)
View Example of using
xtype: 'linkbutton',
style: 'font-size: 18px; font-weight: bold',
//stopEvent: false, // if you need direct link
title: 'Go to Some Link',
path: '#job/view',
text : 'Some link'
if you need some extra params in link after render LinkButton you can use
some code like this one:
Pencroff / CamelCaseMacro.velocity
Last active May 19, 2020
Transformation file name to CamelCase in IntelliJ IDEA file templates
View CamelCaseMacro.velocity
## file name transformation
## file-name => FileName
## Sources:
##, java.lang.String)
#set( $CamelCaseName = "" )
#set( $part = "" )
You can’t perform that action at this time.