Skip to main content
14-Alexandrite
August 17, 2017
Question

How to use arbitrary class for row data in table ComponentBuilder?

  • August 17, 2017
  • 0 replies
  • 874 views

Hi.

I want use non persistable class to wrap data for table row in ComponentBuilder.

But i get the exception:

Error while adding component data
java.lang.NullPointerException
 at com.ptc.core.components.beans.DataUtilityBean.getRowOid(DataUtilityBean.java:610)
 at com.ptc.core.components.beans.DataUtilityBean.doFirstPass(DataUtilityBean.java:584)
 at com.ptc.core.components.command.delegate.ModelCommandDelegate.execute(ModelCommandDelegate.java:182)

What should i do? Is it possible use custom class for this purpose? I can't find any code example in Help Center/Customization guide.

Thanks.