[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1044) <s:selectDate> JavaScript read field for editing

Ciro Cavani (JIRA) jira-events at lists.jboss.org
Tue Mar 13 14:27:49 EDT 2007


<s:selectDate> JavaScript read field for editing
------------------------------------------------

                 Key: JBSEAM-1044
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1044
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: JSF
    Affects Versions: 1.2.0.GA
            Reporter: Ciro Cavani


For now, the JavaScript code of <s:selectDate> doesn't read input field when showing calendar first time using new date (this is my understand of JavaScript code).

The request is read input field for valid date and set it as default:

instead:

  var defaultDate = new Date();

this:

  var defaultDate = __calendarFactory.parseDateValue(getObject(this.name).value);

  if (!defaultDate)
	defaultDate = new Date();

Or something like.

I don't know JavaScript, but this work for me.

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

        



More information about the seam-issues mailing list