Thanks! I've read manual you gave me and I've decided to use documentTitle
I've excluded one property, the final result looks like: {"resultOfAction":"Error appeared.Please call support service."} I don't know how to put away "key" (resultOfAction), { and }, also I don't need quotes and :. And the second question: How is it possible to execute my own JS script right after <s:a/> execution? newton.dave wrote: > > --- On Mon, 7/28/08, holod <[EMAIL PROTECTED]> wrote: >> I want to do this thing: >> 1.catch result, parse it and get value of only one public >> get*() method. >> 2.write it (targets attribute is specified). Seems like I >> just need to >> override data accept functionality >> 3.Execute JS script. This script will blur >> targets"" and then delete them. >> >> Please, tell me, how can parse data from action and then >> execute script? > > Why not just use the "includeProperties" param? Or specify a root object? > > http://cwiki.apache.org/S2PLUGINS/json-plugin.html > > The result comes back in JSON: that's a JavaScript question, not Struts. > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/%3Cs%3Aa-dojo-anchor%2C-parse-result%2C-output-it-and-then-execute-JS-tp18688029p18688936.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]