Most likely it's an implementation bug - I'll try and look into why it might
be failing.
~Arne


On Tue, Aug 4, 2009 at 9:23 PM, duduzerah <eduardopich...@gmail.com> wrote:

>
> <Module>
>        <ModulePrefs title="Social Application Tutorial - Proxied Content">
>                 <Require feature="opensocial-0.8" />
>                <Require feature="views" />
>                 <Require feature="dynamic-height" />
>        </ModulePrefs>
>
>        <Content view="canvas" refreshInterval="0" type="url"
>
>                href="http://openx.appspot.com/canvas/index.jsp";>
>    <![CDATA[
>
>      Hello, inlined ><b>canvas</b> view!
>    ]]>
>        </Content>
> </Module>
>
>
> And ind jsp are rendered as follows:
>
> <script type="text/javascript">
>                        gadgets.window.adjustHeight('3500px');
>                </script><style type="text/css">
> div.Table_01 {
>        font-family: Arial, Helvetica, sans-serif;
>        position: absolute;
>        left: 0px;
>        top: 0px;
>        width: 752px;
>        height: 350px;
> }
>  ...
>
> And the UNIQUE error on javascript console is:
>
> Uncaught TypeError: Cannot call method 'adjustHeight' of undefined
>
> I'm starting with open social, that is why I'm not sure if this is a
> bug or I'm doing some mistake...
>
> On 5 ago, 01:11, Arne Roomann-Kurrik <api.kur...@google.com> wrote:
> > Can you share the code you're using for proxied content?  Adjusting the
> > height of the window should still be possible using that method.
> > ~Arne
> >
> >
> >
> > On Tue, Aug 4, 2009 at 9:05 PM, duduzerah <eduardopich...@gmail.com>
> wrote:
> >
> > > Oh...
> > > But I cant change the height when I use proxied content :(
> > > I've tried on orkut and opensocial.org
> >
> > > Do developers use proxied contet to build huge applications? I think
> > > it's more convenient..
> >
> > > On 4 ago, 17:48, Arne Roomann-Kurrik <api.kur...@google.com> wrote:
> > > > Awesome, adding a note tohttp://
> > > wiki.opensocial.org/index.php?title=Gadgets.window_%28v0.9%29
> > > > should help others running up against this problem.
> >
> > > > ~Arne
> >
> > > > On Aug 4, 8:35 am, duduzerah <eduardopich...@gmail.com> wrote:
> >
> > > > > Oh god.. I solve it..
> >
> > > > > <Require feature="dynamic-height"/>
> > > > > I'll try to put this information on wiki.
> >
> > > > > On 4 ago, 12:10, duduzerah <eduardopich...@gmail.com> wrote:
> >
> > > > > > Hello,
> > > > > > My call of the method gadgets.window.adjustHeight(1000); isn't
> > > working
> > > > > > on OpenSocial.org site...
> >
> > > > > > The javascript console says;
> > > > > >   Uncaught TypeError: Cannot call method 'adjustHeight' of
> undefined
> > > > > > Need I to import something? I can't find on opensocial wiki.
> >
> > > > > > And I have the follow:
> >
> > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > <Module>
> > > > > >         <ModulePrefs title="...">
> > > > > >                 <Require feature="opensocial-0.8" />
> > > > > >                 <Require feature="views" />
> > > > > >         </ModulePrefs>
> > > > > >         <Content view="canvas">
> > > > > > <![CDATA[]
> > > > > > ...
> > > > > >                 <script type="text/javascript">
> > > > > >                         gadgets.window.adjustHeight(1000);
> > > > > >                 </script>
> > > > > > ..
> > > > > >         ]]>
> > > > > > ..
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to