HI All,

I have created a RadioButton group with to radio buttons and associated two 
different formfragment to these radio button.
My intention is when user toggle between the two radio button I display 
different formfragment.
But issue is when use toggles radio buttons very fast both the formfragment 
disappears, whereas if you toggling slowly both the fragment toggles smoothly.

Here is the tml snippet
------------------------------------------------------------------------------------------------------------------------------------------------------------------
        <div class="t-beaneditor-row">
                <t:label for="createAction"></t:label>
                <t:RadioGroup t:id="createAction" label="Have the Codex XML?" 
value="productBuild.codexMessageAvailable">
                        <t:Radio t:id="radioY" value="true" label="Yes" 
t:mixins="triggerfragment" fragment="codexXMLFragment"/>Yes
                        <t:Radio t:id="radioN" value="false" label="No" 
t:mixins="triggerfragment" fragment="manualFragment" />No
                </t:RadioGroup>
          </div>
        <div class="t-beaneditor-row">
                <t:formfragment t:id="codexXMLFragment" 
visible="productBuild.codexMessageAvailable" t:show="show" t:hide="fade"> 
                                 <t:label for="codexMessageXML"></t:label>
                        <input t:type="TextArea" t:id="codexMessageXML" 
value="productBuild.codexMessage" t:validate="required" cols="35" rows="20"/>   
   
                     </t:formfragment> 
         </div>
        <div class="t-beaneditor-row">          
                 <t:formfragment t:id="manualFragment" 
visible="productBuild.codexMessageUnAvailable" t:show="show" t:hide="fade"> 
                        <div class="t-beaneditor-row">  
                        <t:label for="productName"></t:label>
                        <input t:type="textfield" t:id="productName"  
t:value="productBuild.productName"  t:validate="required"/>
                </div>
                <div class="t-beaneditor-row">
                        <t:label for="subProduct"></t:label>
                        <input t:type="textfield" t:id="subProduct" 
t:value="productBuild.subProduct" t:validate="required"/>
                </div>
        </div>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Any help will be appreciated.

Thanks and Regards,
Anuj Mittal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to