Re: Inheritance strips XML header

2009-11-10 Thread Neil Curzon
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  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
>


Inheritance strips XML header

2009-11-09 Thread Neil Curzon
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