On Tue, Mar 08, 2005 at 11:09:08AM +0100, Daniel Fagerstrom wrote: > Then in the template you write: > > <ft:widget name="date"> > <ft:label>birthday</ft:label> > </ft:widget> > > By placing labels, hints etc in the template (view) instead of in the > widget definition you get rid of the view info from the "model" and by > improving SoC it becomes easier for people that are web designers rather > than programmers to work with on the view aspect of the application.
The label was put in the model to facilitate the common case of using the same label across multiple templates. While this can be handy, it also causes problems because labels are logically a view concern. Perhaps we could relieve this tension by treating any label specified in the model as merely a default, and allowing templates to override this by supplying an optional explicit ft:label element. --Tim Larson
