propagation

How are EJB3 transactions propgated over multiple session beans?

I've read the EJB3 spec and the latest O'Reilly and Manning books and yet I can't see defined anywhere how transactions are propagated over multiple session beans. For example, if I call a method marked as "NEVER" on bean A and bean A calls a method marked as REQUIRESNEW on bean B, what happens? In practice, using JBoss, we've observed...

Getting jQuery mouseout event to fire from all child elements

I have a table inside of a Div, containing 8 images, I want to fire a mouseout event for either the table or the div, but it doesn't fire. I'm guessing this is because the mouse is actually leaving each of the images, or the td, or the tr etc... is there a way to get the mouseout event for the entire table to propagate up so that it is...

Propagating touches from UIApplication in a custom manner

Is it possible to propagate touches from shared application object to a custom view which has not actually received touches and somewhere at the back of the top view? Assume that I can't use my top view to track touches. ...

stopPropagation not working for KeyListener in YUI 2.7

I have created a new YAHOO.util.KeyListener to attach to a specific element and have also created another new YAHOO.util.KeyListener to attach to the entire document. They are both associated with the "enter" key (keys:13). In the handler function for the listener attached to the specific element, I have the following code: ...

jQuery - how to use stopPropagation()

I've done this before, but I'm having trouble getting this to work... I need the following jquery to have a .stopPropagation function, so the animation won't go crazy if the user hovers over three elements too quickly! $(function () { var tabContainers = $('div.subMenu > div'); tabContainers.hide(); ...

What are the advantages/disadvantages of Local Peer Message Propagation over event aggregator?

http://msdn.microsoft.com/en-us/magazine/cc700336.aspx#id0090029 http://msdn.microsoft.com/en-us/library/system.servicemodel.peermessagepropagation.aspx ...

Queue to Queue Propagation Issue

Hi, I am trying to propagate messages between two queues that are in the same database. I did exactly as it says here: askanantha.googlepages.com/Oracle_AQ-Example-MultiQueue.pdf The message is propagated successfully. The problem is that it doesn't to dequeue the message with the default subscriber of the destination queue. The only ...

Flex : stopPropagation of the event Keyboard.ENTER of a colorpicker.

Hi, I have a WindowedApplication with a listener on keyboardEvent (on the ENTER key), but when the user choose to use the colorpicker and type an hexadecimal code then hit ENTER the event is propaged to my WindowedApplication too. I have to stop the propagation. Any hint or snippet ? thanks P. ...

Matlab - Propagate points orthogonally on to the edge of shape boundaries

Hi I have a set of points which I want to propagate on to the edge of shape boundary defined by a binary image. The shape boundary is defined by a 1px wide white edge. I have the coordinates of these points stored in a 2 row by n column matrix. The shape forms a concave boundary with no holes within itself made of around 2500 points. ...

What is mac propagation delay in wireless networks?

What is the mac propagation delay with wifi, wimax, and bluetooth? If there is no specific delay, than how can I calculate it? ...

YUI2.8: How to target element with handler applied only.

Hi, I'm having some probs with event propagation, I understand the concept, but I don't understand how to squash the default YUI behaviour. I have this markup: [divElement id="container"][imageElement ... /][/divElement] I have added a click event to the container element like so: ye.on(yd.get('container'), 'click', function(el){ // d...

WPF : Propagate a validation error down the visual tree

Hello, I often use and re-use usercontrols in my apps. For example, if a user should enter an integer number, I have a usercontrol named "IntegerEditor", which has a label for the title, a textbox for the user input, and a label for the units (inches, seconds, etc...). My user control already has a validation rule that I called "Integ...

How to show errors on in the view from a fluentvalidation result in a asp.net mvc 2 app?

Hello. I am learning asp.net mvc 2 and fluent validation. My setup is shown after the text here. My problem is i do not know how to set the errors contained in the res object on the view page in a nice way. How should this be done? As it is now no errors are displayed on the view, but the validation is working quite well. I suspect i hav...

Weblogic Subject propagation - Where is subject stored?

Need to understand how subject is stored and propagated in weblogic. Once authenticated, where is subject stored in HTTP layer ? Internally is it stored in HTTPSession ? Same way, where is it stored in EJB layer ? Have an application, where a lot of principals are updated in the subject in HTTP & EJB layer. At some corner cases, getti...

Boost Spirit auto-rule problem

I'm using attribute propagation to construct a syntax tree for a toy language. I've hit a problem at the definition of my if statement, it's hard to tell from the error message but I think the rhs attribute isn't collapsing into the expected attribute. It should collapse to a tuple <double,Statement,optional<Statement>> I think. The err...

jQuery propagation order weirdness

Hi! I've simplified the HTML and Javascript. The HTML structure ul -> li -> a The javascript var $ul = $('#the-list'); $ul.find('a').click(function(e){ e.stopImmediatePropagation(); console.debug('a'); }); $ul.unbind('click').click(function(){ console.debug('ul'); }); The problem The first time a link is clicked, e...

JAXWS servlet endpoint and principal propagation

Hello, I'm trying to develop webservice authentication by checking hash_ID given in wsdl URL. I use servlet webservice (JAXWS, without ejb). I've extended WSServlet class. In doGet method I check if the given hashId is valid and if so, I do the programmatic login. The problem is that after login, principal is not propagated from servlet...