t:inputCalendar valueChangeEvent does not work

Hi,

I am trying to use the valueChangeListener for t:inputCalendar. But, it is not getting invoked. I get a SocketException whenever i click on the calendar button. I tried to use the validator attribute as well and also tried for a custom validator. But, it does not seem to work. Listed below is my JSF code.

<h:form id="dummyForm">

<h:panelGrid columns="3">

<t:inputCalendar id="RedemDateCldr" popupDateFormat="dd/MM/yyyy"

renderAsPopup="true" required="true" value="#{dateSelector.date}"

size="10" renderPopupButtonAsImage="true"

valueChangeListener="#{dateSelection.validate}" immediate="true">

</t:inputCalendar>

</h:panelGrid>

</h:form>

I have added the tomahawk 1.1.5 jar and the ExtensionFilter to web.xml.

Please help me to resolve this issue.

Thanks in advance,

Nandish

[912 byte] By [cnandisha] at [2007-11-27 9:07:44]
# 1

<t:inputCalendar id="calendar1" immediate="true" renderAsPopup="false" valueChangeListener="#{dateSelector.calendar1_processValueChange}"/>

This code works. The method is in backing bean given below

public void calendar1_processValueChange(ValueChangeEvent vce)

{

try{

System.out.println("Hi");

System.out.println(vce.getNewValue());

}

catch (Exception e)

{

System.out.println("Exception" + e);

}

}

But, if I specify renderAsPopup="true", then it throws the SocketException and does not proceed further.

cnandisha at 2007-7-12 21:44:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi,Request your help pls.Thanks,Nandish
cnandisha at 2007-7-12 21:44:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
guys need your help please
cnandisha at 2007-7-12 21:44:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Post the error your are experiencing
RaymondDeCampoa at 2007-7-12 21:44:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...