A codeset is a set of different code lists. Every codeset within JAXFront consists of any number of different code lists.

A codelist is defined by a name and consists of any number of code entries. Every code entry contains an id and a description. The description is multi lingual.

This code lists can be referred by an XUI setting to fill a drop down box or a radio button group.

 

Here is a simple codeset example.
<?xml version="1.0" encoding="UTF-8"?>
<codes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="codes.xsd">
	<codeSet name="deliveryOption">
		<code id="A">
			<de>E-Mail</de>
			<en>E-Mail</en>
		</code>
		<code id="C">
			<de>Postweg</de>
			<en>Postal Delivery</en>
		</code>
		<code id="B">
			<de>Luftweg</de>
			<en>Air-Mail</en>
		</code>
	</codeSet>
	<codeSet name="products">
		<code id="1">
			<de>HTML Renderer </de>
			<en>HTML Renderer</en>
		</code>
		<code id="2" status="invalid">
			<de>PDF Renderer </de>
			<en> PDF Renderer</en>
		</code>
		<code id="3">
			<de>JAVA Renderer </de>
			<en>JAVA Renderer</en>
		</code>
		<code id="4">
			<de>Eclipse Plugin </de>
			<en>Eclipse Plugin</en>
		</code>
		<code id="5">
			<de>XUI Editor </de>
			<en>XUI Editor</en>
		</code>
	</codeSet>
	<codeSet name="countries">
		<code id="S">
			<de>Schweiz</de>
			<en>Switzerland</en>
		</code>
		<code id="I">
			<de>Italien</de>
			<en>Italy</en>
		</code>
		<code id="D">
			<de>Deutschland</de>
			<en>Germany</en>
		</code>
	</codeSet>
	<codeSet name="deliverTo">
		<code id="1">
			<de>Lieferadresse</de>
			<en>Delivery Adress</en>
		</code>
		<code id="2">
			<de>Rechnungsadresse</de>
			<en>Billing Adress</en>
		</code>
	</codeSet>
</codes>

 

 

  • Keine Stichwörter