Validating groups of components


i have validator, purposeis check @ least 1 check box in group selected

my question can set listener group or red focus ring appears around related components

 

i can set listener 1 of check boxes , red focus ring appears  when group  don't focus ring

( error tip displayed when user  mouses on though)

 

<validators:daysvalidator id="daysval" source="{daysmodel}" property="days" listener="{daysgroup}"/>

..

 

                <s:group id="daysgroup" height="30" width="155"
                         includein="ondaysstate">
                    <s:layout>
                        <s:horizontallayout gap="6" paddingleft="2"/>
                    </s:layout>
                   
                    <s:checkbox id="moncheckbox" skinclass="skins.dayscheckboxskin" label="m"/>
                    <s:checkbox id="tuecheckbox" skinclass="skins.dayscheckboxskin" label="t"/>
                    <s:checkbox id="wedcheckbox" skinclass="skins.dayscheckboxskin" label="w"/>
                    <s:checkbox id="thucheckbox" skinclass="skins.dayscheckboxskin" label="t"/>
                    <s:checkbox id="fricheckbox" skinclass="skins.dayscheckboxskin" label="f"/>
                    <s:checkbox id="satcheckbox" skinclass="skins.dayscheckboxskin" label="s"/>
                    <s:checkbox id="suncheckbox" skinclass="skins.dayscheckboxskin" label="s"/>
                </s:group>



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO