Re: [Wicket-user] Update ListView via AJAX
before: add(new ListView("listview" after WebMarkupContainer container=new WebMarkupContainer("container"); container.setOutputMarkupId(true); contianer.add(new ListView("listview" ... -igor On 12/29/06, August Detlefsen <[EMAIL PROTECTED]> wrote: I've seen the Wiki entry that says: "You can't, you need to put it into a WebMarkupContainer and repaint that container instead." http://www.wicket-wiki.org.uk/wiki/index.php/ListView But does anyone have some example code illustrating this? Thanks, August - 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 - 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
[Wicket-user] Update ListView via AJAX
I've seen the Wiki entry that says: "You can't, you need to put it into a WebMarkupContainer and repaint that container instead." http://www.wicket-wiki.org.uk/wiki/index.php/ListView But does anyone have some example code illustrating this? Thanks, August - 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
Re: [Wicket-user] wicket-2.0 snapshots
Does anyone know who runs the http://maven.sateh.com/wicket/ site? On 12/29/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: still waiting for johan to setup our dedicated wicket server to host them :) -igor On 12/29/06, Ryan Sonnek < [EMAIL PROTECTED]> wrote: > > the maven2 snapshots of wicket seems to be down. > I've been using wicket-repository (http://maven.sateh.com/wicket/) for > quite a while now. anyone else use that server or have an alternate? > > > - > 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 > > > - 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 - 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
Re: [Wicket-user] Patch to compile wicket-portlet-examples-1.3 for wicket 2.0
sounds good :) -igor On 12/29/06, Gustavo Hexsel <[EMAIL PROTECTED]> wrote: I'll try to get it to actually run (not only compile), then I'll submit :) On 12/29/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > thanks, could you please attach it to a jira issue - there is the checkbox > you need to check in when making an attachment in jira that specifies the > code is asl compliant > > -igor > > > > On 12/29/06, Gustavo Hexsel <[EMAIL PROTECTED]> wrote: > > > > Hi there, > > > > I've noticed that the 2.0 repository didn't have > > wicket-portlet-examples. I'm sending a patch that enables > > wicket-portlet-examples in the 1.x branch to compile under Wicket2.0. > > If anyone feels like adding the code to the branch (I don't have > > commit rights), feel free to use/modify the patch as sees fit. > > > > []s Gus > > > > > > > - > > 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 > > > > > > > > > > > - > 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 > > > - 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 - 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
Re: [Wicket-user] Patch to compile wicket-portlet-examples-1.3 for wicket 2.0
I'll try to get it to actually run (not only compile), then I'll submit :) On 12/29/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > thanks, could you please attach it to a jira issue - there is the checkbox > you need to check in when making an attachment in jira that specifies the > code is asl compliant > > -igor > > > > On 12/29/06, Gustavo Hexsel <[EMAIL PROTECTED]> wrote: > > > > Hi there, > > > > I've noticed that the 2.0 repository didn't have > > wicket-portlet-examples. I'm sending a patch that enables > > wicket-portlet-examples in the 1.x branch to compile under Wicket2.0. > > If anyone feels like adding the code to the branch (I don't have > > commit rights), feel free to use/modify the patch as sees fit. > > > > []s Gus > > > > > > > - > > 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 > > > > > > > > > > > - > 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 > > > - 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
Re: [Wicket-user] wicket-2.0 snapshots
still waiting for johan to setup our dedicated wicket server to host them :) -igor On 12/29/06, Ryan Sonnek <[EMAIL PROTECTED]> wrote: the maven2 snapshots of wicket seems to be down. I've been using wicket-repository (http://maven.sateh.com/wicket/) for quite a while now. anyone else use that server or have an alternate? - 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 - 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
Re: [Wicket-user] Patch to compile wicket-portlet-examples-1.3 for wicket 2.0
thanks, could you please attach it to a jira issue - there is the checkbox you need to check in when making an attachment in jira that specifies the code is asl compliant -igor On 12/29/06, Gustavo Hexsel <[EMAIL PROTECTED]> wrote: Hi there, I've noticed that the 2.0 repository didn't have wicket-portlet-examples. I'm sending a patch that enables wicket-portlet-examples in the 1.x branch to compile under Wicket2.0. If anyone feels like adding the code to the branch (I don't have commit rights), feel free to use/modify the patch as sees fit. []s Gus - 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 - 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
Re: [Wicket-user] wicket-2.0 snapshots
I have never used a maven repository but you may checkout the src from the SVN repo under https://svn.apache.org/repos/asf/incubator/wicket/trunk Regards Korbinian PS: dont forget to include the SL4J jar and the binding jar for your preferred logging as well as the logging jars Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan Sonnek Gesendet: Freitag, 29. Dezember 2006 22:36 An: wicket-user@lists.sourceforge.net Betreff: [Wicket-user] wicket-2.0 snapshots the maven2 snapshots of wicket seems to be down. I've been using wicket-repository (http://maven.sateh.com/wicket/) for quite a while now. anyone else use that server or have an alternate? - 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
[Wicket-user] Patch to compile wicket-portlet-examples-1.3 for wicket 2.0
Hi there, I've noticed that the 2.0 repository didn't have wicket-portlet-examples. I'm sending a patch that enables wicket-portlet-examples in the 1.x branch to compile under Wicket2.0. If anyone feels like adding the code to the branch (I don't have commit rights), feel free to use/modify the patch as sees fit. []s Gus Property changes on: . ___ Name: svn:ignore - target + target build dist Index: src/main/java/wicket/examples/portlet/ExamplePortlet.java === --- src/main/java/wicket/examples/portlet/ExamplePortlet.java (revision 491085) +++ src/main/java/wicket/examples/portlet/ExamplePortlet.java (working copy) @@ -1,9 +1,8 @@ package wicket.examples.portlet; import javax.portlet.WindowState; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - import wicket.ResourceReference; import wicket.markup.html.basic.Label; import wicket.markup.html.form.Form; @@ -19,7 +18,7 @@ */ public class ExamplePortlet extends PortletPage { - private static final Log log = LogFactory.getLog(ExamplePortlet.class); + private static final Logger log = LoggerFactory.getLogger(ExamplePortlet.class); /** * @@ -31,12 +30,12 @@ PropertyModel messageModel = new PropertyModel(this, "message"); // The label displays the currently set message - add(new Label("msg", messageModel)); + new Label(this, "msg", messageModel); // Add a form to change the message. We don't need to do anything // else with this form as the shared model is automatically updated // on form submits - Form form = new Form("form") + Form form = new Form(this, "form") { protected void onSubmit() @@ -46,29 +45,27 @@ }; - form.add(new TextField("msgInput", messageModel)); + new TextField(form, "msgInput", messageModel); - add(new Link("link") + new Link(this, "link") { public void onClick() { log.info("link clicked"); message = "Link clicked!"; } - }); + }; - add(form); - add(new Link("link2") + new Link(this, "link2") { public void onClick() { setResponsePage(new ExamplePortlet2(ExamplePortlet.this)); } - }); + }; - add(new Image("image",new ResourceReference(ExamplePortlet.class,"wicket-logo.png"))); - + new Image(this, "image",new ResourceReference(ExamplePortlet.class,"wicket-logo.png")); } private String message = "[type your message to the world here]"; Index: src/main/java/wicket/examples/portlet/ExamplePortlet2.java === --- src/main/java/wicket/examples/portlet/ExamplePortlet2.java (revision 491085) +++ src/main/java/wicket/examples/portlet/ExamplePortlet2.java (working copy) @@ -6,10 +6,9 @@ import javax.portlet.PortletMode; import javax.portlet.WindowState; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - import wicket.Page; import wicket.ajax.AjaxRequestTarget; import wicket.ajax.markup.html.AjaxLink; @@ -25,7 +24,7 @@ */ public class ExamplePortlet2 extends PortletPage { - private static final Log log = LogFactory.getLog(ExamplePortlet.class); + private static final Logger log = LoggerFactory.getLogger(ExamplePortlet2.class); long counter = 0; @@ -42,16 +41,16 @@ */ public ExamplePortlet2(final Page page) { - add(new Link("link") + new Link(this, "link") { public void onClick() { setResponsePage(page); } - }); - add(new Label("windowState", new PropertyModel(this, "windowState"))); - add(new Label("portletMode", new PropertyModel(this, "portletMode"))); - add(new Image("image", new RenderedDynamicImageResource(100, 100) + }; + new Label(this, "windowState", new PropertyModel(this, "windowState")); + new Label(this, "portletMode", new PropertyModel(this, "portletMode")); + new Image(this, "image", new RenderedDynamicImageResource(100, 100) { protected boolean render(Graphics2D graphics) { @@ -67,20 +66,19 @@ graphics.drawOval(x, y, dx, dy); return true; } - })); + }); - final Label counterValue = new Label("counter", + final Label counterValue = new Label(this, "counter", new PropertyModel(this, "counter")); counterValue.setOutputMarkupId(true); - add(counterValue); - add(new AjaxLink("counterLink") + new AjaxLink(this, "counterLink") { public void onClick(AjaxRequestTarget target) { counter++; target.addComponent(counterValue); } - }); + }; } protected void onSetWindowState(WindowState state) Index: pom.xml === --- pom.xml (revision 491085) +++ pom.xml (working copy) @@ -22,24 +22,20 @@ xsi:schemaLocation="http://maven.apache.org/POM/
[Wicket-user] wicket-2.0 snapshots
the maven2 snapshots of wicket seems to be down. I've been using wicket-repository (http://maven.sateh.com/wicket/) for quite a while now. anyone else use that server or have an alternate? - 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
[Wicket-user] emotion wiring
- Dick WolfThe multitude of books is making us ignorant. Limited Ed, Alice In Wonderland A Guide to Dry Stone Walling STONE WORK D I Y ! Ia the system flawed ? But his proposals have to get approval from the House of Commons; and it is now becoming more likely that this will not happen. Life has changed, and we have more flexibility to do what we want, when we want, provided we set the RIGHT PRIORITIES. All it takes is a little investment of your time and you could begin receiving product freebies, including free books online today. Prohibition wasn't going to work; neither is a four year grace period. Did Flaherty ever talk to the Prime Minister ? The key is doing that which needs to be done RIGHT NOW and setting the right priorities. Our current Report shows the chart and our two undervalued gold stock picks. php"Learn About New Books Before Anyone Else DoesLooking for a new interesting book? Companies are ready to reward you for your efforts today. Not only does book ownership provide you with hours, and hours of escape and enrichment, a well-stocked library is a great heirloom for future generations. php"The Audio Books' RevolutionAudio books are here and they are here to stay. Comments:Recent PostsTed Lindsay-the ultimate goonThe trouble with Canadian stocks. SUPER HARDANGER BOOKS LOT 5 OOP Diana Palmer LONG TALL TEXANS 15 stories, duets! Well, we think they chose the wrong man; Ignatieff would have been better. Our rating system is designed to find undervalued stocks; and especially those that are undervalued big time; most of these stocks, for some reason, have, so far, not gone up much. Find out all about the revolution of audio books. - Chester BrownMy books are elegiac in the sense that they're odes to a nation that even I sometimes think may not exist anymore except in my memory and my imagination. Ia the system flawed ? In addition, there are literally hundreds of sites that offer other freebies in return for filling out simple forms. - Kathie Lee GiffordUnlike many of my contemporaries, I never write books for my fellow professors to read. Well, we think they chose the wrong man; Ignatieff would have been better. - Peter BenchleyI was an only child growing up in New York and reading was my escape. The front runners were clearly Ignatieff and Rae; 1 and 2; but 3 and 4 got together and became 1; and 3 becomes the winner. Our current Report shows the chart and our two undervalued gold stock picks. php"Learn About New Books Before Anyone Else DoesLooking for a new interesting book? I loved Sherlock Holmes. Your address will not be given to any third parties. SUPER HARDANGER BOOKS LOT 5 OOP Diana Palmer LONG TALL TEXANS 15 stories, duets! The books that probably had the biggest effect on me were Hound of the Baskervilles and also Mutiny on the Bounty. I loved Sherlock Holmes. Canadian stocks rated by Iain Fraser: Gold ! piously.gif Description: GIF image - 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
Re: [Wicket-user] StringHeaderContributor acting strangely
I have filed a jira report (WICKET-188) for this. Robert Johan Compagner wrote: > > can you make a testcase and create a jira for this? > > johan > > > On 12/28/06, Robert Novotny <[EMAIL PROTECTED]> wrote: >> >> >> 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(\"\" + new >> Date() >> >> + >> >> \"\")); >> >> add(new PageLink(\"self\", >> SimpleContributingPage.class >> ) >> >> { >> >> public void onClick() { >> >> super.onClick(); >> >> System.out.println(new Date() + \" : >> >> clicked\"); >> >> } >> >> }); >> >> } >> >> } >> >> >> >> --- >> >> >> >> >> >> >> >> [Self] >> >> >> >> >> >> >> > >> > >> >> -- > > -- View this message in context: http://www.nabble.com/StringHeaderContributor-acting-strangely-tf2891929.html#a8086589 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
Re: [Wicket-user] How do I obtain row index in a DataTable ?
make a jira feature request for this. On 12/28/06, Ingram Chen <[EMAIL PROTECTED]> wrote: Hi all DataTable + AbstractColumn are already satisfied almost our requirement. But occasionally I require "row" index of table, not just cell-index in AbstractColumn cols.add(new AbstractColumn(new Model("#"), "no") { public void populateItem(Item cellItem, String componentId, IModel rowModel) { int cellIndex = cellItem.getIndex(); int rowIndex = } }); is there any way to obtain row index ? my intuitive thought is using Item = cellItem.getRowItem(); thanks in advanced! -- Ingram Chen ��便��啦: http://dinbendon.net blog: http://www.javaworld.com.tw/roller/page/ingramchen - 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 - 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
Re: [Wicket-user] StringHeaderContributor acting strangely
can you make a testcase and create a jira for this? johan On 12/28/06, Robert Novotny <[EMAIL PROTECTED]> wrote: 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(\"\" + new Date() >> + >> \"\")); >> add(new PageLink(\"self\", SimpleContributingPage.class ) >> { >> public void onClick() { >> super.onClick(); >> System.out.println(new Date() + \" : >> clicked\"); >> } >> }); >> } >> } >> >> --- >> >> >> >> [Self] >> >> >> > > -- 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 - 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