<?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- output directory --> <output-directory>FormBuilder/seamOutput/</output-directory> <!-- tag definition directory --> <tags-definition-directory>FormBuilder/seamLibrary/</tags-definition-directory> <!-- output file suffix --> <output-file-suffix>xhtml</output-file-suffix> <!-- header placed to the top of output file --> <header-file>header.xhtml</header-file> <!-- tail placed to the bottom of output file --> <tail-file>tail.xhtml</tail-file> <!-- type to tagFile mapping * you can specify default "length" and "size" for input * you can specify single guard condition, * if it is satisfied use another tag from guard-file-path <guard>maxLength > 255</guard> <guard-file-path>inputTextAreaTag.xhtml</guard-file-path> --> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <name>Boolean</name> <file-path>booleanTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <name>boolean</name> <file-path>booleanTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <name>Country</name> <file-path>entityTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <name>TeamManager</name> <file-path>personDragTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <name>Person</name> <file-path>personDragTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <name>Institution</name> <file-path>institutionDragTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <default-length>50</default-length> <default-size>10</default-size> <name>Integer</name> <file-path>numberTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <default-length>50</default-length> <default-size>10</default-size> <name>int</name> <file-path>numberTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <default-length>50</default-length> <default-size>10</default-size> <name>Long</name> <file-path>numberTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <default-length>50</default-length> <default-size>10</default-size> <name>Short</name> <file-path>numberTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <name>Enum</name> <file-path>enumTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <name>Date</name> <file-path>dateTag.xhtml</file-path> <guards xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">dateStamp == true</guards> <guards xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">dateTime == true</guards> <guard-file-paths xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">timestampTag.xhtml</guard-file-paths> <guard-file-paths xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">inputTextTag.xhtml</guard-file-paths> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <name>Color</name> <file-path>colorTag.xhtml</file-path> </use-types> <use-types xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.UseType"> <default-length>255</default-length> <default-size>30</default-size> <name>String</name> <file-path>inputTextTag.xhtml</file-path> <!-- <guard>maxLength > 255</guard> <guard-file-path>inputTextAreaTag.xhtml</guard-file-path> --> <guards xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">var:email</guards> <guards xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">email == true</guards> <!-- <guards xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">unique == true</guards> --> <guards xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">password == true</guards> <guards xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">link == true</guards> <guards xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">html == true</guards> <guards xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">maxLength > 255</guards> <guard-file-paths xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">emailTag.xhtml</guard-file-paths> <guard-file-paths xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">emailTag.xhtml</guard-file-paths> <!-- <guard-file-paths xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">inputTextAjaxTag.xhtml</guard-file-paths> --> <guard-file-paths xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">inputPasswordTag.xhtml</guard-file-paths> <guard-file-paths xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">inputLinkTag.xhtml</guard-file-paths> <guard-file-paths xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">inputHtmlTag.xhtml</guard-file-paths> <guard-file-paths xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">inputTextAreaTag.xhtml</guard-file-paths> </use-types> <!-- Ignore the following entityBean fields for tag generation --> <ignore-fields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.IgnoreField"> <name>id</name> </ignore-fields> <ignore-fields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.IgnoreField"> <name>version</name> </ignore-fields> <ignore-fields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:edu.baylor.icpc.formbuilder.config.IgnoreField"> <name>createdBy</name> </ignore-fields> </configuration>