Skip to main content

Mikkel Flindt Heisterberg: The easy way to loop an XPage managed bean

Mikkel Flindt Heisterberg demonstrates The easy way to loop an XPage managed bean:

A quick tip is to make sure your Managed Bean implements Iterable if it contains a list of "things" and the obvious behaviour would be to loop over these things. If you implement Iterable you simple loop on the object using the "new" for-loop (when in Java) instead of first returning a List or array and...

Community: Java Enterprise