nested

Nesting objects and where to retrieve data?

Hi all I am trying to re-write an existing system with objects. I have created a few basic objects but am stuck on exactly how to get them to work how I want. These are the basic classes: Public Class Course Public AcadPeriod As String Public AoSCode As String Public AoSPeriod As String Public Title As String Publ...

Nested if statements in SQL Server stored procedure SELECT statement

I'm new here, and relatively new to stored procedures, so please bear with me! I've checked related questions on here and can't find anything that works in this instance. I am trying to build a stored procedure (MS SQL Server 2005) that takes a number of passed in values and in effect dynamically builds up the SQL as you would with inli...

Best practice for implementing Nested GridView up to 4 levels?

How do I implement nested gridview up to 4 levels? + Level 1 + Level 2A + Level 3A + Level 3B Level 4 + Level 2B ...

Nested git repositories?

Can I nest git repositories? I have: /project_root/ /project_root/my_project /project_root/third_party_git_repository_used_by_my_project Does it make sense to git init/add the /project_root to ease management of everything locally or do I have to manage my_project and the 3rd party one separately? ...

How do I get the XMLSerializer to add namespaces to attributes in nested objects?

Hi, This is what I get: <ex:test soap:mustUnderstand="1" xmlns:ex="http://www.example.com/namespace"&gt; <ex:A Type="lorem">ipsum</ex:A> </ex:test> This is what I want: (Note that the Type-attribute is prefixed with ex.) <ex:test soap:mustUnderstand="1" xmlns:ex="http://www.example.com/namespace"&gt; <ex:A ex:Type="lorem">ipsum<...

jQuery Accordion problem with IE7

I have a nested accordion. Works great in Firefox, Safari, Opera, Ie8, and even IE6. But not in IE7. I get a JavaScript error after clicking one of the main 4 links and then clicking another one of the main 4 links. Ideas? http://gator1105.hostgator.com/~carc/projects4.php ...

Can I have index created on temp tables (#temp) which are created dynamically in a stored procedure?

I am creating temp tables (#temp_table) in my stored procedure. It is a huge table with large data. Then I am creating a index in the storeed procedure as it is required for faster query to the temp table. But when I execute the stored procedure, the index is not used. The index is not being created when the stored procedure is executed....

How to: Expandible nested list?

Hi... great community :) I have category list which have nested child category list, which is hidden. My problem is that parent categories have link to page, and I want to add "+" sign next to them so if You click on "+" child list will be expanded, "+" will be replaced with "-" (for closing), and if You click on category name, You wil...

Nested Listview with insert, edit, delete

Nested Listview with insert, edit, delete for asp.net. Found many examples but not with insert, edit and delete ...

Drupal theme_table... A way to theme nested tables?

Title pretty much explains what I want to do... I'm not a fan of using nested tables, so believe me, I'm unhappy and would so, so, so totally prefer something else... but, c'est la vie... Essentially, I'm trying to figure out how to create a nested table utilizing the theme_table function... I can't seem to find any information on ho...

List of dictionaries, in a dictionary - in Python

I have a case where I need to construct following structure programmatically (yes I am aware of .setdefault and defaultdict but I can not get what I want) I basically need a dictionary, with a dictionary of dictionaries created within the loop. At the beginning the structure is completely blank. structure sample (please note, I want to...

Nested blocks in Django templates

The master template in my Django app looks like this: {% block parent %} Some text... {% block child %} Default content here... {% endblock child %} ...some more text {% endblock parent %} Now, this template should be overwritten in a way that the child block is changed: {% extends "master.html" %} {% block c...

how to get rid of spacing between several DataGrids ? (flex3)

I've got a Grid whose GridItems contain another DataGrids. (= the DataGrid are nested in the Grid). Now I changed the Grid's horizontalGap-StyleProperty to zero. But because there are several DataGrids in one GridItem, there is still about 5-10px spacing in between those DataGrids. How to get rid of these spacings ? Thx ...

Access owner members in a nested class

Hello. I have a special label in my form, that should show in a tooltip some text. The label is declared as private class in the form (nested control), and should "see" the ToolTip control of the parent form. Here is the code. Surely, I obtains errors here, because the constructor is called before the private control addition in the ...

nested regular expressions in python

In perl I can do this: $number = qr/ zero | one | two | three | four | five | six | seven | eight | nine /ix; $foo = qr/ quantity: \s* $number /ix; My actual regular expression is many lines and does two-digit and ordinal numbers (e.g., "twenty-two", "forty-fourth" and "twelve are all complete matches), and I use it in several places....

How to convert nested List into multidimensional array?

In Java I want to convert a nested List which contains at the deepest level a uniform type into an multidimensional array of that type. For example, ArrayList<ArrayList<ArrayList<ArrayList<String>>>> into String[][][][]. I've tried several things and I only can obtain an array of objects like Object[][][][]. For 'simple lists' it seems ...

How can I pickle a nested class in python?

I have a nested class: class WidgetType(object): class FloatType(object): pass class TextType(object): pass .. and an oject that refers the nested class type (not an instance of it) like this class ObjectToPickle(object): def __init__(self): self.type = WidgetType.TextType Trying to ser...

How to properly calculate the amount of levels in an array?

I have a function that has to accept an array of points, or an array of array of points (a 2 or 3 dimensional array). I'm looking for an reliable way to detect whether it has 2 or 3 levels. The thing is, I cannot count on the keys of the arrays to do the checking, so this wont work: $levels = isset($array[0][0]) && is_array($array[0][0]...

Nested Singleton Class

Is it possible to nest a singleton class inside a non-singleton class in C#, and if so, are there any restrictions to the life-cycle of the singleton in this case? public class NonSingletonClass { public NonSingletonClass() { // Initialize some stuff. } // Put some methods here. public class SingletonClass { // Sin...

getting a deeply nested css element with jquery

hello. I'm having troubles running an onchange event on a somewhat deeply nested form pulldown. So basically I have a form with an id of maxResultsForm inside a table with an id of listProductsResults inside another table with an id of listProductsSettings... with an id on the select tag of maxResults I've tried the below selector an...