Try it with OnDomReadyHeaderItem or OnLoadHeaderItem nstead of JavaScriptHeaderItem

Wicket's ajax implementation makes sure that header items are rendered once only.

On 08/05/2013 12:10 PM, saty wrote:
yes, when the panel normally loads the java scripts are added as

renderHead(IHeaderResponse response)

{
.
response.render(JavaScriptHeaderItem.forReference(new
PackageResourceReference(Mypanel.class,"custom.js")));        
}

and this is working fine.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-refresh-a-tab-tp4658652p4658655.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to