Or, as I have just discovered, (thanks brett), if your report implements isExternalReport() by returning true then you need not use the sink at all, but can generate the whole page / pages you want directly.
You are right tho - the page will be named getOutputName() + ".html"
Kind regards,
Dave Sag
"Olivier Lamy" <[EMAIL PROTECTED]> wrote on 21-11-2005 13:29:42:
> Hi,
> I have a question concerning doxia Sink in report Mojo.
> Is there any mandatory content in Sink ?
> Actually I try the very simple :
> Sink sink = getSink();
> sink.head();
> sink.text("Test Report");
> sink.head_();
> sink.body();
> sink.text("test");
> sink.body_();
> sink.flush();
> sink.close();
>
> As I understand the html page will be getOutputName() . html ?
> Or I have probably forgot content in the sink.
>
> My pom has dependency :
> <dependency>
> <groupId>doxia</groupId>
> <artifactId>doxia-sink-api</artifactId>
> <version>1.0-alpha-4</version>
> </dependency>
>
> Thanks for help,
> - Olivier
>
>
>
> This e-mail, any attachments and the information contained therein
> ("this message") are confidential and intended solely for the use of
> the addressee(s). If you have received this message in error please
> send it back to the sender and delete it. Unauthorized publication,
> use, dissemination or disclosure of this message, either in whole or
> in part is strictly prohibited.
> **********************************************************************
> Ce message electronique et tous les fichiers joints ainsi que les
> informations contenues dans ce message ( ci apres "le message" ),
> sont confidentiels et destines exclusivement a l'usage de la
> personne a laquelle ils sont adresses. Si vous avez recu ce message
> par erreur, merci de le renvoyer a son emetteur et de le detruire.
> Toutes diffusion, publication, totale ou partielle ou divulgation
> sous quelque forme que se soit non expressement autorisees de ce
> message, sont interdites.
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>