Re: [Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Peter Thomas

Sure Eelco, JIRA logged: https://issues.apache.org/jira/browse/WICKET-685

On 6/22/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


Could you describe the problems in a JIRA issue? Thanks.

Eelco


On 6/22/07, Peter Thomas <[EMAIL PROTECTED]> wrote:
> Ok I think the problem is related to the ReloadingWicketFilter which I
was
> extending and using.  When I remove this, things are fine.
>
> So my conclusion is that latest ReloadingWicketFilter has problems for
pages
> using Markup inheritance.
>
> Thanks,
>
> Peter.
>
>
> On 6/22/07, Peter Thomas <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I got the latest 1.3.0-SNAPSHOT through Maven yesterday and all my
pages
> that use markup inheritance stopped working.  My login page which does
not
> use markup inheritance works and then after submitting that ito goes to
the
> home page, nothing works.
> >
> > Thing is I tried a very simple quickstart with  and
>  and markup inheritance works fine.  So this looks like
> something subtle that changed recently.  I backed up the wicket part of
my
> maven repository, and the timestamp of the most recent snapshot for me
where
> things were working fine is 2007-06-06.
> >
> > So the only thing I guess I am doing differently from a quickstart is
some
> bookmarkable urls, custom session factory, custom authorization strategy
and
> custom i18n StringResourceLoader.  Do give me some pointers where I
should
> debug etc.
> >
> > The error I get is:
> >
> > ===
> >
> >
> > WicketMessage: Markup of type 'html' for component
> 'info.jtrac.wicket.DashboardPage' not found. Enable debug messages for
> org.apache.wicket.util.resource to get a list of all filenames tried:
> > [Page class = info.jtrac.wicket.DashboardPage, id = 1, version = 0]
> >
> > Root cause:
> >
> > org.apache.wicket.WicketRuntimeException: Parameter clazz
> must be instance of container
> > at
> org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:244)
> > at
>
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance
(InheritedMarkupMarkupLoader.java:99)
> > at
> org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(
InheritedMarkupMarkupLoader.java:65)
> > at
> org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(
DefaultMarkupLoader.java:56)
> > at
> org.apache.wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:389)
> > at
> org.apache.wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(
MarkupCache.java:462)
> > at org.apache.wicket.markup.MarkupCache.getMarkup
> (MarkupCache.java:282)
> > at
> org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java
:188)
> > at
> org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(
MarkupContainer.java:331)
> > at org.apache.wicket.markup.html.WebPage.onBeforeRender
> (WebPage.java:363)
> > at
> org.apache.wicket.Component.beforeRender(Component.java:846)
> > at org.apache.wicket.Page.renderPage(Page.java:885)
> >
> > ==Thanks,
> >
> > Peter.
> >
>
>
>
-
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Eelco Hillenius
Could you describe the problems in a JIRA issue? Thanks.

Eelco


On 6/22/07, Peter Thomas <[EMAIL PROTECTED]> wrote:
> Ok I think the problem is related to the ReloadingWicketFilter which I was
> extending and using.  When I remove this, things are fine.
>
> So my conclusion is that latest ReloadingWicketFilter has problems for pages
> using Markup inheritance.
>
> Thanks,
>
> Peter.
>
>
> On 6/22/07, Peter Thomas <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I got the latest 1.3.0-SNAPSHOT through Maven yesterday and all my pages
> that use markup inheritance stopped working.  My login page which does not
> use markup inheritance works and then after submitting that ito goes to the
> home page, nothing works.
> >
> > Thing is I tried a very simple quickstart with  and
>  and markup inheritance works fine.  So this looks like
> something subtle that changed recently.  I backed up the wicket part of my
> maven repository, and the timestamp of the most recent snapshot for me where
> things were working fine is 2007-06-06.
> >
> > So the only thing I guess I am doing differently from a quickstart is some
> bookmarkable urls, custom session factory, custom authorization strategy and
> custom i18n StringResourceLoader.  Do give me some pointers where I should
> debug etc.
> >
> > The error I get is:
> >
> > ===
> >
> >
> > WicketMessage: Markup of type 'html' for component
> 'info.jtrac.wicket.DashboardPage' not found. Enable debug messages for
> org.apache.wicket.util.resource to get a list of all filenames tried:
> > [Page class = info.jtrac.wicket.DashboardPage, id = 1, version = 0]
> >
> > Root cause:
> >
> > org.apache.wicket.WicketRuntimeException: Parameter clazz
> must be instance of container
> > at
> org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:244)
> > at
> org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:99)
> > at
> org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:65)
> > at
> org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(DefaultMarkupLoader.java:56)
> > at
> org.apache.wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:389)
> > at
> org.apache.wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:462)
> > at org.apache.wicket.markup.MarkupCache.getMarkup
> (MarkupCache.java:282)
> > at
> org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:188)
> > at
> org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:331)
> > at org.apache.wicket.markup.html.WebPage.onBeforeRender
> (WebPage.java:363)
> > at
> org.apache.wicket.Component.beforeRender(Component.java:846)
> > at org.apache.wicket.Page.renderPage(Page.java:885)
> >
> > ==Thanks,
> >
> > Peter.
> >
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Peter Thomas

Ok I think the problem is related to the ReloadingWicketFilter which I was
extending and using.  When I remove this, things are fine.

So my conclusion is that latest ReloadingWicketFilter has problems for pages
using Markup inheritance.

Thanks,

Peter.

On 6/22/07, Peter Thomas <[EMAIL PROTECTED]> wrote:


Hi,

I got the latest 1.3.0-SNAPSHOT through Maven yesterday and all my pages
that use markup inheritance stopped working.  My login page which does not
use markup inheritance works and then after submitting that ito goes to the
home page, nothing works.

Thing is I tried a very simple quickstart with  and
 and markup inheritance works fine.  So this looks like
something subtle that changed recently.  I backed up the wicket part of my
maven repository, and the timestamp of the most recent snapshot for me where
things were working fine is 2007-06-06.

So the only thing I guess I am doing differently from a quickstart is some
bookmarkable urls, custom session factory, custom authorization strategy and
custom i18n StringResourceLoader.  Do give me some pointers where I should
debug etc.

The error I get is:

===

WicketMessage: Markup of type 'html' for component '
info.jtrac.wicket.DashboardPage' not found. Enable debug messages for
org.apache.wicket.util.resource to get a list of all filenames tried:
[Page class = info.jtrac.wicket.DashboardPage, id = 1, version = 0]

Root cause:

org.apache.wicket.WicketRuntimeException: Parameter clazz must be instance
of container
at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:244)
at
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance
(InheritedMarkupMarkupLoader.java:99)
at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(
InheritedMarkupMarkupLoader.java:65)
at org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(
DefaultMarkupLoader.java:56)
at org.apache.wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:389)
at org.apache.wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(
MarkupCache.java:462)
at org.apache.wicket.markup.MarkupCache.getMarkup (MarkupCache.java:282)
at org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java
:188)
at org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(
MarkupContainer.java:331)
at org.apache.wicket.markup.html.WebPage.onBeforeRender (WebPage.java:363)
at org.apache.wicket.Component.beforeRender(Component.java:846)
at org.apache.wicket.Page.renderPage(Page.java:885)

==
Thanks,

Peter.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Peter Thomas

Hi,

I got the latest 1.3.0-SNAPSHOT through Maven yesterday and all my pages
that use markup inheritance stopped working.  My login page which does not
use markup inheritance works and then after submitting that ito goes to the
home page, nothing works.

Thing is I tried a very simple quickstart with  and
 and markup inheritance works fine.  So this looks like
something subtle that changed recently.  I backed up the wicket part of my
maven repository, and the timestamp of the most recent snapshot for me where
things were working fine is 2007-06-06.

So the only thing I guess I am doing differently from a quickstart is some
bookmarkable urls, custom session factory, custom authorization strategy and
custom i18n StringResourceLoader.  Do give me some pointers where I should
debug etc.

The error I get is:

===

WicketMessage: Markup of type 'html' for component '
info.jtrac.wicket.DashboardPage' not found. Enable debug messages for
org.apache.wicket.util.resource to get a list of all filenames tried:
[Page class = info.jtrac.wicket.DashboardPage, id = 1, version = 0]

Root cause:

org.apache.wicket.WicketRuntimeException: Parameter clazz must be instance
of container
at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:244)
at
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance
(InheritedMarkupMarkupLoader.java:99)
at org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(
InheritedMarkupMarkupLoader.java:65)
at org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(
DefaultMarkupLoader.java:56)
at org.apache.wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:389)
at org.apache.wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(
MarkupCache.java:462)
at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:282)
at org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java
:188)
at org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(
MarkupContainer.java:331)
at org.apache.wicket.markup.html.WebPage.onBeforeRender(WebPage.java:363)
at org.apache.wicket.Component.beforeRender(Component.java:846)
at org.apache.wicket.Page.renderPage(Page.java:885)

==
Thanks,

Peter.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user