On Wed, Aug 11, 2004 at 04:18:28PM +0200, Stephane Delort wrote:
>
> Thanks a lot for this helpful answer.
>
> Now I have problems with the fb:union
[Just for the sake of anyone googling this thread...]
Since this is the form definition, fd:union.
There is a fb:union, but that goes in the form binding.
> I have :
> <fd:new id="a_class"> <!-- If I well understood what you told I shouldn't
> put this here but in a fd:x -->
>
> <fd:class id="a_class">
> <fd:repeater id=a_repeater>
> <fd:union id="a_union">
> <datatype base="string">
> <fd:widgets>
> <fd: struct id="anyStruct"
> <fd:multivaluefied id="mvf">
> ...
>
> acccording to what you wrote, I tried, in the flowscript :
>
> var p = form.lookupWidget("a_repeater");
> var newRow = p.addRow();
> var f = newRow.lookupwidget("anyStruct.mvf");
Unlike "fd:class" and "fd:new", a "fd:union" really does exist
as a widget, so try this instead:
var f = newRow.lookupwidget("a_union.anyStruct.mvf");
--Tim Larson
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]