You could create your own BasePage for all Xml and HTML Pages and
subclass configureResponse. I'm not especially in favor of such
if(condition). They'll always be subject to discussions.

Juergen

On 6/2/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Could you please submit a feature request for that?
>
> Eelco
>
> On 6/2/06, jan_bar <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am facing unpleasant troubles with setStripXmlDeclarationFromOutput. My
> > application needs to output HTML pages with stripped XML prologue, but at
> > the same time I have to serve XML files *with* the XML prologue. The
> > settings like StripXmlDeclarationFromOutput or StripWicketTags (and other)
> > or only application wide.
> >
> > Maybe, when Page.configureResponse() sees getMarkupType()=="xml", it should
> > not strip XML prologue even if StripXmlDeclarationFromOutput is set?
> >
> > Thanks for your support, Jan
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> > Fully trained technicians. The highest number of Red Hat certifications in
> > the hosting industry. Fanatical Support. Click to learn more
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to