« Dojomino 1.2.2_1 now available | Main| »

What's new and cool with Dojomino

Category  
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

There are 3 new items in Dojomino that really rock. First, the FormBuilder widget automatically converts the entire form at runtime to widgets, while also replacing the default ActionBar with dijit buttons. Of course, you can go in and modify inidividual fields on every form if you want, but the FormBuilder certainly simplifies life.

The second big item is dojomino.ui.DominoUI. This is a widget (borrowed directly from the Ext.nd guys) that simplifies the initial setup of an application. With a few lines of code, it will setup a page with a dojomino.dijit.NotesOutline in a left-side pane and a dojomino.dijit.NotesView2 in a right-hand pane.

The third item is a PickList that can be used programmatically just like DialogBox in the Notes client. Look for documentation on all these items soon in the Dojomino Wiki.

Comments

Gravatar Image1 - I am updating one of my databases to Dojomino 1.2.2_1. For the most part it is looking pretty good. I'm really looking forward to seeing the documentation and sample db when they are released though.

However, I've run into 2 errors that show up in Firebug. The first is a Console error when the call is made to Get { Link } I get the following cross-domain AJAX call error:

"[Exception..."'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e(NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]"

Btw, I am not calling from a local page.

The other error shows up on the Net tab in Firebug searching for the search-btn.gif image. It appears that there is a hardcoded path in whatever dojomino file (dojomino/dijit/NotesView2.js perhaps?) that is calling that image that is pointing to { Link }

Hope this helps. Thanks for all the hard work you are putting into Dojomino.

Gravatar Image2 - Regarding the post above, the "cross-domain AJAX call error" resulted from setting up wrong. I downloaded demo.nsf and that cleared that problem up. I really like the way you set up the new demo with the DojominoProfile doc and storing the Dojo(mino) code in a separate db.

However, I am finding that the NotesOutline is not setting up on the Home page though. The outline does not display. The view does display. Firebug console returns the following error:

[Widget dojomino.dijit.NotesOutline, dojomino_dijit_NotesOutline_0]_connects=[5]_deferredConnects=Object: error loading root children: SyntaxError:missing ) in parenthetical message=missing ) in parenthetical

Do you have any idea what the problem is?

Thanks.

Gravatar Image3 - Here's a lighter question for you: how do you pronounce Dojomino? Is the second O pronounced like the second O in Dojo, or like the first O in Domino?

Gravatar Image4 - Lance, you are trully insane. I've been a Domino developer since 3.0 and I'm blown away by this implementation. Do you mind sharing how you imported all the files? You didn't do that by hand did you?

Gravatar Image5 - Never mind. I just saw the importer script... simply outstanding.

Gravatar Image6 - Lance,

First of all, this a great site to learn all about integrating Dojo into Domino! Thank you!. Now. I have downloaded the demo.nsf and dojomino.nsf database. Signed and installed on my test 7.02 server. I am not sure if I have installed the libraries correctly or missing something. I am using IE6 get this error:
Line: 16
Error: Could not load 'dojomino.dijit.form.NamePicker'; last tried '../dojomino/dijit/form/NamePicker.js'

Viewing the the <head> tag: I see:
<html>
<head>
<style type="text/css">
@import "/dojo/dojomino.nsf/dojo/resources/dojo.css";
@import "/dojo/dojomino.nsf/dijit/themes/tundra/tundra.css";
@import "/dojo/dojomino.nsf/dojomino/dijit/themes/dojomino/dojomino.css";
</style>
<script type="text/javascript" src="/dojo/dojomino.nsf/dojo/dojo.js" djConfig="parseOnLoad:true, isDebug:true"></script>
<script type="text/javascript" src="/dojo/demo.nsf/dojomino/session.js"></script>
<script language="JavaScript" type="text/javascript">
<!--
dojo.require("dojomino.dijit.form.NamePicker");
// -->
</script>
All the paths are correct.

In demo.nsf profile, I entered:
1.2.2_1 as the version of the Dojo (I had to edit that form as that version was not available).

Thanks a lot!


Please comment back.

Gravatar Image7 - I'm a little rushed at the moment but want to help. Can you send me the code of your "page" (view page source from the browser if you want) so I can trace down where the problem is?

I suspect a couple of things:
1. the srcipt for dojomino.js is not included

or

2. the dojomino/session.js Page has not been put into YOUR app (not the dojomino db)

or

3. the order of those script inclusions is incorrect. it should be dojo.js, session.js, then dojomino.js


Let me know.

Gravatar Image8 - Lance,

I managed to put this video so you can see how I set things up. Hopefully this will give you what you need.

{ Link }

I look forward to seeing your samples working!

Thank you!

Gravatar Image9 - Jose,

Awesome idea. Thanks for sharing that. I'll go figure it out now.

Gravatar Image10 - thank you Lance! It was putting that video together. I used Camtasia by the way.

Look forward to hearing your answer!

Gravatar Image11 - HI Lance,

Just to let you know that I have now installed in 8.5 and used the same scenario. Still does not work. Are you going to continue providing support for dojomino in the future? Just curious as there is a new dojo13 and would like to see dojomino being upgraded as well. Again, if you need help to collaborate, just let us know.

Hopefully you can review this code. I am waiting anxiuously for your response before I demo it to my team.

Thanks

Gravatar Image12 - Jose,

I had the same problem. I found that the JSONExporter agent wasn't working. I got errors relating to corrupted script libraries QueryStringParser and utilities. Once I resaved the agent and script libraries, the view started to work.

regards,
Paul

Gravatar Image13 - Hi Lance,

Any chance you could provide a flat-file version of Dojomino? One where the Dojomino files are not stored in a Domino database?


Thanks,

- Mike.

Gravatar Image14 - Hi Lance

I also had a problem with the dojomino/session.js Page, partly user error. When I read the instructions and included the page in my application database, I got an error with gmtOffset because my timezone is GMT. This just necessitated a tweak to the code, setting offset to 0 if zoneMinusGMT was an empty string. Code is below:

zone := @Word(@TimeZoneToText(@GetCurrentTimeZone); " "; 1);
zoneMinusParens := @Left(@Right(zone;@Length(zone)-1);@Length(zone)-2);
zoneMinusGMT := @Right(zoneMinusParens; "GMT");
offset := @If(zoneMinusGMT = ""; "0"; @Word(zoneMinusGMT; ":"; 1));
@If(@Left(offset; 1) = "+"; @Right(offset; "+"); offset)

Regards
Paul

Gravatar Image15 - Just for sharing:

had the same error as Jose (#6), when trying out the Namepicker in the demo database with 1.2.2_1.

(Error: Could not load 'dojomino.dijit.form.NamePicker'; last tried '../dojomino/dijit/form/NamePicker.js' )

Found out the filename had changed
Emoticon

added a "2" to the HTML attributes on the field "myNamesField" on the form "DemoNamePickerSingle" to:

"dojoType=\"dojomino.dijit.form.NamePicker2\""

that helped!

br
Steen AA

Gravatar Image16 - Hey,

i need to change a few things for my application

The problem i have, i cant open or export the Shared Files (the js files of Dojomino)(Notes 7), is there any protection or a workaround?
i always get the dialog "File cannot be created"


Gravatar Image17 - I am having trouble using dojo UI components (specifically TitlePane.js) in Domino environment. Any pointers are highly appreciated.

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Documentation

Tutorials

Dojo Blogs

TripIt

RSS