support selectionTemplate support