[opencms-dev] Make Content Value Unlazy

Alex Kandzior alex at opencms.org
Tue Apr 25 08:21:02 CEST 2017


Please provide more information about what exactly you want to iterate. 

Some basic code would help.

Lazy maps are used in multiple occurrences especially in JSP.

Kind regards,
Alex.

-------------------
Alexander Kandzior

Alkacon Software - The OpenCms Experts                                                    
http://www.alkacon.com - http://www.opencms.org                                                          



> Am 25.04.2017 um 05:43 schrieb Clement Wee <clement at elixirtech.com>:
> 
> 
> 
> Hi guys,
> 
> I am writing an EL function to convert ResourceTypes into JSON. However, I face the issue that the system uses lazy maps, so iteration returns a blank map because the map isn't initialized yet.
> 
> Is there a way to unlazy the lazy map?
> 
> Regards,
> Clement
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170425/094770e6/attachment.htm>


More information about the opencms-dev mailing list