Re: child wrappers

Charles Goodwin <[email protected]> Wed, 9 Apr 2003 12:14:45 +0100
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F6D7@NTFPS1>
If you want all properties other than 1 or 2 to be ignored by the wrapper.
How will this be handled, a 'listen' list?  (I only ask because it was
omitted from the example.)

-----Original Message-----
From: Adam Megacz [mailto:[email protected]]
Sent: 09 April 2003 11:57
To: [email protected]
Subject: Re: [xwt-dev] child wrappers



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
_______________________________________________
http://lists.xwt.org/listinfo/dev