1{{header}} 2{{include ../../xfa_catalog_1_0.fragment}} 3{{include ../../xfa_object_2_0.fragment}} 4{{include ../../xfa_preamble_3_0.fragment}} 5{{include ../../xfa_config_4_0.fragment}} 6{{object 5 0}} << 7 {{streamlen}} 8>> 9stream 10<template> 11 <subform layout="tb"> 12 <exclGroup name="RadioButtonList" layout="lr-tb"> 13 <field w="30mm" h="6mm" name="yes"> 14 <ui> 15 <checkButton shape="round"> 16 </checkButton> 17 </ui> 18 <items> 19 <text>Agree</text> 20 </items> 21 </field> 22 <field w="30mm" h="6mm" name="no"> 23 <ui> 24 <checkButton shape="round"> 25 </checkButton> 26 </ui> 27 <items> 28 <text>Disagree</text> 29 </items> 30 </field> 31 <validate nullTest="error"/> 32 </exclGroup> 33 <event activity="initialize"> 34 <script contentType="application/x-javascript"><![CDATA[ 35 {{include ../expect.js}} 36 expect("RadioButtonList.className", "exclGroup"); 37 38 expectError("RadioButtonList.execEvent()"); 39 expectError("RadioButtonList.execEvent(1, 2)"); 40 expect("RadioButtonList.execEvent('nonesuch')", null); 41 expect("RadioButtonList.execEvent('calculate')", null); 42 expect("RadioButtonList.execEvent('change')", null); 43 expect("RadioButtonList.execEvent('click')", null); 44 expect("RadioButtonList.execEvent('enter')", null); 45 expect("RadioButtonList.execEvent('exit')", null); 46 expect("RadioButtonList.execEvent('full')", null); 47 expect("RadioButtonList.execEvent('indexChange')", null); 48 expect("RadioButtonList.execEvent('initialize')", null); 49 expect("RadioButtonList.execEvent('mouseDown')", null); 50 expect("RadioButtonList.execEvent('mouseEnter')", null); 51 expect("RadioButtonList.execEvent('mouseExit')", null); 52 expect("RadioButtonList.execEvent('mouseUp')", null); 53 expect("RadioButtonList.execEvent('postOpen')", null); 54 expect("RadioButtonList.execEvent('preOpen')", null); 55 expect("RadioButtonList.execEvent('preSign')", null); 56 expect("RadioButtonList.execEvent('validate')", null); 57 58 expectError("RadioButtonList.execInitialize('badarg')"); 59 expect("RadioButtonList.execInitialize()", null); 60 61 expectError("RadioButtonList.execCalculate('badarg')"); 62 expect("RadioButtonList.execCalculate()", null); 63 64 expectError("RadioButtonList.execValidate('badarg')"); 65 expect("RadioButtonList.execValidate()", true); 66 67 expectError("RadioButtonList.selectedMember('badarg')"); 68 expect("RadioButtonList.selectedMember()", null); 69 70 expect("RadioButtonList.defaultValue", undefined); 71 expect("RadioButtonList.rawValue", null); 72 expect("RadioButtonList.transient", undefined); 73 expect("RadioButtonList.errorText", undefined); 74 ]]></script> 75 </event> 76 </subform> 77</template> 78endstream 79endobj 80{{include ../../xfa_locale_6_0.fragment}} 81{{include ../../xfa_postamble_7_0.fragment}} 82{{include ../../xfa_pages_8_0.fragment}} 83{{xref}} 84{{trailer}} 85{{startxref}} 86%%EOF 87