Wow, a response from the man himself :-)
I must admit I was secretly hoping for this and that this is another
reason web2py seems like a better choice to me.
I have been lurking at discussions for quite some time and I am
constantly amazed by the amount of responses you give, always with a
friendly tone.
A big "Thank You Massimo" is in order, not just for this, but for
everything you have done. For this great present called "web2py".

ChrisT


On Mar 4, 4:42 pm, Massimo Di Pierro <[email protected]>
wrote:
> Hello ChrisT,
>
> it is possible but I am not sure I have seen a recipe posted for this.
> I will try write one next week and post it, perhaps sooner.
>
> Massimo
>
> On Mar 4, 3:30 am, ChrisT <[email protected]> wrote:
>
> > Hello everyone,
>
> > I am in the process of evaluating web2py and django to decide which
> > one I am going to use for a project of mine.
> > I am new to both frameworks and web frameworks in general (although I
> > did experiment with Ruby on Rails a while back)
> > I must say I am learning web2py much faster than Django which has a
> > much steeper learning curve I think.
> > For the past few days however I am trying to figure out the best way
> > to do a (relatively) simple thing with both frameworks that I guess
> > many people did before me.
> > I wanted to have multiple forms grouped as one on a sigle page and a
> > jquery plugin allowing clients to add and remove forms on the client-
> > side.
> > This would be very useful in many situations in my application.
> > One example would be:
> >    * Creating an invoice (table invoice with fields such as
> > reference_no , issue_date, customer_name, etc.) with multiple invoice
> > lines (table invoice_line with fields such as description, amount,
> > etc.)
> > So I need to create a single form for the invoice creation and the
> > client must be able to add or remove from the form as many
> > invoice_lines as needed each time.
> > The fact is that I was able to figure the best way to do it in Django
> > would be using 
> > formsets:http://docs.djangoproject.com/en/dev/topics/forms/formsets/
> > and this:http://code.google.com/p/django-dynamic-formset/jQuery
> > pluging
> > I am troubled I didn't find anything similar implemented in web2py, I
> > am sure many people before me did the same thing using both
> > frameworks. I found some pieces of code here and there that enabled me
> > to come close to doing it using web2py but I consider my efforts a
> > hack (and an incomplete one so far :-))
> > I would like to know your opinions on how this should be done in
> > web2py or how someone already did this.
> > Please forgive my ignorance if I am missing the obvious here as I am
> > new to all this. In fact this is my first post so go easy on me...
>
> > Regards,
> > ChrisT
>
>

Reply via email to