Link doesn't work when there is an inlineframe in source page and a page 
hierarchy involved
-------------------------------------------------------------------------------------------

                 Key: WICKET-965
                 URL: https://issues.apache.org/jira/browse/WICKET-965
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta3
            Reporter: Carlos Pita
             Fix For: 1.3.0-beta4


I track down this problem until I get the minimal example that is attached. You 
can see that following the link from page1 to page2 the exception below is 
thrown:

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

Root cause:

org.apache.wicket.WicketRuntimeException: Parameter clazz must be an instance 
of web.framelink.Page2, but is a web.framelink.BasePage
at org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:270)
at 
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.checkForMarkupInheritance(InheritedMarkupMarkupLoader.java:97)
at 
org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:63)

This doesn't happen if you remove the iframe from the hierarchy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to