Re: wicket-dnd not working on IE9 and only partially on IE8

2011-06-13 Thread lucast
Sven very kindly found the source of the problem. The problem is that in my app I was using head wicket:link link href=style.css rel=stylesheet /wicket:link /head with no closing tag. If I have had closing tag /link then the problem wouldn't have occurred.

Re: repeatingview or listview help

2011-06-13 Thread Martin Grigorov
Use a Panel or a Fragment. RepeatingView rv = new RV(repeater); Panel p = new Panel(rv.newChildId()); p.add(new Label(label1, ...)); On Mon, Jun 13, 2011 at 7:15 AM, wmike1...@gmail.com wmike1...@gmail.com wrote: The only example the wicket docs give of a repeatingView is one with 1 html

Re: repeatingview or listview help

2011-06-13 Thread Sven Meier
Sure, if your repeated component has two children: repeatingView.add(new WebMarkupContainer(repeatingView.newChildId()).add(new Label(label1)).add(new Label(label2))); Sven On 06/13/2011 06:15 AM, wmike1...@gmail.com wrote: The only example the wicket docs give of a repeatingView is one

Re: Got some code for you (ObjectSizeOfAgent)

2011-06-13 Thread Martin Grigorov
Hi, On Fri, Jun 10, 2011 at 10:09 PM, Jochen Mader pflanzenmoer...@gmail.com wrote: Yes, the differences are really significant, around 60-70% in a lot of scenarios. This is not good :-) Have you seen the Google's tool for this:

RE: Page serialization filling up disc space

2011-06-13 Thread Johan.Evelonn
Hi Pedro, I use Wicket 1.4.5. The container is Paxweb with Jetty, and in my home directory I get a lot of directorys like this: .paxweb/wicket.filter-filestore/ These directorys are never removed and that is filling up the temporary directory. I have not configured the DiskPageStore at

Re: Page serialization filling up disc space

2011-06-13 Thread Martin Grigorov
By default Wicket uses javax.servlet.context.tempdir/... as a location where these files are stored. This by default is the work/ folder of the web container and is managed by the web container itself. You'll have to read the documentation of your web container (paxweb tells me that this is OSGi

Re: Page serialization filling up disc space

2011-06-13 Thread Martin Grigorov
In Wicket 1.5 (trunk) there is also org.apache.wicket.settings.IStoreSettings.setFileStoreFolder(File) which allows to set a custom folder without using Servlet API On Mon, Jun 13, 2011 at 12:21 PM, Martin Grigorov mgrigo...@apache.org wrote: By default Wicket uses

How to Obfuscate content?

2011-06-13 Thread Arjun Dhar
Hi, my question has following parts: 1. What is the best JavaScript / HTML API based obfuscator one can recommend to use? 2. How/Where would one integrate that with Wicket? 3. Do these obfuscators have any practical impact on performance (Silly Q, admitted :) ) .. better; can the page results

Re: How to Obfuscate content?

2011-06-13 Thread Martin Grigorov
See org.apache.wicket.markup.transformer.AbstractTransformerBehavior and its impls. About obfuscation: I'm not sure how the browser will read the passed html Why do you need this at all ? On Mon, Jun 13, 2011 at 1:03 PM, Arjun Dhar dhar...@yahoo.com wrote: Hi,  my question has following

RE: Page serialization filling up disc space

2011-06-13 Thread Johan.Evelonn
Hi, Yes, the server I run the wicket web application on is based on OSGi, I have checked in Paxweb if there is some settings to tweak, but haven't found any just yet. I changed the folder where the files are located by changing java.io.tmpdir. So I will have to manage that folder myself? I

Re: How to Obfuscate content?

2011-06-13 Thread Arjun Dhar
AbstractTransformerBehavior looks cool. ...As for caching, will address that separately. Thanks Why do you need this at all ? -- Mainly technical curiosity and I also Obfuscation and Compression of JavaScript/HTML is pretty much in demand, so writing stuff to cater to those demands without

selenium certificate problem

2011-06-13 Thread Anna Simbirtsev
Hi, I am using selenium to test my wicket application. When run test cases, I get an error This Connection is Untrusted and asks me to accept to certificate. I am trying to get selenium server to use my profile and not to create a new one every time. I added the following line to pom.xml, but it

redrawing repeaters

2011-06-13 Thread wmike1...@gmail.com
Hi, I'm confused on the concept of redrawing a repeater. Ideally when I add an element to something such as a ListView I'd like to just draw that new element. The only way I've found of drawing it is to do target.add(repeater) inside of an ajax function. This seems to me like it's redrawing the

Re: redrawing repeaters

2011-06-13 Thread Igor Vaynberg
http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ -igor On Mon, Jun 13, 2011 at 2:19 PM, wmike1...@gmail.com wmike1...@gmail.com wrote: Hi, I'm confused on the concept of redrawing a repeater. Ideally when I add an element to something such as a