Well, you might want to do it in IE?

something like JTidy in our ExtensionFilter might be a good option.

regards,

Martin

On 10/25/05, Werner Punz <[EMAIL PROTECTED]> wrote:
> I have not checked out the code yet, but I guess
> the easiest solution to deal with it would be a servlet
> filter.
>
> Maybe a phase listener also would be possible.
>
> But why implement it at all, to my experience
> the Mozilla plugin gives excellent results.
>
> Werner
>
>
> Strittmatter, Stephan wrote:
> > Hi,
> >
> > some weeks ago I tried this option also without having pretty code.
> >
> > Just for discussion:
> > Why implement the "pretty-html" option in every renderer?
> > I think, it would be easier to postprocess the content in the framework
> > before returning the complete html-content to the browser. What do you
> > think?
> > I found e.g. http://sourceforge.net/projects/jtidy which could do this
> > probably.
> > Does anybody know an other Java library which could do this job?
> >
> > The big efford would be, that you could use the RI of SUN also and the
> > content would also be pretty formatted then.
> >
> > Regards,
> >
> > Stephan
> >
> >
> >>-----Original Message-----
> >>From: Bruno Aranda [mailto:[EMAIL PROTECTED]
> >>Sent: Monday, October 24, 2005 4:25 PM
> >>To: MyFaces Discussion
> >>Subject: Re: JFS's html output
> >>
> >>Yes, that's the option I was talking about, but AFAIK the
> >>functionality is not implemented for most of the component renderers,
> >>leaving it almost useless... Every render should check the value of
> >>this property and render carriage returns to output a readable html,
> >>
> >>Regards,
> >>
> >>Bruno
> >>
> >>2005/10/24, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]>:
> >>
> >>>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: users@myfaces.apache.org
> >>>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.
> >>>
> >>
> >
>
>


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German

Reply via email to