Questions tagged [grandchild]

Grandchild is a child's child.

46 questions
70
votes
5 answers

How to call super method from grandchild class?

I am working with some code that has 3 levels of class inheritance. From the lowest level derived class, what is the syntax for calling a method 2 levels up the hierarchy, e.g. a super.super call? The "middle" class does not implement the method I…
SeanLabs
  • 1,739
  • 4
  • 18
  • 22
28
votes
1 answer

Regarding background processes using fork() and child processes in my dummy shell

I'm trying to create a simple shell program in C. What I need it to do is provide the user with a prompt in which they can run other local programs. I can do that part fine, using a fork() in which the parent process waits() on the child,and the…
tlw11591
  • 330
  • 1
  • 3
  • 6
12
votes
3 answers

How should I clean up hung grandchild processes when an alarm trips in Perl?

I have a parallelized automation script which needs to call many other scripts, some of which hang because they (incorrectly) wait for standard input or wait around for various other things that aren't going to happen. That's not a big deal because…
brian d foy
  • 129,424
  • 31
  • 207
  • 592
9
votes
2 answers

Why C# doesn't support base.base?

I tested code like this: class A { public A() { } public virtual void Test () { Console.WriteLine("I am A!"); } } class B : A { public B() { } public override void Test() { Console.WriteLine("I am…
Tadeusz
  • 6,453
  • 9
  • 40
  • 58
7
votes
1 answer

Is there a way to align an element to its 'grandparent' without jQuery/javascript?

I need to align an element to the edge of its 'grandparent'. Here's an example of the code:
hal
  • 4,845
  • 7
  • 34
  • 57
5
votes
1 answer

Joining nested associations, multiple level

For those of you that know rails and sql well, I'm looking for some good information you could point me to. My query is very similar to the 'Joining Nested Associations' example in this section - …
thejonster
  • 156
  • 2
  • 10
4
votes
2 answers

Rails 3 Retrieving All Great Grandchild Records As ActiveRecord Collection

So I'm trying to perform queries on a models great granchildren. The relationship is as so... Tournament > Competitions > Matches > Players and the Tournament model: class Tournament < ActiveRecord::Base has_many :competitions, :dependent =>…
Noz
  • 6,216
  • 3
  • 47
  • 82
4
votes
2 answers

Microsoft Access runtime error 2455 when trying to access grandchildren forms from child form

I have three forms in an Access 2003 database (developing in Access 2007) that sit in a parent -> child -> grandchild relationship. In the 'Form_Load' sub of the child form, I set some properties of the grandchild (form header, row source, and…
asgallant
  • 26,060
  • 6
  • 72
  • 87
3
votes
2 answers

Linq to NHibernate - eager load grandchildren but not children

I am using NHibernate 3.2 with FluentNHibernate and Linq to NHibernate. I want use Linq to NHibernate to eager load all of the grandchildren of a collection without having to load the children. For example, say that I have the following…
2
votes
1 answer

Get grandchild elements of document in javascript

How can I get grandchildren div and iframe of a document in javascript ? I have the id of div and name of iframe
user3340627
  • 3,023
  • 6
  • 35
  • 80
1
vote
2 answers

Salesforce and SOQL : Accessing a grandchild object from the Grandparent

I'm attempting to access a grandchild object. I have 3 Objects, Opportunity, Quote, QuoteLineItems, Opportunity is a Parent to Quote and Quote is a Parent to QuoteLineItems. Unfortunately, writing a query for this is…
Bryan Harrington
  • 991
  • 2
  • 17
  • 31
1
vote
1 answer

How to select grand-grand child (Like 5th OR 6th grand child) element using xpath which has class name only

I am trying to select a 5th or 6th grand child which do not have any other attributes other than class name. Please check below example DOM. Can I find last Fifth a…
Jigar Patel
  • 21
  • 1
  • 4
1
vote
1 answer

wordpress: Displaying a link to latest grandchild on frontpage

I have a page ("testimonials"). It has 3 subpages ("children") : "press", "people", "enterprises". Each of the subpages have their own subpages (grandchildren of "Testimonials"), which are the actual testimonials files. I would like to display on my…
pixeline
  • 17,669
  • 12
  • 84
  • 109
1
vote
1 answer

ActionScript reference to grandchild (child of child) element

Let's say I have some basic MXML setup as follows: How can I refer to an attribute of the Image element by referring to it as a grandchild (child of a child) of the parent…
Tyler Burleigh
  • 537
  • 4
  • 12
1
vote
1 answer

Show the child and grandchild page content in Wordpress

I have a page structure like this in Wordpress: Main Page Main page child Main page grandchild Main page grandchild Main page grandchild Main page grandchild Main page child Main page grandchild Main page grandchild Main page grandchild…
aboother
  • 41
  • 1
1
2 3 4