myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Grelle (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (TOMAHAWK-261) Do not use document.write in popup calendars
Date Thu, 01 Jun 2006 21:21:33 GMT
     [ http://issues.apache.org/jira/browse/TOMAHAWK-261?page=all ]

Jeremy Grelle updated TOMAHAWK-261:
-----------------------------------

    Status: Patch Available  (was: Open)

> Do not use document.write in popup calendars
> --------------------------------------------
>
>          Key: TOMAHAWK-261
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-261
>      Project: MyFaces Tomahawk
>         Type: Improvement

>   Components: Calendar, Date
>     Versions: 1.1.2-SNAPSHOT, 1.1.1, 1.1.3-SNAPSHOT
>     Reporter: Andrew Robinson
>     Assignee: Martin Marinschek
>     Priority: Blocker

>
> The popup calednar for the date control (and I think the calendar control) uses javascript
"document.write" methods. Unfortunately this is not very compatible with AJAX as it is hard
to write content to the document after the document is closed.
> Instead, can this be changed to have: 
> A) printed hidden component  (visibility: hidden; display: none) and just shown when
the user clicks the popup button.
> or 
> B) Use the DOM JavaScript API to add new elements to the DOM instead of document.write.
> Unless this is changed, these controls cannot be used with AjaxAnywhere and probably
not with other AJAX solutions.

-- 
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


Mime
View raw message