Don't specify the id. Just put there null, the javascript will be always rendered.
-Matej On Wed, Aug 27, 2008 at 3:20 AM, 张伟 <[EMAIL PROTECTED]> wrote: > Hello, > I use the renderJavascript(java.lang.CharSequence javascript, > java.lang.String id) method in HeaderResponse class to output the some js > code in html header. This renderJavascript method will render javascript > code to the response, if the javascript has not already been rendered. But > i want to override if the javascript has already been rendered. How can i > make it? Thank you. BTW, excuse my poor English. >
