[jifty-devel] Appending to nested regions

Todd Chapman todd at chaka.net
Fri Nov 23 17:06:31 EST 2007


On 11/23/07, Jesse Vincent <jesse at bestpractical.com> wrote:
>
>
>
> 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.
> _

I was thinking more of a social contract. "Give us a name for the
region and promise us you won't use it for something else." We could
have both the generated name and the moniker.

______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>


More information about the jifty-devel mailing list