3 messages in com.googlegroups.google-mashup-editorRe: Using gadgets UserPref in GME
FromSent OnAttachments
ASSmodeus03 Feb 2008 05:29 
ASSmodeus21 Feb 2008 09:39 
Jason21 Feb 2008 13:48 
Subject:Re: Using gadgets UserPref in GME
From:ASSmodeus (assm@gmail.com)
Date:02/21/2008 09:39:36 AM
List:com.googlegroups.google-mashup-editor

I found some way by my self, but it isn't the best way. I include two scripts:
http://www.google.com/ig/extern_js/f/CgJlbhICdXMrMAE4ACw/2lbMnrZ54Bs.js and
http://www.google.com/ig/extern_js/f/CgJlbhICdXMrMAU4ACwrMAo4ACwrMBA4ACwrMBI4ACwrMBM4ACw/ZuzVyrMxcg0.js Right now it works fine, but I wonder if there is some better way to do this.

Hi,

I work on my first Google Gadget using GME. Problem is, that I don't know how to user UserPref definet in gadget.xml in my GME source.

For example: 1) In gadget.xml I have: <UserPref name="username" display_name="Name" required="true"/> 2) In GME index.html I have: <script> var prefs = new _IG_Prefs(); var username = prefs.getString("username"); ... </script>

When I try to run such a gadget on my iGoogle page I receive an information that there is no such thing like _IG_Prefs. What can I do to use UserPref in my GME application?

Thank you in advance.