Questions tagged [parent-child]

A relationship between entities in which one acts in a major role and the other in a minor role. Also an inheritance relationship paradigm.

Filter by
Sorted by
Tagged with
1 vote
1 answer
48 views

State hook change not re-rendering parent component when state updated from child

I have a Parent and a child component. The child component is a pop-up rendered based on parent state value props. the child component is a pop-up that renders perfectly on the initial message from ...
Rizwan Mohammed's user avatar
-2 votes
0 answers
14 views

I am trying to install my theme in wordpress

I am trying to install my theme in wordpress and I keeps saying this: The parent theme is missing. Please install the "DJoz" parent theme. I tried to create the child theme but it is not ...
live life freestyle's user avatar
0 votes
1 answer
29 views

SQLAlchemy add child to an already existing parent: KeyError

I have looked through similar questions on stackoverflow but found no working solution for my particular case. I suspect the problem is on the stage of creating a parent class as I create it without ...
Ani's user avatar
  • 113
1 vote
1 answer
21 views

Karate : check if an element is located below an other

I have this html : <div> <div> <select attribute = "first select"> <option1></option> <option1></option> </select> &...
Andrei Vartic's user avatar
0 votes
1 answer
22 views

PostgreSQL: Select material with all its parent categories

i have two tables Categories --Id --Name --ParentCategoryId (reference to Categories table column Id) Materials --Id --Name --CategoryId (reference to Categories table column Id) i want to select ...
Emil Abbas's user avatar
0 votes
1 answer
36 views

SQLAlchemy throws no exceptions

I am trying to append a child class to a parent class. The problem is even when I make mistakes on purpose, the code throws no exceptions but doesn't work. I have found no errors in IDE as I've tried ...
Ani's user avatar
  • 113
0 votes
3 answers
67 views

please help me understand the parent element

So please bear with me. if there is a div className as app already there, why do i need fragment for employee? wouldn't it be already under the single parent element <div className = "app> ...
Pawan Bhattarai's user avatar
-1 votes
0 answers
26 views

can't get properties from parent class to display

Here is my StaffController class: @GetMapping("/list-staff") public String staffListPage( Model model, @RequestParam Long id ){ try{ ...
Sneakymannn's user avatar
0 votes
0 answers
15 views

Power BI - one slicer (child table) affect options other slicer (different child table)

I have a userform with selection slicers to filter data through several pages with table visuals. I have two seperate groups of slicers, both filtering their own table. These tables are connected ...
Dennis's user avatar
  • 1
1 vote
0 answers
25 views

Create hierarchy slicer in power bi using parent -child id from same column

I have a sample data as follows I need to create a hierarchical slicer using the name field based on the parent id and id id parent Id name 1 null A 2 null B 3 1 a1 4 1 a2 5 3 a1-1 6 3 a1-2 7 ...
Krishna Subhash Chandran Nair's user avatar
0 votes
1 answer
52 views

vue.js @emit is not picked up by parent

In my app I have a form, in the ManageCards component, that conatins a child component ImageUpload, that emits and imagefile and its local URL to the parent: <form class="mb-3" > &...
M.Koops's user avatar
  • 145
1 vote
1 answer
31 views

Is there a way to access the Components contained by a PanedWindow in python tkinter?

I have to access the components contained by a tkinter.PanedWindow so I can modify the value of the amountused of the ttkbootsatrap.Meter with the method update(). Is there a funcition similar to the ...
Ícaro Aquino's user avatar
0 votes
2 answers
40 views

Django Models - function to get all objects in parent's BaseModel class

class BaseModel(models.Model): id = models.AutoField(primary_key=True) imported_id = models.CharField(max_length=200, blank=True, null=True) class Meta: abstract = True def ...
Jacek's user avatar
  • 41
0 votes
2 answers
35 views

Powershell to move N amount of files if target is empty only

I am attempting to slowly move files into a processing directory. I have a source directory with 700,000 files in it. I slowly want to move them over to a target directory 5,000 files at a time. I ...
user1879840's user avatar
2 votes
1 answer
109 views

How to make this T-SQL CTE run faster

I am hoping to improve the performance of my Parent/Child CTE. I am wondering if there is a new, better, faster way. The CTE simply traversess a Parent-Child Tree that now contains about 400k people. ...
Jerry Mattox's user avatar
0 votes
1 answer
62 views

Rotate Around Multiple Axes without Parent Child Relation - OpenGL Shaders

I'm trying to rotate an object around multiple axes using PyOpenGL with shaders. Because there is no glRotatef() like in old OpenGL, I'm using 4x4 rotation matrices. However since matrix ...
eeeeeeeeeeeeeee's user avatar
1 vote
2 answers
59 views

XSLT Pandas - How to Pull the Grandchild value to a Dataframe

I'm trying to flatten an XML structure into a Pandas (Python) Dataframe using a custom XSLT with the read_xml function. Given the following XML Structure: <ml:Meals xmlns:ml="http://www.food....
daniel9x's user avatar
  • 755
0 votes
0 answers
40 views

Having issues (bugs) with the how the App renders in react

The app was created with npx create-react-app. The main bug that I am not understanding is that my app renders with white spaces to the sides of the screen. I originally had the files without a ...
GustavoA17's user avatar
0 votes
1 answer
78 views

Why does a child component with static inputs need a setter to update default values?

I'm re-writing my app to use TailwindCSS, which is driving me to make small components to avoid having to put the same list of CSS classes on every button or link. That has had me run into this which ...
Routhinator's user avatar
  • 3,559
0 votes
0 answers
12 views

Unable to close module dropdown of parent application on clicking anywhere in child application UI screen rendered in Ifaram

I am facing problem to close module dropdown on clicking anywhere in child application UI screen. I am not be able to handle click Outside functionality for dropdown elements defined in Parent ...
lakhan kabra's user avatar
0 votes
1 answer
23 views

why does maven search for parent_project:pom:${revision} when building this child_project?

background directory layout | |`parent_project/pom.xml | |`child_project/pom.xml parent pom <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven....
friend.code's user avatar
1 vote
1 answer
23 views

can't get background color in karate

I have this code : <div class="react-data-field separated-area case-overview-field-root important"> <div class="row"> <div class="col-xs-6"> ...
Andrei Vartic's user avatar
0 votes
4 answers
49 views

How to move from one row to another in an XML file using C# libraries

I have the following structure that I would like to read through in C#. It is used to store a matrix-like set of elements (square in the instance). <Parent> <Child AttrName11="" ...
Douar Gwenn's user avatar
0 votes
0 answers
43 views

Unity Mirror. Dont work Spawn on child objects

Faced a problem when working with Unity Mirror, namely when creating objects attached to the player. I'm trying to do something like taking up arms. And when I press the button, the weapon appears in ...
Марк Снегирев's user avatar
3 votes
1 answer
58 views

Avoiding loops in dictionary generation from child-parent relationships

I am trying to create a dictionary tree from child-parent relathionships but the issue here is that the child can contain one of his predecesors generating loops that I would like to avoid. ...
Luis's user avatar
  • 33
0 votes
1 answer
29 views

Why won't the html sibling elements become the same height?

**This is my first question on this website, and I'm pretty much a newbie when it comes to web development, so sorry in advance if this is an incredible dumb question, but I cannot, for the life of me,...
TRXerxes's user avatar
0 votes
1 answer
35 views

Elasticsearch QueryBuilders that get all parents that has children

I have documents that are both parent and child in an Elastic Search mapping. And because children are updated frequently, this connection was chosen over nested documents. I now want to find every ...
Doyel Mishra's user avatar
0 votes
0 answers
18 views

Error when trying to get the ViewChild from unit test using Jasmine

I am trying to do a unit test for the following component // Emisión de evento de padre a hijo (cargar contactos) @ViewChild(ContactosComponent) contactosComponent!: ContactosComponent; // ...
Aaron Escobar's user avatar
0 votes
1 answer
39 views

Depth-first tree walk in parent-child table with sibling sorter for a total "sequencer"

A system I use stores hierarchical data in a parent-child table (adjacency table): Code ParentCode Sorter Caption A (NULL) 0 ... B A 0 ... C A 1 ... D C 0 ... E D 0 ... F C 1 ... G C 2 ... ...
Atrus2711's user avatar
0 votes
1 answer
31 views

How would I go about showing category parent-child relationship in form field dropdown?

Currently, I'm working on a form for a wordpress site that has a field where a user can select categories. When the field is clicked or typed in, the categories appear in alphabetical order as can be ...
Mance Rah's user avatar
  • 113
1 vote
2 answers
77 views

Karate UI - Find html element via attribute where parent contain class

I have this code : `<div class="form-group"> <div class="col-md-3"> <label class="control-label" for="fieldIsReadonly">Is ...
Andrei Vartic's user avatar
1 vote
2 answers
33 views

Can We create a Xpath with multiple contain() Function and a xpath axes

For a curiosity I tried to create an xpath of orangehrm website leave portal and I have tried to make an xpath with 2 contains and xpath axes //*[contains(@class,'oxd-main-menu-item active') and ...
Akash's user avatar
  • 11
0 votes
0 answers
36 views

Xslt: convert child nodes to parent

I have xml file in which I need to convert child node pair <verse sID="..." osisID="..."/> and <verse eID="..."/> into parent one Input file looks like: <...
adamm's user avatar
  • 1
1 vote
2 answers
39 views

Javascript Selection remove tagnames of element and append content to ParentNode

I have this: <p> An <span class="item1">easyJet pilot</span> has told tourists that flying to <span class="item2">Rhodes</span> is a “terrible ...
maahlouontheroad's user avatar
0 votes
1 answer
27 views

Query to Aggregate Cumulative Quantity of Parent and Child Entity Data

How can I make a query that aggregates data from entities and their children down to the lowest level? I have two tables. The first is tblEntity, a self-join table with entity and parent entity ...
jason's user avatar
  • 1
1 vote
1 answer
39 views

Child triggers the onClick event of its parent

I have a parent, div, on which I've set an onClick event handler, but it is trigerred by its childrens. All I want to do is to filter one child of the parent element when the parent is clicked. I will ...
Alin-Alexandru Peter's user avatar
1 vote
1 answer
52 views

Don't kill process when dotnet project shut down

I'm working on a dotnet app for a Linux system (debian). I want to run commands on Linux from my app. I'm running commands using this method. I really don't want to change it if possible. public ...
Frixer's user avatar
  • 37
0 votes
0 answers
12 views

nagios core not honouring scheduled downtime parent child

We have a nagios core 4.4.10. We do use the parent child relations. So in Windows environment do have hyper-v hosts. The hosts running multiple VMs which are also monitored. We do use (or trying) ...
petersonal's user avatar
0 votes
3 answers
84 views

Reusable component with input property is is not rendering correctly on parent component if used multiple times

I have created a reusable component (star rating) and I am planning to use it at multiple places to rate different things, it is working fine when I use the reusable component only once but it is not ...
GKhedekar's user avatar
0 votes
0 answers
23 views

partition by start and end of a submission workflow

I have some data where a user submits change requests and an approver approves or sends back for more information. The table doesn't have any parent/child relationships set up so it can get a bit ...
alwayssunnyinazkaban's user avatar
0 votes
1 answer
32 views

Trigger child component function with react-navigation beforeRemove

Im using React Navigation for a react native app along with Expo-Video-Player. I want to track how long a video was played upon dismiss of the screen and log that in console. The video is a component ...
jNiuk's user avatar
  • 81
0 votes
0 answers
47 views

Javascript Node.contains() returning true and false when checking if element is child of parent

I am trying to restrict the navigation on my web application to a specific element while cycling through elements using the ''tab'' key. I check if the element I just ''tabbed'' to is a child of this ...
MarcosTacos's user avatar
0 votes
0 answers
84 views

Flatten Parent/ Child Hierarchy in pyspark - dynamic

I'm trying to flatten my Parent/ Child Hierarchy dataset in pyspark. This is my sample dataset - Child Parent VP CEO Manager VP Senior Manager I want my output in the following format in ...
Prateek's user avatar
0 votes
2 answers
80 views

How to re-render parent component on certain event in child component in vue 3 using composition API

I can do it actually using option API, but now I'm using composition API with composables and I'm stuck. Have searched online all day but got no answer. So, I have two components (members.vue and ...
Daddi Al Amoudi's user avatar
0 votes
1 answer
73 views

SQL Converting Parent-Child Query to Hierarchy Format

I am using a recursive query to extract a Bill of Materials from a database (SQL Server v15). The PST table contains too many columns to enumerate, but the columns of importance are utilized by this ...
Sudenga-Steve's user avatar
0 votes
0 answers
48 views

Player is expelled from trigger when becoming child of a GameObject with a trigger

The version used here is Unity 2021.3.25f1. When changing the parent of my player when entering a trigger, my player "jump" and is "expelled" from the trigger. The trigger on the ...
Aikkyo's user avatar
  • 1
1 vote
2 answers
65 views

Sharing values between pages react- context not working

I have a react project where a user is able to input a value within the Searchbar.js file, which is then return the data from an api call on the Shop.js file. What I am trying to do is get the user ...
lucype9297's user avatar
0 votes
0 answers
38 views

Populate arraylist with object from different classes

I have the following classes: parent class CandyBox which has arguments private String flavor and private String origin + method getVolume() which return 0 3 children classes of CandyBox: A, B and C -...
Aled's user avatar
  • 1
1 vote
1 answer
89 views

How to call a method using Input System in Unity, and pass a variable to it, or use a parent method that references a local variable?

I have a parent class (CharacterController) that contains several variables and several methods, and a child class (PlayerController) that has different values for those variables. I am using Input ...
jeremy.bartlett's user avatar
0 votes
0 answers
9 views

Html code to rotate text in rectangle box along with sides in wpcf7pdf

Html code to rotate text in rectangle box along with sides in wpcf7pdf. I am using rotate code works only in parent div only, not working in child div. I need code along with rectangle sides. And some ...
RAJU P SHETTY's user avatar

1
2 3 4 5
106