Win a copy of Terraform in Action this week in the Cloud forum!

Peter Svensson

Author
+ Follow
since Sep 29, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Peter Svensson

Stuart, have your tried o remove all your 'position:absolute' css styles? I've tried removing some in firebug, but I think it would be interesting to use none whatsoever, and see how the TabContainer sets itself up after that.

Cheers,
PS
Hi Mourougan,

I am very glad that I've managed to guide you to the correct information
One think I would like to add, do you think you could contribute your changes and additions to Dojo as a project? Maybe this is not possible due to contractual dmeands, but otherwise I think it would be greatly appreciated. Dojo is large, and need constant participation.

Cheers,
PS
Hmm. Let's see. There's a better rundown on editor features, usage and plugins onelinke further on dojocampus;

http://docs.dojocampus.org/dijit/Editor#plugins

Other than that, I can only recommend you to learn how to make custom widgets since much of the information you need is very similar. Also, dive down into the source code and look at it. Very often there'sa lot of documentation left in the source by the contributors.

Cheers,
PS
Hi Mourouganandame,
IE6 is notoriously horrible, of course. I tracked down the problem to the very large padding you were using on the form rows (10em), which pushed down elements where they should not be, due to conflicting length and padding.

I also use float:left and float: right on lables and input, just to be sure. Finally I increased the width of the form to 600 to be extra sure that all fitted. If you get errors like these in the future, try increase the available width of the enclosing element first to see if the problem persist

Enclosed is my modified css;

formContainer {
margin: 2px auto;
background: #DBE4FF;
width: 600px;
border-width: 1px;
border-style: solid;
border-color: purple;
padding: 10px;
}

.formTitle {
font-size:24px; font-weight:bold;
padding: 10px;
}

form {
margin-top: 5px;
width: 600px;
}
.formRow {

padding: 4px 0.75em 2px 1em;
}

.formRow label {

float: left;
width: 10em;
display:block;

}

.formRow input {
float: right;
}


Cheers,
PS
Hi Kannan,

yes it does indeed! The apckaging systemis integral toudnerstanding the Dojo loader and building custom widgets.

Cheers,
PS
Hi Mayur,

I cover JSON specifically, alltough not at length, and use it as preferred method of data respresentation and transfer throughout the book. I also use it in my more advanced examples on dojo.data, in presenting the JsonRestStore

Cheers,
PS
Hi Mourouganandame ,

Dojo supports IE6. Please send me the widget example or paste it here. It is probably something outside Dojo that has been added, or a missed css resource or something (I hope !

Cheers,
PS
Hi Jeanne,

actually, I noticed that the link I gave you is for an odler version of Dojo, even though the content is still conceptually correct. Here's a more updated and shorter summary on a11y and Dojo;

http://dojotoolkit.org/developer/a11yStatement

Cheers,
PS
Hi Viveku,

I'm thinking that you could use the doh.robot UI testing from inside Dojo. If you could generate the event-files that robot uses on the server from Tellurium, based on your configuration/Groovy files, it might be a good fit.

Then again, I might not have understood the delineation for Tellurium yet, but it's worth a tought.

Glad to hear that you're using widgetry and the pubsub message bus. It does really help out in tight corners.

Please let me know if you need a hand.

Cheers,
PS
Hi Rob,

What sets Dojo apart from most other Ajax toolkit is the maturity and control, as well as amount of features.

Dojo has gone through several major redesigns in the last years, resulting in a very logical and organized API. Namespacing is one key feature here.

Dojo is one of the few frameworks which organizes most of its components or widgets. The normal thing to do when creating or extending a widget in Dojo, is to submit it for contribution, where many otehr frameworks have a lot of similar widgets spread out on individuals websites. This process also gives a minimum of sanitation to inclusion and rsult in Dojo shiping with a large number of integrated features.

Dojo can be used as a classical Ajax framework, for just doing CSS queries on an existing page and modify markup and event handlers, but the place where I think Dojo really shine is when you create real applications with it, and leverage the data stores, message buses and facilities for creating custom, reusable widgets.

Cheers,
PS

http://unclescript.blogspot.com
Hi Jothi,

I compare Dojo briefly to several other Ajax frameworks.

There's also a comparison on the main Dojo site here;

http://dojotoolkit.org/book/dojo-book-0-9/introduction/why-dojo

Cheers,
PS
Hi Mourouganandame,

This actually mind of funny I told the WaveMaker guys the same thing (there's no menu - you gotta have a menu), so I wrote a tutorial on how to create custom WaveMaker palette items (which always use Dojo widgets underneath), here:

http://dev.wavemaker.com/forums/?q=node/1558

Myt book does not cover any IDE support, though. I think that you will find JavaScript and Dojo in less need of an IDE than Java development is. I have been working with Eclipse for many years and could not work without it (or, OK, NetBeans) for doing Java development, but when creating Dojo pages I usually use vi (or vim), sometimes wordpad or textpad++ depending on which machine I'm on. JavaScript is _very_ less verbose than Java, while retaining readability.

See this article from the proof-reader of my book (and responsible for dojox.gfx and dojox.charting), Eugene Lazutkin;

http://lazutkin.com/blog/2008/jan/12/functional-fun-javascript-dojo/

and

http://lazutkin.com/blog/2008/jun/30/using-recursion-combinators-javascript/

Cheers,
PS
Hi Mouraganandame,
I'm not very good at the Editor, unfortunately. I know that it is plugin-based, so extensibiity should be possible.

Here is a fairly good documentation page on the Editor;

http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/advanced-editing-and-display/editor-rich-text

Cheers,
PS
Hi John,

Actually drag and drop itself as a technology is in my opinion mostly beautifull and not often useful. Some customers have said that they want it to rearrange user structures in trees, for example. But having been pointed to the calamity that might occur if you drop something accidentally on the wrong branch, they usually opt for more wizard-like operations

Having said that, I still like that DnD is part of Dojo, even if I rarely use it.

Cheers,
PS
Hi Kannan,
I don't really knowm unfortunately. The company Packtpub is based partly in India so it's not a bad assumption. It can be bouht as a downlodable PDF from their site at the very least.

Cheers,
PS