I agree, it removes cludges we have build in. Transparent borders as
far as I can tell are only used for bordered pages (A base page
constructor adds a border child with setTransparent(true) to the page
and MyPage adds whatever component is required to the page as well
instead of to the border).
Because I ask to remove get/setTransparent() alltogther you'll get an
compile time error and it will be obvious that you need to change
something.

Juergen

On 9/12/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> i think its actually quiete the opposite, we are eliminating a lot of
> cludges we had built over the "years". with the constructor refactor we are
> trading flexibility for simplicity/straight-forwardness - at least in this
> case. transparent borders were horrible mutant offsprings imho :)
>
>
> -Igor
>
>
> On 9/11/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > Gee, it sucks that we're getting more corner cases then.
> >
> > Eelco
> >
> >
> > On 9/11/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > depends.
> > >
> > > first we might lose transparent borders altogether depending on what
> juergen
> > > is talking about, in that case anything can be a parent.
> > >
> > > then even if it is a border on the page who is to say that was the
> intended
> > > usecase. i use borders in my pages just because they are borders - not
> for
> > > this usecase.
> > >
> > > another problem in 2.0 is that the order matters because we do the check
> in
> > > construction time not at render time so
> > >
> > > new Label(this, "foo");
> > > new Border(this,
> > > "pageborder").setTransparentResolver(true);
> > >
> > > will work in 1.2.x but not in 2.0 and when the error happens the border
> > > hasnt even been added to the page yet. true that most of these borders
> > > wouldve been added in some base page, but the possibility is still
> there.
> > >
> > >
> > > -Igor
> > >
> > >
> > > On 9/11/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:
> > > > The only thing you have to catch are borders that are direct children
> > > > of pages, right? How difficult is that?
> > > >
> > > > Eelco
> > > >
> > > > On 9/11/06, Igor Vaynberg < [EMAIL PROTECTED] > wrote:
> > > > > well, the problem is that there is no way for you to identify this
> > > specific
> > > > > case. the only thing you can do is to check if the page contains any
> > > borders
> > > > > - which it might or might not yet depending on the addition order.
> and
> > > even
> > > > > then if it does who is to say the user was using the bordered page
> > > approach.
> > > > > i think it will just add a lot of confusion, better to simply make
> it
> > > clear
> > > > > the usecase is no longer supported in the changes
> > > > >
> > > > >
> > > > > -Igor
> > > > >
> > > > >
> > > > > On 9/11/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > > > > > Yes very technicaly you are right. However, I'd like to help users
> > > > > > that have been using bordered pages with pre 2.0 by explaining
> that
> > > > > > they can't do that anymore by catching that specific case.
> > > > > >
> > > > > > Eelco
> > > > > >
> > > > > >
> > > > > > On 9/11/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > > > it doesnt need to be more specific - it is what it is exactly.
> > > > > > >
> > > > > > > if you add a component to the page that is not referenced in the
> > > page's
> > > > > > > markup you get the error right there.
> > > > > > > if you add something to the border that is not referenced in
> either
> > > > > border's
> > > > > > > or border's parent's markup that is inside the border you get
> thet
> > > error
> > > > > > > right there also.
> > > > > > >
> > > > > > > it doesnt get more specific then that.
> > > > > > >
> > > > > > > -Igor
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 9/11/06, Eelco Hillenius < [EMAIL PROTECTED] > wrote:
> > > > > > > > I'd hope for something more specific if possible.
> > > > > > > >
> > > > > > > > On 9/11/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > > > > >
> > > > > > > > > > Also, if we would decide to ditch this feature, there
> > > obviously
> > > > > has to
> > > > > > > > > > be proper error reporting.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > i would imagine this would be the standard " cannot find
> markup
> > > for
> > > > > > > > > component ...... " error
> > > > > > > > >
> > > > > > > > > -Igor
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> -------------------------------------------------------------------------
> > > > > > > > > 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-develop mailing list
> > > > > > > > > Wicket-develop@lists.sourceforge.net
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> -------------------------------------------------------------------------
> > > > > > > > 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-develop mailing list
> > > > > > > > Wicket-develop@lists.sourceforge.net
> > > > > > > >
> > > > > > >
> > > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > >
> > >
> -------------------------------------------------------------------------
> > > > > > > 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-develop mailing list
> > > > > > > Wicket-develop@lists.sourceforge.net
> > > > > > >
> > > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > >
> -------------------------------------------------------------------------
> > > > > > 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-develop mailing list
> > > > > > Wicket-develop@lists.sourceforge.net
> > > > > >
> > > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > > >
> > > > >
> > > > >
> > > > >
> > >
> -------------------------------------------------------------------------
> > > > > 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-develop mailing list
> > > > > Wicket-develop@lists.sourceforge.net
> > > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> -------------------------------------------------------------------------
> > > > 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-develop mailing list
> > > > Wicket-develop@lists.sourceforge.net
> > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > 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-develop mailing list
> > > Wicket-develop@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > >
> > >
> > >
> >
> >
> -------------------------------------------------------------------------
> > 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-develop mailing list
> > Wicket-develop@lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >
>
>
> -------------------------------------------------------------------------
> 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-develop mailing list
> Wicket-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>
>
>

-------------------------------------------------------------------------
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-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to