I figured it out

Tnx Howard for pointing me in right direction.

For those interested here is what did the trick for me

    public JSONObject getAutoParams() {
        JSONObject params = new JSONObject();
        params.put("select", new JSONLiteral("function (event, ui)
{alert('This is the call back function');}"));
        return params;
    }

and I pass this as the options parameter in the autocomplete component/mixin



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Passing-a-javascript-function-in-JSONArray-or-JSONObject-tp5717095p5717099.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