[Seaside][ShoreComponents] DatePicker discussion
jacaetevha at gmail.com
Sat Sep 24 18:35:40 CEST 2005
On 9/24/05, Michel Bany <m.bany at wanadoo.fr> wrote:
> My suggestion is to add a notification in #openTag: before opening the
> html tag
> openTag: aString
> TagNotification raiseRenderer: self tagName: aString.
> self document openTag: aString attributes: self attributes.
> attributeBuffer := nil.
> allowing me to code
> datePickerOn: #dateScheduled
> of: self]
> on: TagNotification do:
> [:n |
> n tagName = 'td' ifTrue:
> [:h | n renderer attributes at: 'onclick' append: 'my
> This would help for all the widgets that are composites like checkboxes,
Michel, I would just like to cast my vote for this. In general I tend
to like event notifications because they don't add too much complexity
to the framework and they are very flexible. I would really like to
see this in place in the Squeak codebase as well.
I have a naming suggestion though, if you don't mind. How about
#raiseWithRenderer:andTagName:? It sounds more fluid to me than
#raiseRenderer:tagName: (everybody's a critic, sorry).
"I am crucified with Christ: nevertheless I live; yet not I,
but Christ liveth in me: and the life which I now live in
the flesh I live by the faith of the Son of God, who loved
me, and gave himself for me."
More information about the Seaside