You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vincent Siveton <vi...@gmail.com> on 2005/07/19 15:11:20 UTC
Adding Javascript with Doxia
Hi,
Is it possible to add Javascript to the Doxia Sink object for an HTML
renderer? If yes, how?
I was thinking something like:
sink.head();
sink.title();
text( getTitle() );
sink.title_();
sink.script( String jsCode );
sink.head_();
Regards,
Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Adding Javascript with Doxia
Posted by Emmanuel Venisse <em...@venisse.net>.
sink.rawText( "your code" );
Vincent Siveton wrote:
> Hi,
>
> Is it possible to add Javascript to the Doxia Sink object for an HTML
> renderer? If yes, how?
>
> I was thinking something like:
> sink.head();
> sink.title();
> text( getTitle() );
> sink.title_();
>
> sink.script( String jsCode );
>
> sink.head_();
>
> Regards,
>
> Vincent
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org