So the example on that page has different numbers of elements in each column.
That rough tree structure at the top represents a tab in the layout with three columns that has 3 portlets in column 1, 2 in column 2 and 3 in column 3. The number of entries in each row is calculated by the number of places a portlet could be moved to, which are denoted by the asterisks in that tree. So the number of columns in the json table is equal to the number of portlets + the number of columns in the layout. Jennifer Bourey wrote: > The wiki page states that the second for the second JSON data object, > "Each row corresponds to a portlet (including non-orderable > portlets), each column corresponds to a possible drop target > location." I assume it's OK if the columns have different numbers of > child elements. In that case, should the rest of the column just be > filled in with zeros below the last channel element? > > - Jen > > > On Oct 5, 2007, at 12:18 PM, Eric Dalquist wrote: > >> I'll contact the Fluid devs to get the little mockup they had worked >> out. The main idea is that at the end of the rendered markup, where all >> the dojo widgets are declared right now, we would call a javascript api >> like >> >> createReordere([json object of ids], [json object of where things can be >> moved]); >> >> What we need to figure out how to do on the uPortal side is to generate >> those two json objects that are detailed here: >> http://wiki.fluidproject.org/display/fluid/Reorderer+in+uPortal I don't >> have enough layout generation experience to figure out the best place to >> inject that in the rendered layout. The code would have to be accessible >> from multiple locations since the callback servlet will need to return >> the second object after each change made by the reorderer. >> >> -Eric >> >> Jennifer Bourey wrote: >>> Sounds great. >>> >>> Do you have the html, javascript, etc. that would be needed to >>> recreate the demo you guys were doing at the conference? I'd really >>> like to be able to see what you were doing and play with it a bit to >>> get a feel for the reorderer. >>> >>> - Jen >>> >>> >>> On Oct 5, 2007, at 10:44 AM, Eric Dalquist wrote: >>> >>>> Great! With that said do you mind if we move this discussion to the >>>> uportal-dev list? >>>> >>>> -Eric >>>> >>>> Jennifer Bourey wrote: >>>>> Yes!! :) I'd be more than happy to help work out the necessary >>>>> changes, then upgrade the rest of the UI to dojo 0.9. >>>>> >>>>> - Jen >>>>> >>> > > > --------------------------------- > Jennifer Bourey > Technology and Planning > Yale University ITS > 203.432.5718 > > > > > -- > You are currently subscribed to [email protected] as: [EMAIL > PROTECTED] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/uportal-dev
smime.p7s
Description: S/MIME Cryptographic Signature
