this.channelStore = channelRegistryStore;
}
public void validateChooseType(ChannelDefinitionForm def, MessageContext context) {
if(def.getTypeId() == 0) {
context.addMessage(new MessageBuilder().error().source("typeId")
<BUG>.code("errors.channelDefinition.type.empty")
.defaultText("Please choose a channel type").build());
</BUG>
}
}

this.channelStore = channelRegistryStore;
}
public void validateChooseType(ChannelDefinitionForm def, MessageContext context) {
if(def.getTypeId() == 0) {
context.addMessage(new MessageBuilder().error().source("typeId")
.code("please.choose.channel.type").build());
}
}
