You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Zdenek Sochor (JIRA)" <de...@myfaces.apache.org> on 2006/12/15 15:23:25 UTC
[jira] Commented: (TOMAHAWK-802) HtmlInputDate does not have
methods to set onchange, onblur and other such attributes
[ http://issues.apache.org/jira/browse/TOMAHAWK-802?page=comments#action_12458805 ]
Zdenek Sochor commented on TOMAHAWK-802:
----------------------------------------
Currently HtmlInputDate renders these attributes, but doesn't take them as EL.
It's because it extends UIInput class.
To enable EL in all these attributes make it extending HtmlInputText (either in package org.apache.myfaces.component.html or javax.faces.component.html), this change will make it similar to HtmlInputCalendar.
No need to alter renderer, tld or tag.
Zdenek Sochor
> HtmlInputDate does not have methods to set onchange, onblur and other such attributes
> -------------------------------------------------------------------------------------
>
> Key: TOMAHAWK-802
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-802
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Date
> Affects Versions: 1.1.5-SNAPSHOT
> Reporter: Popcorn
> Attachments: date.zip
>
>
> HtmlInputDate corresponding to the t:inputDate component does not have methods to set the following properties:
> onclick
> ondblclick
> onmousedown
> onmouseup
> onmouseover
> onmousemove
> onmouseout
> onkeypress
> onkeydown
> onkeyup
> onblur
> onfocus
> onchange
> onselect
> These attributes appear on the TLD document of tomahawk [1] but not on the javadocs of HtmlInputDate [2].
> These should be supported for an HtmlInput component like all other. There is no way to submit the value of a dynamically created input date component onchange.
> [1] http://myfaces.apache.org/tomahawk/tlddoc/t/inputDate.html
> [2] http://myfaces.apache.org/tomahawk/apidocs/org/apache/myfaces/custom/date/HtmlInputDate.html
>
--
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