Re: [xwiki-users] Dynamic number of fields in Class

2012-10-15 Thread Marius Dumitru Florea
On Sat, Oct 13, 2012 at 4:04 PM, poppakap poppa...@yahoo.com wrote: Ok, it appears that there isn't an automagical way to do it. I was hoping that I might be missing something simple, but I guess that I need to do it in code. AppWithinMinutes creates a single xclass per application (e.g.

Re: [xwiki-users] Dynamic number of fields in Class

2012-10-15 Thread Sergiu Dumitriu
On 10/15/2012 02:11 AM, Marius Dumitru Florea wrote: On Sat, Oct 13, 2012 at 4:04 PM, poppakap poppa...@yahoo.com wrote: Ok, it appears that there isn't an automagical way to do it. I was hoping that I might be missing something simple, but I guess that I need to do it in code.

Re: [xwiki-users] Dynamic number of fields in Class

2012-10-13 Thread poppakap
Ok, it appears that there isn't an automagical way to do it. I was hoping that I might be missing something simple, but I guess that I need to do it in code. In the ShoppingCartSheet, I added a little bit of velocity script to add in the ShoppingCartItem object with a button click post. So in

[xwiki-users] Dynamic number of fields in Class

2012-10-12 Thread poppakap
This post has NOT been accepted by the mailing list yet. Hello all, if this has already been answered, please let me know where, I have searched all over the place!! I want to have a class that contains a dynamic number of multiple fields. Think of it like say a shopping cart. You have one

Re: [xwiki-users] Dynamic number of fields in Class

2012-10-12 Thread Jerome Velociter
Hi, The scenarios you describe are definitely possible to achieve with XWiki. The way to realize what you want is to have a several objects per item type (and not several fields of the same object). For example, for a shopping cart you would have for each page with a cart : - An object of

Re: [xwiki-users] Dynamic number of fields in Class

2012-10-12 Thread poppakap
Thank you so much. I am ALMOST able to understand, sorry for being a newbie here... but I have an AppWithinMinutes application. There is a ShoppingCartHome with a livetable containing multiple ShopptingCarts. The livetable works great, and allows you to edit a shopping cart in its list. When