Re: 5.4 Endless Scroll Component

2014-04-11 Thread Lance Java
Perhaps Barry's solution could be applied to my pager component http://tapestry-stitch.uklance.cloudbees.net/pagerdemo The pager is driven by GridDataSource but allows you to render a page of data however you like (ie in an list).

Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-11 Thread Jon Williams
hi, Why is my alerts component rendering all alerts twice, first in order then once again in reversed order? w/ tap 5.4 beta 3, my tapestry alerts component is rendering all the org.apache.tapestry5.alerts.Alert objects twice. 1st in the correct order, and then once again in the reverse order. So

datatable editor and ajaxFileUpload - Why isn't this AJAX?

2014-04-11 Thread Lidija Dolinar
Hi, I have a datatable editor and I'm using ajaxFileUpload to upload an image. I can edit an item in datatable and for example change it's picture - upload a new one. Now I've stumbled upon an issue: I can't seem to determine (from JavaScript) if there was an error uploading file on the server si

How to reset a form enclosed in a zone from the java-side handler?

2014-04-11 Thread Jon Williams
I have a form enclosed in a zone. When I submit the form with my register button, it's being handled by method: private Object onSelectedFromRegister() { ... return zone; } The default behaviour seems to be that when the zone gets re-rendered the UI form fields retain their submitted post value

Re: How to reset a form enclosed in a zone from the java-side handler?

2014-04-11 Thread Geoff Callender
I'd recommend using Form's normal events. See: http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/whatiscalledandwhen or for T5.4: http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/whatiscalledandwhen Instead of returning the zone from onSelected, ret