cancel
Showing results for 
Search instead for 
Did you mean: 

How to access a runtime object in iterator

Former Member
0 Kudos

Hi,

I need to customize an output of tableView based on some data what I read from cookies. I use iterator class and replacement bees.

But unfortunatelly runtime object is not accessible in implementation of iterator classes.

How it is possible to solve it ?

Thank you.

Marian

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Just pass in the reference to the runtime object. You can declare an input parameter to the constructor of your iterator or perhaps create a separate method of the iterator to pass it in.

From a purely desgin perspect however wouldn't it be better to encapsulate your Cookie reading logic somewhere else and then only pass in your the resulting data variables into the iterator.

Answers (0)