I know that there's an option you can put into your web.xml file that's
supposed to take care of that, although I haven't experimented with it:

    <context-param>
        <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
        <param-value>true</param-value>
        <description>
            If true, rendered HTML code will be formatted, so that it is
"human readable".
            i.e. additional line separators and whitespace will be
written, that do not
            influence the HTML code.
            Default: "true"
        </description>
    </context-param>

- Brendan

-----Original Message-----
From: Nicola Benaglia [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 24, 2005 5:12 AM
To: [email protected]
Subject: JFS's html output


Hi !
I was wondering why my JFS's output is not friendly human readable.
I looked into my generated HTML page and the code is not at all
indented.
Is that a normal JSF behaviour or is there a way to get a little bit 
more readable code ?

Thank you,
Nico
---

Questa mail ed eventuali suoi allegati sono strettamente confidenziali.
Se
ricevete per errore questa mail, Vi preghiamo cortesemente di
cancellarla
immediatamente e di segnalare l'errore a chi ve l'ha spedita. Se Voi non
siete
il reale destinatario di questa mail non siete autorizzati alla copia,
alla
distribuzione e alla stampa di essa ne tantomeno ad una eventuale
modifica
dei contenuti.
 
This message and any attachments are confidential and intended solely
for
the addressees. If you receive this message in error, please delete it
and
immediately notify the sender. If the reader of this message is not the
intended recipient, you are hereby notified that any unauthorized use,
copying, publication, printing or dissemination is prohibited. E-mails
are
susceptible to alteration.

Reply via email to