I noticed that specifying a [Plural("...")] attribute on a class does not result in it being used in the display of a column header of a collection of that type in a table.
Eg. when using Html.CollectionTable...() methods.
I thought I'd jump into the deep end of the code to see if I could make it do that.
I tracked it down to where "Name" is being selected off an IEnumerable of INakedObjectAssociation in the NakedObjects.Mvc project, line 1452 in CommonHtmlHelper.cs.
However, I could not find how to obtain the INakedObjectSpecification of the entity collection property from the INakedObjectAssociation that was available in order to access it's PluralName property. Perhaps it isn't possible in that context. I am
not sure; first time swimming in this code. :) Any thoughts?
However, I ran into a problem getting the projects compiled.
While trying to build the Framework solution, I got the following:
"Unable to find version '22.214.171.124' of package 'NakedObjects.ProgrammingModel'. NakedObjects.Architecture"
The ProgrammingModel solution built fine. But I was unable to find a dll to reference by that name in the bin folder of the Programming Model project.
And of course the MVC solution gave this:
"Unable to find version '126.96.36.199' of package 'NakedObjects.Framework'. NakedObjects.Mvc.App"
How do I get the various references setup between the solutions / projects?