Workarounds一词的翻译
The redirect that you can send to the user, does not work when you need to send a query string ("?foo=bar&foo2=bar2") using the xajaxResponse->addRedirect() method.
The work-around is to use xajaxResponse->addScript("top.location.href = '?foo=bar&foo2=bar';") instead of the redirect.
This issue is fixed in 0.2.1.
直接理解为工作区不太行,大概的意思是在不能根本解决问题的情况下,暂时规避。或理解为临时的解决方法.
本文探讨了在软件开发过程中遇到特定技术限制时使用的Workarounds(临时解决方案)。当使用xajaxResponse->addRedirect()方法无法正确传递带有查询字符串的重定向时,介绍了一种通过JavaScript来实现的有效替代方案,并指出此问题已在0.2.1版本中得到修复。
1294

被折叠的 条评论
为什么被折叠?



