Olá Pessoal,
Estou construíndo uma aplicação JSF onde uso:
- RI 1.2 (tive alguns problemas com o MyFaces 1.2 e por isso desisti dele no momento)
- Richfaces 3.0.1
- Ajax 4 JSF
- Tomahawk
O problema é que não estou conseguindo usar o Tomahawk para um inputDate. O problema é que o componente não aparece na tela. E se eu olho o código fonte, do html gerado, eu vejo o código lá intacto, como se ele não executasse:
Será que é obrigatório o uso do MyFaces para ele rodar com o Tomahawk?
Vejam abaixo o código da minha página:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:rich="http://richfaces.ajax4jsf.org/rich"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
xmlns:t="http://myfaces.apache.org/tomahawk"
>
<ui:composition template="/templates/layout.xhtml">
<ui:define name="title">
Teste
</ui:define>
<ui:define name="body">
<f:view>
<h:panelGroup>
<h:form>
Date: <t:inputDate value="#{workflowBean.dataFinal}" popupCalendar="true"/><br />
<h:commandButton action="show-date"/>
</h:form>
</h:panelGroup>
</f:view>
</ui:define>
</ui:composition>
</html>
