[Seaside] dynamic selection - liveCallback question

Bany, Michel mbany at cincom.com
Tue Jun 28 12:26:58 CEST 2005


> the thing to remember about live stuff is that the update must send
new content 
> for an element that can be found using  getElementById() in
javascript. 

Did anybody try to update more than one element ?


	html attributes at: 'style' put: 'width: auto'.
	html 
		selectFromList: FilterOperator availableOperators
		selected: operator
		callback: [:v |]
		labels: [:ea | ea opCode]
		liveCallback: 
			[:item :h | 
			operator := item.
			self renderValuesOn: h.
			self renderStatusMessageOn: h.
			self renderAsNameOn: h]


where the three renders in the callback correspond to three different
ids.


More information about the Seaside mailing list