This is one of the most efficient ways to archive hierarchical
objects:

http://groups.google.com/group/web2py/browse_thread/thread/70efddab62dfe73/e0bb08c988dca8cd

Massimo

On Feb 22, 10:59 pm, weheh <[email protected]> wrote:
> Yarko, thanks, but I'm not sure I understand your answer. Here's what
> I want to do.
>
> An object contains zero or more other objects.
>
> The root object should have oid=0.
> The child objects should have oid=db.object.id.
>
> I want to set the parent object according to a drop-down menu showing
> the name of the parent object OR have the name be blank if the object
> is a root object.
>
> So how do I define the validator for that kind of behavior?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to