[Hippo-cms7-user] adding per value to a (string) multiple field

Frank van Lankvelt f.vanlankvelt at onehippo.com
Wed May 26 16:04:15 CEST 2010


this is not possible; that is part of the JCR interface.  You can of
course easily write an abstraction on top of it.
You should realize that underneath, the full array is considered as
one value and copied.  (so arrays are increasingly expensive to update
as they grow larger)

cheers, Frank

On Wed, May 26, 2010 at 11:01 AM, Sebastiaan <svanachterbergh at gmail.com> wrote:
>
> Hi,
>
> I would like to know if there is way to only add something to a multiple
> field instead of setting all input for that field in one go.
>
> for instance when I have a field:
>
> defaultcontent:mytitles (string) multiple
>
> I don't want to use .setValue() but instead something like .addValue() .
>
> Is there a way to do this ?
>
> regards,
>
> Sebastiaan
> --
> View this message in context: http://hippo.2275632.n2.nabble.com/adding-per-value-to-a-string-multiple-field-tp5102526p5102526.html
> Sent from the Plugin Development and Customization mailing list archive at Nabble.com.
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
>



More information about the Hippo-cms7-user mailing list