AnsweredAssumed Answered

checked value of radio button in alfresco

Question asked by bvlspadmavathi on May 3, 2007
i have written schema definition for a radio button as:

<xs:simpleType name="my_choices">
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="first_choice"/>
<xs:enumeration value="second_choice"/>
<xs:enumeration value="third_choice"/>

</xs:restriction>
</xs:simpleType>

<xs:element name="my_group">
<xs:complexType>
<xs:sequence>

<xs:element name="my_radio">
<!– force radios by using appearance="full" –>
<xs:annotation><xs:appinfo>
<alf:appearance>full</alf:appearance>
</xs:appinfo></xs:annotation>
</xs:element>

</xs:sequence>
</xs:complexType>
</xs:element>

when i check one radio button, immediately i should get the value of radio button checked in the alfresco. how to write schema, when i select a radio button the checked value should be assigned to a element in schema definition

Outcomes