Well, if you really think we need such a thing and you want to go for simplicity, I'd like to see a more optimistic approach: instead of an interface that allows moving and denying by default, have an interface that blocks moving by allow moving by default.
Eelco On 9/7/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > the first makes it a lot more work. if you design a component and dont think > about it moving and another team member writes code that uses that component > and moves it you can have some subtle bugs. > > (2) makes the moving part explicit - ie this component can be moved - that > one cannot. so yeah its an additional interface/api but i think it makes > authoring components simpler. > > -Igor > > > > On 9/7/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > > 1) allow all components to be movable - that means the implementors of > > context sensitive components need to always implement the logic to allow > > their components to readjust when moved > > > > 2) only allow components that want to be moved to be movable - that means > we > > dont provide a public api for moving and do something like this: > > Definitively the first. 2) means yet another API addition for a case > that strikes me rather theoretical; I'd expect component writers that > depend on a certain markup to do the checking themselves whenever they > feel they need it. > > Eelco > > ------------------------------------------------------------------------- > 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