I am using ck/onEvent in template file:

<select t:type="select" t:mixins="extra/OnEvent" event="change"
onCompleteCallback="myOnCompleteFunction" .../>
......
    <script type="text/javascript">
     <!--        
            function myOnCompleteFunction()
            {   
                if(true && true)
                   $('sendEmailLoadingIcon').hide();
            }
      -->
    </script>
-------------
Without  <!-- --> tags i get Tapestry template formatting exception:
                 [com.ctc.wstx.exc.WstxLazyException] Unexpected character
'&'...
With <!-- --> tags i get Prototype exception:
                 ...function is not defined.


hmmmm.... 
HOW TO SOLVE IT?
-- 
View this message in context: 
http://old.nabble.com/OnEvent-Problem-tp28814299p28814299.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to