Teo, Your suggestion worked fine and application is working fine now after referring to the element created by the appendElement method.
Thanks for help. Santhosh. On Jan 12, 11:55 am, Santhosh <[email protected]> wrote: > Teo, I will give your suggestion a try and see if it fixes. Appreciate > your help. > > On Jan 11, 1:40 pm, Teo <[email protected]> wrote: > > > Hmm, i had a look on the source code there.. Seems ok... if it doesn't work > > try using as a reference to the label what the appendElement method returns; > > something like this: > > anotherReferenceToTheTitleLabel = divContent.appendElement('<label > > name="lblTitle" ... > > > A gadget where i did something like this is > > here:http://www.teodorfilimon.com/index_files/chart_gadget_google_desktop.htm > > (you can check out the code if you want to compare) > > > Thanks, > > Teo > > > On Fri, Jan 9, 2009 at 3:11 PM, Santhosh <[email protected]> wrote: > > > > I'm trying to develop a gadget which would interact with our > > > enterprise applications to display some frequently used and read only > > > data set. > > > > Requirement is to accept a search term and display the search > > > results. I could draw the UI elements and interact with them fine but > > > once I remove the elements, readd them, I cannot refer to any of the > > > buildin properties. For ex., I cannot access innerText property of a > > > label etc and app is throwing below error. > > > > ====================================================== > > > --------------------------- > > > Google Desktop > > > --------------------------- > > > An error has occurred in the gadget Resizable Gadget in file <Unknown > > > file>. > > > Position: line 82, char 2. > > > Code: 0x800A01B6, Description: Object doesn't support this property or > > > method. > > > --------------------------- > > > OK > > > --------------------------- > > > ====================================================== > > > > Widget and word doc with some screenshots are available here. Any > > > help is appreciated. > > >www.brsanthu.com/wordpress/blog_content/misc/TestWidget.gg > > >www.brsanthu.com/wordpress/blog_content/misc/WidgetError.doc > > > > Operating System: Windows XP > > > Desktop Version: Google Desktop 5.8.0809.23506-en-pb > > > > Thanks you. > > > -- > > Teo (a.k.a. Teominator a.k.a. Teodor Filimon) > > sitewww.teodorfilimon.com|blogwww.teodorfilimon.blogspot.com > > GMT +2 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Desktop Developer Group" 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/Google-Desktop-Developer?hl=en -~----------~----~----~----~------~----~------~--~---
