Re: Generic for FileUploadField model

2012-07-16 Thread meduolis
Iam, thanks for trying to help, but my form have CompoundPropertyModel too, but I don't want to use it for my FileUploadField, so I create new model for this. Everything works fine, just I can not put generics correctly. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/

Re: Wicket 6 and CDI

2012-07-16 Thread Igor Vaynberg
just pushed the wicket-6 branch -igor On Mon, Jul 16, 2012 at 1:04 AM, Jochen Mader wrote: > Hehehehe, that was easy :) > It's just a couple of package-renames and fixing the > ConversationExpiryChecker to use the new way of getting the > AjaxRequestTarget: > AjaxRequestTarget target = RequestCy

How to handle ReplaceHandlerException

2012-07-16 Thread Stefan Droog
Hi all, The continueToOriginalDestination() method in our Login page throws a ReplaceHandlerException (Wicket 1.5.7). This means that it won't invoke the setResponsePage, which I do expect. Our implementation looks like: Form form = new StatelessForm("form"){ @Override protected void on

Re: Generic for FileUploadField model

2012-07-16 Thread Ian Marshall
To explain better My form has the component FileUploadField fufUploadImage = new FileUploadField("fufUploadImage"); frmForm.add(fufUploadImage); The form's model is a compound property model, constructed using a LoadableDetachableModel. MyModel includes the data member public transie

Re: Generic for FileUploadField model

2012-07-16 Thread Ian Marshall
For my FileUploadField field in a form, I use the model type List. meduolis wrote > > Wicket version: 1.5.3 > Java version: 1.7.0_02 > > Hello, how to properly set generic for FilUploadField model? > > I try like this, but it does not compile: > > > I get error message > > > If I make i

Re: wicket 1.4 to 1.5 migration - page id in urls issue - how to remove for certain pages

2012-07-16 Thread samzilverberg
Tried the mapper. It looks like it behaves exactly as overriding isVersioned to return false at the wanted page... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-1-4-to-1-5-migration-page-id-in-urls-issue-how-to-remove-for-certain-pages-tp4650445p4650544.html S

Re: Determine session size for Wicket 1.5

2012-07-16 Thread Ian Marshall
I don't think that I am getting the session size in the right place. Despite my session sizes being logged as very small at ~1.7kB using the Google App Engine (GAE) web development server, in GAE production I am getting session sizes approaching 1MB (and attempting to breach this GAE-imposed limit