Re: uploaded files in page instance

2009-10-20 Thread Per Newgro
fachhoch schrieb: Why are you saving the byte arrays in the page instance? I show these files to user with read-only permission , so this user can just view these files ,the owner of these files can delete them anytime , so If I go to database , upon user click , this file might have been

Re: Howto accept other then first locale in HTTP header Accept-Language?

2009-10-20 Thread Per Newgro
Done https://issues.apache.org/jira/browse/WICKET-2533 Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: uploaded files in page instance

2009-10-20 Thread Igor Vaynberg
you guys ever hear of transactional isolation? :) databases handle all this kind of neat stuff for you. -igor On Mon, Oct 19, 2009 at 11:09 PM, Per Newgro per.new...@gmx.ch wrote: fachhoch schrieb: Why are you saving the byte arrays in the page instance? I show these files to  user with

Re: uploaded files in page instance

2009-10-20 Thread Per Newgro
Igor Vaynberg schrieb: you guys ever hear of transactional isolation? :) databases handle all this kind of neat stuff for you. -igor Oh, i didn't saw that he tried it in one transaction. I thought it are multiple stateless steps. Sorry Per

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 doug...@douglasferguson.us 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

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 a element (link) with attribute wicketpath=tablePanel_leftList_tableList_pojoList_18_nameCell_namePanel Link_name or there is no div tag inside an a element... -Original Message- From: Douglas Ferguson

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

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 per.lundh...@gmail.com 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

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

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 : wicket:container wicket:id=score is an

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

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

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

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 licensed

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

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): ... body wicket:panel table class=GrillaOpciones tr th/th thlabelMuy Bueno/label/th thlabelBueno/label/th thlabelRegular/label/th thlabelMalo/label/th thlabelNs/Nc/label/th /tr tr

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 u...@yahoo.dewrote: hi, in the submit logic the getModel().getObject() is an empty string although I set it via textfield:

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 jer...@wickettraining.com 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

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 jer...@wickettraining.com wrote: Look at the HTTP request - is the value getting submitted? -- Jeremy Thomerson http://www.wickettraining.com

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 martijn.dasho...@gmail.com An: users@wicket.apache.org Gesendet: Dienstag, den 20. Oktober 2009, 16:06:22 Uhr

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 u...@yahoo.dewrote: hey martijn -- But

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

Re: why is the model empty?

2009-10-20 Thread Ernesto Reinaldo Barreiro
Sorry but when is the model object update? final TextFieldString tagTitle = new TextFieldString(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 u...@yahoo.dewrote: hi, in the

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

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 jer...@wickettraining.com An: users@wicket.apache.org Gesendet: Dienstag, den 20. Oktober

Re: why is the model empty?

2009-10-20 Thread Jeremy Thomerson
That's not an immutable model. It's equivalent to new ModelString() - 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

AW: why is the model empty?

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

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 jer...@wickettraining.com wrote: That's not an immutable model. It's equivalent to new ModelString() - which is fine for this use. Assuming the text field and the button are within a form, and

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

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

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

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 u...@yahoo.dewrote: I am submitting a textfield in a form to wicket. Just the standard

AW: why is the model empty?

2009-10-20 Thread Peter Arnulf Lustig
ok! Line 148 is interesting. - Ursprüngliche Mail Von: Jeremy Thomerson jer...@wickettraining.com 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

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 jer...@wickettraining.com An: users@wicket.apache.org Gesendet: Dienstag, den 20. Oktober 2009, 16:56:38 Uhr Betreff: Re: why is the model empty?

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,

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 tro...@mecon.gov.ar wrote: Sure, here's the

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 liz.hu...@gmx.com wrote: Hi, I came across a problem an other group member has

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.

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

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

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 tro...@mecon.gov.ar wrote: Thanks! That worked. Though, I'd love for wicket to provide

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 jeffrey.schnel...@envisa.com wrote: I am using the AjaxFallbackDefaultDataTable for displaying a data table on my page.  I have everything working [displaying of data,

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 s...@meiers.net wrote: Hi Nicolas, use more models: -- class MyPage: private IModelList

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

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

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

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

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

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

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

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

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 roman.i...@gmail.com 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

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 pedros...@gmail.com wrote: every time for every component why not for every query? On Tue, Oct 20, 2009 at 6:23 PM, Roman Ilin roman.i...@gmail.com wrote: Sure I

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 pedros...@gmail.com wrote: every time for every component

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 pedros...@gmail.com wrote: I had application with components that override the isVisible method testing for return

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

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

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. link, img, 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

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 you

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. link, img, etc tags.. yeah, img src= ... / will make a second request to the page. quite nasty! fortunately there is a

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

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 a...@magpieti.com wrote: Greetings all, Recently I have been

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

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

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:

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

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

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

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

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