I realise this question doesn't relate to T5.4 but, for anyone who's searching
the mailing list, here's a way to handle the same thing in T5.4.
<t:textfield t:id="personName" placeholder="message:search-placeholder"
t:mixins="autocomplete,zoneupdater"
zoneUpdater.clientEvent="typeahead:selected typeahead:autocompleted blur"
zoneUpdater.event="changeOfPersonName"
zoneUpdater.zone="prop:personReviewZoneId"/>
void onChangeOfPersonName(@RequestParameter(value = "input", allowBlank = true)
String personName) {
// find the person and return an Ajax response that updates a zone.
...
}
ZoneUpdater:
http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/onevent
Geoff
On 27 Apr 2015, at 6:12 pm, Lance Java <lance.j...@googlemail.com> wrote:
> Is your autocomplete a select component? If so you can set the 'zone'
> attribute and handle the 'onChanged' event to update the zone.
>
> There's also the observe mixin from tapestry-stitch (
> http://t5stitch-lazan.rhcloud.com/observedemo). Note: This will require a
> javascript tweak to work with jquery (currently prototype specific).