Hours and minutes reset if  type="both"  in <t:inputDate>
---------------------------------------------------------

                 Key: TOMAHAWK-1386
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1386
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Date
    Affects Versions: 1.1.9-SNAPSHOT
         Environment: myFaces 1.2.5, tomahawk12-1.1.8 or  
tomahawk12-1.1.9-SNAPSHOT 
            Reporter: Pavel Novakovich


In my page i use tag <t:inputDate type="both"/>. Minutes, hours are reset when 
i submit form. I think that the error in the class 
org.apache.myfaces.custom.date.AbstractHtmlInputDate$UserData in method parse().

<%@ page contentType="text/html; charset=windows-1251" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
<%@ taglib uri="http://myfaces.apache.org/sandbox"; prefix="s"%>

<f:view>
    <html>
    <head><title>Simple jsp page</title></head>
    <body>
    <h:form>

        <t:inputDate type="both" value="#{Proba.tempDate}" 
popupCalendar="true"/>
        <t:commandButton/>

    </h:form>
    </body>
    </html>

</f:view>

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

Reply via email to