1 Reply Latest reply on Mar 12, 2010 3:46 AM by nikos101

    How does the generate details form work.

    nikos101 Level 2

      I don't really understand how the generate details form works.

       

      Fb4 generates this code and when you click on the grid the form gets populated. I'm not sure how the values get passed to the form

       

      <mx:FormItem label="ItemId">
                          <s:TextInput id="itemIdTextInput" text="{items2.ItemId}"/>
                      </mx:FormItem>


          <valueObjects:Items id="items2" ItemId="{parseInt(itemIdTextInput.text)}" NoInStock="{parseInt(noInStockTextInput.text)}" SupplierID_FK="{parseInt(supplierID_FKTextInput.text)}" UnitSize_FK="{parseInt(unitSize_FKTextInput.text)}" MinStockWarning="{parseInt(minStockWarningTextInput.text)}" UnitSizeID="{parseInt(unitSizeIDTextInput.text)}" SupplierID="{parseInt(supplierIDTextInput.text)}"/>