about us      downloads      documentation      contact      home 
 products
 antHR
 workflow studio
 technical toolkits
 content entry
 workflow
 security
 hierarchy
 concepts
 how tos
 reference
 FAQs
previous: Add config

How to: Create new converter - Test config

  Step 1 : Summary
  Step 2 : Define converter
  Step 3 : Test class
  Step 4 : Test application
  Step 5 : Add validation
  Step 6 : Add config
  Step 7 : Test config

Test the configuration by adding an XML fragment - (page 7 of 7)

Level: developer
Required reading: Defining content, Class markup

Add the following attribute above the Val property of CheckConverter
                [PropertyXml("<extension type='HowTos.IntegerDivisibleConverter'><Divisor>4</Divisor></extension>")]
        
This is the XML that is picked up by the Init method. It sets the divisor to the value 4.

As well as this method of setting the divisor the property can be edited in the content defintion dialog.




Did you find this article helpful? Comments on this page are welcome and can only help us improve the quality of our documentation.
© Ant Organisation Ltd, 2003