許議中 wrote:
> using repeaterList.getRow(i).lookupWidget("item/01/url"); --- it's ok.
>
> But repeaterList.getRow(i).getChild("item/01/url"); --it'not. why?
The getChild() method only gets direct children; lookupWidget() allows
you to use an xpath-like path for easier traversal. So:
widget.lookupWidget("item/01/url")
is the same as:
widget.getChild("item").getChild("01").getChild("url")
> and additional Question, How to binding this kind of form in to javabeans.
>
> one type table(type01/type02...) refer to a independent table.
Can you elaborate on this question? I don't understand what you're asking.
Are you already using the CForms binding framework?
>
>
>
> Jason Johnston 提到:
>> 許議中 wrote:
>>
>>> In Javascript (FlowScript)
>>>
>>> There're several rows in the repeater, I can get the itemno wigdet with
>>> repeaterList.getRow(i).getChild("itemno")
>>>
>>> But I can't get the url widget in the 01 group.
>>
>> What have you tried? If I understand your example it should be
>> something like: repeaterList.getRow(i).lookupWidget("item/01/url");
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]