You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jan Linders <ja...@home.nl> on 2008/03/04 20:55:30 UTC

Hi ALL,
 
Is there anyone that can help me in getting the following scenario to work
in Tomahawk.
 
I have an date input field created like below.
 
The problem is that I want the input date retrieved from the Calendar pop-up
submitted to the backing bean.
The moment I put in a date myself, evrything works fine, however using the
popup does not seem to trigger the "onchange".
 
Thanks in advance for your help.
 
 
<t:inputCalendar id="calendar"

maxlength="10"

immediate="true"

onchange="submit();"

valueChangeListener="#{ManagerBean.dateSelected}"

monthYearRowClass="monthYearRowClass"

weekRowClass="weekRowClass"

dayCellClass="dayCellClass"

currentDayCellClass="currentDayCellClass"

popupTodayString="Today is :"

popupWeekString="Wk" renderAsPopup="true"

renderPopupButtonAsImage="true"

popupDateFormat="MM/dd/yyyy"

alt="Calendar" title="Calendar">

</t:inputCalendar>


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.4/1309 - Release Date: 3/3/2008
6:50 PM


Posted by Jan Linders <ja...@home.nl>.
Meanwhile I've upgraded my Tomahawk libs to 1.1.5
Everything works fine now... :-))
Keep in mind to configure the Tomahawk extensions as in : HYPERLINK
"http://myfaces.apache.org/tomahawk/extensionsFilter.html"http://myfaces.apa
che.org/tomahawk/extensionsFilter.html
 
 

-----Original Message-----
From: Jan Linders [mailto:jan.linders@home.nl]
Sent: Tuesday, March 04, 2008 8:56 PM
To: users@myfaces.apache.org
Subject: <t:inputCalendar>


Hi ALL,
 
Is there anyone that can help me in getting the following scenario to work
in Tomahawk.
 
I have an date input field created like below.
 
The problem is that I want the input date retrieved from the Calendar pop-up
submitted to the backing bean.
The moment I put in a date myself, evrything works fine, however using the
popup does not seem to trigger the "onchange".
 
Thanks in advance for your help.
 
 
<t:inputCalendar id="calendar"

maxlength="10"

immediate="true"

onchange="submit();"

valueChangeListener="#{ManagerBean.dateSelected}"

monthYearRowClass="monthYearRowClass"

weekRowClass="weekRowClass"

dayCellClass="dayCellClass"

currentDayCellClass="currentDayCellClass"

popupTodayString="Today is :"

popupWeekString="Wk" renderAsPopup="true"

renderPopupButtonAsImage="true"

popupDateFormat="MM/dd/yyyy"

alt="Calendar" title="Calendar">

</t:inputCalendar>


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.4/1309 - Release Date: 3/3/2008
6:50 PM



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.4/1309 - Release Date: 3/3/2008
6:50 PM



No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.4/1310 - Release Date: 3/4/2008
8:35 AM