Am Donnerstag, 22. September 2005 16:08 schrieb 
[EMAIL PROTECTED]:
> Hi,
>
> How do I find if the widget is a repeater or not in flowscript.
> I have something like foll: -
>
> var wid1 = new Form();
>
> var wid2 = wid.lookupWidget("tag1/tag2");
>
> How do i find if wid2 is a repeater widget?

you may try this:

var className=wid2.getClass().getName();
if(className=="org.apache.cocoon.forms.formmodel.Repeater"){
....
}

hth
beate
-- 
����

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

Reply via email to