Re: Form autocomplete property
On Sat, 01 Jan 2005 00:49:04 +0800, Andrew Hill <[EMAIL PROTECTED]> wrote: > > a rather puritanical approach > > > Yes, that about sums it up. Except that it was really a *deliberate* puritannical approach :-). Part of the thing about "doing open source" is the opportunity to make political statements -- in this case, "just say no" to supporting what was originally solely an IE capability (and this is one of several popular nonstandard attributes we don't support). Historically, I and the other Struts committers have maintained that attitude, even though some other browsers have supported some of the nonstandard attributes on some of the elements, with some level of fidelity to the way that IE does it. (As you can see from that sentence, supporting this kind of thing would be a testing nightmare, especially for those of us who don't run Windows at all.) I see no reason to change that attitude -- instead, I see an opportunity for people who really want that capability to create their own extended versions of the tags, that do whatever you want. It certainly makes sense for the base tag classes themselves to be internally organized to make such specializatied subclasses relatively painless (and there's been quite a bit of progress in that direction over the years), but fundamentally the development and testing burden should be on yourselves. Or, band together at someplace like struts.sourceforge.net and create a "value add" tag library that adds all the attributes you want. > > Im rather of the opinion that all the struts html tags should have some > kind of generic mechanism to allow you to specify any non-standard > attributes you want. Perhaps something like: > > > > > > Though that would have problems with those that have body content. > hmm... :-( Besides being technically problematic, that would also violate the "just say no" spirit :-). Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Form autocomplete property
a rather puritanical approach Yes, that about sums it up. Im rather of the opinion that all the struts html tags should have some kind of generic mechanism to allow you to specify any non-standard attributes you want. Perhaps something like: Though that would have problems with those that have body content. hmm... :-( Though Flemming G. Jensen wrote: Hi List, First: I wish you all will have a happy 2005 with a lot of good Struts based applications! Now my question: The Struts html-tag library does not support the autocomplete property. Why not? I know that the autocomplete property is not in the W3Org standard, but that does not mean it is un-important to web-applications with on-line payments. The autocomplete property is an IE extension, but Opera and Firefox support it. However, Firefox 1.0 has a bug in its implementation, which you have to circumvent in a javascript in order to make it work properly, if you do not have the time to extend the Struts html-tag lib. I am asking this question due to these facts: Our team has just gone live with a Struts based web-application http://www.fisketegn.dk. The site runs on an Oracle Application Server and an Oracle Database. The customer is a department under the Danish Ministry of Food and Agriculture. On the site persons as well as certified shops can buy a public fishing license, since you have to buy a license in order to angle in the sea, lakes or streams in Denmark. Many people, for example turists, buy their licenses in shops, where many people have access to the same PC. So it was a customer demand to the application that we turned off the autocomplete function in html input fields, which take care of any login or payment functionality. In this case we were not happy to discover that the Struts developers have taken a rather puritanical approach to standards. So I hope you will improve this great API with better properties support in future releases. Regards Flemming G. Jensen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Form autocomplete property
Hi List, First: I wish you all will have a happy 2005 with a lot of good Struts based applications! Now my question: The Struts html-tag library does not support the autocomplete property. Why not? I know that the autocomplete property is not in the W3Org standard, but that does not mean it is un-important to web-applications with on-line payments. The autocomplete property is an IE extension, but Opera and Firefox support it. However, Firefox 1.0 has a bug in its implementation, which you have to circumvent in a javascript in order to make it work properly, if you do not have the time to extend the Struts html-tag lib. I am asking this question due to these facts: Our team has just gone live with a Struts based web-application http://www.fisketegn.dk. The site runs on an Oracle Application Server and an Oracle Database. The customer is a department under the Danish Ministry of Food and Agriculture. On the site persons as well as certified shops can buy a public fishing license, since you have to buy a license in order to angle in the sea, lakes or streams in Denmark. Many people, for example turists, buy their licenses in shops, where many people have access to the same PC. So it was a customer demand to the application that we turned off the autocomplete function in html input fields, which take care of any login or payment functionality. In this case we were not happy to discover that the Struts developers have taken a rather puritanical approach to standards. So I hope you will improve this great API with better properties support in future releases. Regards Flemming G. Jensen -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]