You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org> on 2007/03/29 21:07:25 UTC

[jira] Commented: (TOMAHAWK-476) Support for HtmlInputDate in HtmlFocus

    [ https://issues.apache.org/jira/browse/TOMAHAWK-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485303 ] 

Mike Kienenberger commented on TOMAHAWK-476:
--------------------------------------------

Changing patch to this:

-
+            if(targetComponent instanceof org.apache.myfaces.custom.date.HtmlInputDate)
+                clientId += org.apache.myfaces.custom.date.HtmlDateRenderer.ID_DAY_POSTFIX;
+            

However, I think you're right in that this should only be done if the renderer for the targetComponent is an instance of org.apache.myfaces.custom.date.HtmlDateRenderer.   I'd recommend that you provide a tested patch for thist.
 

> Support for HtmlInputDate in HtmlFocus
> --------------------------------------
>
>                 Key: TOMAHAWK-476
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-476
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>            Reporter: Rogério Pereira Araújo
>            Priority: Trivial
>         Attachments: HtmlFocusRenderer.diff
>
>
> Can't set the focus in inputDate field since the first input has id inputDateId.day

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.