[ 
http://issues.apache.org/jira/browse/COCOON-1888?page=comments#action_12425097 
] 
            
Antonio Gallardo commented on COCOON-1888:
------------------------------------------

Forgot to say: The above snippet is how it is implemented in current cforms 
trunk.

> [PATCH] forms-samples-styling.xsl should place <script> elements from source 
> document last in <head>
> ----------------------------------------------------------------------------------------------------
>
>                 Key: COCOON-1888
>                 URL: http://issues.apache.org/jira/browse/COCOON-1888
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Forms
>    Affects Versions: 2.1.8, 2.2-dev (Current SVN), 2.1.9, 2.1.10-dev (current 
> SVN)
>            Reporter: Mark Lundquist
>            Priority: Minor
>         Attachments: COCOON-1888.patch
>
>
> The current forms-samples-styling.xsl <head> matching template passes through 
> all the child elements of <head> in the source before appending its own from 
> forms-page and forms-field.  This breaks source documents that need to have 
> <script> elements that depend on JS libs added by the Forms block, e.g. 
> pushing handlers for onload or onsubmit.  The <script> elements added by this 
> stylesheet need to come before and <script> elements from the source document

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

        

Reply via email to