Required não funciona? (jsf)

Pessoal,

Estou testando o required do jsf e não funfa. Ele simplesmente retorna na página mas não mostra msg nenhuma. Esta correto isso?

<f:view>
	
	<f:loadBundle basename="com.eduacsp.resources.MessageBundle" var="bundle"/>

			<h:form id="loginForm" rendered="true">
		
				<h:outputLabel for="username">
					<h:outputText value="#{bundle.username_label}"/>
				</h:outputLabel>
				<h:inputText id="username" required="true" value="#{UserBean.username}"/>
				<br/>
				
				<h:outputLabel for="password">
				<h:outputText value="#{bundle.password_label}"/>
				</h:outputLabel>
				<h:inputSecret id="password" value="#{UserBean.password}" required="true"/>
				<br/>
				
				<h:commandButton value="#{bundle.login_botao}" 
				action="#{UserBean.loginUser}" 
				rendered="true" id="submit"/>
				
			</h:form>

		</f:view>

Adicione um <h:messages>, esta tag ira exibir as mensagens de erros.

mas é claro…valew Ygor!