Bitte antworten an [EMAIL PROTECTED]

Gesendet von:  <[EMAIL PROTECTED]>


An:   [EMAIL PROTECTED]
Kopie:

Thema:    Re: Antwort: Re: [cforms] struct and class access in flowscript



>> 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");

Actually, I ahd to do : var f= newRow.lookUpwidget("a_union").lookupWidget
("anyStruct").lookupWidget("mvf");
I don't know why, but anyway, it works.

then I faced problems with the ft:union and ft:new but I guess it's enough
for today and keep this for tomorrow

thanks a lot,
Stpehane



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to