[Seaside] autocomplete lists of links

Steve Lloyd steve.lloyd at ibo.org
Thu Mar 19 15:48:08 UTC 2009

I'm generating a list of links in an autocompleter


script: (html autocompleter
			element: 'schoolTerm';
			on: #renderSchoolListOn: of: self).


list := SalesListMenuComponent new.
	(items first: (items size min: 10))
		do: [:each | list
				addEntry: each schoolString
				withAction: [ self halt. each viewQueries ]].

The list renders fine, with links, but the action isn't being called when one is selected.

I'm probably missing something completely obvious....

International Baccalaureate   Steve Lloyd ICT Technical Analyst - Research Engineer
                                          Peterson House, Malthouse Ave. Cardiff Gate, CARDIFF CF23 8GL, United Kingdom
                                          Tel: +44 (0)2920 547869 | Fax: +44 (0)2920 547779 | Web: http://www.ibo.org

More information about the seaside mailing list