I'm write a wap page, like CMS, manager can define the content of pages, because
of using in wap, so the cocoon portal is not suitable.
I can manage the indivisual table seperatly now, by programing, but if there is
a binding schema, will reduce the work when define a new type page.
Best Regards
johnson
bart remmerie 提到:
> Could you please give the use case for this ?
> I think there could be a more simple solution (if the use case is what
> I think it is).
>
> Bart
>
> 2007/3/6, Jason Johnston <[EMAIL PROTECTED]>:
>
>> 許議中 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]
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]