[Helma-user] looping through HopObject Members

Julian Tree julian.tree at gmail.com
Tue Aug 8 21:45:47 CEST 2006


thanks, my other question would be, as I mention in another email to
the list, is there a Hash or object in memory keeping track of members
of HopObjects and their datatypes? This will be very useful to write a
generic HopObject.save(req.data) functions

I want a way to loop through a Hopobject and save the data accordingly
depending on the data type,

If this doesn't exists, it should a easy to implement in Helma
considering it has an perisstent application layer.

On 8/8/06, Hannes Wallnoefer <hannesw at gmail.com> wrote:
> 2006/8/8, Julian Tree <julian.tree at gmail.com>:
> >
> > doesn't work
> > for(var i in p){
> >  //do something, also doesn't work.
> > }
>
> This is the right way to loop through HopObject members, but it only
> enumerates properties that are actually set.
>
> hannes
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>


More information about the Helma-user mailing list