You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Neil Curzon <ne...@gmail.com> on 2009/11/09 23:40:00 UTC

Inheritance strips XML header

Hi all,

It seems that Wicket 1.4.3 is stripping the XML header when using page
inheritance for layout. My super page defines the layout and has a ?xml
header at the top. If a sub page has content, when wicket renders it, the
?xml header will be excluded. Strangely, for subclasses with no content (no
html file), the ?xml header is preserved.

Am I doing something wrong? If not, I have a sample application that shows
this issue and would be happy to file a bug. We're actually using 1.3.7, but
if this will only be fixed on 1.4, that would be a great excuse to upgrade
:)

Thanks,
Neil

Re: Inheritance strips XML header

Posted by Neil Curzon <ne...@gmail.com>.
Reported WICKET-2569: https://issues.apache.org/jira/browse/WICKET-2569 . I
worked around this issue by using a label to render the xml header.

On Mon, Nov 9, 2009 at 5:40 PM, Neil Curzon <ne...@gmail.com> wrote:

> Hi all,
>
> It seems that Wicket 1.4.3 is stripping the XML header when using page
> inheritance for layout. My super page defines the layout and has a ?xml
> header at the top. If a sub page has content, when wicket renders it, the
> ?xml header will be excluded. Strangely, for subclasses with no content (no
> html file), the ?xml header is preserved.
>
> Am I doing something wrong? If not, I have a sample application that shows
> this issue and would be happy to file a bug. We're actually using 1.3.7, but
> if this will only be fixed on 1.4, that would be a great excuse to upgrade
> :)
>
> Thanks,
> Neil
>