[Seaside][VW] Porting 2.6a2 - WAHtmlAttributes

Bany, Michel mbany at cincom.com
Fri Jan 13 16:20:28 CET 2006


Hi Avi,

I find the api of WAHtmlAttributes a bit strange.
#at: answers the value while #at:ifAbsent: and #at:ifAbsentPut: answer
an association

This imposes strange, difficult-to-read and error prone (imho)
constructs like:

	id := (html attributes at: 'id' ifAbsent: ['id' ->
'default-id']) value.

One would rather expect a behavior similar to Dictionary.

Any chance to see this corrected ?

Michel.







More information about the Seaside mailing list