I have a JSF form and a managed bean. Upon submission of my form one of the inputs returns
sendMessage:template: Validation Error: Value is not valid
I believe these are the names of the form and input. However I have no validation at all on the field either in the JSF page or on the bean. How is this possible?
here is the field in question:
<p:selectOneMenu id="template" value="#{sendMessageController.template}">
<f:selectItems value="#{sendMessageController.availableTemplates}" />
</p:selectOneMenu>
and the managed bean:
@ManagedBean(name="sendMessageController")
@RequestScoped
public class SendMessageController {
....
private String template;
private List<String> availableTemplates = new ArrayList<String>();