Re: SubmitLink question

2009-02-16 Thread Martijn Reuvers
Hello Igor, I am new to this list, so what do you mean with a quickstart? Martijn On Mon, Feb 16, 2009 at 5:46 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: quickstart please -igor On Sun, Feb 15, 2009 at 2:00 PM, Martijn Reuvers martijn.reuv...@gmail.com wrote: Hello everyone, I

Re: SubmitLink question

2009-02-16 Thread Martin Voigt
Wicket is built using apache maven 2. A quickstart is a self-containing project created from the wicket-quickstart archetype which uses Jetty as it's servlet container and is usually used to demonstrate bugs or issues. Go here: http://wicket.apache.org/quickstart.html and generate a quickstart

Problem in Wicket Stuff - Jquery - DatePicker

2009-02-16 Thread Dipu
In Wicket Stuff - Jquery - DatePicker - DatePickerBehavior the following line in the onBind() method if (component instanceof ITextFormatProvider) { format_ = ((ITextFormatProvider) component).getTextFormat(); should be if (component instanceof ITextFormatProvider) {

Wicket meetup in Switzerland?

2009-02-16 Thread Thomas Mäder
Hi Folks, I would be willing to organize a Wicket meetup in Switzerland if there is enough interest. I propose a meeting somewhere in Zürich. The format I imagine is that participants could (don't have to) shortly (15-20min.) present their work with Wicket (demos are always nice). That would be

Adding multiple ajax behavious on same event

2009-02-16 Thread rag...@directi
I am using an AjaxLink which has a javascript for onclick event now i want to add AjaxFormValidatingBehavior to this link on the same event onclick ...i tried adding the same...but the link does not work properly...i think the actual javascript is replacedcan any one please help me how to

Re: SubmitLink question

2009-02-16 Thread Martijn Reuvers
Hi Martin, Thanks for the info! I'll give it a try and see if I can reproduce it somehow. Martijn On Mon, Feb 16, 2009 at 10:15 AM, Martin Voigt martin.vo...@artnology.com wrote: Wicket is built using apache maven 2. A quickstart is a self-containing project created from the wicket-quickstart

Drop Down Box - Ajax Behaviour

2009-02-16 Thread Daniel Ferreira Castro
I read the examples of Ajax Forms and I am trying to adapt it to my needs. I have a form with a input text, a drop down box, a feedback panel and a submit button. My submit is an ajaxButton. My form setsOutputMarkupId(true); My dropdown sets OutputMarkupId(true); When I submit my form it inserts

RE: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-16 Thread Hoover, William
That is a good point... That is the very reason why they are now trying to push WebBeans as part of the standard profile ;o) -Original Message- From: Oleg Taranenko [mailto:taranenko.for...@googlemail.com] Sent: Friday, February 13, 2009 4:05 PM To: users@wicket.apache.org Subject: Re:

RE: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-16 Thread Hoover, William
http://opensource.atlassian.com/confluence/spring/display/JSR168/2008/04 /18/Plans+for+JSR+286+Support -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, February 13, 2009 4:15 PM To: users@wicket.apache.org Subject: Re: Wicket at ApacheCon EU'09 in

Encoding Russian pages

2009-02-16 Thread Tim Squires
Hi, I have been sent Russian translations to my default English pages. Wicket picks up the _ru.properties bundles correctly but somewhere along the way, the encoding is not changing from UTF-8. I gather that the Russian translated pages will need an encoding of cp1251. I have tried to force

Re: inmethod datagrid, validation, and feedback

2009-02-16 Thread Will Jaynes
On Sun, Feb 15, 2009 at 10:40 PM, Timo Rantalaiho timo.rantala...@ri.fiwrote: On Sun, 15 Feb 2009, Will Jaynes wrote: So, how would one show those error messages? And where would such code get hooked in? I'm not sure about the place but basically you have to add a FeedbackPanel and

Re: Encoding Russian pages

2009-02-16 Thread Thomas Mäder
Hi Tim, .properteis files are ALWAYS in ISO59something encoding (see the Javadoc to java.lang.Properties. If you want to use a different encoding, you'll have to either recode your properties files, use xml properties or somehow load the .properties files yourself. Thomas On Mon, Feb 16, 2009

SVN Checkout slow?

2009-02-16 Thread Thomas Mäder
Hi Guys, I'm trying to check out wicket wicket-extensions 1.4. RC2 from the svn repository (via http). This is taking something like half an hour. Is that normal? Thomas -- Thomas Mäder Wicket Eclipse Consulting www.devotek-it.ch

RE: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-16 Thread cpopetz
As the programmer currently maintaining/improving the seam/wicket integration: (a) I recently got a change to wicket from Igor in less than a day, upon request, to support this integration. I doubt I would have had as much luck if the behavior of wicket was in a JSR, but in any case, the lack

Re: SVN Checkout slow?

2009-02-16 Thread Martijn Dashorst
try svn.eu.apache.org instead. Martijn On Mon, Feb 16, 2009 at 2:34 PM, Thomas Mäder thomas.mae...@devotek-it.ch wrote: Hi Guys, I'm trying to check out wicket wicket-extensions 1.4. RC2 from the svn repository (via http). This is taking something like half an hour. Is that normal?

Re: SVN Checkout slow?

2009-02-16 Thread Thomas Mäder
Thanks, that's 100x faster. Thomas On Mon, Feb 16, 2009 at 2:46 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: try svn.eu.apache.org instead. Martijn On Mon, Feb 16, 2009 at 2:34 PM, Thomas Mäder thomas.mae...@devotek-it.ch wrote: Hi Guys, I'm trying to check out wicket

Re: Encoding Russian pages

2009-02-16 Thread Maarten Bosteels
If you think about re-implementing ResourceBundle to support UTF-8 properties files have a look at spring's ReloadableResourceBundleMessageSource.

exception handling for session dependent URLs

2009-02-16 Thread Michael Sparer
I recently came across a link to one of my projects where a user linked to a session dependent URL such as /?wicket:interface=:0::IBehaviorListener:2:3 when clicking on that URL, a PageExpiredException gets thrown and a redirect to the SessionExpiredPage takes place. So far so good - that's the

Re: Drop Down Box - Ajax Behaviour

2009-02-16 Thread Eyal Golan
Where do yo u have the values in the DropDown in the first place? If you use a model, why not updating it? Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really

Re: Encoding Russian pages

2009-02-16 Thread Tim Squires
After more than 10 years using .properties and I did not twig that it may be the .properties encoding limitation. After an hour and a touch of RSA all .properties are now xml and it's working great. Thanks for the tip. And thanks Maarten for the pointer to Spring resource bundles. Tim Hi

RE: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-16 Thread Hoover, William
Rod Johnson (creator of spring) talks about JCP, JEE, and Spring: http://java.sys-con.com/node/732455 -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, February 13, 2009 4:15 PM To: users@wicket.apache.org Subject: Re: Wicket at ApacheCon EU'09 in

Wicket and standardization (was: Wicket at ApacheCon EU'09 in Amsterdam)

2009-02-16 Thread Erik van Oosten
Please change the subject of this thread. Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: SubmitLink question

2009-02-16 Thread Martijn Reuvers
Hello Martin, I've reproduced the problem and created a JIRA issue with it see: https://issues.apache.org/jira/browse/WICKET-2106 and attached a test project. I hope this is sufficient information. Thanks for your help! Martijn On Mon, Feb 16, 2009 at 10:15 AM, Martin Voigt

simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Steve Swinsburg
Hi all, I can't figure out how the RadioGroup component works in Wicket My use case is this. I have a bunch of parameters which I need a true/ false answer for. So each group of choices (true or false) will map to a boolean parameter in my PropertyModel. What is wrong with this code:

Re: AbstractAjaxTimerBehavior / Firefox / Page constructor

2009-02-16 Thread Adriano dos Santos Fernandes
Johan Compagner escreveu: That settings just triggers some code that checks if the pagemap name is equal to the window name if that isnt the case then it does a redict to a new page so that every browser window has its own pagemap Why do you have that setting enabled? With the disk store it is

.html-templates compiler

2009-02-16 Thread kan
Just random thought... Has anybody thought to make wicket html-template compiler? I think it could be quite useful - it can check all wicket:id, all hrefs and so on checked at compile-time. And also it can gain some performance, because it will not require to parse html at run-time. -- WBR, kan.

Re: .html-templates compiler

2009-02-16 Thread Igor Vaynberg
the point of all those wicket:ids is to generate dynamic markup. dynamic meaning runtime. -igor On Mon, Feb 16, 2009 at 8:22 AM, kan kan@gmail.com wrote: Just random thought... Has anybody thought to make wicket html-template compiler? I think it could be quite useful - it can check all

Re: exception handling for session dependent URLs

2009-02-16 Thread Igor Vaynberg
please create a jira issue. -igor On Mon, Feb 16, 2009 at 6:00 AM, Michael Sparer michael.spa...@gmx.at wrote: I recently came across a link to one of my projects where a user linked to a session dependent URL such as /?wicket:interface=:0::IBehaviorListener:2:3 when clicking on that URL, a

Re: simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Igor Vaynberg
did you add emailRequests to the form or somewhere under? -igor On Mon, Feb 16, 2009 at 8:12 AM, Steve Swinsburg s.swinsb...@lancaster.ac.uk wrote: Hi all, I can't figure out how the RadioGroup component works in Wicket My use case is this. I have a bunch of parameters which I need a

Re: .html-templates compiler

2009-02-16 Thread kan
But html-template just is a regular file, a class resource compiled in jar, you cannot change/generate it dynamically in run-time. Dynamic markup allows to build a component-tree in run-time, but doesn't allow to change html-template or assigned java-class itself. 2009/2/16 Igor Vaynberg

Re: simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Stephen Swinsburg
yeah its added and it renders and everything seems to work except its not setting any data. cheers, steve On 16/02/2009, at 5:21 PM, Igor Vaynberg wrote: did you add emailRequests to the form or somewhere under? -igor On Mon, Feb 16, 2009 at 8:12 AM, Steve Swinsburg

Re: exception handling for session dependent URLs

2009-02-16 Thread Michael Sparer
aye aye captain :-) https://issues.apache.org/jira/browse/WICKET-2107 igor.vaynberg wrote: please create a jira issue. -igor On Mon, Feb 16, 2009 at 6:00 AM, Michael Sparer michael.spa...@gmx.at wrote: I recently came across a link to one of my projects where a user linked to a

Re: .html-templates compiler

2009-02-16 Thread Igor Vaynberg
sorry, what are you trying to do with this? if we preparse the markup and break it up into tags at compile time we still have to store it somehow and load it at runtime. so that format would need to be more efficient at storing markup than xml already is, but the parser is a very tinny percentage

Re: simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Igor Vaynberg
ive used that exact usecase dozens of times, quickstart please -igor On Mon, Feb 16, 2009 at 10:01 AM, Stephen Swinsburg s.swinsb...@lancaster.ac.uk wrote: yeah its added and it renders and everything seems to work except its not setting any data. cheers, steve On 16/02/2009, at 5:21 PM,

Re: simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Stephen Swinsburg
will do in the next few days. thanks igor. cheers, Steve On 16/02/2009, at 6:10 PM, Igor Vaynberg wrote: ive used that exact usecase dozens of times, quickstart please -igor On Mon, Feb 16, 2009 at 10:01 AM, Stephen Swinsburg s.swinsb...@lancaster.ac.uk wrote: yeah its added and it renders

Re: exception handling for session dependent URLs

2009-02-16 Thread Igor Vaynberg
i think this might have to wait until 1.5. we definetely cannot change this for 1.3.6 because it will change existing behavior too much. and since 1.4 is already in the RC i would rather not change it there either. since we will be rewriting all url handling in 1.5 anyways it will be a good time

Re: Effects library in Wicket

2009-02-16 Thread Anton Veretennikov
Also look at other JQuery integrations with Wicket: http://code.google.com/p/wickext/ and http://code.google.com/p/jquery4wicket/ From one of postings on wickext forum I saw they plan to merge. -- Tony On Mon, Feb 16, 2009 at 9:12 AM, Jeremy Thomerson jer...@wickettraining.com wrote: See some

Truly killing the session

2009-02-16 Thread Martin Makundi
Hi! I have found out that in order to truly have a new Session instance (at login, for instance), the following commands are needed: Session.unset(); getApplication().getSessionStore().removeAttribute(getRequest(), Session.SESSION_ATTRIBUTE_NAME); getSession().replaceSession(); I am

Clustering on Tomcat

2009-02-16 Thread Doug Leeper
The Wiki info to setup clustering on Tomcat ( http://cwiki.apache.org/WICKET/tomcat-clustering.html http://cwiki.apache.org/WICKET/tomcat-clustering.html ) indicates that there is a bug in the latest Tomcat that causes Wicket to fail during session replication. My questions are: - what Tomcat

Spanish Wicket User Group

2009-02-16 Thread dtoffe
Hi all, Just to announce the spanish speaking Wicket User Group: http://groups.google.com.ar/group/wicket-es We are few yet but the number of members is growing, everybody is welcomed. Cheers, Daniel == Hola a todos, Solo para anunciar

Re: N-level CompoundPropertyModel

2009-02-16 Thread Johan Compagner
yes initmodel shouldnt call getModel() on the parent because that was a big performance penalty on some solutions because that would create and walk over the complete hierarchy of things and then many many in between models are created, that dont do really anything. But why not something like

Re: Feedback Next To Component

2009-02-16 Thread walnutmon
I am trying to build something like that, but I believe that you need associated markup for each component with a FormComponentFeedbackBorder, and since I am going to be updating many fields with this behavior, I'd rather not have to change all of the associated HTML. Serkan Camurcuoglu-3

Re: N-level CompoundPropertyModel

2009-02-16 Thread Willis Blackburn
Johan, The below solution requires that SmallComponent know it's parent has CompoundPropertyModel and that there is a member called smallObject. I'm trying to keep SmallComponent generic, like the Wicket built-in components. W On Feb 16, 2009, at 2:46 PM, Johan Compagner wrote: yes

Re: N-level CompoundPropertyModel

2009-02-16 Thread Johan Compagner
do it then a bit different public class BigPage { public BigPage(BigObject object) { CompoundPropertyModel model = new CompoundPropertyModel(object) setModel(model) add(new SmallComponent(smallObject, model.bind(smallObject.name)); } } public class SmallComponent { public

Re: RadioGroup, differences between FireFox and Internet Explorer?

2009-02-16 Thread metalotus
I have the same issue. Some places in my application, adding AjaxFormChoiceComponentUpdatingBehavior to a RadioChoice simply does not work under IE7. The ajax response is invoked, but the browser does not actually select the new radio button. For example, in one place I have such behavior and it

Re: N-level CompoundPropertyModel

2009-02-16 Thread Willis Blackburn
Johan, I had a similar idea, except that I used PropertyModel (which is what CompoundPropertyModel.bind does anyway). The issue that I had with this one is that every component exposes a setModel method, so I always wonder how my components will behave if someone calls it. In this case,

Re: SVN Checkout slow?

2009-02-16 Thread Martijn Dashorst
A disk in the svn machine gave up and died. Access was/is slow for svn.apache.org until the disk has been replaced. Infra expects to update in a day or so (they said 24h) Martijn On Mon, Feb 16, 2009 at 2:34 PM, Thomas Mäder thomas.mae...@devotek-it.ch wrote: Hi Guys, I'm trying to check out

Re: Drop Down Box - Ajax Behaviour

2009-02-16 Thread Daniel Ferreira Castro
I have this method that is run on the momento of the form construction The ListCategoria keyValuePairsTemp stores the values of the DropDown private DropDownChoice criaCategoriaPaiDropdown() { setOutputMarkupId(true); choiceRenderer = new CategoriaChoiceRenderer();

Re: simple radiogroup with true/false and a propertymodel

2009-02-16 Thread Stephen Swinsburg
quickstart checked out ok via: CompoundPropertyModel testModel = new CompoundPropertyModel(testObject); Form form = new Form(form, testModel); RadioGroup groupOne = new RadioGroup(groupOne, new PropertyModel(testModel, paramOne)); groupOne.add(new Radio(on, new Model(new Boolean(true;

Re: Drop Down Box - Ajax Behaviour

2009-02-16 Thread Daniel Ferreira Castro
*This is my form source code* package com.jasp.ecommfwk.pages.forms; import java.io.Serializable; import java.util.List; import org.apache.log4j.Logger; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior; import

Wicket source code using Maven

2009-02-16 Thread Daniel Ferreira Castro
How to do to be able to download the source code of Wicket throught Maven? I tried to insert it on my project pom, but didn't have success repositories repository idwicket-snaps/id urlhttp://wicketstuff.org/maven/repository/url snapshots

Re: Wicket source code using Maven

2009-02-16 Thread Igor Vaynberg
mvn eclipse:eclipse -DdownloadSources=true -igor On Mon, Feb 16, 2009 at 5:38 PM, Daniel Ferreira Castro dfcas...@gmail.com wrote: How to do to be able to download the source code of Wicket throught Maven? I tried to insert it on my project pom, but didn't have success repositories

Re: Wicket source code using Maven

2009-02-16 Thread Daniel Ferreira Castro
Thanks On Mon, Feb 16, 2009 at 10:43 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: mvn eclipse:eclipse -DdownloadSources=true -igor On Mon, Feb 16, 2009 at 5:38 PM, Daniel Ferreira Castro dfcas...@gmail.com wrote: How to do to be able to download the source code of Wicket throught

Wizard Step question

2009-02-16 Thread John Armstrong
Making progress on my Wizard (thanks Igor!) but I had another question that I was not able to find an answer too. Is there a way to send a WizardStep to another Step outside of prev/next controls? In my example I have a Confirm Step that does final validation on the data before sending it to the

WicketURLEncoder.QUERY_INSTANCE result not (even near) same as java.net.URLEncoder?

2009-02-16 Thread Martin Makundi
Hi! The constructor WicketURLEncoder(Type type) explains a whole lot about the compatibility of QUERY_INSTANCE and java.net.URLEncoder. However, the results differ significantly. Specifically the dontNeedEncoding characters. We had a bit of a surprise integrating our app with another app