You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Carsten Burghardt <ca...@cburghardt.com> on 2006/05/19 20:49:13 UTC

inputCalendar and form

Hi,

I do not get the inputCalendar going. I have a form that includes a datatable. 
The following is a snippet:

                <h:form id="searchForm">               
                      <t:dataTable binding="#{searchBean.searchBinding}"                          
var="expression" value="#{searchBean.expressions}" preserveDataModel="false">
                        <h:inputText value="#{expression.value}" 
styleClass="input" rendered="#{expression.type != 1}"/>
                        <t:inputCalendar value="#{expression.value}" 
styleClass="input" rendered="#{expression.type == 1}" renderAsPopup="true" 
renderPopupButtonAsImage="true"/>
                      </t:dataTable>                      
                      <h:commandButton value="#{messages.search_action}" 
action="#{searchBean.doSearch}" alt="#{messages.search_action}">
                        <t:graphicImage value="images/medium/mailfind.png" 
alt="#{messages.search_action}" align="middle"/>
                      </h:commandButton>
                </h:form>

All inputText controls on this page work. But once I use the calendar I can 
not post my form anymore:
- commandButton does not work once the calendar is shown
- commandLink does not work once the popup is shown

What is wrong?

I'm using myfaces core 1.1.3 and tomahawk 1.1.2.

Thanks

Carsten