Login Register

dojox

Contribute fixed ColorPicker

I fixed some issues with the ColorPicker as well as implemented some new features:
- set initial color and ability to set it later by calling a method
- color codes can now be entered through inputs (rgb, hsv, hex) and picker updates accordingly
- removed references to deprecated objects and methods
- rewritten it to use dojox.color instead of default _hsv2rgb method that was copy/pasted
- changed some method names to be more mnemomic
- commented the code
- most of it now conforms to JS Style Guide

Resizing Pager

I would like to place dojox.widget.Pager within a flexible width container.
Seems like it would make sense to add a resize event handler that would
reinitialize the Pager.

However, it's not clear to me how to reinitialize the widget. So far my
attempts have resulted in throwing an error "Tried to register widget with
id==dojoxMenu1-item-1 but that id is already registered!"

How should I be approaching this?

-Jason

dojox.gfx flash backend?

Hi,

dojox contentpane with href pointing to a JSP

I am trying to use dojox.layout.ContentPane to reference a JSP file. This is what i am doing:

<code><div cleanContent="true" dojoType="dojox.layout.ContentPane" href="somefile.jsp" id="Usr-Rl_Mgmt" refreshOnShow="true" title="Usr-Rl_Mgmt"></div></code>

This throws a js error "already called" each time the content pane is viewed. Any suggestions on how I can resolve the problem would be helpful. Thanks.

dojox.cometd - list of the subscribed clients on the server available ???

Hello!
It's hard for me to explain but I give a try and hope you understand.
My Map Web Application realizes a cometd client server communication.
Client:

dojox.cometd.init("./cometd");
dojox.cometd.subscribe("/test", sample, "publishHandler");
...

dojox.grid.editors.bool not working properly

I am using the following code for my grid.

var view1 = {
cells: [[
{name: 'Sel', editor: dojox.grid.editors.bool , width: '16px'},
{name: 'str', field: "star", formatter: starFormatter, width: '16px'},
{name: 'read', field: "read", formatter: readFormatter, width: '16px'},
{name: 'Subject',width: "60%", field: "subject", styles: 'white-space: nowrap;'},

dojox.rpc.Service Behaviour Change (Possible Bug)

 Hello,
I have be experimenting with dojox.rpc.Service for use with with dojox.data.serviceStores.
However the behaviour of dojox.rpc.Service has changed.

For my example, let:
var rpc = new dojox.rpc.Service("Path/To/SMD");
var store = new dojox.data.ServiceStore({service:rpc.restService, idAttribute:'id'});

where "path/To/SMD" contains a method "restService" which accepts a single integer id attribute. With a URL envelope and REST transport IE:
parameters: [

{

name: 'id',
optional: false,
type: 'integer'

}

What might cause charts to fail under IE7?

For some reason, at least on my main development machine the charts (pulled from SVN revision 14583) do not work on my machine under IE7. They appear fine under Firefox 3.

The problem is pretty obvious - it happens even when loading the chart tests (e.g. test_chart2d.html). While space appears to be reserved for the charts, they never become visible.

I'm guessing this isn't a widespread problem, since others seem to be using charts with IE7. Can anyone suggest what might be strange about my configuration which is preventing correct operation?

Regards,
Richard

dojox.Layout.Contentpane issue while refreshing the page

Hi

I am using a dojox.layout.Contentpane inside a tab container. now the problem is i need to execure scripts for which i have used executeScripts=true and everything works fine. but when i refresh my page in IE 6 teh contentpane does not load and gives a message "Sorry an error occured" while it works fine in FF2.

Also the tabpane loads fine the first time but if we need to do a refreshOnShow or a manual refresh using the broser button it doesnt load.

Earlier i was using a dijit.layout.Contentpane and it worked fine but i couldnt execure scripts in it.

Please help

Dino

Syndicate content