Re: Memory Leak in 1.4.13?

2010-11-11 Thread Nico Guba
Wouldn't a profiler help pinpoint the culprit? Sent from my iPhone On 12 Nov 2010, at 00:06, Mark Doyle wrote: > I don't have any details to add except I say I saw this today too. > > I have a page with a lot of ajax panels on that are switched in and out. If > I refreshed the page without do

Re: internationalizing page title

2010-11-11 Thread Josh Kamau
Poko, The page extends another page, tags enables the page to contribute the header section to the parent page. Regards. On Thu, Nov 11, 2010 at 1:56 PM, Poko Booth wrote: > According to this [ > https://cwiki.apache.org/WICKET/javascript-and-css-support.html] you don't > need both head and wi

Re: Ajax response render as source in the browser

2010-11-11 Thread Dan Retzlaff
We had this issue with Apache HTTPD in front of Tomcat. "Random" pages would be rendered as text/plain instead of text/html. Bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=43478 Discussion: http://markmail.org/message/btwcnbl2i7ftwj4n#query:mod_proxy_ajp%20plain+page:1+mid:btwcnbl2i7ftwj

Re: 1.5-M2.1 to 1.5-M3 src/wicket fewer loc

2010-11-11 Thread richard emberson
I used cloc-1.52.pl http://sourceforge.net/projects/cloc/files/ On 11/11/2010 07:07 PM, Jeremy Thomerson wrote: On Thu, Nov 11, 2010 at 9:30 PM, richard emberson< richard.ember...@gmail.com> wrote: Generally, software grows in size, so I am surprised that the number of loc in the src/wicket/s

Re: 1.5-M2.1 to 1.5-M3 src/wicket fewer loc

2010-11-11 Thread Jeremy Thomerson
On Thu, Nov 11, 2010 at 9:30 PM, richard emberson < richard.ember...@gmail.com> wrote: > Generally, software grows in size, so I am surprised that > the number of loc in the src/wicket/src/{main,test} > directories went from: > > apache-wicket-1.5-M2.1: 95770 loc > > to > > apache-wicket-1.5-M3: 8

1.5-M2.1 to 1.5-M3 src/wicket fewer loc

2010-11-11 Thread richard emberson
Generally, software grows in size, so I am surprised that the number of loc in the src/wicket/src/{main,test} directories went from: apache-wicket-1.5-M2.1: 95770 loc to apache-wicket-1.5-M3: 87011 loc Looking at the ChangeLog I could not see anything that would indicate that some 8K loc were

Re: NPE when the underlaying model changed and ajax re-appear.

2010-11-11 Thread Igor Vaynberg
jira+quickstart -igor On Thu, Nov 11, 2010 at 5:48 PM, smallufo wrote: > Hi , thanks > I tried , but NPE is still thrown , with the same stacktrace... > Is there anything I missed ? > > Here is my border's HTML : > > >   > > > border's java code : > >    content = new WebMarkupContainer("conte

Re: NPE when the underlaying model changed and ajax re-appear.

2010-11-11 Thread smallufo
Hi , thanks I tried , but NPE is still thrown , with the same stacktrace... Is there anything I missed ? Here is my border's HTML : border's java code : content = new WebMarkupContainer("content"); content.setOutputMarkupPlaceholderTag(true); content.setVisible(defaultExpanded

Re: Memory Leak in 1.4.13?

2010-11-11 Thread Mark Doyle
I don't have any details to add except I say I saw this today too. I have a page with a lot of ajax panels on that are switched in and out. If I refreshed the page without doing anything the session size would grow continuously. I also noticed some odd memory size (2.1MB +) related to the AutoCo

Re: NPE when the underlaying model changed and ajax re-appear.

2010-11-11 Thread Igor Vaynberg
s/border.add(commentsView);/border.getbodycontainer().add(commentsView);/ On Thu, Nov 11, 2010 at 1:42 PM, smallufo wrote: > Hi , I have a simple panel , with a border and a listView : > > >   >     >      //comment layout >     >   > > > And the code : > > add(border); > ListView commentsView

NPE when the underlaying model changed and ajax re-appear.

2010-11-11 Thread smallufo
Hi , I have a simple panel , with a border and a listView : //comment layout And the code : add(border); ListView commentsView = new ListView("commentsView" , new LoadableDetachableModel>() { @Override protected List load() { return commentDao.getComments(0 , 10);

Re: internationalizing page title

2010-11-11 Thread Poko Booth
According to this [https://cwiki.apache.org/WICKET/javascript-and-css-support.html] you don't need both head and wicket:head tags. Since this is a page just head is enough. Also, if your page is extending another one, I think you should have only one title tag. In my apps I use a with in the

palette problem when click "submit"

2010-11-11 Thread jeikrak
hi I have the following problem. this is my palette: List gestiones = ComponentReferenceApplication.getGestionesBean(); IChoiceRenderer rendererGes = new ChoiceRenderer("FullcodigoGestion", "FullcodigoGestion"); final Palette paletteGestiones = new Palette("paletteGesti

Re: Panel to be used as an abstract container

2010-11-11 Thread Poko Booth
Martin, wicket border was what I actually needed ;) Thanx for your time On Nov 11, 2010, at 12:29 PM, Poko Booth wrote: > 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, 2

Re: Memory Leak in 1.4.13?

2010-11-11 Thread Pedro Santos
Hi guys, can you give a try? https://issues.apache.org/jira/browse/WICKET-3108?focusedCommentId=12931123&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12931123 On Thu, Nov 11, 2010 at 10:05 AM, Martijn Dashorst < martijn.dasho...@gmail.com> wrote: > It is real, i

internationalizing page title

2010-11-11 Thread Josh Kamau
Am trying to internationalize the page title. The below snipplet doesnt seem to work. Where am i going wrong? regards Josh

Re: How do I create bookmarkable link to somewhat dynamic content?

2010-11-11 Thread Igor Vaynberg
ahh, if its not a page use a shared resource. there are pages on the wiki that explain how and this also: http://stackoverflow.com/questions/1512510/wicket-dynamic-image-url -igor On Thu, Nov 11, 2010 at 10:13 AM, Sky wrote: > > Bookmarkable page link with page parameters will give me a URL simi

Re: How do I create bookmarkable link to somewhat dynamic content?

2010-11-11 Thread Sky
Bookmarkable page link with page parameters will give me a URL similar in structure to: http://www.MyPublicLink.com/getFile?file=/1997/03/12/report52.xls&server=server25 How do I construct a page to return a non-html page - but to return an unzipped inputStream that I obtained by contacting

Re: How do I create bookmarkable link to somewhat dynamic content?

2010-11-11 Thread Igor Vaynberg
bookmarkable page link with page parameters -igor On Thu, Nov 11, 2010 at 1:01 AM, Sky wrote: > 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 downloa

Re: Need Wicket Book

2010-11-11 Thread Martijn Dashorst
On Thu, Nov 11, 2010 at 2:15 PM, Nico Guba wrote: > Wouldn't the imminent release of Wicket 1.5 warrant a second edition? > It would be most welcome indeed :) Writing the second edition would not be on the scale of 'imminent'. The first edition took 2 guys roughly 2 years of personal time. Not so

Re: Need Wicket Book

2010-11-11 Thread adam.gibbons
Wicket in Action is very good, it covers all the topics you'd want and in a reasonable amount of detail. I got mine as a pdf, much more handy for searching for things than a paper based one, plus better for the environment! There really needs to be a whole book on models, well not just models, bu

Re: Need Wicket Book

2010-11-11 Thread Nico Guba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wouldn't the imminent release of Wicket 1.5 warrant a second edition? It would be most welcome indeed :) On 11/11/2010 1:00 PM, Martijn Dashorst wrote: > You can download the first 4 chapters of EWDWW for free iirc, just as > you can download 3 WiA ch

Re: Hints for creating a form-embedded Grid

2010-11-11 Thread jcgarciam
Ok, just an idea from top of my head: let your component render a form (just one) and your grid (as usually), this generated form would have all your inline fields as hidden fields. On your grid via js you will trigger the submit operation of this hidden form (and pass all the edited values to it

Re: Memory Leak in 1.4.13?

2010-11-11 Thread Jeremy Thomerson
If those commits turn out to be the problem, I'll try to fix them while still fixing the reported issues in that JIRA. It will be difficult to to without a quickstart that demonstrates the issue you are now having, or at least a good idea of how to create one. Jeremy Thomerson http://wickettrainin

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() {

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 depth

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 c

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 https://issues.apache.org/jira/browse/WICKET-310

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 wrote: > If you have rounded corners at bottom of the panel then you'll need to add > the Fragment

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 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 wrote: > Exactly, thank you very much!

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
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 wrote: > Just to see if we are on the same page: > > You mean

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: ... ... And in the APage.html: ... ...PANEL CONTENTS HERE... ... and in APage.java: ... CustomPanel pnl = new CustomPanel("pnl"); pnl.add(new Fragment("contents","whatever"); ... Right? On

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 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 it's inner com

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 forma

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

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 c

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, wrote: > Can someone help me? > When the constructor DocEditPage is called, the variables

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.

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