On Fri, July 22, 2005 2:42 pm, Craig McClanahan said:
> The standard (HTML centric) set of JSF components was deliberately
> designed to use attribute names that are similar to (or identical to)
> the HTML attributes that they correspond to.  The thinking was that
> newcomers to JSF who were using these tags would appreciate that
> familiarity.

Makes perfect sense.

> A component not in the standard set can, of course, use whatever
> attribute names it wants.  The component set that comes with Creator 2
> EA, for example, uses "label" for the label of a Button :-).

Hey now, don't go giving me any reason to actually WANT to use Creator ;)

> Same basic issue, but even more so ... the Struts tags can *only* emit
> HTML, so it made the most sense to use attribute names that
> corresponded to what was actually getting emitted:
>
> IN:     <html:button ... value="Save" .../>
>
> OUT:    <input type="submit" value="Save" ...>

Fair enough, I can't say I wouldn't have made the same decision myself. 
Thanks for the insight into the thinking. :)

> Craig

Frank


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to