Re: [html-formfu] Writing Catalyst - FormFu tests

2009-08-17 Thread Ascii King
I've tested the nested repeatable fix within my application and it is working great so far. Birds came out and sang to me because life was so good. Thanks for the help, guys! Carl Franks wrote: Hi Ascii, I've fixed HTML-FormFu - it wasn't handling counter names / values properly in nested re

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-08-10 Thread Ascii King
Thanks for looking into this one, guys. I am travellin g right now and can't test it in my normal application until next week. I'm looking forward to it, though. Carl Franks wrote: Hi Ascii, I've fixed HTML-FormFu - it wasn't handling counter names / values properly in nested repeatables. It

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-08-07 Thread Carl Franks
Hi, Thanks for pointing out the repeatable-repeatable problem - I've now committed your Model-DBIC tests. Cheers, Carl ___ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-08-07 Thread Carl Franks
Hi Ascii, I've fixed HTML-FormFu - it wasn't handling counter names / values properly in nested repeatables. It now takes $self->counter_name, and then searches up the parent hierarchy for a field matching that name, it then uses that field's nested_name() to retrieve the correct count-value. I'

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-07-30 Thread Mario Minati
I just tested your test and can approve that it's bug. Further debuging revealed that it seams to be a bug in HTML::FormFu::Element::Repeatable. The 'counter_name' field is not adopted to the parents nested_name apropriately. So we need to add some more wired logic in Repeatable. But it's to

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-07-30 Thread Ascii King
OK. So, three months later I have the test files done that will test the ability to write to a repeatable nested within another repeatable in HTML-FormFu-Model-DBIC. I am a little afraid to commit these to the trunk(?), though because I don't want to mess up everything. I have attached the tes

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-04-17 Thread Ascii King
So, I have updated the schema to include a has_many to has_many relationship and written a test for it. I have logged in and checked out the code, modified and updated it. When I try to commit it, it asks again for my login. Is this because i don't have rights to modify the code? Is there someo

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-04-09 Thread Carl Franks
2009/4/8 Ascii King : > I'm trying to write a test to demonstrate a problem I am having with Formfu > and Catalyst and a repeatable within a repeatable.  I am only just learning > how to write tests. Is the following test a good example of what I should be > doing? > > http://html-formfu.googlecode

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-04-08 Thread Ascii King
Doh! Thanks. Moritz Onken wrote: Well, the test folder is not installed on your machine. you need to get the source code from cpan or svn: http://search.cpan.org/CPAN/authors/id/C/CF/CFRANKS/HTML-FormFu-Model-DBIC-0.03007.tar.gz ___ HTML-FormFu m

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-04-08 Thread Moritz Onken
Well, the test folder is not installed on your machine. you need to get the source code from cpan or svn: http://search.cpan.org/CPAN/authors/id/C/CF/CFRANKS/HTML-FormFu-Model-DBIC-0.03007.tar.gz Am 08.04.2009 um 18:17 schrieb Ascii King: Thanks, Moritz. However, I am a dunce and I don't act

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-04-08 Thread Ascii King
Thanks, Moritz. However, I am a dunce and I don't actually know where the lib folder is on my Ubuntu machine. Where is my perl installed do you know? Moritz Onken wrote: Hi, in that test there are two lines: use DBICTestLib 'new_db'; new_db(); Those do create this test.db file. You can simpl

Re: [html-formfu] Writing Catalyst - FormFu tests

2009-04-08 Thread Moritz Onken
Hi, in that test there are two lines: use DBICTestLib 'new_db'; new_db(); Those do create this test.db file. You can simply copy the lib folder inside t/ and call this method in your tests, too. Am 08.04.2009 um 16:33 schrieb Ascii King: I'm trying to write a test to demonstrate a problem

[html-formfu] Writing Catalyst - FormFu tests

2009-04-08 Thread Ascii King
I'm trying to write a test to demonstrate a problem I am having with Formfu and Catalyst and a repeatable within a repeatable. I am only just learning how to write tests. Is the following test a good example of what I should be doing? http://html-formfu.googlecode.com/svn/trunk/HTML-FormFu-Mo