Skip to Content
0
Former Member
Nov 27, 2018 at 04:03 PM

Wizard with dynamic attributes

877 Views

Hy everyone.

I try to create a new wizard in backoffice (hybris 6.7) and use some some dynamic attributes.

In item.xml

                 <attribute qualifier="type" type="VLOCType">
                     <description>Type</description>
                     <persistence type="property" />
                     <modifiers optional="false" initial="true" unique="false" />
                 </attribute>

                 <attribute qualifier="requestSurnameMother" type="java.lang.String">
                     <description>User name from request</description>
                     <persistence type="dynamic" />
                     <modifiers optional="false" initial="false" />
                 </attribute>
   

In backoffice-config-xml.

     <wz:flow xmlns:wz="http://www.hybris.com/cockpitng/config/wizard-config"
              id="VLOCRequestWizard" title="create.new.demand.title">
         <wz:prepare id="VLOCRequestPrepare">
             <wz:initialize property="newRequest" type="VLOCRequest" />
         </wz:prepare>
         <wz:step id="step1" label="create.new.demand.general.label">
             <wz:content id="step1.content">
                 <wz:property-list root="newRequest">
                     <wz:property qualifier="type"/>                        
                     <wz:property qualifier="requestSurnameMother"/>                    
                 </wz:property-list>
             </wz:content>
             <wz:navigation id="step1.navigation">
                 <wz:cancel />
                 <wz:back default-target="step1" />
                     <wz:done>
                         <wz:save property="newRequest" />
                     </wz:done>
             </wz:navigation>
         </wz:step>
     </wz:flow>
 </context>

After compiling and update extension, i get this. I have no input field for properties. Does anybody knows what this could be happening. Thanx a lot.

alt text

Attachments

11867-output.jpg (191.1 kB)