Re: Correct way to JS in tapestry 5.4

2014-06-16 Thread Geoff Callender
Are you sure openLayers isn't available in registerAddressChangeListener? I don't think you need to use require in there. Aside from that, I would lean toward a different structure: - A component, say MyMap, which you put wherever you want the map to be. It would have a corresponding js, say my

Re: Correct way to JS in tapestry 5.4

2014-06-16 Thread Sanket Sharma
Thats odd. I've been noticing my emails to the list appear after a delay - not sure whats causing it. And now the code disappears! But thanks for your help. Anyways, in the meantime I already started playing with modules and require.js and got it to work. I have a few questions though. I'm not a g

Re: WebSocket for tapestry

2014-06-16 Thread Bogdan Ivascu
That did it. Sorry to keep hitting this nail but, I stumbled across another one. As described above, the push targets will "prepend" a block on every update. Inside this bock, I have eventLinks that are rendered correctly after I put in the configuration. These eventLinks are supposed to be ajax. T

Re: Correct way to JS in tapestry 5.4

2014-06-16 Thread Thiago H de Paula Figueiredo
On Sun, 15 Jun 2014 21:35:34 -0300, Sanket Sharma wrote: Hi, Hi! Now, in my application I have a open street map control that needs to be updated when a selection/text changes on the form. I was wondering what is the best way to do it in T5.4? I can potentially create a Mixin as descri

Re: Multi file upload

2014-06-16 Thread Sanket Sharma
Thanks! Will give it a shot today. Thank you once again. Sanket On Sun, Jun 15, 2014 at 8:54 AM, Ilya Obshadko wrote: > I have integrated jQuery-File-Upload in my project recently. This library > is more flexible and up-to date. > My integration scenario uses MultipartDecoder service override

Re: WebSocket for tapestry

2014-06-16 Thread Lance Java
See the "configuration" section here https://github.com/uklance/tapestry-offline On 16 Jun 2014 05:44, "Bogdan Ivascu" wrote: > Makes sense, thanks for the reply. > > Another thing that is odd. I seem to have trouble while rendering > eventLinks inside a block that is a delagate of a pushTarget.