ok, I think this is my last question concerning this subject :)
I get a list with "delegator.findList(...)"
f.ex. for the Entity ProductReview I get:
/{[GenericEntity:ProductReview][productId,10000(java.lang.String)][productReview,this
is an example review no.
1(java.lang.String)][userLoginId,admin(java.lang.String)],
[GenericEntity:ProductReview][productId,10000(java.lang.String)][productReview,this
is an example review no.
2(java.lang.String)][userLoginId,admin(java.lang.String)]}
/
now I want to add a key value pair to both entries of this list. I could
only succeed when I change a value of an existing key, but adding a new K-V
combination I could not succeed. I also tried it with
"UtilMisc.addToSetInList", but couldnt get it work.
Do someone know the solution?
I want a result like (bold marked is new):
/{[GenericEntity:ProductReview][productId,10000(java.lang.String)][productReview,this
is an example review no.
1(java.lang.String)][userLoginId,admin(java.lang.String)]*[newValue,thisIsTheNewValue(java.lang.String)]*,
[GenericEntity:ProductReview][productId,10000(java.lang.String)][productReview,this
is an example review no.
2(java.lang.String)][userLoginId,admin(java.lang.String)]*[newValue,thisIsTheNewValue(java.lang.String)]*}
/
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/get-random-entries-from-entity-field-tp4634190p4634361.html
Sent from the OFBiz - User mailing list archive at Nabble.com.