Yes, I have tried this new version too, but the problem seems to persist. I
have noticed some backports in the AbstractBehavior class, could this be the
cause/solution?


igor.vaynberg wrote:
> 
> have you tried 1.2.4?
> 
> -igor
> 
> 
> On 12/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>
>> 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>
>>                  [Self] 
>>         </body>
>> </html>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/StringHeaderContributor-acting-strangely-tf2891929.html#a8079951
Sent from the Wicket - User mailing list archive at Nabble.com.


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