Skip to content

Instantly share code, notes, and snippets.

@xfyre
xfyre / Example.java
Last active August 29, 2015 14:02
Tapestry 5.4 Autocomplete mixin replacement
/**
* Example of mixin usage
*/
public class Example {
/**
* provide suggestions list
*/
List<?> onCompletionsRequestedFromAccountLookupField ( String partial ) {
List<?> list = hibernateSession.createCriteria ( MyAccountType.class )