cancel
Showing results for 
Search instead for 
Did you mean: 

context parentobject is null create wizard

07-07-2021 7:35 PM
sreearumilli Participant
430 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

Hi ,

I have custom panel in the stocklevel, which holds remarksModel. Below is the configuration

  <editorArea:section name="hmc.tab.product.stockRemarks">
          <editorArea:customPanel name="stockRemark" spring-bean="stockRemarksSectionRender" position="1"/>
        </editorArea:section>

We don't have any relation between stockRemarks and stocklevel. We only match the stockRemarksId with stocklevel ID.For this during the create wizard we are trying to populate ID as below

<wz:assign property="newStockRemark.id" value="ctx.parentObject.id "/>

But it is coming as null.Is it because we don't have any relation between these models?

If it is not possible, Can I get the parentObject in the Done Handler.

<wz:custom label="Done" handler="testStockRemarkCreateWizardHandler"/>
In Handler perform method we have a map attributes any chance we can pass these values from the renderer?
public void perform(
    CustomType customType,
    FlowActionHandlerAdapter flowActionHandlerAdapter,
    Map<String, String> map) <br><br>
0 Likes

Accepted Solutions (0)

Answers (0)