Hi all,
I've been able to build a component based on divs with AjaxLoopForm. It's
working fine, however I've had recently change request to the whole thing
and I was pushed to make it work on tables. So here I am again on starting
point.

In the end I don't intend to use AjaxLoopForm (at least I don't expect to),
however I think I may have found a bug.

I've adapted
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/formloopwithholders1
example
and I noticed that the elements structure is bit messed up and it prevents
jquery selector from finding the correct element (add row / remove row) and
adding 'click' event to it.

Can anyone confirm my observation?
If not I'll try to reproduce spike code to show the issue.


​Best regards,
Michal

On Fri, Oct 25, 2013 at 10:38 PM, Michał Gruca <michalgr...@gmail.com>wrote:

> Hi all,
> I've digged deeper and found out the difference. I'm trying to do a
> ajaxloopform on a tr table element.
> https://gist.github.com/anonymous/7161243
> Gist is a simplified version of a form (as whole thing is rather big). I
> almost wanted to gave up and started to implement a table based on divs
> with css styles for it.
>
> Spike is based on Taha blog post
> http://tawus.wordpress.com/2011/07/26/tapestry-ajaxformloop/
>
> Please help. I feel dumb as pack of nails, as this looks almost like a
> textbook example of using ajaxformloop
>
>
> Many thanks,
> Michal
>
> Pozdrawiam
> Michał Gruca
>
> -----------------------------------------------
> Kontakt:
> kom: 504-148-568
> @: michalgr...@gmail.com
> blog:  www.rits.pl
>
>
> On Thu, Oct 24, 2013 at 12:14 PM, Michał Gruca <michalgr...@gmail.com>wrote:
>
>> Ok,  I've started fresh project and all is good
>>
>> I'll be offline for better part of the day,  but I'll send the code when
>> possible.
>> Sorry for raising alarm
>>
>> Regards,
>> Michal
>>
>> Sent from my mobile
>> 24 paź 2013 09:22 "Peter Hvass" <p.hv...@albourne.com> napisał(a):
>>
>> Hi!
>>>
>>>
>>> It's been working fine for us in a number of places on sites now running
>>> 5.4.
>>>
>>>
>>> Could you paste what you've got so far? A fresh set of eyes might be
>>> able to
>>> point out the issue immediately.
>>>
>>>
>>> Thanks,
>>> Peter
>>>
>>> ----- Original Message -----
>>>
>>> From: "Michał Gruca" <michalgr...@gmail.com>
>>> To: "Tapestry users" <users@tapestry.apache.org>
>>> Sent: Thursday, October 24, 2013 12:56:13 AM
>>> Subject: [T5.4] AjaxFormLoop - is it working?
>>>
>>> Hi all,
>>> I've been working to get AjaxFormLoop running for a while. The problem
>>> may
>>> be between chair and keyboard, and I've failed on copy pasting.
>>>
>>> I need a simple table that allows to add and remove rows inside a form. I
>>> hope for a simple version, as nothing fancy is necessary.
>>> Actually first implementation by Taha is what would be a perfect case for
>>> me: http://tawus.wordpress.com/2011/07/26/tapestry-ajaxformloop/
>>> However it does not work neither does jumpstart example with holders
>>>
>>> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/formloopwithholders1
>>>
>>> It looks like no events are being generated by add and remove links. If
>>> anyone can confirm that would be good enough as at least I'd know that
>>> all
>>> is okay with me ;)
>>>
>>> I've been testing on 5.4.21; 5.4.23 and I think that around 5.4.11 was
>>> first time I postponed that feature due issues
>>>
>>> Many thanks and kind regards
>>> Michal Gruca
>>>
>>>
>

Reply via email to