3 messages in com.googlegroups.google-mashup-editorRe: Bug or am I doing something wrong??| Subject: | Re: Bug or am I doing something wrong??![]() |
|---|---|
| From: | Juri (juri...@gmail.com) |
| Date: | 02/14/2008 01:25:20 PM |
| List: | com.googlegroups.google-mashup-editor |
Hi Jason,
no problem for the late response. You are really great in doing your job, my congratulations. Others are by far not that responsive as you are. In most cases you'll not even get an answer at all. :)
I just tried your solution very quickly and it works great. Thanks a lot. Because this time I was really not able to identify the problem. I didn't thought at the fact it may be related to the way I'm setting the data-source of my list.
Thanks, Juri
On Feb 14, 8:37 pm, Jason <gmej...@google.com> wrote:
Hi Juri. I'm sorry for the late response, but I do have an answer for you. :)
When GME fetches external feeds, it strips elements that belong to an undefined namespace (such as gmd:). This is exactly what is happening when you set the data source of distrosList in your showDistributions() routine; idGPath.getValue(searchedEntry) returns the full URL of the passed entry and GME's back-end then treats it as an external feed, stripping out all custom gmd: elements in the process.
However, I was able to get your application working by doing this:
... if (searchedEntry) { ... var projList = google.mashups.getObjectById('projectList');
distrosList.setData('${projectList}/distros'); projList.selectEntry(searchedEntry);}
...
Please let me know if this works for you and if you have any additional questions. I apologize again for my late response; thanks for your patience!
- Jason
On Feb 10, 1:37 am, kito <juri...@gmail.com> wrote:
Hi,
I have problem which I don't really understand. Either there is a bug or I've overseen some stupid mistake I made. Could you quickly take a look at it when you've time?
The problem is the following:
I'm experimenting on a site I'd like to create. The page is
here:http://js-dev.googlemashups.com/jchat.html
The problem is on the "Download" tab. I've placed there - for now - a
link called "run" which executes a JavaScript that loads the
appropriate data onto the list. On the right-site however two links
should be displayed stored in "gmd:urlWin" and "gmd:urlLinux". For
some reason they do not appear.
For entering the data I'm using this page (http://js-
dev.googlemashups.com/dataman.html). There the links are shown
properly. Am I doing something wrong??
All the data is stored on the ${app} feed.
Thanks for your help!




