opps.. ok i have readonly="true".. my bad.. BUT, I had this to prevent the
user from messing with the date format.. I know I could validate, but is
there a way to make this readonly but still have the value updated via
the popup calendar..
dcosio wrote:
>
> I can't get the value set using the input calendar.. I don't see a binding
> for it.. can someone tell me what Im doing wrong..
>
> Using tomahawk1.1.3 - apache tomcat 5.5.9 - java 1.5 -
>
> Here is a snippet of the form with the calendar and commandbutton..
>
>
> <h:form>
> <h:panelGrid>
> <t:outputLabel for="createdDate" value="Created :" />
> <t:inputCalendar readonly="true" id="createdDate"
> monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader"
>
> popupButtonStyleClass="standard_bold"
> currentDayCellClass="currentDayCell" value="#{whoisBean.created}"
> renderAsPopup="true"
> popupTodayString="Today"
> popupDateFormat="yyyy-MM-dd"
> popupWeekString="Week"
> renderPopupButtonAsImage="true"
> helpText=""/>
>
> <h:commandButton value="Search" action="#{whoisBean.doSearch}"/>
> <h:commandButton id="cancel" value="Cancel"
> action="#{whoisBean.cancel}"/>
> </h:panelGrid>
> </h:form>
>
> Thanks for any help
> Dan
>
--
View this message in context:
http://www.nabble.com/inputCalendar-not-setting-value-tf2955178.html#a8266619
Sent from the My Faces - Dev mailing list archive at Nabble.com.