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 item

Re: Inter component events?

2007-09-25 Thread Sam Hough
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Inter-component-events--tf4508127.html#a12875360 Sent from the Wicket - User mailing list archive at Nabble.com

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

Re: Inter component events?

2007-09-25 Thread Sam Hough
] -- View this message in context: http://www.nabble.com/Inter-component-events--tf4508127.html#a12879006 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

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-24 Thread Sam Hough
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 message in context: http://www.nabble.com/Inter-component-events