How run Wicket Application

2011-02-16 Thread Mr Jehan
Dear all I downloaded HelloWorld wicket application, I run following commind C:\Users\admin\wicket-hello-world *mvn install * following is log of mvn My tomcat installed at d:/tomcat/ which directory I copy from* C:\Users\admin\wicket-hello-world* to * d:/tomcat/webapp* folder.

Re: How run Wicket Application

2011-02-16 Thread Martin Makundi
Might be easier just to put it into eclipse and run Start.java, maybe. ** Martin 2011/2/16 Mr Jehan jeeha...@gmail.com: Dear all I downloaded HelloWorld wicket application, I run following commind  C:\Users\admin\wicket-hello-world *mvn install * following is log of mvn My tomcat

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
please any other solution On Wed, Feb 16, 2011 at 1:39 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Might be easier just to put it into eclipse and run Start.java, maybe. ** Martin 2011/2/16 Mr Jehan jeeha...@gmail.com: Dear all I downloaded HelloWorld wicket

Re: How run Wicket Application

2011-02-16 Thread Ernesto Reinaldo Barreiro
mvn jetty:run? On Wed, Feb 16, 2011 at 10:03 AM, Mr Jehan jeeha...@gmail.com wrote: please any other solution On Wed, Feb 16, 2011 at 1:39 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Might be easier just to put it into eclipse and run Start.java, maybe. ** Martin

Re: How run Wicket Application

2011-02-16 Thread Michal Letynski
Just open the tomcat manager and deploy this war file. W dniu 2011-02-16 13:03, Mr Jehan pisze: please any other solution On Wed, Feb 16, 2011 at 1:39 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Might be easier just to put it into eclipse and run Start.java, maybe. **

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
Problem while running tomcat manager http://localhost:8080/manager/html On Wed, Feb 16, 2011 at 2:07 PM, Michal Letynski m...@consol.ae wrote: Just open the tomcat manager and deploy this war file. W dniu 2011-02-16 13:03, Mr Jehan pisze: please any other solution On Wed, Feb 16, 2011

Re: how do I get the selected entity of a table

2011-02-16 Thread Hans Lesmeister 2
hrbaer wrote: ... protected void populateItem( ListItemEntity item ) { final Entity e = item.getModelObject(); item.add( new Label( text, e.getName() ) ); e not null? item.add( new Link( Details_Link ) {

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-02-16 Thread Johan Compagner
but if you have it down to 200K then 50 users it is nothing... thats 10MB on memory If if both where 2X so 400K and 100 users thats still only 40MB in memory Thats for a server nothing.. On Wed, Feb 16, 2011 at 02:10, Per p...@hamburg.de wrote: So I still haven't solved my memory

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-02-16 Thread Per
Hi Johan and Igor, well, on one hand I am using App Engine, and puts are limited to 1MB. Even with pagination and limitation of each page to 50 users (totalling 200Kb in memory for the whole page), I had to limit the pagemap size severely to ensure I am always below 1M. In Wicket 1.5 it's a

Re: [Announce] Wicket Stuff Core 1.4.15 released

2011-02-16 Thread Pierre Goupil
Good afternoon, I've been unable to clone every single of these GIT repositories. The message is still the same one: Cloning into wicketstuff-core-1.4.15... fatal: https://github.com/wicketstuff/core/tree/wicketstuff-core-1.4.15/info/refsnot found: did you run git update-server-info on the

Re: [Announce] Wicket Stuff Core 1.4.15 released

2011-02-16 Thread Michael O'Cleirigh
Hi Pierre, I don't know where you got that url but it is wrong. Just clone the core repository (everything you need is contained within it) and the create a local branch from the wicketstuff-core-1.4.15 release tag: git clone git://github.com/wicketstuff/core.git cd core git checkout -b

Link inside MootipPanel(wicket-minis)

2011-02-16 Thread vov
Hi All, The question about wicket-minis. How to append Link or AjaxLink inside MootipPanel? When I try to insert this I get the result in my tooltip as 'IBehaviorListener:0:-1',function() { }.bind..' I have not the problems with using BookmarkablePageLink or strict link inside HTML, but

Re: How run Wicket Application

2011-02-16 Thread James Carman
On Wed, Feb 16, 2011 at 4:07 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: mvn jetty:run? Yes, mvn install doesn't run anything. It just puts the jars into your local maven repository. You need to run the jetty plugin.

How to read cookie from different domain?

2011-02-16 Thread Paolo
Hi, I need to read a cookie from a different domain (it is not mine). I known the name ok cookie. When I create (write) a cookie, it is possible to set the name of domain: cookie.setDomain(.example.com); But It does'nt work for foreign domain just because security reasons, infact I can not

RE: Strange behavior with onUpdate after errors

2011-02-16 Thread Brown, Berlin [GCG-PFS]
OK, After doing some research, I call modelChanging and modelChanged(); @Override protected void onUpdate( final AjaxRequestTarget target ) { CALL form.modelChanging(); SelectionOptionBean myChildSelected =

Re: Wicket ajax-enabled enclosures

2011-02-16 Thread Martin Makundi
Hi! Any thoughts about getting this into next release? It is fully backed with tests etc. so it should be easy to commit. We could provide necessary wiki update also. ** Martin 2011/2/6 Martin Makundi martin.maku...@koodaripalvelut.com: Hi Martin! We have provided a patch

Re: Wicket ajax-enabled enclosures

2011-02-16 Thread Martin Grigorov
Hi, On Wed, Feb 16, 2011 at 5:17 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Any thoughts about getting this into next release? It is fully backed with tests etc. so it should be easy to commit. We could provide necessary wiki update also. I took a look at it but it

Re: Wicket ajax-enabled enclosures

2011-02-16 Thread Martin Makundi
I took a look at it but it is quite a big changelist ... I think our expert in the area - Juergen - have to take a look before committing it. I also think such bigger new features should go in 1.5 only (disclaimer: I don't use 1.4 these days) It is not so big... but I am keen to hear

Re: How to read cookie from different domain?

2011-02-16 Thread Randy S.
It is not possible to read a cookie from a different domain. That would be a terrible security problem. The browser will not send cookies that do not match your domain so no amount of code tricks on the server handling this request will get you the cookie. The third party cookies settings in

Re: Wicket ajax-enabled enclosures

2011-02-16 Thread Martin Grigorov
On Wed, Feb 16, 2011 at 5:29 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I took a look at it but it is quite a big changelist ... I think our expert in the area - Juergen - have to take a look before committing it. I also think such bigger new features should go in 1.5

Ajax like event for onLoad

2011-02-16 Thread Brown, Berlin [GCG-PFS]
I am using the Ajax Tabbed Panel class and I could possibly hijack the onUpdate/onClick routines to suit my needs. But I was curious, is there an event/behavior that I can call when a panel loads or render. Something along the lines of: SomeAjaxPanel { onBeforeRender() {

Re: Dynamic Select and SelectOptions

2011-02-16 Thread rawe
Hi, good solution, but how does it work using a ListView ?? I tried: Select select = new Select(selectId); select.add(new ListView(selGrpId, list) { OptGroup optGrp = null; @Override protected void populateItem(ListItem

Re: Ajax like event for onLoad

2011-02-16 Thread Martin Grigorov
AjaxEventBehavior On Wed, Feb 16, 2011 at 5:41 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: I am using the Ajax Tabbed Panel class and I could possibly hijack the onUpdate/onClick routines to suit my needs. But I was curious, is there an event/behavior that I can call when

Re: Wicket ajax-enabled enclosures

2011-02-16 Thread Martin Makundi
As soon as we have enough confidence it is stable enough for the most users. And this will happen as soon as you (the users start to upgrade and report problems). As you know we have limited resources and supporting more branches is hard for us. That's why I prefer to reduce the work on the

Using StringResourceModel with BreadCrumbPanel constructor

2011-02-16 Thread shetc
Hi All, I am working a Wicket app that consists of one WebPage that displays a number of different BreadCrumbPanels. Each BreadCrumbPanel has a constructor where I call StringResourceModel to provide I18N strings for Labels, etc. This causes the well-known warning: Tried to retrieve a localized

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
You mean jetty plugin for Tomcat or maven I want to download it from http://maven.apache.org/maven-1.x/plugins/jetty/downloads.html but all mirror links are down. please help On Wed, Feb 16, 2011 at 6:44 PM, James Carman ja...@carmanconsulting.comwrote: On Wed, Feb 16, 2011 at 4:07 AM,

Re: How run Wicket Application

2011-02-16 Thread James Carman
If you're using a Quickstart-generated Wicket project, it's already set up for you. Just type mvn jetty:run. On Wed, Feb 16, 2011 at 10:59 AM, Mr Jehan jeeha...@gmail.com wrote: You mean jetty plugin for Tomcat or maven I want to download it from

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
I cant issue *mvn jetty:run* command because I have not installed jetty plugin I am trying to install jetty plugin using following command mvn plugin:download -Dmaven.repo.remote= http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/ -DgroupId=maven

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
I cant issue *mvn jetty:run* command because I have not installed jetty plugin I am trying to install jetty plugin using following command mvn plugin:download -Dmaven.repo.remote= http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/ -DgroupId=maven

Re: How run Wicket Application

2011-02-16 Thread James Carman
You don't have to install anything. Maven will download it automatically. What does your pom.xml file look like? Are you using a quickstart-generated project? On Wed, Feb 16, 2011 at 11:20 AM, Mr Jehan jeeha...@gmail.com wrote: I cant issue *mvn jetty:run* command because I have not installed

Re: Is wicket suited for my needs?

2011-02-16 Thread Suraj Chandran
Thanks a lot for all your input. Thanks, Suraj. On Wed, Feb 16, 2011 at 5:18 AM, Eelco Hillenius eelco.hillen...@gmail.comwrote: My aim would be to push requests towards statelessness as much as possible. Noticing this some guys have told me that maybe wicket is not for this. Considering

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
The issue with me is installing jetty plugin , please read previous message On Wed, Feb 16, 2011 at 9:22 PM, James Carman ja...@carmanconsulting.comwrote: You don't have to install anything. Maven will download it automatically. What does your pom.xml file look like? Are you using a

Re: How run Wicket Application

2011-02-16 Thread James Carman
How about we go about this a different way? Why don't you try generating a Wicket Quickstart example application? If that doesn't run, then you've got other problems. If it does run, then you need to try to copy the sections from the pom.xml file that you need (namely the plugins). On Wed, Feb

Re: usage of JavascriptFilteredIntoFooterHeaderResponse

2011-02-16 Thread Zilvinas Vilutis
Sorry, that was not WiQuery, it was JQuery from Wicketstuff :) Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Tue, Feb 15, 2011 at 12:06 AM, Jeremy Thomerson jer...@wickettraining.com wrote: On Mon, Feb 14, 2011 at 12:11 AM, Zilvinas Vilutis

Re: How to read cookie from different domain?

2011-02-16 Thread Paolo
Alle mercoledì 16 febbraio 2011, Randy S. ha scritto: It is not possible to read a cookie from a different domain. That would be a terrible security problem. The browser will not send cookies that do not match your domain so no amount of code tricks on the server handling this request will

Re: Using StringResourceModel with BreadCrumbPanel constructor

2011-02-16 Thread robert.mcguinness
My breadcrumb panels are usually tied to some model object which provides the titles. For titles that are read from a localized file I use: @Override public String getTitle() { return Application.get().getResourceSettings().getLocalizer().getString(some.key.here,

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
using Wicket Quickstart example application it is done On Wed, Feb 16, 2011 at 9:44 PM, James Carman ja...@carmanconsulting.comwrote: How about we go about this a different way? Why don't you try generating a Wicket Quickstart example application? If that doesn't run, then you've got other

Re: How run Wicket Application

2011-02-16 Thread James Carman
Okay, so make a backup copy of your pom.xml file, copy the quickstart's pom.xml to your directory, edit it to your liking (group, artifact, name, version, etc.) and try it with your source code. On Wed, Feb 16, 2011 at 12:01 PM, Mr Jehan jeeha...@gmail.com wrote: using Wicket Quickstart example

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
ok sir On Wed, Feb 16, 2011 at 10:05 PM, James Carman ja...@carmanconsulting.comwrote: Okay, so make a backup copy of your pom.xml file, copy the quickstart's pom.xml to your directory, edit it to your liking (group, artifact, name, version, etc.) and try it with your source code. On Wed,

How to pass parameters from one page to other

2011-02-16 Thread Mr Jehan
Dear all How to pass parameters from one page to other page.

Re: How to pass parameters from one page to other

2011-02-16 Thread James Carman
PageParameters? On Wed, Feb 16, 2011 at 12:12 PM, Mr Jehan jeeha...@gmail.com wrote: Dear all How to pass parameters from one page to other page. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Stop at Validator X in case of error, do not run Validator Y

2011-02-16 Thread eugenebalt
Wicket seems to accumulate all error messages and display them at once. But I have a case where, if Validator X doesn't pass, I should *NOT* go into Validator Y. How do I break the chain? Also, how do I know if a particular validator has completed successfully? thanks -- View this message in

Re: Stop at Validator X in case of error, do not run Validator Y

2011-02-16 Thread Igor Vaynberg
if X and Y are on the same component then Y will not run if X fails. -igor On Wed, Feb 16, 2011 at 9:20 AM, eugenebalt eugeneb...@yahoo.com wrote: Wicket seems to accumulate all error messages and display them at once. But I have a case where, if Validator X doesn't pass, I should *NOT*

Re: Stop at Validator X in case of error, do not run Validator Y

2011-02-16 Thread James Carman
If you're using a form validator, you need to override the getDependentFormComponents() method so that it knows that it shouldn't fire if those components fail. On Wed, Feb 16, 2011 at 12:26 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: if X and Y are on the same component then Y will not run

Re: Stop at Validator X in case of error, do not run Validator Y

2011-02-16 Thread eugenebalt
James Carman, correct, one validator is on a component and the other is form-level. That's why they both occur, and I need to prevent the form-level one from kicking in. How do I need to override that method? Can it be empty, or what do I specify? -- View this message in context:

JQueryBehavior rendering javascript with renderString() vs renderJavascript() method

2011-02-16 Thread Zilvinas Vilutis
I've found that one of the core JQuery classes renders javascript with response.renderString method ( org.wicketstuff.jquery.JQueryBehavior.renderHead(IHeaderResponse) ): @Override public void renderHead(IHeaderResponse response) { try { super.renderHead(response);

Re: Stop at Validator X in case of error, do not run Validator Y

2011-02-16 Thread James Carman
You need to return a list of components that the form-level validator depends on. Here's one of mine: public FormComponent?[] getDependentFormComponents() { return new FormComponent[]{textArea1, textArea2}; } On Wed, Feb 16, 2011 at 1:41 PM, eugenebalt eugeneb...@yahoo.com wrote: James

Re: Using StringResourceModel with BreadCrumbPanel constructor

2011-02-16 Thread shetc
Thanks Robert. The issue is really for the other components that I am adding to a BreadCrumbPanel such as labels. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-StringResourceModel-with-BreadCrumbPanel-constructor-tp3309130p3309522.html Sent from the Users

Adding pages in clean URLs

2011-02-16 Thread Suraj Chandran
Hi I have a class Main.class(bookmarkable) and its associated Main.html in package com.xyz What I want is Main.html be able to be accessed as www.xyz.com/home/Main.html I tried something like this: @Override protected void init() { super.init(); this.mount(/homes/,

Re: Adding pages in clean URLs

2011-02-16 Thread Suraj Chandran
I am sorry. Let me correct my question. I am indeed able to do it for one class using : mountBookmarkablePage(/home, Main.class); But what I want to do is to export the entire package under /home. Thanks, Suraj. On Thu, Feb 17, 2011 at 12:45 AM, Suraj Chandran chandransu...@gmail.comwrote:

Re: Stop at Validator X in case of error, do not run Validator Y

2011-02-16 Thread eugenebalt
James, are {textArea1, textArea2} global variables? where are they defined? I was thinking of creating and returning an array of (FormComponent)form.get(fieldname), but the method doesn't know about the form, it's not passed in as a param the way it is in validate(). -- View this message in

Re: Stop at Validator X in case of error, do not run Validator Y

2011-02-16 Thread James Carman
In my case, they are final local variables in my constructor. Basically, you just need to be able to figure out a way to refer to the components. If this validator is reusable in different contexts, you could perhaps pass the dependent components into the constructor of the validator? On Wed,

Re: JQueryBehavior rendering javascript with renderString() vs renderJavascript() method

2011-02-16 Thread Igor Vaynberg
wicketstuff is hosted on github, you can make the issue yourself. -igor On Wed, Feb 16, 2011 at 10:58 AM, Zilvinas Vilutis cika...@gmail.com wrote: I've found that one of the core JQuery classes renders javascript with response.renderString method (

Re: Adding pages in clean URLs

2011-02-16 Thread Igor Vaynberg
i believe it will be available without the .html so www.xyz.com/home/Main -igor On Wed, Feb 16, 2011 at 11:15 AM, Suraj Chandran chandransu...@gmail.com wrote: Hi I have a class Main.class(bookmarkable) and its associated Main.html in package com.xyz What I want is Main.html be able to be

Upload/Download FormComponent

2011-02-16 Thread Antony Webster
Hi, I'd like to wrap up some functionality in a nice reusable component but I'm not sure how to go about it. I have a page which has a panel with 2 links : a file download and a 'delete' link. If a file, specified in my code, is present on my server, this panel permits me to either download

auto-linking to (shared) resources in a parent-relative path

2011-02-16 Thread Daniel Neugebauer
Hi! I'm desperately trying to get a few static image files auto-linked (using wicket:link in my markup) to a parent-relative path. It works fine while using .. but I can't figure out how to get the correct src-URLs using any of the workarounds I could find that should appease Wicket so it

Re: Adding pages in clean URLs

2011-02-16 Thread Mike Mander
Is WebApplication.mount(final String path, final PackageName packageName) fitting? Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

CheckBox and Repeater

2011-02-16 Thread Alexander Monakhov
Hi, guys. I've got repeater, each row of which is backed by model object. Each row has check box, so I can select multiple rows and delete appropriated model objects when 'delete' button pressed. I have in mind two ways how to implement this. One is to parse raw response and retrieve post