[iPlanet-JATO] Retrieving all Values from a Tiled View
> Does anyone know of is there a single method to get all values of a
display
> field in a tiled view without having to iterate through all the values ie
> resetTileIndex() / nextTile() approach.
> ie Something that returns an Object[] or Vector just like ND returned a
> CspVector. I tried using the getValues() methods but that allways returns
a
> single element array containing the first element.
> (I think now, that method is used for multi selecteable ListBoxes)
Actually, no. We can add this in the next patch, but for now, I'd recommend
creating a simple utility method to do the iteration on an arbitrary model
and build the list for you.
Todd
[782 byte] By [
Guest] at [2007-11-25 9:29:50]

Hi,
I wanted to know how the getValues() method works the reason being,
when the tiled view is NOT bound to a model, it populates all the
fields with the same name as some thing like
PageDetail.rDetail[0].tbFieldValue
PageDetail.rDetail[0].tbFieldValue
in which case, the getValues() method works fine.
But in case where the tiled view is bound to a model, it populates
with different field names such as,
PageDetail.rDetail[0].tbFieldValue
PageDetail.rDetail[1].tbFieldValue
in this case, the getValues() doesn't work. Any soultion to this?
We are using Moko 1.1.1.
thanks in advance,
raju.
In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136 158139046209">iPlanet-JATO@y...</a>, "Todd Fast" <<a href="/group/SunONE-JATO/post?protectID=189233080150012190218067203043129208071 ">toddwork@c...</a>> wrote:
> > Does anyone know of is there a single method to get all values
of a
> display
> > field in a tiled view without having to iterate through all the
values ie
> > resetTileIndex() / nextTile() approach.
> > ie Something that returns an Object[] or Vector just like ND
returned a
> > CspVector. I tried using the getValues() methods but that allways
returns
> a
> > single element array containing the first element.
> > (I think now, that method is used for multi selecteable ListBoxes)
>
> Actually, no. We can add this in the next patch, but for now, I'd
recommend
> creating a simple utility method to do the iteration on an
arbitrary model
> and build the list for you.
>
> Todd
Guest at 2007-7-1 16:36:09 >
