Re: [Wicket-user] Set Main Component for Inherited Classes?

2006-11-03 Thread Igor Vaynberg
no, make sure you specified the markupProvider parameter of the fragment's constructor-igorOn 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  tags.
-jsOn 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  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


Wicket-user@lists.sourceforge.nethttps://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

Wicket-user@lists.sourceforge.nethttps://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
Wicket-user@lists.sourceforge.nethttps://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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Set Main Component for Inherited Classes?

2006-11-03 Thread Jonathan Sharp
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  tags.
-jsOn 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  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

Wicket-user@lists.sourceforge.nethttps://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
Wicket-user@lists.sourceforge.nethttps://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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Set Main Component for Inherited Classes?

2006-11-02 Thread Igor Vaynberg
WebMarkupContainer body = new WebMarkupContainer(...) {        boolean isTransparentResolver() { return true; }}-igorOn 11/2/06, Jonathan Sharp
 <[EMAIL PROTECTED]> wrote:If I have a BasePage class that has a Component that wraps the page and the  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
Wicket-user@lists.sourceforge.nethttps://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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Set Main Component for Inherited Classes?

2006-11-02 Thread Jonathan Sharp
If I have a BasePage class that has a Component that wraps the page and the  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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user