form:list-boxサンプル1
form:list-boxサンプル1(『<biz-Stream_home>/sample/xml/form_listbox/form_listboxSample1.xml
』)
<?xml version="1.0" encoding="UTF-8"?> <!-- XML file created by biz-Stream Designer --> <!-- biz-Stream Copyright BrainSellers.com Corp. --> <Layout Name="form:list-boxSample1" Width="45" Height="70" X="5" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:bs="http://www.brainsellers.com/schema" xmlns:svg="http://www.brainsellers.com/schema" xmlns:form="http://www.brainsellers.com/schema" xmlns:pdf="http://www.brainsellers.com/schema" version="5.0.0"> <form:list-box name="Address" y="45" width="30" height="10" font-family="MSGothic" border-width="normal" border-style="solid" hidden="false" print="true" read-only="true" multi-select="false"> <form:list-values select="true">Tokyo</form:list-values> <form:list-values select="false">Osaka</form:list-values> <form:list-values select="false">Taiwan</form:list-values> </form:list-box> <form:list-box name="department" y="30" width="30" height="10" font-family="MSGothic" border-width="normal" border-style="solid" background-color="204,255,255" hidden="false" print="true" read-only="false" multi-select="false"> <form:list-values display-value="総務部" select="false">General Affairs</form:list-values> <form:list-values display-value="人事部" select="false">Human Affairs</form:list-values> </form:list-box> <form:list-box name="document" y="15" width="30" height="10" font-family="MSGothic" border-color="255,0,0" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" multi-select="true"> <form:list-values display-value="休暇届" select="false">1</form:list-values> <form:list-values display-value="保養地利用申請書" select="false">2</form:list-values> <form:list-values display-value="異動願" select="false">3</form:list-values> </form:list-box> <form:submit-button name="submit1" x="10" y="5" width="10" height="6" font-family="MSGothic" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" method="POST" format="XML" uri="mailto:technical@brainsellers.com">送信</form:submit-button> </Layout>
生成されるPDF(『<biz-Stream_home>/sample/xml/form_listbox/ form_listboxSample1.pdf
』)

- ※選択の初期値(select属性)にtrueが指定されている場合、選択された状態でPDFが生成されます。
- ※表示専用(read-only属性)にtrueが指定されている場合、選択を変更することはできません。
- ※項目(display-value属性)に値が指定されない場合、content
(#PCDATA)の値が表示されます。 - ※複数選択(multi-select属性)にtrueが指定されている場合、複数を選択することができます。
