[Seaside] Magritte Description for a collection

Hilaire hilaire at drgeo.eu
Sat Jan 31 19:58:29 UTC 2015


Hi,

Let's say I have a model with a single attribute as a collection of strings.

I want a Magritte description and a Seaside component to fill this
collection and edit it when not empty:
- the user should be able to add new string in the collection with '+'
link and an appropriate text field
- if the collection contains 3 items, the component should come with 3
text fields

Any tips how to achieve that?

Thanks

PS: Of course the end goal is to replace the string of the collection by
any other model Magritte described.


Hilaire

-- 
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu



More information about the seaside mailing list