nested

jquery sortable > nested uls

Hi, I'm trying to nest several lists inside the main list. Goal is to organize the menu and submenus. The html: <ul id="pages_0" class="sortable-list"> <li id="page_14">home <ul id="pages_14" class="sortable-list"> <li id="page_21">nieuwsarchief</li> <li id="page_19">waarom bouwelement</li> <li id="page_20">vac...

How can I nest these two SQL queries in MS Access 2007?

I have a table called baskets with these columns: basket (name of the basket) colour (colour of the basket) apples (the number of apples in the basket) bananas (the number of bananas in the basket) oranges (the number of oranges in the basket) pears (the number of pears in the basket) peaches (the number of peaches in the basket) Wit...

Nested PopupControlExtenders

I have a PopupControlExtender-'A' iside another PopupControlExtender-'B'. When 'A' shows up, it hides 'B' and subsequently hides itself. Has anyone run into this problem? Thanks --Virgil ...

convert nested lists to string

how can i convert the following list to a string? list1= [[1, '1', 1], [2,'2',2], [3,'3',3]] Result: '1 1 1' '2 2 2' '3 3 3' Thanks ...

(Ruby,Rails) CRUD nested models more than 4 levels deep on a single page...?

Hi All, As much amazing info as is out there, it often seems to fall just short of my demented requirements. That said, I'm looking for a mechanism by which to handle multiple nested models on a single page. Now, I've seen all the videos and posts (not really, but humor me) on nesting two models (Railscasts, etc.). However, I need to...

WPF: How to bind to a nested property?

I can bind to a property, but not a property within another property. Why not? e.g. <Window DataContext="{Binding RelativeSource={RelativeSource Self}}"...> ... <!--Doesn't work--> <TextBox Text="{Binding Path=ParentProperty.ChildProperty,Mode=TwoWay}" Width="30"/> (Note: I'm not trying to do master-details or an...

MySQL: How to find all IDs of children recursively?

I would like to get all IDs from children in a tree with MySQL only. I have a table like this: ID parent_id name 1 0 cat1 2 1 subcat1 3 2 sub-subcat1 4 2 sub-subcat2 5 0 cat2 Now I'm trying to get all child IDs for cat1 (2,3,4) recursively. Is there any way how to achieve that? Thanks for...

(Ruby, Rails, Javascript) Managing nested models using javascript windows, etc...?

Hi All, I'm currently developing a Rails app with 4 nested models (as per THIS POST). I've considered using javascript to manage them all on one page. It appears doable (as do many things in Rails), however, it doesn't come highly recommended. That said, I'm looking to manage via proxy pages. Currently the model structure is as foll...

Nested UIScrollViews in [REDACTED] - Controlling Which View Gets the Touch

I have a paged horizontal scroll view which houses uiwebviews. Scrolling side to side triggers the container uiscrollview scroll. Scrolling perfectly up and down triggers the uiwebviews scroll. Anything less than a perfect up-down swipe cause the horizontal scroll to trigger. This is all out-of-the-box [REDACTED] code. What I desire...

Nested UISCrollViews - Preventing Parent Scrollview from scrolling when zoomed on child

I have a UIScrollView with nested UIImageViews. Each imageview can zoom, but when I try to scroll the inner scrollview while zoomed on the image, the outer scrollview picks it up and switches imageviews. How can I prevent this from happening so that the outer scrollview only scrolls when the inner is not zoomed? ...

Drag&Drop-adorner in deeply nested visual trees

We have a WPF application that has custom windows on a canvas which in turn contain custom controls (the main canvas containing the custom windows is again custom control displaying stuff). So basically the visual tree looks like this (without implicit Borders and other things): - Windows - Canvas - WindowMgr - CustomWindow ...

Ruby accessing outer variables in nested function

Hi, I'm sure there's a simple answer for this; I just can't seem to find it. I made a nested function in Ruby, and I was having trouble accessing variables from the outer function inside the inner function: def foo(x) def bar puts x end bar 42 end foo(5) I get: NameError: undefined local variable or method x' for main:Obj...

Nesting WPF 3.5 sp1 toolkit datagrid

Hi, Has anybody been successful or can find an example of using nested grids in the WPF 3.5 SP1 toolkit Datagrid? Does anybody know if this is even supported? Thanks. ...

nested update panel with update progress

I have nested update panel and I set the updatemode to 'conditional' for both parent child update panel. While the child panel is refreshed, the parent panel is not refreshed but the update progress associated with the parent is getting displayed as well as the child update progress also. I just want to show only the update progress of c...

nested jobs in Quartz

I have nested task to schedule: (1). A daily master task downloading scheduling information, which is a List of job names with timestamps (2). schedule the job in the scheduling information I just downloaded according to its timestamp I am not sure how the nested jobs work in Quartz. It seems that I need a CronTrigger triggering a job,...

rails accepts_nested_attributes_for :reject_if not working

I gave on trying to override the autosave parameter since I think it can't be done. I moved the has_shipping_address from the Order to the ShippingAddress model and now I have: #the models.. class Order < ActiveRecord::Base belongs_to :billing_address belongs_to :shipping_address accepts_nested_attributes_for :billing_address ...

Silverlight: retrieving controls nested within a Listbox

hi, i made a listbox that generates dynamic controls such as dropdowns & datepicker. i wanted to retrieve the data within the rows. Normally, in windows forms we commonly index the ...Items[i].FindControl("ControlID") method. How do you do about in XAML? I need to retrieve the changes upon clicking a button. btw, here's a simple view o...

Jquery accordion nested problem

Dear all, I am having trouble setting up two independent accordions. They should open / close independently and accordion2 should be nested in accordion1 (code see below) What happends right now is that they are overlapping each other when opened and IE is even overwriting 'text below accordion 1'. This should not happen. Any ideas what ...

LINQ and group by data nested within a structure

I have a structure that roughly looks like this: List<ProductLine> -> ID Name ... List<LineOfBusiness> -> ID Name ... List<Watchlist> -> ID ...

Matching Nested Structures With Regular Expressions in Python

I seem to remember that Regular Expressions in DotNet have a special mechanism that allows for the correct matching of nested structures, like the grouping in "( (a ( ( c ) b ) ) ( d ) e )". What is the python equivalent of this feature? Can this be achieved using regular expressions with some workaround? (Though it seems to be the sor...