Re: WicketTester clickLink: Ajax-Response not rendered into the page?

2010-11-11 Thread Martin Grigorov
you need to use tester.clickLink(path, true) after clicking on ajax link you need to use tester.getLastRenderedPage() and do whatever you want with that page (click another link, submit form, ...) On Wed, Nov 10, 2010 at 8:51 PM, Hans Lesmeister hans.lesmeis...@lessy-software.de wrote: Hi, I

AW: panel can not be refreshed

2010-11-11 Thread Mehmet.Kaplankiran
Can someone help me? When the constructor DocEditPage is called, the variables file, file name and content type are null. These variables set to be later. But the panel is not refreshed. -Urspr√ľngliche Nachricht- Von: Kaplankiran, Mehmet Gesendet: Mittwoch, 10. November 2010 13:09 An:

Re: Hints for creating a form-embedded Grid

2010-11-11 Thread MattyDE
Thanks thierry, but i want to extend my own component -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Hints-for-creating-a-form-embedded-Grid-tp3037298p3037377.html Sent from the Users forum mailing list archive at Nabble.com.

Re: panel can not be refreshed

2010-11-11 Thread Ernesto Reinaldo Barreiro
The approach described in [1] used to work for me some time ago. Regards, Ernesto 1-https://cwiki.apache.org/WICKET/displaying-content-eg-pdf-excel-word-in-an-iframe.html On Thu, Nov 11, 2010 at 9:19 AM, mehmet.kaplanki...@t-systems.com wrote: Can someone help me? When the constructor

Panel to be used as an abstract container

2010-11-11 Thread Poko Booth
Hi all, my first mail here, glad to join your community! I want to do the following: Create a panel that will be rendered as a box with rounded corners. I dont want it to have it's inner components predefined in its class but dynamically adding them on each page the panel is present. I wish I

AW: panel can not be refreshed

2010-11-11 Thread Mehmet.Kaplankiran
The code is also from this link. It works if filename and content type is hard coded. (See my email from yesterday). But at runtime I can not view other file. -Urspr√ľngliche Nachricht- Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Gesendet: Donnerstag, 11. November 2010

How do I create bookmarkable link to somewhat dynamic content?

2010-11-11 Thread Sky
My first post as a newbie to Wicket DL, so am ready for flames - if the question is too silly or obvious. My website will expose bunch of files for end users search for and selectively download. The backend webserver which is to be hidden from public will contain files in following URL

Re: Panel to be used as an abstract container

2010-11-11 Thread Martin Grigorov
I think you need Fragment instead of Panel On Thu, Nov 11, 2010 at 9:47 AM, Poko Booth poko.bo...@gmail.com wrote: Hi all, my first mail here, glad to join your community! I want to do the following: Create a panel that will be rendered as a box with rounded corners. I dont want it to have

Re: Panel to be used as an abstract container

2010-11-11 Thread Poko Booth
Just to see if we are on the same page: You mean that the CustomPanel.html will be like this: ... div class=RoundedStuff div wicket:id=contents / /div ... And in the APage.html: ... div wicket:id=pnl / wicket:fragment wicket:id=whatever ...PANEL CONTENTS HERE... /wicket:fragment ... and

Re: Panel to be used as an abstract container

2010-11-11 Thread Martin Grigorov
Yes, the panel always contribute with its .html (always the same html). The Fragment is the dynamic content (so small that you don't to create Panel for it). This is what you want, right ? On Thu, Nov 11, 2010 at 10:35 AM, Poko Booth poko.bo...@gmail.com wrote: Just to see if we are on the

Re: Panel to be used as an abstract container

2010-11-11 Thread Poko Booth
Exactly, thank you very much! I will try that in the afternoon. I had no idea about Fragments, never used them before. I want to use this panel only for ui purposes. I don't want to repeat rounded corners markup in each page or multiple times in the same page, better have it in one place. Thank

Re: Panel to be used as an abstract container

2010-11-11 Thread Martin Grigorov
If you have rounded corners at bottom of the panel then you'll need to add the Fragment *in* the Panel, but provide wicket:fragment in the Page (the fragment's markup provider) It is a bit tricky but I'm sure you'll manage it. On Thu, Nov 11, 2010 at 11:02 AM, Poko Booth poko.bo...@gmail.com

Re: Panel to be used as an abstract container

2010-11-11 Thread Poko Booth
Yes! Exactly, that's what I described in the previous mail. I hope panel will able to find the fragment declared to its parent. I'll let you know. On Thu, Nov 11, 2010 at 12:23 PM, Martin Grigorov mgrigo...@apache.orgwrote: If you have rounded corners at bottom of the panel then you'll need to

Re: Memory Leak in 1.4.13?

2010-11-11 Thread Martijn Dashorst
It is real, in our application we encountered this as well, but thought it was something we did wrong. Switching to httpsessionstore solved our immediate problem, so we didn't think to investigate further. The culprit might be the commits related to

Re: Need Wicket Book

2010-11-11 Thread Arjun Dhar
I've been playing with Wicket for a while now and i think in certain areas (specially internal architecture) i need to still connect the dots at a larger scale so was researching books. Wicket In Action Enjoying Web Development with Wicket seem to emerge. Wicket In Action -- Seems more

Re: Need Wicket Book

2010-11-11 Thread Martijn Dashorst
You can download the first 4 chapters of EWDWW for free iirc, just as you can download 3 WiA chapters (2 from the book, one as an extra). Read those and see which writing style is more to your liking. As far as Wicket in Action is concerned: we tried to be as practical as possible, and go in

why are Component.hasErrorMessage and hasFeedbackMessage final?

2010-11-11 Thread Michal Kurtak
Hi folks, I try to implement persistent feedback messages (feedback messages that persist until next validate call). I would like to achieve this by having special attribute with persistent messages in a component and overriding hasErrorMessage method like this: public boolean hasErrorMessage()