Re: WebSocket for tapestry

2014-05-21 Thread Lance Java
I've implemented this feature in tapestry-cometd but it's not been implemented in tapestry-atmosphere yet. I think it's only a couple of lines of javascript. I have just updated the outstanding issue with a possible solution here: https://github.com/uklance/tapestry-atmosphere/issues/5 Pull reque

Re: Tapestry 5.4 Select: Can't stop tapestry generating it's own clientId

2014-05-21 Thread George Christman
Lance, I think I'm encountering a similar issue with the textfields. I have a textfield nested in a ajaxformloop. When I create a new row the textfield gets the initial id of activityCode_a91bfdca926f. This is a required field, so when I leave it blank and try to save the form I get the serverside

Re: Tapestry 5.4 Select: Can't stop tapestry generating it's own clientId

2014-05-21 Thread Thiago H de Paula Figueiredo
On Wed, 21 May 2014 15:17:42 -0300, George Christman wrote: Lance, I think I'm encountering a similar issue with the textfields. I have a textfield nested in a ajaxformloop. The code that generates the client ids for almost all Tapestry-provided form field components is the same, located

Re: Tapestry 5.4 Select: Can't stop tapestry generating it's own clientId

2014-05-21 Thread Lance Java
I was forced to add data- attributes to the fields and use jquery selectors by the data attributes instead of by id. I can only assume these selectors perform poorly compared with id selectors. Having no way to set the id on a field is a pretty epic fail to me. I feel this should be fixed before 5

Re: event triggering inside form loop

2014-05-21 Thread Ilya Obshadko
On Wed, May 21, 2014 at 5:51 AM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: I'm confused about the aim here. There's one form, yet there's one submit > per row. If you make changes to rows 1, 2, and 3, then click submit on row > 2, what do you expect to happen in the DB and clie

Re: event triggering inside form loop

2014-05-21 Thread Geoff Callender
Very good. On 22 May 2014, at 3:00 pm, Ilya Obshadko wrote: > On Wed, May 21, 2014 at 5:51 AM, Geoff Callender < > geoff.callender.jumpst...@gmail.com> wrote: > > I'm confused about the aim here. There's one form, yet there's one submit >> per row. If you make changes to rows 1, 2, and 3, then

Re: event triggering inside form loop

2014-05-21 Thread Ilya Obshadko
On Tue, May 20, 2014 at 11:09 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 20 May 2014 14:45:48 -0300, Ilya Obshadko > wrote: > > Yes, this is it. I have a component which is looped over. >> >> class MyComponent { >>@Parameter >>private MyObject obj; // assigne