Issue Details (XML | Word | Printable)

Key: GRAILSPLUGINS-604
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Matthew Taylor
Reporter: Matthew Taylor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Grails Plugins

AJAX updates must call eval() on all <script/> tags within responseText

Created: 06/Nov/08 09:12 AM   Updated: 08/Nov/08 10:35 PM   Resolved: 08/Nov/08 10:35 PM
Return to search
Component/s: Grails-UI
Affects Version/s: Grails-UI 1.0
Fix Version/s: Grails-UI 1.0.1

Time Tracking:
Not Specified

Issue Links:
Related
 


 Description  « Hide

The dialog already does this, but ensure all other components that update the innerHTML of an HTML element do the same.



Matthew Taylor made changes - 06/Nov/08 09:13 AM
Field Original Value New Value
Link This issue is related to GRAILSPLUGINS-603 [ GRAILSPLUGINS-603 ]
Matthew Taylor made changes - 08/Nov/08 04:59 PM
Component/s Grails-UI [ 13467 ]
Matthew Taylor made changes - 08/Nov/08 05:02 PM
Priority Major [ 3 ] Critical [ 2 ]
Matthew Taylor made changes - 08/Nov/08 10:01 PM
Status Open [ 1 ] In Progress [ 3 ]
Matthew Taylor added a comment - 08/Nov/08 10:35 PM

Added GRAILSUI.util.replaceWithServerResponse(div, response) to be used whenever a div needs its contents replaced with server text. This sets the inner HTML as well as evaluating all scripts within it. This should be used from any component that does a partial page refresh.


Matthew Taylor made changes - 08/Nov/08 10:35 PM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]