Hi,
I try to create a report which generate page with sing the maven layout
(skin and site menu).
I want to obtain a Skin on files and write them with this Skin object.
How can I do this ?
I have tryed with doxia-site-renderer:1.0-alpha-7 :
File toto = new File( storedProceduresDirectory, "toto.html"
);
FileWriter fileWriter = new FileWriter( toto );
SiteRendererSink siteRendererSink =
this.getSiteRenderer().createSink( toto, "titi" );
siteRendererSink.body();
siteRendererSink.section1();
siteRendererSink.sectionTitle1();
siteRendererSink.text( "toto" );
siteRendererSink.sectionTitle1_();
siteRendererSink.section1_();
siteRendererSink.body_();
siteRendererSink.flush();
siteRendererSink.close();
SiteRenderingContext siteRenderingContext = new
SiteRenderingContext();
this.getSiteRenderer().generateDocument( fileWriter,
siteRendererSink, siteRenderingContext );
But the file is empty ?
With doxia-site-renderer:1.0-alpha-8, method createSink doesn't exists
anymore.
I need to inject some components but which one ?
And I didn't find helpfull documentation [1] ;-)
Thanks,
--
Olivier
[1] http://maven.apache.org/doxia/
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]