Re: child wrappers

Adam Megacz <[email protected]> 09 Apr 2003 03:56:45 -0700
Newsgroups gmane.comp.java.xwt.general
Organization XWT
Message-ID <[email protected]>
Y'know, right after posting, I thought of this too.  Yep, definately
the right way to go.

  - a

David Crawshaw <[email protected]> writes:
> On Tuesday, April 8, 2003, at 09:03  PM, Adam Megacz wrote:
> > Suggestions?
> 
> Another thought. Instead of:
> 
> <redirect target="target" wrapper="org.xwt.foo"/>
> <template>  ...
> 
> What about:
> 
> <redirect target="target" wrapper="true"/>
> <template>
> _0 = function(v) {
>    if ($target.indexof(v) > -1) xwt.thread = function() { 
> v.apply("org.xwt.foo"); }
> }
> </template>
> 
> In the execution path from adding the child, just use a new, empty box. 
> Let the work be initiated from the _0 trap, where all the normal rules 
> apply.
> 
> No fuss or bother or special exceptions that way.
> 
> d
> 
> 
> _______________________________________________
> http://lists.xwt.org/listinfo/dev
> 

-- 

_______________________________________________
http://lists.xwt.org/listinfo/dev