Questions tagged [propagation]

240 questions
2
votes
1 answer

Stop :active state from propagating to parent

I have a parent container, and a button inside that container. When you click the parent, I want the whole thing to be active and apply a background color to indicate that the click has been registered. However, when I click the child, I want ONLY…
kat
  • 5,645
  • 4
  • 19
  • 35
2
votes
1 answer

Calculating total transmission time of a packet

I'm having some difficulty calculating the total time it takes a packet to get from A to B, the question is: "We have 200 bytes of data to send from A to B, with a distance of 200km between them. Calculate the total transmission time, assuming the…
Novastorm
  • 1,439
  • 3
  • 26
  • 40
2
votes
1 answer

Can JavaScript or jQuery detect when event propagation is complete?

Is there any way in JavaScript or jQuery to detect when an event is finished propagating up the DOM? I have a jQuery click handler that gets attached (with target "html") on a click, and the very click that adds it is triggering it once it bubbles…
2
votes
1 answer

Prevent GtkTreeRow from being selected when toggleButton is clicked

I use a Gtk Cell Renderer Toggle inside a treeView. When I click on the toggle button, the row where the toggle button is placed gets selected. I want to prevent this behaviour. I tried it by returning FALSE when the toggled signal is fired, so the…
dhalfageme
  • 1,444
  • 4
  • 21
  • 42
2
votes
0 answers

Matlab: Indoor floor plan, RF propagation

I am new to matlab and my goal seems a little challenging for me. Hopefully I can get some directions from you guys. Basically I have a 2D indoor office floor plan where i want to map my RF propagation model onto the map. I have seen questions in…
Cheng
  • 279
  • 3
  • 13
2
votes
3 answers

Spring Transaction propagation REQUIRED, REQUIRES_NEW

in following code method doService1() update correct sql but doService2() sql has some issue , but when i call doService() it has to commit the doService1() update to DB even though the doService2() has a sql exception because doService2() has a…
user2241925
  • 346
  • 2
  • 6
  • 13
2
votes
3 answers

Python SGP4 1.1 Calculating Incorrect Orbit

I am using the python SGP4 1.1 module to calculate the position and velocity of a MEO satellite. I'm noticing when compared against STK and JSatTrak that the returned values for position and velocity are incorrect. The Satellite should have a…
user2156697
  • 81
  • 1
  • 4
2
votes
4 answers

Why does this input always remain clickable?

Basically i want the outer div to take all events, so the input and anything else in the div is not clickable:
2
votes
1 answer

Touch Events propagation in iOS

I am searching solution for very basic issues in native ios development. I have such setup UIViewController (Full Screen) ----> UIView-Parent (Full Screen) ----> UIView-Child (Full Screen) UIView-Child has subscribed to an event…
Vibhu
  • 21
  • 1
  • 2
2
votes
3 answers

jQuery Propagation and multiple classes

-- UPDATE -- I was a little bit stupid, the child UL's were covering the parent list (opacity fadeout), so I couldn't click the groups after i clicked them once. Oops! Anyhow thanks for helping me out guys! The problem with jQuery propagation is…
1
vote
3 answers

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... …
Fermin
  • 34,961
  • 21
  • 83
  • 129
1
vote
2 answers

jQuery Propagation issue

another silly question, i cant quite figure it out via all the other threads so hopefuly someone here can. a demo is at http://jsfiddle.net/OwenMelbz/PaAt2/ basically ive got it so when click inside document spawn div when click div do…
owenmelbz
  • 6,180
  • 16
  • 63
  • 113
1
vote
0 answers

Parallelise Python FOR loop where each iteration depends on the previous one

I define a class that we will call here State, describing the physical state of my system. The State class has a method at(time) such that State.at(time) models the dynamic behaviour of such system and returns system state at time time. Time domain…
1
vote
0 answers

"@Transactional(readonly=true, propagation=Propagation.REQUIRED)" Is it possible to set it up?

Currently, I am using the postgresql master/slave environment. The development environment is spring boot. I'd like to organize the transaction as follows: TX Begin @Transactional (readOnly=false) insert into t1 values(1); …
1
vote
0 answers

Invoke all EJB in clustered environment

Is it possible to invoke a specific EJB in all servers if my application is in a clustered environment? For instance I want to notify all servers for a specific update. Currently I am using a JMS topic to send the notification. The EJBs are deployed…
user944643
  • 83
  • 2
  • 6