[
https://issues.apache.org/jira/browse/WICKET-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-2800.
-----------------------------------
Assignee: Igor Vaynberg
Resolution: Cannot Reproduce
closing until can be reproduced with 1.4
> misinterpretation of commented JS-Code in an AbstractTab (with
> AjaxTabbedPanel)
> -------------------------------------------------------------------------------
>
> Key: WICKET-2800
> URL: https://issues.apache.org/jira/browse/WICKET-2800
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.3.7
> Environment: Tomcat 6, Java 1.6.0_10
> Reporter: daniel teske
> Assignee: Igor Vaynberg
> Priority: Minor
>
> Wicket isn't able to render the selected Tab in an AjaxTabbedPanel if there
> is a comment JS-code that is embedded in the <wicket:head>. When I press the
> F5-key after clicking on the tab, the selected panel gets rendered.
> The Ajax-Debug tells "object required"
> Here is the JS-code of my AbstractTab-Markup:
> <wicket:head>
> <script language="javascript">
> var myVar = null;
> function myFunction(id1, id2){
> //do something
> }
> /* function myCommentedFunction(id1,id2){
> if(id1 && id2){
> //do something
> }
> }*/
> </script>
> </wicket:head>
> Would I use a normal TabbedPanel or delete the commented JS-code the tab is
> working fine =/
> I don't hope that this is a Major-Bug of your <wicket:head>-interpretation!
> thanks a lot,
> danielt
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.