<div> </div>
<div>I know that its not possible to change that, because of incompatibility problems to older versions.</div>
<div>But i would be nice to have an access to all such attributes without using</div>
<div>attributes at: aKey, because i cant guess the correct key inside a program.</div>
<div>Is it also not possible to define a category with accessing and updating methods</div>
<div>which corresponds to the XHTML standard.</div>
<div><br> </div>
<div><span class="gmail_quote">2008/2/25, Lukas Renggli <<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">These are mostly things that cannot be changed easily, because these<br>names belong to the most used public API. While I agree that today<br>
some of these attribute-methods would maybe be named slightly<br>different, you must see that Seaside is collaborative effort of more<br>than 6 years with more than 30 contributors. It is impossible to have<br>an absolutely consistent style, even if we try to keep it that way as<br>
much as possible.<br><br>> aString = 'columns' ifTrue: [theString := 'cols'].<br>> aString = 'selected' ifTrue: [theString := 'checked'].<br>> aString = 'maxLength' ifTrue: [theString := 'maxlength'].<br>
> aString = 'verticalAlign' ifTrue: [theString := 'valign'].<br>> aString = 'character' ifTrue: [theString := 'char'].<br>> aString = 'characterOffset' ifTrue: [theString := 'charoff'].</blockquote>
<div> </div>
<div> Sorry, its only copy and paste of my ugly code to circumvent all these issues!</div>
<div> It shows only a list of the differences.</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I don't understand the above examples.<br><br>> url -> src<br><br>That makes very much sense, because it makes it possible to handle<br>
images (src) and anchors (href) polymorphic. Attributes should be<br>named after their intention, not the XHTML definition string.<br><br>Cheers,<br>Lukas<br><br>--<br>Lukas Renggli<br><a href="http://www.lukas-renggli.ch">http://www.lukas-renggli.ch</a><br>
_______________________________________________<br>seaside-dev mailing list<br><a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
</blockquote></div><br>