Displaying 1 result from an estimated 1 matches for "getcontextpath".
2006 Aug 10
0
Ajax In place edit with Struts
...ird
characters. When I tried this in ROR framework everything worked fine. I
dont know how ROR handles the encoding. Please let me know if anyone had
any idea what I am missing.
This is the way that I am calling the script..
new Ajax.InPlaceEditor(''1'',
''<%=request.getContextPath()%>/examples/test.do?method=post'',{ callback:
function(form, value) { return ''gText='' + encodeURIComponent(value)},
cancelLink:false, okText:"Save", ajaxOptions: {method: ''post''}});
This is the text that I am entering ?b?cos? and it become...