The version I give to you is a stabile version of Google Desktop Designer.
Dont forget to write a message in the Google Desktop Developer forum that this problem is solved.
A thanks word,
And problem solve by using a old GD designer
So other users know what to do if they also got this problem.
Kind Regards,
Stefan Van Damme (aka Stefan vd)
Gadget Developer
Van: Colin Goldberg [mailto:colin.goldberg@macmicro.com]
Verzonden: woensdag 22 april 2009 22:12
Aan: Stefan Hotmail
Onderwerp: Re: Newbie help - DetailsView only visible for alternate clicks in listbox
Is this bug known to Google? Should I report it? How would I do this? Is there any workaround for me until Google fixes this?
Colin Goldberg
View my LinkedIn Profile
Lead Follow-Up - a Salesforce.com App
MacMicro Inc - Web Applications & Services
BizConnector - for Contextual Interaction
+1 914 472-8292
Stefan Hotmail wrote:
You got the latest newest Google Gadget Designer, but there is some bug inside that version.(display now correct the detailview )
You gadget seem to work well normal on this older version of Google Gadget Designer.
Kind Regards,
Stefan Van Damme (aka Stefan vd)
Gadget Developer
Van: Colin Goldberg [mailto:colin.goldberg@macmicro.com]
Verzonden: woensdag 22 april 2009 21:52
Aan: Stefan Hotmail
Onderwerp: Re: Newbie help - DetailsView only visible for alternate clicks in listbox
I have 1.1.0708.17471
Colin Goldberg
View my LinkedIn Profile
Lead Follow-Up - a Salesforce.com App
MacMicro Inc - Web Applications & Services
BizConnector - for Contextual Interaction
+1 914 472-8292
Stefan Hotmail wrote:
Hi,
What version number of Google Desktop Gadget Designer does you have?
See on menu help->about
Because a older GD gadget designer does contain a bug inside, that conflict the listbox control and detailview.
Kind Regards,
Stefan Van Damme (aka Stefan vd)
Gadget Developer
Van: Colin Goldberg [mailto:colin.goldberg@macmicro.com]
Verzonden: woensdag 22 april 2009 21:05
Aan: Stefan vd
Onderwerp: Re: Newbie help - DetailsView only visible for alternate clicks in listbox
Dear Stefan,
Thank you for your interest. Here it is - attached. Please note that you will find some unused variables etc. - because I have been experimenting and trying out various approaches.
I look forward to hearing from you again.
Kind regards
Colin Goldberg
View my LinkedIn Profile
Lead Follow-Up - a Salesforce.com App
MacMicro Inc - Web Applications & Services
BizConnector - for Contextual Interaction
+1 914 472-8292
Stefan vd wrote:
Yes, It's handy if you send it to a zip file.
So I can see easy what going wrong ....
Note: this message is not publish online on the forum
Kind Regards,
Stefan Van Damme (aka Stefan vd)
Gadget Developer
On 22 apr, 20:13, Colin <colin.goldb...@gmail.com> wrote:
Hi Stefan,
I'm sorry - I don't mean to be confusing - I just left out code that I
thought was not immediately relevant, so as to not clutter up my
message.
As I showed before, in my lb_onchange() function I had:
var alert = lfuUserInfo.allAlerts[alert_ix];
and also:
var lfuUserInfo;
I have constructor functions as follows:
function constructUserInfo(username, password) {
this.username = username;
this.password = password;
this.user_id = null;
this.allAlerts = new Array();
this.isLoggedIn = false;
}
and for constructing alerts that are received in a XmlHttpResponse.
function constructAlert(alertItem) {//used with SimpleXmlParser
...
//Gets values such as this.alert_id, this.contact_name, etc.
...
}
As I can see from debug trace, these values are received properly.
So using SimpleXmlParser I place values in array lfuUserInfo.allAlerts
- such as in:
function getAlertsResponse(parser, alertList) {//used with
SimpleXmlParser
debug.trace("getAlertsResponse()");
if (alertList.length > 0) {
for (var i = 0; i < alertList.length ; i++) {
lfuUserInfo.allAlerts[lfuUserInfo.allAlerts.length] = new
constructAlert(alertList[i]);
}
var newAlert = showAlerts();
}
else {
var newAlert = view.appendElement('<div>No new alerts...</div>');
}
}
function showAlerts() {
debug.trace("showAlerts()");
for (var i=0; i<lfuUserInfo.allAlerts.length; i++) {
var alert = lfuUserInfo.allAlerts[i];
var alert_txt = alert.contact_name + '-' + alert.action_type;
var alert_item = '<item height="24" name="item0"><label height="24"