You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "daniel teske (JIRA)" <ji...@apache.org> on 2010/03/25 16:07:27 UTC

[jira] Updated: (WICKET-2800) misinterpretation of commented JS-Code in an AbstractTab (with AjaxTabbedPanel)

     [ https://issues.apache.org/jira/browse/WICKET-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

daniel teske updated WICKET-2800:
---------------------------------

    Description: 
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


  was:
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-Bebug 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 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


        Summary: misinterpretation of commented JS-Code in an AbstractTab (with AjaxTabbedPanel)  (was: misinterpretation of commented JS-Code in an AbstractTab)

> 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
>            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.