You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Eelco Hillenius (JIRA)" <ji...@apache.org> on 2007/03/11 03:56:09 UTC
[jira] Updated: (WICKET-41) Problem in generation of the html code
of the page
[ https://issues.apache.org/jira/browse/WICKET-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eelco Hillenius updated WICKET-41:
----------------------------------
Fix Version/s: 2.0
> Problem in generation of the html code of the page
> --------------------------------------------------
>
> Key: WICKET-41
> URL: https://issues.apache.org/jira/browse/WICKET-41
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 2.0
> Reporter: Alberto Bueno
> Assigned To: Matej Knopp
> Fix For: 2.0
>
>
> When we create a page, the page generates this html code:
> <script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
> if (window.name=='') { window.location="/quickstart/app?wicket:interface=:1::INewBrowserWindowListener"; }
> /*-->]]>*/</script>
> Now, we add a button in the page (a very simple page):
> public class Index extends QuickStartPage
> {
> public Index(final PageParameters parameters)
> {
> Form form = new Form(this, "form");
> new Button(form, "button"){
> @Override
> public void onSubmit()
> {
> // TODO Auto-generated method stub
> String p = "";
> }
> };
> }
> }
> And when we click the button, in the generation of the page we have the code duplicated:
> <script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
> if (window.name=='') { window.location="/quickstart/app?wicket:interface=:1::INewBrowserWindowListener"; }
> /*-->]]>*/</script>
> <script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
> if (window.name=='') { window.location="/quickstart/app?wicket:interface=:1::INewBrowserWindowListener"; }
> /*-->]]>*/</script>
> And if we continue clicking the button, the page continues duplicating the code...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.