Hi All,
I'm reluctant to add anything to the tags that is not part of the spec. Adding this to the extended components would be fine (i.e. x:inputText) but I'd rather not see it added to the h: components.
What are others thoughts on this?
TTFN,
=bd=
On Jan 5, 2005, at 7:10 PM, Ray Clark wrote:
I agree the force is not meaningfull enough. I like the other attribute names that have been proposed.
Thanks, Ray
--- Martin Cooper <[EMAIL PROTECTED]> wrote:
On Tue, 4 Jan 2005, Sean Schofield wrote:
I wanted to kick off a new thread dedicated to myproposed solutionthat would allow the JSP developer to indicatewhether they wanted to"force" the use of the id attribute supplied(instead of using the oneattribute. It hasgenerated by the component.)
The first thing is to square away the name of thebeen suggested that we could use an attributenamed "directId" or"styleId". StyleId would be in keeping withStruts but I personallyprobably don't wantallways found that to be confusing.
After thinking about it, I concluded that weeither of those choices because they wouldnecessitate writing the iddirectId.twice.
ex. <h:input id='foo' ... directId='foo' />
... Or sometimes using id and sometimes usingattribute that is
I think a better alternative is to have antrue/false. I would suggest either one of thefollowingwith the true/false"override","overrideId", "force", "forceId".
ex. <h:input id='foo' ... force='true'/>
My personal vote is for 'force'. Do people agreeapproach? If so, which attribute name do youthink we should use?
The approach is fine, but I don't like 'force' because it says nothing about what it applies to. I'd prefer 'forceId' or maybe even 'useIdAsIs'.
-- Martin Cooper
TIA, sean
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

