issue 1
(DnD and Shindig PubSub fail) commented on by gwachob
- Hi-
We (Socialtext) are seeing the same error in our own implementation of a shindig-based container (exact same
behavior). has anyone found out anything more about this issue that might help us?
Thanks
Hi-
We (Socialtext) are seeing the same error in our own implementation of a shindig-based container (exact same
behavior). has anyone found out anything more about this issue that might help us?
Thanks
Apr 30, 2009
issue 2
(UserPref text fields are not selectable - settings wont work) commented on by gsiegman
- how did you even get settings fields to show?
how did you even get settings fields to show?
Mar 04, 2009
issue 3
(canvas view not switching) reported by david.benge
- to fix this
I changed this function
gadgets.my.prototype.handleMaximize = function() {
gadgets.container.setView('canvas');
//hide the columns and display the div that's full screen
dojo.style("gadgets", "display", "none");
dojo.style("maximizedGadget", "display", "block");
//insert a placeholder before the gadget in question
var placeholder = dojo.doc.createElement("div");
dojo.attr(placeholder, "id", "maximizedGadgetPlaceholder");
dojo.place(placeholder, this.getId(), "after");
//adjust the style on the maximized gadget so that the maximize "changes"
//to a minimize icon
dojo.style(this.getMaximizeButtonId(), "display", "none");
dojo.style(this.getMinimizeButtonId(), "display", "block");
//move the gadget into the maximizedGadget div
dojo.place(this.getId(), "maximizedGadget", "first");
//IE doesn't necessarily refresh, so force it
dojo.style(this.getIframeId(), "display", "block");
//navigate to new view
this.refresh();
};
to fix this
I changed this function
gadgets.my.prototype.handleMaximize = function() {
gadgets.container.setView('canvas');
//hide the columns and display the div that's full screen
dojo.style("gadgets", "display", "none");
dojo.style("maximizedGadget", "display", "block");
//insert a placeholder before the gadget in question
var placeholder = dojo.doc.createElement("div");
dojo.attr(placeholder, "id", "maximizedGadgetPlaceholder");
dojo.place(placeholder, this.getId(), "after");
//adjust the style on the maximized gadget so that the maximize "changes"
//to a minimize icon
dojo.style(this.getMaximizeButtonId(), "display", "none");
dojo.style(this.getMinimizeButtonId(), "display", "block");
//move the gadget into the maximizedGadget div
dojo.place(this.getId(), "maximizedGadget", "first");
//IE doesn't necessarily refresh, so force it
dojo.style(this.getIframeId(), "display", "block");
//navigate to new view
this.refresh();
};
Mar 02, 2009
issue 2
(UserPref text fields are not selectable - settings wont work) reported by david.benge
- UserPref text fields are not selectable when using dnd.
Hit settings try to select any text field.
I fixed this issue by adding the following to the gadgets-dnd.js
var dndParams = {skip:true};
dojo.query(".gadgets-gadget-chrome").forEach(function(x) {
var m = new dojo.dnd.Moveable(x,dndParams);
UserPref text fields are not selectable when using dnd.
Hit settings try to select any text field.
I fixed this issue by adding the following to the gadgets-dnd.js
var dndParams = {skip:true};
dojo.query(".gadgets-gadget-chrome").forEach(function(x) {
var m = new dojo.dnd.Moveable(x,dndParams);
Feb 27, 2009
issue 1
(DnD and Shindig PubSub fail) reported by jainme
- What steps will reproduce the problem?
1. Create an html with shindig sample-pubsub-publisher.xml and the sample-
pubsub-subscriber.xml with DnD.
2. Subscribe
3. Publish
4. Drag and drop the Subscribe
5. Subscribe again (as the subscription is lost)
5. Publish again
What is the expected output? What do you see instead?
The ideal expected output is that you do not need to subscribe again and
publish works fine after drag and drop. Even after re-subscription,
publish throws an exception: [Exception... "Component returned failure
code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) nsIDOMJSWindow.setTimeout"
nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame ::
http://localhost:8080/gadgets/ifr?
container=default&mid=2&nocache=1&country=ALL&lang=ALL&view=default&parent=
http%3A%2F%2Flocalhost%3A8080&st=john.doe:john.doe:appid:cont:url:0&url=htt
p%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Ffiles%2Fcontainer%2Fsample-pubsub-
subscriber.xml#rpctoken=758671193 :: anonymous :: line 624" data: no]
What version of the product are you using? On what operating system?
The latest version. Windows XP.
Please provide any additional information below.
What steps will reproduce the problem?
1. Create an html with shindig sample-pubsub-publisher.xml and the sample-
pubsub-subscriber.xml with DnD.
2. Subscribe
3. Publish
4. Drag and drop the Subscribe
5. Subscribe again (as the subscription is lost)
5. Publish again
What is the expected output? What do you see instead?
The ideal expected output is that you do not need to subscribe again and
publish works fine after drag and drop. Even after re-subscription,
publish throws an exception: [Exception... "Component returned failure
code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) nsIDOMJSWindow.setTimeout"
nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame ::
http://localhost:8080/gadgets/ifr?
container=default&mid=2&nocache=1&country=ALL&lang=ALL&view=default&parent=
http%3A%2F%2Flocalhost%3A8080&st=john.doe:john.doe:appid:cont:url:0&url=htt
p%3A%2F%2Flocalhost%3A8080%2Fgadgets%2Ffiles%2Fcontainer%2Fsample-pubsub-
subscriber.xml#rpctoken=758671193 :: anonymous :: line 624" data: no]
What version of the product are you using? On what operating system?
The latest version. Windows XP.
Please provide any additional information below.