Hi,

I have a problem on my ActionLink button. it call twice onActionFrom
after i have clicked on it.
below are my coding.  is anyone have any idea on it?

Thank you.
Regards,
tan
TML:

<t:GRID
           t:id="grid"

           t:source="Materials"
           t:Model="MaterialModel"
           t:row="Material"
           t:rowsPerPage="10"
           t:pagerPosition="both"
           t:inPlace="literal:true">


               <t:parameter name="Cell">
               <t:if t:test="SoConvert">
                   <t:actionlink t:id="select" t:mixins="confirm"
t:message="Are you sure you want to Convert?"  t:context="Material.id"
>
                       <button>Convert</button>
                   </t:actionlink>
                   </t:if>
               </t:parameter>
           </t:GRID>

class file:
void onActionFromSelect(Long id)
    {
        try
        {
                System.out.println("clicked");
        }
        catch (Exception e)
       {
             System.out.println("error");
        }
    }


Console message :

clicked
clicked

Reply via email to