Login Register

domino

Validation on Submit of Form

Hi Folks, I am new to DOJO but think it is a very good toolkit and will be using it extensively due to IBM championing it for Lotus Domino in the future.

My question is this, It is rather easy to make individual fields pop up with text etc when you exit them stating certain validation credentials which is nice, but, how do you go about doing validation on all fields when a form is being submitted, Is there a way to get hold of all elements and there valid state or something.

Any help or links as to what I should be looking/reading....

Regards

Dojo grid text wrapping not working correctly

Hello, it's me again :) . I have a new problem now.

When displaying a dojo grid, the text in the cells is wrapping prematurely... for example, there is room for another word to be displayed, but for some reason the text wraps as if there is a large margin on the right side of the cell that prevents the text from filling that space. The result is grid rows that are much taller than they need to be.

Here's an example (look at the upper left cell):

http://radloff.homeip.net:8080/files/grid_text_wrapping.JPG
(This is a display of a Domino view rendered in a Dojox grid)

A *working* example of displaying a Domino view in a Dojox Grid?

I have been beating myself to death trying to figure out how to get the content of a Domino view to display in a dojox grid. It would be a HUGE win for Domino developers everywhere if someone could please post a *working* example of how to code this process from start to finish (or even better, a downloadable .nsf example). I've found snippets of little pieces of the puzzle, but nobody has posted a complete example that actually *works* ;) .

Here's what I've found out are the key elements so far:

Grid with Lotus Notes Domino

I'm trying to hook up my grid to a Lotus Notes Domino view. I can't figure out how to get the JSON data out of the data store and into the grid.

Thanks for your help.

Jeff

Here is the code I've hacked from a Dojo grid example.

dojox.Grid with Dojo.Data via binding

#grid, #grid2 {
width: 65em;
height: 25em;
padding: 1px;
}

Syndicate content