Re: WICKET-5083 and Page.isPageStateless

2013-07-15 Thread Dirk Forchel
So, I've started to figure out which of our components tries to access our Model in #onInitialize. It ended up that almost every component does. This means, that I have to re-write all these components which might be very time consuming. I'm wondering why a request with a redirect has to

Re: jquery dialog onclick AjaxButton

2013-07-15 Thread Sebastien
Hi, In addition, wicket-jquery-ui provides a confirmation button (ConfirmButton / ConfirmAjaxButton) which already handles a confirmation jQuery UI dialog. http://www.7thweb.net/wicket-jquery-ui/button/ConfirmButtonPage If you need inspiration on how jQuery UI dialog's buttons are handled, you

Re: WICKET-5083 and Page.isPageStateless

2013-07-15 Thread Sven Meier
It is necessary to detect whether a page is stateful before redirecting to it. Sven On 07/15/2013 10:53 AM, Dirk Forchel wrote: So, I've started to figure out which of our components tries to access our Model in #onInitialize. It ended up that almost every component does. This means, that I

how to add select/deselect all checkbox to wicket DataTable

2013-07-15 Thread wicket_user_100
Hi All, I'm trying to add select All Checkbox to the header of wicket DataTable column, I've read that I need to use CheckGroup and CheckGroupSelector. I'm doing the following: Form form = new Form(form); CheckGroup group = new CheckGroup(group); group.add(new

Re: how to add select/deselect all checkbox to wicket DataTable

2013-07-15 Thread Sven Meier
CheckBoxPanel checkBoxPanel = new CheckBoxPanel(componentId); Which model do you pass to the CheckBoxPanel? Sven On 07/15/2013 01:28 PM, wicket_user_100 wrote: Hi All, I'm trying to add select All Checkbox to the header of wicket DataTable column, I've read that I need to use CheckGroup

RE: how to add select/deselect all checkbox to wicket DataTable

2013-07-15 Thread Paul Bors
I would reconsider your use-case. Select all for what? All results on a single page? All results for the entire data table? All results that are filtered? Select all on this page, then more on the second page? I added a SelectAllPanel which allows you do to all of the above. Perhaps I should

How to resolve this java.util.ConcurrentModificationException

2013-07-15 Thread saty
Getting below error at times, looks like its coming from usage of apache common LRUMAa class, not sure where to start fixing this. 15 Jul 2013 11:03:42.099 [http-apr--exec-3] ERROR o.a.w.serialize.java.JavaSerializer - error writing object [Page class = com.abc.xyz.web.HomePage, id = 5,

Re: How to resolve this java.util.ConcurrentModificationException

2013-07-15 Thread Sven Meier
Hi, Wicket doesn't use commons collections - check which maps you pass into components or models. Sven On 07/15/2013 05:55 PM, saty wrote: Getting below error at times, looks like its coming from usage of apache common LRUMAa class, not sure where to start fixing this. 15 Jul 2013

RE: Upgrade to wicket 6 giving blank page in IE 9

2013-07-15 Thread prasad.bhandagi
Using the DOCTYPE of HTML 4.01 STRICT worked ! Note 1: Previously used DOCTYPE was XHTML 1.0 STRICT Note 2: I did not have to do any changes to make the HTML pages compliant to 4.01. When I validated there were many issues with compliance to HTML 4.01 STRICT. It still worked by merely changing the

RE: Upgrade to wicket 6 giving blank page in IE 9

2013-07-15 Thread Cedric Gatay
I think this is something browser related, IE while deciding which rendering technique to adopt can do strange queries. It could be interesting if you dumped what happens on network using IE or another "working" browser with your old non working code.Regards, __Cedric Gatay

RE: Upgrade to wicket 6 giving blank page in IE 9

2013-07-15 Thread Paul Bors
This has nothing to do with Wicket, is just that IE likes to be different and mess things up almost always :) Read about the Defining document compatibility on MSDN: http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx And then pay attention to the links at the bottom of the article: *

Form questions

2013-07-15 Thread Daniel Watrous
Hello, I'm interested in creating a single Form that will accommodate the following use cases 1) display blank for creating new records 2) pre-populate for editing existing records 3) map submitted values on to an existing domain object 4) accommodate two actions, Save Draft -or- Publish I'm

RE: Form questions

2013-07-15 Thread Paul Bors
On wicket's home page http://wicket.apache.org to the left there is a Learn - Books section. Under the Books page the first book is Wicket free guide. Download it and read chapter 9 and 10 if not the entire book. You might be interested in section 9.2 Models and JavaBeans and 9.3.1 Form and