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.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.

Reply via email to