Hi,

I have a page that contains a zone (from an InPlace grid) that I'd like to update manually from within a javascript function. I can already call a function of the grid (subclass of the grid) that returns the script that should do this updating.

The response Looks something like this

{"script":"Tapestry.init({\"linkZone\":[[\"update:11b2c20aff7\", \"kommentarGrid\"],[\"sort:11b2c20aff7 \",\"kommentarGrid\"],[\"sort2:11b2c20aff7\",\"kommentarGrid\"], [\"sort:11b2c20aff7_0\",\"kommentarGrid \"],[\"sort2:11b2c20aff7_0\",\"kommentarGrid\"]]});\n","content":"<div class=\"t-data-grid\"><div class =\"headline\">\n\n<span class=\"headlinebuttons\"><\/span><\/div><a href=\"/app/page /dataecg.kommentargrid.update?t:ac=35967\" id=\"update: 11b2c20aff7\">update<\/a><table class=\"t-data-grid \"><thead><tr><th class=\"timestamp t-sort-column-ascending t-first \"><a class=\"t-sort-column-ascending \" href=\"/app/page/dataecg.kommentargrid.columns:sort/timestamp/ kommentarGrid?t:ac=35967 \" id=\"sort:11b2c20aff7\">Zeitpunkt<\/a><a class=\"t-sort-column- ascending\" href=\"/app
.......


Now that I have this "script" on the client (in my javascript function). How do I "execute" it (have the update performed).

I tried to call

Tapestry.processScriptInReply(script);

but it did not do anything not even returning or causing an error in Firefox.

Any clues?

M.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to