You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "sean schofield (JIRA)" <my...@incubator.apache.org> on 2005/05/26 16:22:55 UTC

[jira] Commented: (MYFACES-255) inputDate's onchange, onfocus, onblur and onselect are not working

     [ http://issues.apache.org/jira/browse/MYFACES-255?page=comments#action_66360 ]
     
sean schofield commented on MYFACES-255:
----------------------------------------

Try using something like ...

HtmlRendererUtils.renderHTMLAttributes(writer, uiComponent, HTML.COMMON_FIELD_EVENT_ATTRIBUTES);

> inputDate's onchange, onfocus, onblur and onselect are not working
> ------------------------------------------------------------------
>
>          Key: MYFACES-255
>          URL: http://issues.apache.org/jira/browse/MYFACES-255
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>  Environment: IE & Firefox, tomcate 5.0.28, oracle 10g
>     Reporter: Lian Lee
>     Assignee: sean schofield
>  Attachments: HtmlCalendarRenderer_patch.txt
>
> I tried the following and I am not getting any response when changing the date fields..
> <h:outputText id="dateTo" value="#{mybundle.dateTo}:"/>
>       
> <x:inputDate id="dateToCal" popupCalendar="true" value="#{mybean.dateTo}"
>              onchange="document.forms[0].submit();alert('jjj')"
>              immediate="true"
>              valueChangeListener="#{mybean.foo}"/> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira