I am using following module preferences
<ModulePrefs title="Tee-Off"  directory_title="Tee-Off"
thumbnail="http://208.109.88.113/skin1/mkimages/logo_green.jpg";
height="1000">
            <Require feature="dynamic-height"/>
                        <Require feature="views" />
                        <Require feature="opensocial-0.7" />
        </ModulePrefs>
I have included following js file
    <script src="http://sandbox.orkut.com/js/gen/People.js";></script>

and it is failing in this function when I am trying to get current
view using gadgets.views

function requestViewerDetail()
                {

                        mode = gadgets.views.getCurrentView().getName();
                        var req = opensocial.newDataRequest();
                        req.add(req.newFetchPersonRequest(VIEWER), "viewer");
                        req.send(handleViewerRequest);
                }
please let me know if I am doing anything wrong

Thanks
Ashutosh


On Feb 22, 9:17 am, "Arne Roomann-Kurrik" <[EMAIL PROTECTED]>
wrote:
> Hi Ashutosh,
>
>    Can you supply code that shows this error?  As far as I know, this
> problem has been fixed.
>
> ~Arne
>
> On Thu, Feb 21, 2008 at 7:38 PM, <[EMAIL PROTECTED]> wrote:
>
> > Arne I am still facing same issue
> > gadgets.views.getCurrentView() has no properties
> > Invalid config value "[object Object]" for parameter "default" in
> > component "views"
> > I have cleared the cache and registered the application again.
> > Let me know if this is fixed.
>
> > Thanks
> > Ashutosh
>
> > On Feb 21, 11:43 am, "Arne Roomann-Kurrik" <[EMAIL PROTECTED]>
> > wrote:
> > > This should be fixed now.  Please test it and let me know if you
> > continue to
> > > have problems with views.
>
> > > ~Arne
>
> > > On Wed, Feb 20, 2008 at 10:37 PM, Arne Roomann-Kurrik <
> > [EMAIL PROTECTED]>
> > > wrote:
>
> > > > Yes, we're aware of this issue and will be pushing a fix shortly.
>
> > > > Thanks,
> > > > ~Arne
>
> > > > On Wed, Feb 20, 2008 at 10:30 PM, [EMAIL PROTECTED] <
> > > > [EMAIL PROTECTED]> wrote:
>
> > > > > Yes... same problem here...
>
> > > > > Adding <Require feature="views" /> gives the following error..
>
> > > > > Invalid config value "[object Object]" for parameter "default" in
> > > > > component "views"
>
> > > > > even if I do not call any function from gadgets.views
>
> > > > > - Mak
>
> > > > > On Feb 21, 11:12 am, JevS <[EMAIL PROTECTED]> wrote:
> > > > > > Arne,
> > > > > > After adding <Require feature="views" /> I am getting 2 error:
> > > > > > gadgets.views.getCurrentView() has no properties  and
> > > > > > Invalid config value "[object Object]" for parameter "default" in
> > > > > > component "views" .
> > > > > > Cheers
> > > > > > Jevs
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to