I have a ParamterValue class that references the ParamterDefinition class, by the ParamterValue-> paramDef property. I created ParamerValueType to create the form.
How can I access the ParameterValue-> paramDef object in a template? I just need this for some logic when rendering the form, in fact I don't need to display ParameterDefinition, so I do not include the paramDef form field in ParamterValueType. Even if I wanted to, how could I access the underling object from the form view field?
So, the general situation looks like this: I have an object that I want to create from a form, this object has a link to another object that has the data needed to render the form (but I do not need a widget for it, just some data to execute logic). Do I need to include this object in the ParameterValueType object to access it or not?
source share