[jboss-user] [JBoss Seam] - Re: Force OnChange with selectDate selection

SergeySmirnov do-not-reply at jboss.com
Thu May 10 15:47:12 EDT 2007


James, as I see the primary source of the event is calendar, but not an input field. Input field is a target of changes made in calendar. So, may be it is better to send update right from it instead of dancing around text field. 
You can send update invoking the a4j:jsFunction right from the __clickCalendar function. jsFunction allows to pass parameters (like selected date in your case) and update the bean property using assignTo attribute of a4j:actionparam

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044797#4044797

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044797



More information about the jboss-user mailing list