Dojo document save

Im slightly ashamed to be posting here, having been developing for years, but here goes.

My first adventure into Dojo embedded stuff is not going well. I have managed to do most of the basic stuff, but I cannot seem to get any values saved on the document when I hit submit. I have tried using Notes fields with the Dojo object type assigned in the properties box, and also using straight Pass Thru HTML. I initally was trying to use the dijit.form.DateTextBox which I can render and even pass a date too.

The forms all work ok, but none of the Dojo related infomation sticks/saves to the document. My guess is something to do with the DOM? I have gone thru so many examples and the Dojomino site seems to have stalled some time ago?

If anyone has a basic form that could use, or any pointers they will save my sanity this week!

Thanks in advance.

Malc.

Subject: XPages or classic web application

One simple question: Is your project a XPages project or a classic web Lotus Domino web application?

For a classic Lotus Domino web application I have a sample database in our blog.

http://www.assono.de/blog/downloads/dojo-sample-db/$file/dojo-Sample.zip

In the Notes database is a form “webFormDemo”.

Do you get an error message or do the value just don’t appear in the document?

Is your Domino Server running on an English Domino server? If not, then there might be an issue with the way dojo stores the values. For the most text boxes there is a visible input box and a hidden input box. So if you have an dijit TimeTextBox the value is stored with an “T” in front.

In the sample database is a patch for dealing with these problems.

Bernd Hort bhort@assono.de

Subject: Almost…

Bernt,

It is a basic Web development, no xPages as yet!

I dont get an error as such, I just get what appears to be a ‘ghost’ copy of the field and then the dojo version appears and wipes out the value. I have used your database and I get the same affect. I am using the google API and have tried all versions. Do you have a copy of your API in a notes DB?

I have an English server, and the values are being stored when I use the Notes field as per your example. It is just not returning the value back into the field when I edit the document.

Manym many thanks!