Re: jQuery/autocomplete

2015-04-27 Thread Geoff Callender
Good points, Lance. Yes I will consider adding those features to JumpStart, and at the very least I will add a link to Observe. Thanks. On 27 Apr 2015, at 7:37 pm, Lance Java lance.j...@googlemail.com wrote: Hi Geoff, as stated on the demo, the observe mixin was inspired by zone updater but

Re: jQuery/autocomplete

2015-04-27 Thread Lance Java
Hi Geoff, as stated on the demo, the observe mixin was inspired by zone updater but with a few very handy differences: 1. Developers don't need to deal with request parameters. These are converted to more user friendly event arguments. 2. You can pass multiple clientside field values. In the

Re: Customized display/edit blocks for components other than the grid

2015-04-27 Thread Thiago H de Paula Figueiredo
On Mon, 27 Apr 2015 12:04:48 -0300, Davide Vecchi d...@amc.dk wrote: Hi everybody, Hi! Now I'm wondering if there is some similar mechanism in Tapestry that can be used not only for grids but also for other components, f.ex. a normal TextField not inside a grid. Not out-of-the-box. In

Re: jQuery/autocomplete

2015-04-27 Thread Lance Java
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

Re: jQuery/autocomplete

2015-04-27 Thread Geoff Callender
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

Re: W3c Validation stray input tags

2015-04-27 Thread Thiago H de Paula Figueiredo
On Sun, 26 Apr 2015 09:02:17 -0300, Stephen Nutbrown steves...@gmail.com wrote: Hi, Hi! The version of Tapestry I am using is: 5.4-beta-26, which I believe is the latest. No, it's not. Looking at https://git1-us-west.apache.org/repos/asf?p=tapestry-5.git, you can see the latest one

Customized display/edit blocks for components other than the grid

2015-04-27 Thread Davide Vecchi
Hi everybody, I would like to define a custom numeric datatype, f.ex. monetary, for the purpose of annotating fields and accessor methods with something like @DataType(monetary) so that such fields would be rendered and edited according to a custom format. I actually tried that by contributing

Re: W3c Validation stray input tags

2015-04-27 Thread Stephen Nutbrown
Hi Thiago, thanks for your reply! It looks like I was confused about the doctypes and namespaces. I finally got it fixed, thank you! For anyone else who stumbled across this thread, I was looking for the latest version here: http://mvnrepository.com/artifact/org.apache.tapestry It looks like