Hi, Let's say you have a nice separation between your business objects and the GUI, say perhaps the "Humble Dialog" approach. Now you wish to implement form...
... I'm not clear on what you mean by "error providers". Perhaps a simple example program would help? Ron Jeffries www.XProgramming.com There is really no such...
An "error provider" is simply a .NET object that can be associated with an individual control. When you set it's error message property, it suddenly become...
Yes, upon reflection it could be done just as easily using the Humble Dialog approach. Every time a control is left, notify the BO. The BO does a validation...
... I'm a bit troubled by all these solutions, and hope that when you do one or more, you'll post them for our amusement. Why is Ron troubled, all are not...
... Yes, although everyone knows that the xnax has to be orange in order to distim the frozzle. I assume it was a typo on your part. Anyway, without looking at...
... I'm sure you have more of a clue than I have. My GUI experience is ancient. We used to make angular marks in clay for the GUIs when last I was good at it. ...
Hi Mike, I don't agree that "it is clear that the GUI must keep the BO informed after each and every control is left" Validation takes place in a GUI is often...
... I'd get into N.O. a lot deeper if they'd do that, as I have this non-Java universe over here. Ron Jeffries www.XProgramming.com The greatest mistake we...
Are you saying you would put the GUI validation in the GUI? That's what my gut feeling always was, actually. I'm working with large guis with many tabs and...
I'd put the validation logic itself in your model objects, since that's pretty much business logic. I'd have your controller layer invoke your validation...
... I should think so, just write a validate method and call it from the setter, something like this: public int Height { get { return height; } set { if (...
... I suppose you could throw an exception or post an event if validation fails: public int Height { get { return height; } set { if ( IsValidHeight(value) )...
Yes, but the property might actually be calling something deeper, for example, your BO might actually be a collection of other BO's, because one table maps to...
Since you mentioned this is .NET, is this a Windows Forms GUI or an ASP.NET GUI? I'm assuming the former since no one has mentioned the round-tripping issue...
Hello! Recently I've started to develop a small application for my own needs using test-first approach. The business logic layer has coverage of 95%, which is...
... There is a tool called EggPlant, which uses VNC so the ui can be on any platform for which a VNC server exists (which includes Mac). The tool itself only...
Chet and I were talking about writing a graphical application, in C# .NET. We think it would run as a Windows Form, and not necessarily as a web page. There's...
... Welcome to my world, Ron. ... Mock the Graphics object, and compare the expected series of draw calls to actual. -- John Brewer Jera Design Extreme...
... You have Orcs and Wizards in your world, too? Cool! ... Seems almost useless ... if an Orc knows how to draw himself, knows his coordinates ... seems like...