I wouldn't put component names in the model. I hope no one thought I suggested it :-)
I think specifying what value the attribute holds when the actual attribute value is very broad (password vs regular string) is perfectly acceptable though.
Ramsey
On May 4, 2012, at 10:28 PM, Mark Wardle wrote:
Isn't there a difference between including additional information about a value (eg isLarge as in Anjo Krank's example) and putting in a pseudo-component name?
The former clearly belongs in the model, the latter in the view.
I'd tend to use the user info as hints to refine the description of the model so that the view's rule engine can make better defaults when the hints are provided in the model.
Doesn't anything else break MVC, even if you use pseudo-component names? Particularly if you have keys named d2w-xxxx in your model!
--
Dr. Mark Wardle
Consultant Neurologist, Cardiff, UK
(Sent from my mobile)
On Thursday, 3 May 2012 at 18:33, David Holt wrote:
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden