[jifty-devel] Appending to nested regions

Jesse Vincent jesse at bestpractical.com
Fri Nov 23 14:55:00 EST 2007




On Fri, Nov 23, 2007 at 02:25:59PM -0500, Todd Chapman wrote:
> On 11/23/07, Jesse Vincent <jesse at bestpractical.com> wrote:
> >
> >
> >
> > On Thu, Nov 22, 2007 at 01:36:38PM -0500, Todd Chapman wrote:
> > > >
> > > Jesse,
> > >
> > > The Jifty->web->current_region->parent->get_element call seems
> > > problematic though. Doesn't it make some assumptions about region
> > > structure? I want my regions to be able to address each other, but not
> > > by having to know where on the page they are.
> > >
> > > Is there a cleaner way?
> > >
> >
> > I don't have one, but would _love_ one. Any thoughts on what would look
> > good?
> >
> 
> Couldn't we give them monikers?
> 

Region paths are currently hierarchical. I don't actually recall if
they're guaranteed to be unique at different levels. But if they're
guaranteed unique, that could work.


More information about the jifty-devel mailing list