4 messages in com.googlegroups.google-mashup-editorRe: Refreshing lists with new data feeds| From | Sent On | Attachments |
|---|---|---|
| Tony Hirst | 01 Jun 2007 18:34 | |
| Tony Hirst | 02 Jun 2007 10:15 | |
| Paul | 02 Jun 2007 12:10 | |
| spri...@gmail.com | 28 Jun 2007 21:27 |
| Subject: | Re: Refreshing lists with new data feeds![]() |
|---|---|
| From: | spri...@gmail.com (spri...@gmail.com) |
| Date: | 06/28/2007 09:27:58 PM |
| List: | com.googlegroups.google-mashup-editor |
Hi Tony,
I'm doing an independent study at Cal State East Bay on GME.
Can you send me an invitation to GME?
Sarah Kang spri...@gmail.com
On Jun 1, 6:34 pm, Tony Hirst <tony...@gmail.com> wrote:
Hi
Just got my invite and been trying to get my head round the functionality offered by the mashup editor (which is loads of fun - but it's late and I'm not thinking too clearly:-)
So - here's a question for which there is probably an obvious answer: how do I get a list that's populated by a feed selected from a drop down list to refresh when I select a new feed?
I guessed from the examples at:
function changeData() { var entry=getYear(); //get the URL from a drop down list/select box; var urlGPath = new GPath("gd:url"); var urlString = urlGPath.getValue(entry); google.mashups.getObjectById('IWMW').setData(urlString); //not refreshing list for some reason... }
which acts on this list:
<gm:list id="IWMW" data="http://www.ukoln.ac.uk/web-focus/events/ workshops/webmaster-2007/speakers/speakers.xml" template="speakersTemplate" />
with a template like this:
<gm:template id="speakersTemplate"> <table width="50%"> <tbody repeat="true"> <tr> <td> <b><gm:text ref="atom:title"/></b> </td> </tr> </table> </gm:template>
but when I select a new item in the list all that happens is the old list disappears...
The code is commented away at:http://iwmwdemo1.googlemashups.com/
The data is picked up from this competition
(http://ukwebfocus.wordpress.com/2007/05/30/data-available-for-iwmw-20...
) which may be of interest to some on the list...
tony




