Oops - just saw the thread above, added "<Require feature='views'/>" and
it's working now.

Jesse

On Fri, Feb 22, 2008 at 3:57 PM, Jesse Stay <[EMAIL PROTECTED]> wrote:

> As of today, I'm getting this error as well.
>
> Jesse
>
>
> On Thu, Feb 21, 2008 at 9:52 PM, <[EMAIL PROTECTED]> wrote:
>
> >
> > 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
> > > >
> >
>
>
> --
> Jesse Stay
> The Social Media Guru
>
> Partner, Co-founder: SocialOptimize.com
> Author: O'Reilly's FBML Essentials
> http://www.amazon.com/FBML-Essentials-Jesse-Stay/dp/0596519184/
> Co-Author: I'm on Facebook -- Now What???
> http://FacebookAdvice.com
>
> Blogger: http://www.jessestay.com
> http://www.socialoptimize.com/blog
>
> Phone: (801) 853-8339




-- 
Jesse Stay
The Social Media Guru

Partner, Co-founder: SocialOptimize.com
Author: O'Reilly's FBML Essentials
http://www.amazon.com/FBML-Essentials-Jesse-Stay/dp/0596519184/
Co-Author: I'm on Facebook -- Now What???
http://FacebookAdvice.com

Blogger: http://www.jessestay.com
http://www.socialoptimize.com/blog

Phone: (801) 853-8339

--~--~---------~--~----~------------~-------~--~----~
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