Re: PageLink and markup inheritance problem

2007-09-12 Thread Carlos Pita
Sorry for the delay Igor, not exactly what you asked for but I have
filed a new bug with an attached example that is probably closely
related to this issue.

https://issues.apache.org/jira/browse/WICKET-965

Regards,
Carlos

On 9/7/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 can you build a quickstart that reproduces it?

 -igor


 On 9/7/07, Carlos Pita [EMAIL PROTECTED] wrote:
 
  I'm getting the exception below when following a PageLink, but not
  with a BookmarkablePageLink. This wasn't happening with previous 1.3
  snapshots (I updated my wicket copy this morning). The PageLink is
  created by the (id,class) constructor this way:
 
  new PageLink(id, ChangePasswordPage.class)
 
  ChangePasswordPage is a MyAccountLayout, markup inheritance takes
  place here. The markup is fine as I can open the page by the name it's
  mounted or using the bookmarkable link, as I said before.
 
  Any ideas?
 
  Thank you in advance
  Carlos
 
  ---
 
  Unexpected RuntimeException
 
  WicketMessage: Markup of type 'html' for component
  'com.livra.web.user.myaccount.ChangePasswordPage' not found. Enable
  debug messages for org.apache.wicket.util.resource to get a list of
  all filenames tried:
  [Page class = com.livra.web.user.myaccount.ChangePasswordPage, id = 8,
  version = 0]
 
  Root cause:
 
  org.apache.wicket.WicketRuntimeException: Parameter clazz must be an
  instance of com.livra.web.user.myaccount.ChangePasswordPage, but is a
  com.livra.web.user.myaccount.MyAccountLayout
  at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
  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:415)
  at o
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: PageLink and markup inheritance problem

2007-09-12 Thread Gerolf Seitz
i tried the example you attached to the issue, but there is no exception
thrown.
i tried it with beta3 and latest trunk. both work as expected.

  gerolf

On 9/13/07, Carlos Pita [EMAIL PROTECTED] wrote:

 Sorry for the delay Igor, not exactly what you asked for but I have
 filed a new bug with an attached example that is probably closely
 related to this issue.

 https://issues.apache.org/jira/browse/WICKET-965

 Regards,
 Carlos

 On 9/7/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  can you build a quickstart that reproduces it?
 
  -igor
 
 
  On 9/7/07, Carlos Pita [EMAIL PROTECTED] wrote:
  
   I'm getting the exception below when following a PageLink, but not
   with a BookmarkablePageLink. This wasn't happening with previous 1.3
   snapshots (I updated my wicket copy this morning). The PageLink is
   created by the (id,class) constructor this way:
  
   new PageLink(id, ChangePasswordPage.class)
  
   ChangePasswordPage is a MyAccountLayout, markup inheritance takes
   place here. The markup is fine as I can open the page by the name it's
   mounted or using the bookmarkable link, as I said before.
  
   Any ideas?
  
   Thank you in advance
   Carlos
  
   ---
  
   Unexpected RuntimeException
  
   WicketMessage: Markup of type 'html' for component
   'com.livra.web.user.myaccount.ChangePasswordPage' not found. Enable
   debug messages for org.apache.wicket.util.resource to get a list of
   all filenames tried:
   [Page class = com.livra.web.user.myaccount.ChangePasswordPage, id = 8,
   version = 0]
  
   Root cause:
  
   org.apache.wicket.WicketRuntimeException: Parameter clazz must be an
   instance of com.livra.web.user.myaccount.ChangePasswordPage, but is a
   com.livra.web.user.myaccount.MyAccountLayout
   at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java
 :270)
   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
 :415)
   at o
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: PageLink and markup inheritance problem

2007-09-12 Thread Carlos Pita
Mh... my checkout is less than a week old, but I will update it
tomorrow and try the example again. Maybe it was fixed these days.

Regards,
Carlos

On 9/12/07, Gerolf Seitz [EMAIL PROTECTED] wrote:
 i tried the example you attached to the issue, but there is no exception
 thrown.
 i tried it with beta3 and latest trunk. both work as expected.

   gerolf

 On 9/13/07, Carlos Pita [EMAIL PROTECTED] wrote:
 
  Sorry for the delay Igor, not exactly what you asked for but I have
  filed a new bug with an attached example that is probably closely
  related to this issue.
 
  https://issues.apache.org/jira/browse/WICKET-965
 
  Regards,
  Carlos
 
  On 9/7/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
   can you build a quickstart that reproduces it?
  
   -igor
  
  
   On 9/7/07, Carlos Pita [EMAIL PROTECTED] wrote:
   
I'm getting the exception below when following a PageLink, but not
with a BookmarkablePageLink. This wasn't happening with previous 1.3
snapshots (I updated my wicket copy this morning). The PageLink is
created by the (id,class) constructor this way:
   
new PageLink(id, ChangePasswordPage.class)
   
ChangePasswordPage is a MyAccountLayout, markup inheritance takes
place here. The markup is fine as I can open the page by the name it's
mounted or using the bookmarkable link, as I said before.
   
Any ideas?
   
Thank you in advance
Carlos
   
---
   
Unexpected RuntimeException
   
WicketMessage: Markup of type 'html' for component
'com.livra.web.user.myaccount.ChangePasswordPage' not found. Enable
debug messages for org.apache.wicket.util.resource to get a list of
all filenames tried:
[Page class = com.livra.web.user.myaccount.ChangePasswordPage, id = 8,
version = 0]
   
Root cause:
   
org.apache.wicket.WicketRuntimeException: Parameter clazz must be an
instance of com.livra.web.user.myaccount.ChangePasswordPage, but is a
com.livra.web.user.myaccount.MyAccountLayout
at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java
  :270)
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
  :415)
at o
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



PageLink and markup inheritance problem

2007-09-07 Thread Carlos Pita
I'm getting the exception below when following a PageLink, but not
with a BookmarkablePageLink. This wasn't happening with previous 1.3
snapshots (I updated my wicket copy this morning). The PageLink is
created by the (id,class) constructor this way:

new PageLink(id, ChangePasswordPage.class)

ChangePasswordPage is a MyAccountLayout, markup inheritance takes
place here. The markup is fine as I can open the page by the name it's
mounted or using the bookmarkable link, as I said before.

Any ideas?

Thank you in advance
Carlos

---

Unexpected RuntimeException

WicketMessage: Markup of type 'html' for component
'com.livra.web.user.myaccount.ChangePasswordPage' not found. Enable
debug messages for org.apache.wicket.util.resource to get a list of
all filenames tried:
[Page class = com.livra.web.user.myaccount.ChangePasswordPage, id = 8,
version = 0]

Root cause:

org.apache.wicket.WicketRuntimeException: Parameter clazz must be an
instance of com.livra.web.user.myaccount.ChangePasswordPage, but is a
com.livra.web.user.myaccount.MyAccountLayout
at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
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:415)
at o

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: PageLink and markup inheritance problem

2007-09-07 Thread Igor Vaynberg
can you build a quickstart that reproduces it?

-igor


On 9/7/07, Carlos Pita [EMAIL PROTECTED] wrote:

 I'm getting the exception below when following a PageLink, but not
 with a BookmarkablePageLink. This wasn't happening with previous 1.3
 snapshots (I updated my wicket copy this morning). The PageLink is
 created by the (id,class) constructor this way:

 new PageLink(id, ChangePasswordPage.class)

 ChangePasswordPage is a MyAccountLayout, markup inheritance takes
 place here. The markup is fine as I can open the page by the name it's
 mounted or using the bookmarkable link, as I said before.

 Any ideas?

 Thank you in advance
 Carlos

 ---

 Unexpected RuntimeException

 WicketMessage: Markup of type 'html' for component
 'com.livra.web.user.myaccount.ChangePasswordPage' not found. Enable
 debug messages for org.apache.wicket.util.resource to get a list of
 all filenames tried:
 [Page class = com.livra.web.user.myaccount.ChangePasswordPage, id = 8,
 version = 0]

 Root cause:

 org.apache.wicket.WicketRuntimeException: Parameter clazz must be an
 instance of com.livra.web.user.myaccount.ChangePasswordPage, but is a
 com.livra.web.user.myaccount.MyAccountLayout
 at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
 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:415)
 at o

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]