Hi everyone, Dhaval thanks for the reply..... i have changed the structure of the xml as you specified except for ModulePrefs parameters which i dont think is necessary during dvt.... heres the gadget xml:
*http://hosting.gmodules.com/ig/gadgets/file/106919669846845588712/ost1.xml *but the problem still exists...the error comes coz the os library is not getting loaded.... from the documentation of OS, the line <Require feature="opensocial-0.8"/> should import the os library automatically and the error i specified will not be there.... is there anyone who is facing a similar problem? Midhun Girish On Sat, Mar 27, 2010 at 11:57 AM, Dhaval Pancholi <dhavalyo...@gmail.com>wrote: > Hi Midhun, > > > <?xml version="1.0" encoding="UTF-8"?> > <Module> > <ModulePrefs title="OS Blood 1.0" /> > > <Require feature="opensocial-0.8"/> > <Content type="html"><![CDATA[ > > This xml is wrong > > <Content type="html"> > > should be replaced by > > <Content type="html" view="profile"> for profile view and > > <Content type="html" view="canvas"> for canvas view > > and then it is generally a good practise to include Locale in your xml > > eg. <Locale lang="en"/> > > if you are using template feature in profiles you can include > <Require feature="opensocial-templates"> > > For reference i will give u sample code > > <Module> > <ModulePrefs title="APP_NAME" thumbnail="APP_THUMBNAIL_IMG" > screenshot="APP_BIG_IMG" description="APP_DESC" author="APP_AUTHOR" > author_email="APP_AUTHOR_EMAIL" icon="APP_ICON"> > <Locale lang="en"/> > <Require feature="opensocial-0.8"/> > <Require feature="opensocial-data"/> > <Require feature="tabs"/> > <Require feature="opensocial-templates"> > <Param name="process-on-server">true</Param> > </Require> > <Require feature="dynamic-height"/> > <Require feature="views"/> > > </ModulePrefs> > <Content type="html" view="canvas"> > <![CDATA[ > <div id="main"><p>Enter blood group : <input type="text" id="bloodgp" > name="bloodgp"/></p> > <p>Enter age data: <input type="text" id="age" name="age"/></p> > <p> <input type="button" id="confirm" name="confirm" value="Confirm" > onClick="getViwerid()"/></p></div> > ]]> > </Content> > </Module> > > -- > You received this message because you are subscribed to the Google Groups > "Orkut Developer Forum" group. > To post to this group, send email to opensocial-or...@googlegroups.com. > To unsubscribe from this group, send email to > opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/opensocial-orkut?hl=en. > -- You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.