Greetings,
I have been trying to work with the StringHeaderContributors. However, I have 
observed a rather strange behavior while using Wicket 1.2.3. The header 
contributions seem to be appearing and disappearing randomly. I have tested a 
class for a simple webpage (see below) with a corresponding HTML page. If I 
click on the link, the contributions appear normally. However, if I refresh the 
page which contains the target URL of that page, the contributions sometimes 
appear, and sometimes not.

Does this problem have something in common with the fixed HeaderContribution 
issue in the Wicket 1.2.3? This problem seems to be nonexistent when using 
Wicket 1.2.1.

Thanks for any advice.

 Robert Novotny

-------------------
public class SimpleContributingPage extends WebPage {
        public SimpleContributingPage() {
                super();

                add(new StringHeaderContributor(\"<title>\" + new Date() + 
\"</title>\"));
                add(new PageLink(\"self\", SimpleContributingPage.class) {
                        public void onClick() {
                                super.onClick();
                                System.out.println(new Date() + \" : clicked\");
                        }
                });
        }
}

-------------------
<html xmlns:wicket>
        <head></head>
        <body>
                <a wicket:id=\"self\">[Self]</a>
        </body>
</html>
  


------- reklama ---------------------------------------
http://webhosting.szm.com - AKCIA, domeny a webhosting za najnizsie ceny
Ziskaj vlastnu domenu, webstranku www.mojadomena.sk a vlastne maily
[EMAIL PROTECTED] v cenach uz od 50Sk/mesiac.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to