You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "qualitesys (JIRA)" <ji...@codehaus.org> on 2010/06/05 22:35:12 UTC
[jira] Created: (DOXIA-395) Add sink.script
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
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
[jira] Closed: (DOXIA-395) Add sink.script
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ 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