Re: Reporting Framework & Wicket

2009-10-20 Thread nino martinez wael
True, Jfreechart only can produce images.. So it depends on your use case. 2009/10/18 Douglas Ferguson > I thought it also brought the capability to generate pdf and word > docs, which I don't think JFreeChart can do.. > > D > > On Oct 17, 2009, at 1:42 PM, nino martinez wael wrote: > > > As I s

RE: Hippo's patch for wicket ids

2009-10-20 Thread Bernhard Michal
Works for me, your xpath must be wrong. Your syntax is ok. Either there is no element (link) with attribute wicketpath="tablePanel_leftList_tableList_pojoList_18_nameCell_namePanel Link_name" or there is no div tag inside an element... -Original Message- From: Douglas Ferguson [mailto

Column filtering on inmethod datagrid

2009-10-20 Thread Linda van der Pal
I've tried to add column filtering to the inmethod datagrid by creating a new class ChoiceFilteredPropertyColumn which extends the new class FilteredPropertyColumn, which extends the inmethod PropertyColumn and implements the new interface IFilteredColumn. In other words, I've merged two sets o

Re: Hippo's patch for wicket ids

2009-10-20 Thread Berry van Halderen
On Thu, Oct 15, 2009 at 1:14 PM, Per Lundholm wrote: > Looks like a patch to make it easier to use Selenium to test your > webapplication. > > Selenium is very fond of id in tags. > Correct, this patch (PD) we use in order to get Selenium to work, and it works pretty well. What is basically the

Re: Re: Google App Engine and Wicket

2009-10-20 Thread A. Maza
On 20:59, Eelco Hillenius wrote: It's probably a good idea to have a specialized implementation of ISessionStore for App Engine that uses whatever makes sense with App Engine for medium term storage ('cause that's what it is... short term storage is the current page, which is typically local me

Variation of parent component isn't passed to image - Bug?

2009-10-20 Thread Liz Huber

Re: Reusable components and wicket:id

2009-10-20 Thread Pedro Santos
Hi Tómas, What the form component RadioButtonGenerico receive as id, the validation message will use as label. The code should generate the outputs: * Field 'rapidezAtencion' is required. * Field 'explicacionClara' is required. your report output : is an generic markup or always the "score" id

Variation of parent component isn't passed to image - Bug?

2009-10-20 Thread Liz Huber
Hi, I came across a problem an other group member has already written about (please have a look his post http://markmail.org/thread/auqhcd66zwsflt33#query:wicket%20image% 20parent%20variation+page:1+mid:auqhcd66zwsflt33+state:results). But he didn't get an answer. Actually the variation of a comp

Re: Re: Google App Engine and Wicket

2009-10-20 Thread richardwilko
Hi, The Terracotta SecondLevelCacheSessionStore does not contain any Terracotta specific implementation or dependencies, and should work fine on AppEngine (I haven't tested it though). All it is is an implementation of IPageStore, where the pages are serialized to byte arrays (like the disk stor

Re: Google App Engine and Wicket

2009-10-20 Thread A. Maza
On 20.10.2009 13:30, richardwilko wrote: Hi, The Terracotta SecondLevelCacheSessionStore does not contain any Terracotta specific implementation or dependencies, and should work fine on AppEngine (I haven't tested it though). All it is is an implementation of IPageStore, where the pages are se

Re: Google App Engine and Wicket

2009-10-20 Thread richardwilko
andr, >From Wikipedia [1]: "The Apache License does not require modified versions of the software to be distributed using the same license nor even that it be distributed as free/open-source software. The Apache license only requires that a notice is kept informing recipients that Apache license

Re: Google App Engine and Wicket

2009-10-20 Thread richardwilko
Oh, sorry I just realized that it has the terracotta licence header on it, had I realized i would have removed it. That's because the version of the file i had to hand was from the terracotta forge svn repo, and code in there has to have their licence. Originally it was Apache 2 licensed and I w

Re: Google App Engine and Wicket

2009-10-20 Thread A. Maza
On 20.10.2009 14:48, richardwilko wrote: Oh, sorry I just realized that it has the terracotta licence header on it, had I realized i would have removed it. That's because the version of the file i had to hand was from the terracotta forge svn repo, and code in there has to have their licence.

why is the model empty?

2009-10-20 Thread Peter Arnulf Lustig
hi, in the submit logic the getModel().getObject() is an empty string although I set it via textfield: final Button tagSubmit = new Button("tagSubmit", Model.of("")) { @Override public void onSubmit() { tagTitle.getModel().getObject() // it is empty!!

Re: Reusable components and wicket:id

2009-10-20 Thread Tomás Rossi
Sure, here's the markup (BTW, using Wicket 1.4.2): PanelEncuesta.html (means SurveyPanel): ... Muy Bueno Bueno Regular Malo Ns/Nc Rapidez en la atención Explicaciones claras Resolución del prob

Re: why is the model empty?

2009-10-20 Thread Jeremy Thomerson
Look at the HTTP request - is the value getting submitted? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 20, 2009 at 8:17 AM, Peter Arnulf Lustig wrote: > hi, > > in the submit logic the getModel().getObject() is an empty string although > I set it via textfield: > > final Butt

AW: why is the model empty?

2009-10-20 Thread Peter Arnulf Lustig
yes! I temper the data! And it is posted to the server! - Ursprüngliche Mail Von: Jeremy Thomerson An: users@wicket.apache.org Gesendet: Dienstag, den 20. Oktober 2009, 16:04:21 Uhr Betreff: Re: why is the model empty? Look at the HTTP request - is the value getting submitted? -- Jer

Re: why is the model empty?

2009-10-20 Thread Martijn Dashorst
Wicket makes empty strings null by default. See one of the Application.getSettings() Martijn On Tue, Oct 20, 2009 at 4:04 PM, Jeremy Thomerson wrote: > Look at the HTTP request - is the value getting submitted? > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Tue, Oct 20,

AW: why is the model empty?

2009-10-20 Thread Peter Arnulf Lustig
hey martijn -- But there is a string submitted! Actually it must be printed! But it is null. Is the final declaration correct? - Ursprüngliche Mail Von: Martijn Dashorst An: users@wicket.apache.org Gesendet: Dienstag, den 20. Oktober 2009, 16:06:22 Uhr Betreff: Re: why is the model em

Re: why is the model empty?

2009-10-20 Thread Jeremy Thomerson
How about! creating! a quickstart! and sending it! to us! (Oh, and no need for so many exclamation points. It could be interpreted as shouting) -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 20, 2009 at 9:16 AM, Peter Arnulf Lustig wrote: > hey martijn -- But there is a string

How to reach a component in ListView

2009-10-20 Thread pieter claassen
I have an abstract class that adds a ListView to the page in the constructor. In the constructors of my children, I would like to set some of the rows in the ListView invisible. How do I reach the Wicket Components that were added to a ListView from outside the Listview. e.g. public abstract ListD

Re: why is the model empty?

2009-10-20 Thread Ernesto Reinaldo Barreiro
Sorry but when is the model object update? final TextField tagTitle = new TextField("tagTitle", Model.of("")); just creates and in-mutable model? Or, am I missing something? Best, Ernesto On Tue, Oct 20, 2009 at 3:17 PM, Peter Arnulf Lustig wrote: > hi, > > in the submit logic the getModel().

Re: How to reach a component in ListView

2009-10-20 Thread Jeremy Thomerson
Better to access whether or not they should be visible from within the components (inside the listview) themselves. On your links, override isVisible and have it call to some method on ListDocumentForObject that returns boolean of whether that link should be visible. Then this method could be ove

AW: why is the model empty?

2009-10-20 Thread Peter Arnulf Lustig
Does it maybe have something to do with my custom validation? I use setDefaultFormProcessing(false); because I have more submit buttons on one form - Ursprüngliche Mail Von: Jeremy Thomerson An: users@wicket.apache.org Gesendet: Dienstag, den 20. Oktober 2009, 16:20:09 Uhr Betreff: R

Re: why is the model empty?

2009-10-20 Thread Jeremy Thomerson
That's not an immutable model. It's equivalent to new Model("") - which is fine for this use. Assuming the text field and the button are within a form, and that he sets the value of the textfield programmatically on the page, and submits the form, the model should be updated by the time he gets t

AW: why is the model empty?

2009-10-20 Thread Peter Arnulf Lustig
I tried it also with final IModel tagTitleModel = Model.of(""); (..., tagTitleModel) But it won't work! - Ursprüngliche Mail Von: Ernesto Reinaldo Barreiro An: users@wicket.apache.org Gesendet: Dienstag, den 20. Oktober 2009, 16:24:16 Uhr Betreff: Re: why is the model empty? Sorry

Re: why is the model empty?

2009-10-20 Thread Ernesto Reinaldo Barreiro
Well that part isn't shown in the code posted;-) On Tue, Oct 20, 2009 at 4:28 PM, Jeremy Thomerson wrote: > That's not an immutable model. It's equivalent to new Model("") - > which is fine for this use. Assuming the text field and the button are > within a form, and that he sets the value of t

AW: why is the model empty?

2009-10-20 Thread Peter Arnulf Lustig
"sets the value of the textfield programmatically on the page, and submits the form, the model should be updated by the time he gets to this onSubmit method." How do you mean that? I think wicket sets the model automaticly because the model is attached to the component. - Ursprüngliche M

Re: why is the model empty?

2009-10-20 Thread Jeremy Thomerson
Yes - that's what I'm saying. On the webpage, presumably with JS, he is saying that he is setting the value of the text field. Then when it's submitted, Wicket should update the model before he gets to onSubmit -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 20, 2009 at 9:31 AM,

AW: why is the model empty?

2009-10-20 Thread Peter Arnulf Lustig
I am submitting a textfield in a form to wicket. Just the standard HTTP Post -- And everywhere it functions well -- I just can't get it why it won't function there. And I don't utilize any JS (Ajax etc.) for that task! It's weird. - Ursprüngliche Mail Von: Jeremy Thomerson An: users

Re: why is the model empty?

2009-10-20 Thread Jeremy Thomerson
Well, again, the only way for me to help you more is to supply a quickstart that reproduces this. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 20, 2009 at 9:49 AM, Peter Arnulf Lustig wrote: > I am submitting a textfield in a form to wicket. Just the standard HTTP > Post -- An

AW: why is the model empty?

2009-10-20 Thread Peter Arnulf Lustig
ok! Line 148 is interesting. - Ursprüngliche Mail Von: Jeremy Thomerson An: users@wicket.apache.org Gesendet: Dienstag, den 20. Oktober 2009, 16:50:31 Uhr Betreff: Re: why is the model empty? Well, again, the only way for me to help you more is to supply a quickstart that reproduces t

Re: why is the model empty?

2009-10-20 Thread Jeremy Thomerson
Did you look at the javadoc? [1] It says: Sets the defaultFormProcessing property. When false (default is true), all validation and form updating is bypassed and the onSubmit method of that button is called directly, and the onSubmit method of the parent form is not called. A common use for this

AW: why is the model empty?

2009-10-20 Thread Peter Arnulf Lustig
mhmhm! I got this "design pattern" from http://cwiki.apache.org/WICKET/conditional-validation.html - Ursprüngliche Mail Von: Jeremy Thomerson An: users@wicket.apache.org Gesendet: Dienstag, den 20. Oktober 2009, 16:56:38 Uhr Betreff: Re: why is the model empty? Did you look at the ja

Re: why is the model empty?

2009-10-20 Thread Jeremy Thomerson
Well, don't know what to tell you. It bypasses validation, which is required in order to set the models to their values. If you submitted "akj123" in a text field that was an Integer, we could only set it after validation (which in this case means the value could not be set on the field). So, by

Re: Reusable components and wicket:id

2009-10-20 Thread Pedro Santos
Hi Tomás, I didn't found the problem. The feedback panel get: * Field 'rapidezAtencion' is required. * Field 'explicacionClara' is required. * Field 'resolucionProblema' is required. just as expected... On Tue, Oct 20, 2009 at 12:00 PM, Tomás Rossi wrote: > Sure, here's the markup (BTW, using

Re: Variation of parent component isn't passed to image - Bug?

2009-10-20 Thread Igor Vaynberg
styles and variations are not passed down through the hierarchy. one must override getvariation()/getstyle() on each component that needs to be different afaik. -igor On Tue, Oct 20, 2009 at 4:00 AM, Liz Huber wrote: > Hi, > > I came across a problem an other group member has already written abo

Re: Reusable components and wicket:id

2009-10-20 Thread Tomás Rossi
Yes, but I have 2 panels in the same page, and get: * Field 'rapidezAtencion' is required. * Field 'explicacionClara' is required. * Field 'resolucionProblema' is required. * Field 'rapidezAtencion' is required. * Field 'explicacionClara' is required. * Field 'resolucionProblema' is required. An

Re: Reusable components and wicket:id

2009-10-20 Thread Pedro Santos
now I understand 1 - you can use different feedback panels for each panel 2 - you can write a custom model for the component label here is a draft, you can create a concrete class from, can override the form component getLabel, can set the custom model on the RadioButtonGenerico constructor...

Re: Reusable components and wicket:id

2009-10-20 Thread Tomás Rossi
Thanks! That worked. Though, I'd love for wicket to provide an automatic mechanism for this kind of stuff. Each instance of a reusable component could be mutually independent, even if used in the same container (at least that was my intuitive idea). Kind regards, Tom; Pedro Santos escribió:

AjaxFallbackDefaultDataTable - modifying look

2009-10-20 Thread Jeffrey Schneller
I am using the AjaxFallbackDefaultDataTable for displaying a data table on my page. I have everything working [displaying of data, sorting columns. Paging]. I know would like to change the look and feel of the data table. I would like to be able to change the navigation toolbar so that the pa

Re: Reusable components and wicket:id

2009-10-20 Thread Igor Vaynberg
thats why formcomponents take models for labels. you can give it a resourcemodel that uses the parent's id as the resource key and achieve what you want. -igor On Tue, Oct 20, 2009 at 10:46 AM, Tomás Rossi wrote: > Thanks! That worked. > > Though, I'd love for wicket to provide an automatic mech

Re: AjaxFallbackDefaultDataTable - modifying look

2009-10-20 Thread Igor Vaynberg
dont use the Default version of the data table, create one yourself. -igor On Tue, Oct 20, 2009 at 10:48 AM, Jeffrey Schneller wrote: > I am using the AjaxFallbackDefaultDataTable for displaying a data table > on my page.  I have everything working [displaying of data, sorting > columns. Paging]

Re: ListView for only one element. Something wrong.

2009-10-20 Thread Nicolas Melendez
Hi,Thanks for your answer. (i reed it a time ago, but i never said thanks) NM On Fri, Oct 9, 2009 at 6:51 AM, Sven Meier wrote: > Hi Nicolas, > > use more models: > > -- > class MyPage: > private IModel businessObjects; > > private

Re: Reusable components and wicket:id

2009-10-20 Thread Tomás Rossi
Wait a minute... I made a "PantallaEncuesta.properties" with: panelTelefonico-rapidezAtencion=Rapidez en la atención (telefónica) ... Then I expected it to yield: * Field 'Rapidez en la atención (telefónica)' is required. But it still prints: * Field 'panelTelefonico-rapidezAtencion' is requ

RE: AjaxFallbackDefaultDataTable - modifying look

2009-10-20 Thread Jeffrey Schneller
Fair enough. Is there an example of how one should be created? -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Tuesday, October 20, 2009 1:53 PM To: users@wicket.apache.org Subject: Re: AjaxFallbackDefaultDataTable - modifying look dont use the Default ver

Re: AjaxFallbackDefaultDataTable - modifying look

2009-10-20 Thread Pedro Santos
example of how to create an DataTable? you can use the AjaxFallbackDefaultDataTable as an example :) On Tue, Oct 20, 2009 at 4:00 PM, Jeffrey Schneller < jeffrey.schnel...@envisa.com> wrote: > Fair enough. Is there an example of how one should be created? > > -Original Message- > From: I

RE: AjaxFallbackDefaultDataTable - modifying look

2009-10-20 Thread Jeffrey Schneller
Thanks. That worked perfectly. I now have my own AjaxFallbackCustomDataTable. Jeff -Original Message- From: Pedro Santos [mailto:pedros...@gmail.com] Sent: Tuesday, October 20, 2009 2:03 PM To: users@wicket.apache.org Subject: Re: AjaxFallbackDefaultDataTable - modifying look examp

Model property name different than wicket:id, is possible?

2009-10-20 Thread Manuel Corrales
Hello. I have a (i hope) reusable panel. This panel has a textField, a hiddenField and a link that open up a modalWindow. Then you can select an item from a list in the modal window and the field and hidden field completes according to the selected value. I want the hidden field to be "binded" with

Re: Model property name different than wicket:id, is possible?

2009-10-20 Thread Manuel Corrales
Ok, I have found a few things but still can't figure this out. Apparently the BoundCompoundPropertyModel is what i need, but it is deprecated. And I have read the javadoc but still can't figure out how to achieve having wicket:id on HTML different than the property name in the model. The javadoc me

Re: Model property name different than wicket:id, is possible?

2009-10-20 Thread Pedro Santos
the problem I have is that the field name of the model object is different on every form, and the wicket:id is the same you has: public class ObjectThatGoesToModel{ private Object propetyThatGoesToSomeForm; private Object propetyThatGoesToOtherFormInSomeSituations; } ?? I think you can use

Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-20 Thread Roman Ilin
Hi *, I develop WebApplication where database records belong to different organizations. I use AjaxFallbackDefaultDataTable to present tabular data. User from some organization is allowed to see his organization data only. To reach this I implement custom IDataProvider for every table. Is there s

file download using ajaxLink

2009-10-20 Thread tubin gen
I do download in traditional way here is the code public void download(String filename, byte[] filedata){ setRedirect(false); WebResponse response = (WebResponse) getResponse(); response.setAttachmentHeader(filename); response.setLastModifiedTime(Time.now());

Audit Trail For Fatal Error

2009-10-20 Thread Douglas Ferguson
I have a feature on our error page where users can submit a bug if they get a fatal error. In some cases the stack trace is not of much value with out understanding what the user was doing. I looked into the session and the pagemap but at first glance i didn't see any way of unraveling any

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-20 Thread Pedro Santos
you can put user on session, and use this information as an filter to queries than fill the lists on your application models... On Tue, Oct 20, 2009 at 6:14 PM, Roman Ilin wrote: > Hi *, > > I develop WebApplication where database records belong to different > organizations. > I use AjaxFallback

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-20 Thread Roman Ilin
Sure I save my user in session. The problem is that I have to implement this filter functionality every time for every component. On Tue, Oct 20, 2009 at 10:18 PM, Pedro Santos wrote: > you can put user on session, and use this information as an filter to > queries than fill the lists on your a

Re: Audit Trail For Fatal Error

2009-10-20 Thread Pedro Santos
if you serialize the pagemap object to an file and attache it on your error report email? later you can set pagemape error analysis environment to reproduce the user steps, seems possible... On Tue, Oct 20, 2009 at 6:15 PM, Douglas Ferguson < doug...@douglasferguson.us> wrote: > I have a feature

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-20 Thread Pedro Santos
every time for every component why not for every query? On Tue, Oct 20, 2009 at 6:23 PM, Roman Ilin wrote: > Sure I save my user in session. > The problem is that I have to implement this filter functionality > every time for every component. > > > > On Tue, Oct 20, 2009 at 10:18 PM, Pedro Sant

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-20 Thread Roman Ilin
Sorry. I do it for every query but normally every component has its own query. On Tue, Oct 20, 2009 at 10:26 PM, Pedro Santos wrote: > every time for every component > why not for every query? > > > On Tue, Oct 20, 2009 at 6:23 PM, Roman Ilin wrote: > >> Sure I save my user in session. >> The p

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-20 Thread Pedro Santos
I had application with components that override the isVisible method testing for return session.getUser().hasAccessFor(this) but the major access logic is implemented on data access layer On Tue, Oct 20, 2009 at 6:26 PM, Pedro Santos wrote: > every time for every component > why not for every

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-20 Thread Roman Ilin
My components should stay visible all time. But data should be filtered by customer currently logged in. On Tue, Oct 20, 2009 at 10:29 PM, Pedro Santos wrote: > I had application with components that override the isVisible method testing > for > > return session.getUser().hasAccessFor(this) > >

Re: Page instantiated twice

2009-10-20 Thread Esteban Ignacio Masoero
Hi there. I'm bringing to life this old thread to ask whether this issue was solved and how, because I'm experiencing something alike, which makes session messsages to get lost ("consummed" by the first instance of the page), and consecuently not shown by the second page instance. Thanks, Esteba

Too Many Files Wicket 1.4.1

2009-10-20 Thread Adam Bender
Greetings all, Recently I have been performance testing a Wicket application (1.4.1) and I am running into the dreaded Too Many Files Open issue. I have searched the mailing lists and most of the trouble around this issue seems to come from being in DEVELOPMENT mode so I made sure we were in DEPLO

Re: Page instantiated twice

2009-10-20 Thread Jeremy Thomerson
Have you followed the suggestions in this thread? First, put a breakpoint to see what's instantiating the page - the most likely suspect for an unintended additional instantiation is a bad link, something like: new PageLink(new MyPage()); <--- shouldn't do that If it's Wicket code, what code is

Re: Page instantiated twice

2009-10-20 Thread Douglas Ferguson
You can also check your html to make sure there aren't any urls that would get loaded by the browser. i.e. , , etc tags.. D/ On Oct 20, 2009, at 4:39 PM, Jeremy Thomerson wrote: > Have you followed the suggestions in this thread? > > First, put a breakpoint to see what's instantiating the pa

Re: Audit Trail For Fatal Error

2009-10-20 Thread Douglas Ferguson
What is "pagemape error analysis environment"? Or if you are just saying that this is possible, what api calls would I be interested in? D/ On Oct 20, 2009, at 3:25 PM, Pedro Santos wrote: > if you serialize the pagemap object to an file and attache it on > your error > report email? later

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Martin Grigorov
Hi Adam, You may try to debug what is the problem with https://wiki.sdn.sap.com/wiki/display/Java/JPicus El mar, 20-10-2009 a las 15:39 -0600, Adam Bender escribió: > Greetings all, > > Recently I have been performance testing a Wicket application (1.4.1) and I > am running into the dreaded Too

Re: Page instantiated twice

2009-10-20 Thread Martin Grigorov
El mar, 20-10-2009 a las 15:04 -0700, Douglas Ferguson escribió: > You can also check your html to make sure there aren't any urls that > would get loaded by the browser. > > i.e. , , etc tags.. yeah, will make a second request to the page. quite nasty! fortunately there is a checker for these

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Major Péter
Hi, we also had this issue, because (I think) we are running two different wicket application in only one glassfish domain. Our resolution was, that we are running now the glassfish domains with custom init scripts with ulimit settings. Maybe this will help for you. Best Regards, Peter 2009-10-2

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Igor Vaynberg
deployment mode just sets a default settings profile, if you manually call getresourcesettings().setresourcepollfrequency() in your code you can still reenable the resource watcher. -igor On Tue, Oct 20, 2009 at 2:39 PM, Adam Bender wrote: > Greetings all, > > Recently I have been performance te

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Adam Bender
I apologize for my ignorance but Im not sure I understand what re- enabling the resource watcher would accomplish in this case... Adam On Oct 20, 2009, at 4:51 PM, Igor Vaynberg wrote: deployment mode just sets a default settings profile, if you manually call getresourcesettings().setresource

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Adam Bender
Martin, I tried to run this tool but it doesn't appear to support connecting to a remote Java process which is a requirement for our environment... thanks for the tip though! Adam On Oct 20, 2009, at 4:14 PM, Martin Grigorov wrote: Hi Adam, You may try to debug what is the problem with

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Major Péter
resolution -> solution... Just set the ulimit in the initscript and run it with start-stop-daemon, it will make the problem disappear (but still there would be many open files...) Peter 2009-10-21 00:38 keltezéssel, Major Péter írta: > Hi, > > we also had this issue, because (I think) we are run

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Adam Bender
We have run with a limit as high as 10,000 files and our tests can bring it to the limit in 20 minutes, but that still doesn't explain why so many copies of the jar are needed - and only when we are also requesting embedded assets... On Oct 20, 2009, at 5:04 PM, Major Péter wrote: resolut

OT: choose a directory where users upload images

2009-10-20 Thread Fernando Wermus
Hi all,I am deploying an app in production and I have to create a directory where users upload images and text files in the server. They only are allowed to access this files to a wicket front page. Should I have any consideration about wicket arquitecture or tomcat architecture? Should I creat

Re: Page instantiated twice

2009-10-20 Thread Esteban Masoero
First of all, thanks to all of you for your help. I haven't solved the problem, but I'm getting closer to it. (something like: new PageLink(new MyPage()); <= I checked it and I'm not doing that. ) Here's what I've found out: After debugging a lot, I find out that TWO REQUESTS are made. The fi

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Igor Vaynberg
when you are requesting an embedded resource wicket needs to stream the file out of a jar, the way the jvm handles that is by creating a jar url connection object that streams the file. unfortunately, there is a bug in the jdk where the url connection does not have a close method and so wicket or a

Re: Page instantiated twice

2009-10-20 Thread Igor Vaynberg
are you opening the page in a new tab? this script is part of wicket auto-multi-window support, it detects if the page has been opened in a new tab and redirects to a url that will point to the same page but in a new pagemap. -igor On Tue, Oct 20, 2009 at 4:23 PM, Esteban Masoero wrote: > > Firs

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Adam Bender
Thanks for the explanation I think that helps shed some light... The tests are actually JMeter tests driving load by emulating a web browser - the application the are testing is running in Deployment mode set up as though it were a production server. After a little more digging I have been