Re: Inter component events?

2007-09-26 Thread ChuckDeal
others would >> implement a case like this. >> >> Kind regards, >> Wouter >> >> -- >> Wouter Huijnink >> Func. Internet Integration >> W http://www.func.nl >> T +31 20 423 >> F +31 20 4223500 >> >> >> --

Re: Inter component events?

2007-09-25 Thread Eelco Hillenius
On 9/25/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > I see that it is not such an obvious win here as with fat client but how > about another of my use cases: > * Large page with small parts being updated by Ajax > * Two components sitting long way apart in the tree (context sensitive > button that

Re: Inter component events?

2007-09-25 Thread Sam Hough
a case like this. > > Kind regards, > Wouter > > -- > Wouter Huijnink > Func. Internet Integration > W http://www.func.nl > T +31 20 423 > F +31 20 4223500 > > >

Re: Inter component events?

2007-09-25 Thread Wouter Huijnink
I see that it is not such an obvious win here as with fat client but how about another of my use cases: * Large page with small parts being updated by Ajax * Two components sitting long way apart in the tree (context sensitive button that responds to items in rest of the page) So having an almo

Re: Inter component events?

2007-09-25 Thread Sam Hough
call setEnabled on the basket via some observer, but rather you would > do something like override isEnabled and query the relevant state. > > Eelco > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > &

Re: Inter component events?

2007-09-25 Thread Eelco Hillenius
> Has anybody used something like javax.swing.ListModel.addListDataListener or > java.util.Observable to setup a nice way for components to respond to > changes in other components? > > My use case is that I have a "basket" of items a user has selected. While > they are searching/browsing if an ite

Re: Inter component events?

2007-09-24 Thread Sam Hough
a user has selected. While > they are searching/browsing if an item already in the basket appears again > I want it to be disabled/greyed out. With hand coding that is a bit ugly > and seems like a candidate for some sort listening to changes in another > component. > -- View this messa

Inter component events?

2007-09-24 Thread Sam Hough
em already in the basket appears again I want it to be disabled/greyed out. With hand coding that is a bit ugly and seems like a candidate for some sort listening to changes in another component. -- View this message in context: http://www.nabble.com/Inter-component-events--tf4508127.html#a128