I'm just looking at the
JSF Core and JSF HTML tag libraries, and wondering what the logic was in the way tags were split up.
I guess initially, you'd say the HTML tags map directly to HTML elements, but that's only half the truth. Tags like message and messages don't really map to any HTML tag.
And in the core, we see things like selectItem and selectItems, which do map directly to HTML elements. Why aren't they in the HTML library?
I guess any markup, not just HTML, might have selectItems or selectItem elements in the GUI, so that's why these are in core. But then, every markup language would need messages too, so shouldn't messages go into core?
I'm not complaining or being a sour puss. I'm just wondering if there is actually a good, clear, delineating line of reasoning that I can use when describing the difference between the two libraries; a definition that would easily explain selectItem in core, and messages in HTML.
Here's a listing of which tags are in which
Java Server Faces tag library, just in case you haven't brushed up on your JSF in a while.
I'm happy to entertain guesses or opinions that would make sense. Don't feel you need to quote the JSR docs.
CORE:
actionListener : attribute : convertDateTime : converter : convertNumber : facet : loadBundle : param :
selectItem :
selectItems :
subview : validateDoubleRange : validateLength : validateLongRange : validator : valueChangeListener : verbatim :
view
HTML:
column : commandButton : commandLink : dataTable :
form : graphicImage : inputHidden : inputSecret : inputText : inputTextarea :
message :
messages : outputFormat : outputLabel : outputLink : outputText : panelGrid : panelGroup : selectBooleanCheckbox : selectManyCheckbox : selectManyListbox : selectManyMenu : selectOneListbox : selectOneMenu : selectOneRadio
-Cameron McKenzie