Great, it works
thanks
On Mon, 23 Aug 2004 16:34:17 +0400, Timur Izhbulatov <[EMAIL PROTECTED]> wrote:
> Superbiji writes:
>
> > Hi,
> >
> > Is is possible to iterate cforms widgets in JX?
> >
> > flow.js:
> > f=loadform
> > showform
> > var b=f.getmodel
> > sendpage("somepage.jx", b)
> >
> > somepage.jx:
> > for-each $bizdata
>
> I have faced the same problem.
>
> Try to copy contents of you widget to an Array:
>
> f=loadform
> showform
> var b=f.getmodel
>
> //
> var arr = new Array(b.length);
>
> for(i=0; i < arr.length; i++) {
> arr[i] = b[i];
> }
> //
>
> sendpage("somepage.jx", {"biz-data":arr} )
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]