hi ,
           i tried  the bellow code
          but i got error  like this

        "   InConvertable Types
                  Found  : com.gwtExt.Client.Widgets.Component
                  Required:com.google.gwt.user.Client.ui.FlexTable  "




          FieldSet fieldSet=new FieldSet();
                FlexTable table=new FlexTable();
                for (int l = 0; l < fieldSet.getComponents().length; l++)
                {
                   if(fieldSet.getComponents()[l] instanceof FlexTable)
                      table = (FlexTable)fieldSet.getComponents()[l];

                }

thanks,
GwtOngole


On 10/23/08, Vander silveira <[EMAIL PROTECTED]> wrote:
>
> FieldSet f =new FieldSet();
> FlexTable  table=new FlexTable();
> f.add(table);
>
> To get widgtes use getComponents, will return a array of the componentes
> f.getComponents()
>
> make a loop.
>
> for (int l = 0; l < f.getComponents().length; l++)
>                      if(p.getComponents()[l] instanceof FlexTable)
>                  table = (FlexTable) p.getComponents()[l];
>
> try this... bye =)
>
> 2008/10/23 Gwt ongole <[EMAIL PROTECTED]>
>
>>
>> Hi,
>>
>>  i am add ing the fable to fieldset
>> I want to getting the field Set from  the table
>>
>> IS it possible for getting the Widgets from the fieldSet()
>>
>> FieldSet f =new FieldSet();
>> FlexTable  table=new FlexTable();
>> f.add(table);
>>
>>
>> how can i get The Widget From the fielSet?
>>
>> I want table object?
>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to