RE: memory leak

2011-03-03 Thread Ladislav DANKO
and wicket is 1.4.16 :-) > -Original Message- > From: Ladislav DANKO [mailto:em...@1ac0.net] > Sent: Friday, March 04, 2011 7:27 AM > To: users@wicket.apache.org > Subject: memory leak > > Hi folks, > > I have JDK 1.6_20, Tomcat 6.0.29 and code: > > public class Start extends WebApp

memory leak

2011-03-03 Thread Ladislav DANKO
Hi folks, I have JDK 1.6_20, Tomcat 6.0.29 and code: public class Start extends WebApplication { public Start() { } protected void init() { super.init(); mountBookmarkablePage("/index.html", Index.class); m

Re: Apache wicket eBook

2011-03-03 Thread Josh Kamau
You can buy Wicket In Action From manning. Its the best book so far. I think it would be piracy if i send you my copy. May be with permission from the authors. Josh. On Fri, Mar 4, 2011 at 8:51 AM, Jehan wrote: > Dear All > > If any one have apache wicket eBook then please email it, > > I will

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-03 Thread Gonzalo Aguilar Delgado
Martin, I tried the filter and the filter runs quite well but no change on the tag... Everything remains the same. Do you see something wrong? It also runs several times, not just one. One for each component that has body in it's html. I suppose that is normal Right? But how to know which one is

Re: [1.5.0-rc2] possible bug with danish characters

2011-03-03 Thread Gonzalo Aguilar Delgado
Have you tried 1.5? -- Gonzalo Aguilar Delgado Consultor CRM - Ingeniero en Informática M. +34 607 81 42 76 "No subestimes el poder de la gente estúpida en grupos grandes" El jue, 03-03-2011 a las 20:09 +0200, Martin Grigorov escribió: > trunk from today runs at http://www.w

Re: [1.5.0-rc2] possible bug with danish characters

2011-03-03 Thread Gonzalo Aguilar Delgado
Hi Will try it. Is there a complete example with the html in place there? Tnx - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Apache wicket eBook

2011-03-03 Thread Jehan
Dear All If any one have apache wicket eBook then please email it, I will be very thankfull to him.

Re: Wicket 1.5 events and Eclipse

2011-03-03 Thread Jim Pinkham
Yes, happens to me also.  I've just been ignoring it. I'm on 1.5-M3 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Wicket 1.5 events and Eclipse

2011-03-03 Thread Bertrand Guay-Paquet
Hi, Since integrating the 1.5 branch in my project, I have an annoying behavior in Eclipse 3.6 with the new Wicket events. Whenever I subclass Component or one of its subclasses and click on "Add unimplemented methods", the following method is added : public void send(IEventSink a_sink, Broa

Re: [announce] Wicket Stuff Core 1.5-rc2 is released

2011-03-03 Thread Martin Grigorov
annotation project is not yet migrated to 1.5 it is commented in jdk-1.5/pom.xml On Thu, Mar 3, 2011 at 9:17 PM, Zilvinas Vilutis wrote: > Hi, > > I'm getting a missing resource error: > > Missing: > -- > 1) org.wicketstuff:annotation:jar:1.5-rc2 > > Try downloading the file manually fr

Re: [announce] Wicket Stuff Core 1.5-rc2 is released

2011-03-03 Thread Zilvinas Vilutis
Hi, I'm getting a missing resource error: Missing: -- 1) org.wicketstuff:annotation:jar:1.5-rc2 Try downloading the file manually from the project website. Seems that the project version is not changed in the pom.xml: https://github.com/wicketstuff/core/blob/wicketstuff-core-1.5-rc2/

Re: [1.5.0-rc2] possible bug with danish characters

2011-03-03 Thread Martin Grigorov
trunk from today runs at http://www.wicket-library.com/wicket-examples On Wed, Mar 2, 2011 at 9:21 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > is there a server somewhere where rc2 live examples are running on? > > > 2011/3/2 Martin Grigorov > > > quickstart will help us to d

Re: DropDownChoice choice rendering

2011-03-03 Thread Martin Makundi
Hi! > List carList = getCars(); //getting from db DropDownChoice carChoice = new DropDownChoice("cars", model, carList, new IChoiceRenderer() { display(Car car) { return car.getName(); } } You might want to use carList as a loadabledetachablemodel. ** Martin > I could not write end of the c

DropDownChoice choice rendering

2011-03-03 Thread tech7
I have a problem with dropdownchoice component I have a car class containing Long id, String name and etc. I am getting all car information as list of objects from database and I want to display only the car name on the dropdownchoice and also want to put car objects into dropdownchoice. How can it

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-03 Thread Matt Brictson
On Mar 3, 2011, at 2:15 AM, Gonzalo Aguilar Delgado wrote: > It does not work as I cannot override add method from webmarkupcontainer. Are you sure? In Wicket 1.5-rc2 and well as in trunk, MarkupContainer#add(Component...) is not final. To clarify: in order to mimic the transparent resolver fea

Re: Integrating jquery scripts with wicket

2011-03-03 Thread tech7
Thank you for responses I have done that - Developer Wicket Java JSP -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrating-jquery-scripts-with-wicket-tp3332998p811.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: AjaxEventBehaviour on page onload

2011-03-03 Thread Pedro Santos
You can implement an IHeaderContributor: http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/html/IHeaderContributor.html http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/html/IHeaderResponse.html#renderOnLoadJavascript(java.lang.String)

AjaxEventBehaviour on page onload

2011-03-03 Thread drf
I wonder if anyone can help with the following: I've added this code to a the constructor of a WebPage: this.add(new AjaxEventBehavior("onload") { @Override protected void onEvent(AjaxRequestTarget target) {

How to stop concurrent logins?

2011-03-03 Thread shetc
Hi All, Following a security assessment, I have been asked to tighten the security in a Wicket-based web application. In particular, I need to prevent a user from having concurrent logins to the app. I would like to know if there is a preferred "Wicket Way" of implementing this feature. Reviewing

Re: German umlauts in Wicket-Message Tag

2011-03-03 Thread Peter Ertl
if you read my last post carefully you will see that using umlauts in markup attributes does work Am 03.03.2011 um 07:35 schrieb MattyDE: > Okay, i know what you all mean. But what i have misappropriated from you, is > my own implementation of an IStringResourceLoader so iam not loading any > St

Re: How to automate clicking of a link or button

2011-03-03 Thread drf
I've got some code now which does what I want - different from what you suggested with London-Paint - still need to return to that as once I have it working it will be probably be better. I can click on a link/button, and run a piece of code which runs a javascript function and returns the value to

Re: Integrating jquery scripts with wicket

2011-03-03 Thread Cemal Bayramoglu
... a lot of people say they are having a good experience with wiQuery [1]. See if it works for you. Regards - Cemal jWeekend Training, Consulting, Development http://jWeekend.com [1] http://code.google.com/p/wiquery/ On 3 March 2011 11:59, tech7 wrote: > Can anyone explain how can i integrate

Re: Integrating jquery scripts with wicket

2011-03-03 Thread Hans Lesmeister 2
Maybe you can find something here: http://www.google.de/#q=wicket+jquery+integration&fp=1 - -- Regards, Hans http://cantaa.de -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrating-jquery-scripts-with-wicket-tp3332998p234.html Sent from the Users f

Re: Integrating jquery scripts with wicket

2011-03-03 Thread Pedro Santos
A good place is to override your component or behavior IHeaderContributor#renderHead and respond with needed javascript/css references or some the javascript function call. On Thu, Mar 3, 2011 at 8:59 AM, tech7 wrote: > Can anyone explain how can i integrate(runnable) my jquery scripts in my > w

Re: How to automate clicking of a link or button

2011-03-03 Thread Martin Grigorov
What do you want to do exactly ? There is no need to click a button in Wicket. E.g.: btn = new Button(...) { public void onClick() { myService.doSomething(); } } so you can just call: myService.doSomething() instead. In javascript you can do: Wicket.$("myButtonId").click() On Thu, M

How to automate clicking of a link or button

2011-03-03 Thread drf
Is there any way to automate the clicking of a link or button, similar to WicketTester, but within a running Wicket WebApplication ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-automate-clicking-of-a-link-or-button-tp220p220.html Sent from the Users

Re: Integrating jquery scripts with wicket

2011-03-03 Thread tech7
Can anyone explain how can i integrate(runnable) my jquery scripts in my wicket project? I will be thankful. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrating-jquery-scripts-with-wicket-tp3332998p200.html Sent from the Users forum mailing list archive a

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-03 Thread Martin Grigorov
With TransparentWebMarkupContainer attached to the you don't need to override Component#add() On Thu, Mar 3, 2011 at 1:07 PM, Gonzalo Aguilar Delgado < gagui...@aguilardelgado.com> wrote: > Hi Martin, > > I will try the IMarkupFilter approach. > > The problem with Matt approach is not in the bo

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-03 Thread Gonzalo Aguilar Delgado
Hi Martin, I will try the IMarkupFilter approach. The problem with Matt approach is not in the body component but in BasePage of the Matt example. Since Webpage inherits from MarkupContainer I cannot override the add method to add childs to body component instead of the page. So this approac

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-03 Thread Martin Grigorov
Hi, you may use TransparentWebMarkupContainer for the body. Or create your own IMarkupFilter that adds a Behavior to the open tag, and this behavior appends/sets the class attribute depending on the user session or whatever the Dojo theme depends on. See org.apache.wicket.markup.parser.filter.Rel

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-03 Thread Gonzalo Aguilar Delgado
Hello Matt, It does not work as I cannot override add method from webmarkupcontainer. Even if it works I will have to add something to the htlm. Right? Tnx again Matt Brictson wrote: >Since isTransparentResolver() is going away in 1.5, the trick that I found is >to create a normal WebMarkup

Re: Attribute Inheritance or Copying?

2011-03-03 Thread Hans Lesmeister 2
> I've to access the ComponentTag of my Panel but dont know how, except > iam in "onComponentTag". > Yes, in onComponentTag of the surrounding WebmarkupContainer, you can get and preserve the desired attributes and then remove them. In onComponentTag of the TextArea you add the previously

Re: Wicket and Amazon EC2

2011-03-03 Thread Korbinian Bachl - privat
PS: please forget the link to ubuntu-setup - they try to promote their landscape there, made a mistake :( instead just use the aws-console with these preconfigured AMIs: http://uec-images.ubuntu.com/releases/lucid/release/ Am 03.03.11 06:15, schrieb ookpalm: Not at all? -- View this mess

Re: Wicket and Amazon EC2

2011-03-03 Thread Korbinian Bachl - privat
As long as you're using any EC2 instance with an EBS-AMI its just another server you can deploy any operating system on you like. Only remind that you mustn't terminate the machine but only stop/pause it as terminating equals to throwing away the server in reality while pausing means to shut i