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 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 sin

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

2012-10-14 Thread Marius Dumitru Florea
On Sat, Oct 13, 2012 at 4:04 PM, poppakap 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. ShoppingCartClass

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

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

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 cla