[ 
http://jira.codehaus.org/browse/DOXIA-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Theussl closed DOXIA-395.
-------------------------------

    Resolution: Won't Fix
      Assignee: Lukas Theussl

This should be achieved with the unknown sink even, available since Doxia 1.1. 
The XhtmlSink should understand something like

{code}
Object[] required = new Object[] { new Integer( HtmlMarkup.TAG_TYPE_SIMPLE ) };
SinkEventAttributeSet attribs = new SinkEventAttributeSet(new String[] {"type", 
"text/javascript","src", "http://www.google.com/jsapi"});
sink.unknown( HtmlMarkup.SCRIPT.toString(), required, attribs );
{code}

> Add sink.script
> ---------------
>
>                 Key: DOXIA-395
>                 URL: http://jira.codehaus.org/browse/DOXIA-395
>             Project: Maven Doxia
>          Issue Type: Wish
>          Components: Sink API
>            Reporter: qualitesys
>            Assignee: Lukas Theussl
>
> For some particular use, would be nice to insert javascript, in the <head> 
> part for example :
> <script type="text/javascript" src="http://www.google.com/jsapi";></script>
> A sink.script(String text) is enough

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

        

Reply via email to