Questions tagged [propagation]
240 questions
2
votes
1 answer
Vue 3 - Prevent event propagation on custom event handlers
If i have a custom event handler like @my-event and i emit it with
this.$emit('my-event')
it calls all the events of @my-event from all parent components.
But i want to prevent this.
On normal event handlers like @click, we can simply add .stop…

Triggsy
- 41
- 3
2
votes
3 answers
How to skip bubbling down phase with jquery
Trying to do some administration backend things,
I have a tr line containing action links.
item1
delete
When a user clicks on the tr line, it should select it…

ling
- 21
- 3
2
votes
1 answer
Reactjs state changes do not propagate to dynamically-created children components
I'm learning react and while working on a bigger project I created this mockup to show the issue I'm having.
The parent component maintains a value in state which it passes to children via props. I want this value to propagate to children and update…

Vidare17
- 45
- 1
- 6
2
votes
2 answers
Why is it said: "Checked exceptions are not forwarded in calling chain (propagated)"?
For unchecked (runtime) exceptions it is understandable. They are literally propagated through stack. But why is it said that checked exceptions are not? Yes, we have to declare (throws) or handle them (try-catch), but why is it not called…

Stefan
- 969
- 6
- 9
2
votes
1 answer
Managing propagation of Event: pointer or instance?
I'm coding an event handling system ( following observer pattern... ) and I'd like to know which is the best way to propagate or spread an Event class, something like this:
class Event{
public:
Event(int code);
virtual ~Event();
int…

jalone
- 1,953
- 4
- 27
- 46
2
votes
1 answer
Incorrect error handling when using nested try / catch blocks
I have error handling set up using try/catch blocks, which in its simplified form looks like this
try {
// .. Some application logic
try {
// .. some async api code
} catch (e) {
throw new Error("Api Error")
}
…

Ilja
- 44,142
- 92
- 275
- 498
2
votes
3 answers
How to make sure clickable objects don't propagate to the wrong element?
Languages involved: HTML, CSS, JS
Context: I'm relatively new to web development. I have two elements overlapping each other. One is a slider, one is a div. The slider is on top of the div.
Code snippets:

Steichen
- 69
- 1
- 1
- 3
2
votes
2 answers
Wwise, Resonance Audio and Unity Integration. Configure Wwise Resonance Audio Plugin
I have tried to get a response on Github but with no activity about this issue there I will ask here.
I have been following the documentation and I am stuck when I have imported the WwiseResonanceAudioRoom mixer effect on the bus in Wwise and I do…

Jeff Brilhante
- 23
- 3
2
votes
1 answer
What is the relationship between outer transaction and inner transaction?
I am new to Hibernate and when I am using transactions I met couple of questions. Previously, the situation is
@Transactional
Class A {
methodA1(){
DOs = fetchDOsFromDB();
methodA2(DOs);
}
methodA2(DOs){
ClassB.methodB1(DOs);
…

yilia
- 125
- 1
- 6
2
votes
3 answers
How to convert deep learning gradient descent equation into python
I've been following an online tutorial on deep learning. It has a practical question on gradient descent and cost calculations where I been struggling to get the given answers once it was converted to python code. Hope you can kindly help me get the…

Eranga Atugoda
- 131
- 1
- 6
2
votes
1 answer
How to select PROPAGATION in spring transaction?
I am just reading the spring-mybatis.xml,here are some code of transaction-manager:
I want to know why some methods defines as "REQUIRED" or "SUPPORTS"?How to think about it and decide which to choose?

porkie
- 29
- 7
2
votes
3 answers
NodeJS Error Encapsulation
I am currently trying to handle exceptions and errors in a NodeJS app which will be used for critical information. I need a clean error management !
I've been wondering if there is something similar to Java Exceptions encapsulation.
I'm…

Bidi
- 51
- 7
2
votes
1 answer
jquery event bubble not working
I think I understand event bubble but when I put below code into practice, it doesn't seem to work.
Alert stops at span level when I expect them to continue beyond that.
If someone can point to what I am missing I would appreciate it. BUT I have…

user3502374
- 781
- 1
- 4
- 12
2
votes
2 answers
What is the difference between a method with @Transactional(propagation = Propagation.SUPPORTS) and method without @Transactional?
What is the difference between method with
@Transactional(propagation = Propagation.SUPPORTS)
and a method without @Transactional?
For example:
public class TEst {
@Transactional
public void methodWithTransaction1(){
…

Michael Starodynov
- 338
- 5
- 6
2
votes
1 answer
Nested jQuery onClick event handler fires multiple times
Using a bootstrap modal, i want to register an event-handler both for the modal and the following submit-button inside this modal.
Invoking the modal and closing ist subsequently leads to multiple execution of the #modalSubmitButton event. Could you…

lespaula
- 23
- 2