Imagine an application with workspace management, which uses 3rd-party 
ProductFinder and ProductEditor components (for finding products by some 
criteria, and modifying a selected product), the finder outjecting a product, 
and the editor injecting the product. The application has multiple 
conversations in parallel, each of them holding a single instance of the 
ProductFinder and ProductEditor, and most importantly, each pair of the finder 
and the editor shares their own product, so searching products in finders do 
not affect editors that are not bound to them.
Now the question is - how does a finder notify an editor that a selected 
product changed? By event, of course! But calling 
Events.raiseEvent("productChanged") will notify all editors, not just the bound 
one. This is the problem I see, and I would be grateful if you explain the 
intended solution to this use case.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947274#3947274

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947274


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to