Use EntityUtil.getFirst(List<GenericValue> values) it will return the first
record of the list, internally it do values.get(0).
Regards,
Ankit Jain
On Fri, Jun 22, 2012 at 4:43 PM, Robert G. <
[hidden email]> wrote:
> Hey,
>
> I have a list as mentioned in the subject. This is created in the
> PriceServices.Java file.
>
> My Problem is, that this list is size()=1. So all is written like 1 long
> string. But this string contains important information about the price
> rules, where I need f.ex the end-date from etc.
>
> Do you now how I can get these data out of it? Why it is just size=1?
>
> Normally I can use ".contains()" on lists...but with size=1 obviously it
> does not work.
>
> please help me soon :)
>
> Thanks
>
> Robert
>
> --
> View this message in context:
>
http://ofbiz.135035.n4.nabble.com/list-genericValue-check-for-value-get-value-tp4633929.html> Sent from the OFBiz - User mailing list archive at Nabble.com.
>