How to Perform LessThan or GreaterThan Validations Effectively?

2013-04-30 Thread madmax108
Hi, I have a form in which I'm taking in numeric values from the user, let's say 1,2,3,4,5. Now, I also have defaults specifying the maximum or minimum values for the entered numbers (eg. 1,2,3 should be greater than x,y,and z respectively (with no upper limit), while 4 and 5 should be less than a

Re: How to Perform LessThan or GreaterThan Validations Effectively?

2013-04-30 Thread Sven Meier
IFormValidator Regards Sven On 04/30/2013 09:09 AM, madmax108 wrote: Hi, I have a form in which I'm taking in numeric values from the user, let's say 1,2,3,4,5. Now, I also have defaults specifying the maximum or minimum values for the entered numbers (eg. 1,2,3 should be greater than x,y,and

Re: Server and client side validation

2013-04-30 Thread Cedric Gatay
Hi, Your blog post helped me write my first version of the integration between JSR303 (bean-validation) and client side validation using parsley.js. You can find the current work on this Github repository: https://github.com/code-troopers/wicket-jsr303-parsley Regards, __ Cedric Gatay

Re: Server and client side validation

2013-04-30 Thread Martin Grigorov
Thanks for sharing, Cedric! Well done! On Tue, Apr 30, 2013 at 9:19 AM, Cedric Gatay gata...@gmail.com wrote: Hi, Your blog post helped me write my first version of the integration between JSR303 (bean-validation) and client side validation using parsley.js. You can find the current work

Re: Saving checked choices from CheckGroup

2013-04-30 Thread Martin Grigorov
Hi, it sounds like you need listView.setReuseItems(true) On Tue, Apr 30, 2013 at 12:45 PM, Merlijn lucas...@gmail.com wrote: Hi everybody, I am making a filter for a searchfield where users can choose which items they want to choose. For this I am using a CheckGroup to show all the

Re: Session messages

2013-04-30 Thread Martin Grigorov
Hi, Wicket uses temporary Sessions for stateless application. Adding a feedback message to such session will live till the end of the current request. Since the response page is rendered in the same request/response cycle the feedback messages should be still reachable. On Mon, Apr 29, 2013 at

Re: Saving checked choices from CheckGroup

2013-04-30 Thread Merlijn
Nope, added in the code. This is my code public QuickSearchFilterPanel(String id) { super(id); Form form = new Form(filterform); ListClasslt;? classes = resultItemHandlerPool.getTypes(); types = new ArrayListIModellt;Classlt;?(); if (classes != null) {

Re: [Wicket 1.4.9] StackOverflow wicket-ajax.js with IE8 64bits

2013-04-30 Thread M4xime
Hi, In the end, I have to find a workaround to fix this bug. Do you think that overriding a part of wicket's js code can work ? Is there a part of the code of a more recent version that can be used to replace the incriminated code? Thanks ! -- View this message in context:

Re: [Wicket 1.4.9] StackOverflow wicket-ajax.js with IE8 64bits

2013-04-30 Thread Martin Grigorov
Hi, The simplest solution is to decrease the number of steps which FunctionsExecutor can do before using setTimeout() to start a new stack. On Tue, Apr 30, 2013 at 2:05 PM, M4xime maxime.nou...@capgemini.com wrote: Hi, In the end, I have to find a workaround to fix this bug. Do you think

Skip dynamically an item in populateItem of ListView

2013-04-30 Thread Marco Di Sabatino Di Diodoro
Hi all, Which is the best way to skip dynamically an item in populateItem of ListView. Currently I use setEnable and setVisible, but I like to know if there was a better approach. Regards Marco -- Dott. Marco Di Sabatino Di Diodoro mdisabatinodidiod...@gmail.com

Re: Skip dynamically an item in populateItem of ListView

2013-04-30 Thread Maxim Solodovnik
Maybe you can filter List prior to populate items from it? On Tue, Apr 30, 2013 at 8:01 PM, Marco Di Sabatino Di Diodoro mdisabatinodidiod...@gmail.com wrote: Hi all, Which is the best way to skip dynamically an item in populateItem of ListView. Currently I use setEnable and setVisible,

Re: Skip dynamically an item in populateItem of ListView

2013-04-30 Thread Marco Di Sabatino Di Diodoro
On Apr 30, 2013, at 3:19 PM, Maxim Solodovnik wrote: Maybe you can filter List prior to populate items from it? No, I can not filter the List before. M On Tue, Apr 30, 2013 at 8:01 PM, Marco Di Sabatino Di Diodoro mdisabatinodidiod...@gmail.com wrote: Hi all, Which is the best

Re: Skip dynamically an item in populateItem of ListView

2013-04-30 Thread Nick Pratt
Surely the list is provided to the ListView (either via a List or IModelList). So just wrap that List or IModel in another IModel (LoadableDetachableModel) and then filter the List contents inside the getObject() call. N On Tue, Apr 30, 2013 at 9:21 AM, Marco Di Sabatino Di Diodoro

RE: hello

2013-04-30 Thread Laura G
http://catalogobiblico.com/wp-content/themes/twentytwelve/nba.php?svylbs802tca I go to a lot of movies. There's something about a big screen, a dark room, sticky

Re: Session messages

2013-04-30 Thread Bertrand Guay-Paquet
Hi, This is not the behavior I'm getting. I created a stateless page with this: add(new FencedFeedbackPanel(feedback)); add(new StatelessLinkVoid(success) { @Override public void onClick() { getSession().info(Success message (without

Re: Session messages

2013-04-30 Thread Martin Grigorov
On Tue, Apr 30, 2013 at 5:44 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, This is not the behavior I'm getting. I created a stateless page with this: add(new FencedFeedbackPanel(feedback**)); add(new StatelessLinkVoid(success) { @Override

Re: Session messages

2013-04-30 Thread Bas Gooren
Hi, Since you are redirecting to another stateless page (setResponsePage(Class)), the browser is redirected to the new url which creates a new, temporary session for the second request. If you don't link to another page (so no setResponsePage call), it will work, since the response is

Re: Session messages

2013-04-30 Thread Martin Grigorov
On Tue, Apr 30, 2013 at 5:58 PM, Bas Gooren b...@iswd.nl wrote: Hi, Since you are redirecting to another stateless page (setResponsePage(Class)), the browser is redirected to the new url which creates a new, temporary session for the second request. If you don't link to another page (so no

DataTable multiple sort columns

2013-04-30 Thread Lucio Crusca
Hello *, is there a way/what's the cleaner way to support multiple sort columns with DataTable? I know it's up to the SortableDataProvider to provide sorted rows, no matter how, but the SortParam class seems to support only one sort criterium at a time. e.g. the DataTable is aware only of the

Re: Session messages

2013-04-30 Thread Bertrand Guay-Paquet
Thanks for your replies. I can confirm the described behavior without setResponsePage(). I created issue WICKET-5165 for this. On 30/04/2013 12:05 PM, Martin Grigorov wrote: On Tue, Apr 30, 2013 at 5:58 PM, Bas Gooren b...@iswd.nl wrote: Hi, Since you are redirecting to another stateless

Re: DataTable multiple sort columns

2013-04-30 Thread Jesse Long
Hi Lucio, Its something I'd be interested in pursuing myself, but the real problem is how to display the sort state to the user. With single sort state, you just show an arrow next to the column used for sorting. You could use a Palette type component as a top toolbar, allowing the user to

Re: DataTable multiple sort columns

2013-04-30 Thread Lucio Crusca
In data Tuesday 30 April 2013 19:14:12, Jesse Long ha scritto: Hi Lucio, Its something I'd be interested in pursuing myself, but the real problem is how to display the sort state to the user. How about this? ascii-art font=monospaced | |^ | ^ | | |

Wicket free guide updated.

2013-04-30 Thread Andrea Del Bene
Hi, I've just released an updated version of the guide with some typo corrections. I've also added a revision date on the cover page to help comparing different versions of the guide. http://code.google.com/p/wicket-guide/ Bye! :)

Re: Wicket free guide updated.

2013-04-30 Thread Pablo Borges
nice. *Thank You :) * 2013/4/30 Andrea Del Bene an.delb...@gmail.com Hi, I've just released an updated version of the guide with some typo corrections. I've also added a revision date on the cover page to help comparing different versions of the guide.

Re: Wicket free guide updated.

2013-04-30 Thread ORACLEADF
Thank You - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-free-guide-updated-tp4658427p4658429.html Sent from the Users forum mailing list archive at Nabble.com. - To

RE: Wicket free guide updated.

2013-04-30 Thread Paul Bors
I've been proof reading your book starting 2 weeks ago. So far I am in chapter 8 on page 51 and yes, there are a lot of grammar and typos (on average about 5-8 a page). I kept annotating the PDF format since I'm reading it on an iPad. Once I get 1/2 way through the book I'll open a ticket on your

Re: Wicket free guide updated.

2013-04-30 Thread Andrea Del Bene
Thank you Paul. I look forward to it! I've been proof reading your book starting 2 weeks ago. So far I am in chapter 8 on page 51 and yes, there are a lot of grammar and typos (on average about 5-8 a page). I kept annotating the PDF format since I'm reading it on an iPad. Once I get 1/2 way

Re: DataTable multiple sort columns

2013-04-30 Thread Jesse Long
Hi Lucio, I like the idea of 3 states, ascending, descending and none for each column. You will need to create a new interface that extends ISortableDataProvider which provides a default sort order for when the user deselects all columns (you must always have some sort order, so when the

Wicket upgrades in the 6.x trunk to date

2013-04-30 Thread Paul Bors
For your own curiosity, there goes a table of Wicket 6.x releases as composed from the project's home page J Release Date Version Bug Fixes Improvements New Features 09/05/2012 6.0.0 http://wicket.apache.org/2012/09/05/wicket-6.0.0-released.html - - - 10/04/2012 6.1.0