no, make sure you specified the markupProvider parameter of the fragment's constructor

-igor


On 11/3/06, Jonathan Sharp < [EMAIL PROTECTED]> wrote:
Should this affect a fragment that I have inside of my ExamplePage? I'm getting a "Markup does not contain fragment id=foo". I have the fragment inside of my ExamplePage.html file between the <wicket:extends> tags.

-js



On 11/2/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
WebMarkupContainer body = new WebMarkupContainer(...) {  
    boolean isTransparentResolver() { return true; }
}


-igor

On 11/2/06, Jonathan Sharp <[EMAIL PROTECTED]> wrote:
If I have a BasePage class that has a Component that wraps the page and the <wicket:child/> tag, is there a method I can implement that will bind any inherited pages to this object instead of the page object? Below demonstrates my problem in the extended pages.

BasePage {
    ...
    WebMarkupContainer body = new ...
    add(body);
    ...

    private void myAdd(Component c) {
        body.add(c);
    }
}


ExamplePage extends BasePage {
    ...
    add(myComponent);
    --> This really needs to be body.add(myComponent);
    ...
}

Is there a way where I can make the add() method for the ExamplePage attach components to the body container instead of the page container? Can I do this without implementing a custom method on the BasePage such as myAdd?
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to