On Mon, 2004-08-02 at 17:21, oceatoon wrote:
> Hi
>
> I found a post "POPUALTING SELECTIONLISTS INA REPEATER FROM FLOW " where a
> similar question was asked but I can't seem to get Joergs technique(getRow
> before getting the value) to function.
>
> my repeater only contains an upload widget (minimum one so Row(0) allways
> exists, with add and delete). Then in my Flow, I need to retreive the value
> of the uploaded file from the widget to move it around.
>
> wid = handleForm("masterform", "forms/", document);
>
> //I'd like to retreive the value
> wid.houseuploads.getRow(0).getValue();
>
> But this doesn't seem to work???? allways returns "null"
>From the wid.houseuploads notation I'd assume you're using the
javascript-wrapped variant of the widget tree, which has a different
API.
> Also, do I have run through the whole repeater or is there a size or length
> method associated to now how many entries have been submitted?
For the java API, this can be retrieved with the method getSize() of the
repeater.
I think you can find the javascript-equivalents of these in the samples.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]