You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great work on the module. However I have a big problem that's preventing me from upgrading to the latest 0.9.4.3.
Inside my controller, I'm making some final checks on the request parameters trying to see if I need to return a jsonp response. If so, I would've simply done something like:
JapidResult jR = new JapidResult(getRenderResultWith(template(), stuffToRender));
StringBuilder res = jR.getRenderResult().getContent();
res.insert(0, "(").insert(0, callback).append(")");
throw jR;
But now, the RenderResultPartial sends back a new StringBuilder upon every access so my method obviously fails.
It would be optimal to always return the original StringBuilder, and not just enhance a new one every time getContent() is called.