I'm not quite sure what you mean here. I'm assuming a sub-view is a
row that has a view as a column. When you say "contains storage
objects" is where you lose me.
A view cannot contain a storage objects, a storage object contains
views. A view can contain other views though. For example
st = metakit.storage("file.mk", 1)
vw = st.getas("user[name:S,history[commands:S]]")
so now each user has a name and a "list" of strings that were the past
commands. The subview can have many different columns of course.
vw.append(("Brian",))
vw[0].commands.append(("ls -ls",))
vw[1].commands.append(("rm -r *",))
Hopefully this helps.
On 5/6/05, Eric S. Johansson <[EMAIL PROTECTED]> wrote:
> I can see that it's a feature (sub views) but I can't quite see how to
> make it work. I would like to have a simple view which contains storage
> object as one of the entries. I am using python so I eventually need to
> translate answers to that context.
>
> I'm trying to do his track for each user information specific to that
> user as well as a history of activity associated with that user.
> (nothing too sinister ;-))
>
> ---eric
>
> --
> http://www.wired.com/wired/archive/13.03/view.html?pg=5
>
> The result of the duopoly that currently defines "competition" is that
> prices and service suck. We're the world's leader in Internet
> technology - except that we're not.
> _____________________________________________
> Metakit mailing list - [email protected]
> http://www.equi4.com/mailman/listinfo/metakit
>
_____________________________________________
Metakit mailing list - [email protected]
http://www.equi4.com/mailman/listinfo/metakit