Skip to Content
Former Member
Jan 27, 2015 at 03:37 PM

How to set the value of a qualifier dynamically in config.xml


Hi Team,

I have a requirement to set the value of "id" i.e catalogItemID dynamically at the time of opening popup for creating catalog. This id I am generating from a service and I want to set this value to "catalogItemID".

Below is the *config.xml entry for creating catalog. When the create item popup will open by that time the id should be set to : qualifier="catalogItemID".

     <wz:flow xmlns:wz="" id="CatalogItem" title="Create new Catalog Item">
         <wz:prepare id="productPrepare">
             <wz:initialize property="newProduct" type="ctx.TYPE_CODE"/>

             <wz:content id="step1.content">
                         <wz:property-list root="newProduct">
                            <wz:property qualifier="catalogItemID" type="java.lang.String"/>
                     <wz:property qualifier="shortDesc" type="java.lang.String"  />
                     <wz:property qualifier="longDesc"  type="java.lang.String" />
                     <wz:property qualifier="catalogItemType" />
             <wz:navigation id="step1.navigation">
                     <wz:save property="newProduct"/>

Please suggest me to address this requirement.

Thanks, Kesari