we could have something like

component.moveToParent(parent)  ( i don't like just component.setParent() )

you do know that this could open up much more things..
You could make panels upfront by just giving them an empty panel  parent (with the wizard or something)
and then move them to the right place later on.

johan



On 8/22/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
so whats the deal with this, i would like to upgrade the repeaters package. johan, you have the usecases in your app - how are they working now? do you have an idea of how the api would look?

-Igor


On 8/8/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
i just dont think its a very common usecase to do that...thats all


-Igor


On 8/8/06, Johan Compagner < [EMAIL PROTECTED]> wrote:
thats why i wanted at first that panels where roots (instead of only pages)
because with servoy we switch a lot of panels (to really different places in the markup of the page) But a panel has its own
so the markup really never changes for the components .. The paths do.

The question is how many things we think now are in a fixed/not mutable state? But if we allow a parent switch then
suddenly all that state needs to be reevaluated.

allow between pages?


johan


On 8/8/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
i dont know. youd have to kinda switch the parent and the id together. set attributes i think we do need to keep, not sure. at least in this case the tag it is being reattached to is the same.

i did say parent refactor is not without cons :)

-Igor



On 8/8/06, Johan Compagner < [EMAIL PROTECTED]> wrote:
we could allow it somehow, but what to do with the attributes? Reload and throw the current once away? Keep what the developer did set?
The markup should be relookuped (and the markup index reset)
I dont know what problems could all arise when we do it.

But wouldnt repareting be a bit strange for the current setup? Parent Container and Id are more or less now required and final for a component.

johan


On 8/8/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


On 8/8/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
ive actually been putting that off on purpose until we flush out more of the 2.0. the problem here is that you need to be able to switch parents of items which 2.0 doesnt allow right now

for example

row1: item1 item2 item3
row2: item4 item5

now when we delete item2 with itemreuse strategy on that means item 4 will now belong to row1 - so we need to switch its parent somehow.

any thoughts? feel free to forward to dev.

-Igor



On 8/8/06, Juergen Donnerstag < [EMAIL PROTECTED]> wrote:
2.0: Could you please have a look at "GridView Example - demonstrates
a grid view" and why it fails.

thanks
Juergen



-------------------------------------------------------------------------
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