Re: 10th aniversary of wicket

2014-01-22 Thread Martin Funk
Btw. does anyone know which date might count for the birthdate? Jonathan wrote something like in the spring of 2004 in Wicket in Action. I googled around a little bit, finding the initial first commit is kinda hard, but I came up with an issue at codehaus.org:

Re: 10th aniversary of wicket

2014-01-22 Thread Martin Grigorov
On Wed, Jan 22, 2014 at 12:26 PM, Martin Funk mafulaf...@gmail.com wrote: Btw. does anyone know which date might count for the birthdate? Jonathan wrote something like in the spring of 2004 in Wicket in Action. I googled around a little bit, finding the initial first commit is kinda hard,

Re: 10th aniversary of wicket

2014-01-22 Thread David Beer
Hi Guys This is a great idea, I would like to suggest the UK as a location specifically Newcastle as there seems to be a lot of companies around here that use Apache Wicket. I have also seen a few job adverts with Apache Wicket mentioned. Just a thought. David On 20/01/14 09:52, Ernesto

[ANNOUNCE] WicketStuff 6.13.0 is released

2014-01-22 Thread Martin Grigorov
Hi, WicketStuff core 6.13.0 based on Apache Wicket 6.13.0 is released and will be available in Maven Central soon. The changelog for this release is: Martin Tzvetanov Grigorov (34): [scala] Update the Maven archetype to Scala 2.10 [scala] minor improvements in WicketDSL. Fix the SBT

Handling exceptions thrown by a model

2014-01-22 Thread Oliver B. Fischer
I have implementation of LoadableDetachableModel which might throw an exception in load(). Unfortunately this exception might be thrown while rendering the page. Currently I handle the exception with an AbstractRequestCycleListener added to the application itself. But don't like it because

Re: Handling exceptions thrown by a model

2014-01-22 Thread Sebastien
Hi Olivier, I simple way to achieve this is to have a (abstract) #onError method: public abstract class MyModel extends LoadableDetachableModelListMyObject { private static final long serialVersionUID = 1L; private static final Logger LOG = LoggerFactory.getLogger(DashboardModel.class);

Re: tinymce textarea in a modal window not letting to type

2014-01-22 Thread fachhoch
Sorry for replying to this very old thread , I am having a similar issue, before modalwindow.show I am constructing new instance of my panel call setContent , so every time modalwindow.show is called it displays a new instance of my panel, can you please give me the script which should be

RE: Handling exceptions thrown by a model

2014-01-22 Thread Richter, Marvin
Just my few cents to this. I'm using something very similar to what Sebastien wrote but because I have several different ModelObject Types where I need this, I wrote it a bit more generic: /** * @param T Type of Object * * @author mrichter */ public abstract class ExceptionHandledModelT

Re: tinymce textarea in a modal window not letting to type

2014-01-22 Thread fachhoch
here is my code trying with tinymce and modalwindow wicket and tinymce 6.12.0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663886.html Sent from the Users forum mailing list archive at

Are resource reference instances necessary to access a resource?

2014-01-22 Thread tertioptus
I have a few JS files in a package, and I found that I can still reach them provided I use a specific URL. Such that I don't even need to create a Resource Reference for the file. For instance: /wicket/resource/com.somename.SomeClassInPackage/some_resource_under_same_package.js *Is it safe to

Re: Are resource reference instances necessary to access a resource?

2014-01-22 Thread Martin Grigorov
Hi, See https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/core/request/mapper/BasicResourceReferenceMapper.java?source=c#L135 The last parameter is 'true'. It says 'create ResRef if not existing in the ResourceReferenceRegistry'. So yes, you can load any

Re: Understanding setPageExpiredErrorPage and onUnauthorizedInstantiation

2014-01-22 Thread jchappelle
Martin, Yes our Application.init method is where we register a IAuthorizationStrategy and a IUnauthorizedComponentInstantiationListener. Do those override the setPageExpiredErrorPage() somehow? I'm trying to understand the interplay so that I can give our users a meaningful message when they

Re: Understanding setPageExpiredErrorPage and onUnauthorizedInstantiation

2014-01-22 Thread jchappelle
Martin, I noticed in one of your posts you point out the difference between session expiration and page expiration. I have been thinking they are the same thing when they are obviously not. I'm looking to redirect when the session expires. Although thinking through this I'm not sure there is a

Re: Understanding setPageExpiredErrorPage and onUnauthorizedInstantiation

2014-01-22 Thread jchappelle
I think I have it working like I want now. The IExceptionMapper that I had registered was causing an issue. I'm not sure why but when I used the RequestCycleListener.onException method it seems to send me PageExpiredExceptions when the session expires. This way I can redirect to the login page

Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-22 Thread chathuraka.waas
Hi, i'm trying to migrate my application from Wicket 1.4 to 6.13.0 and stuck on a compilation error related to DataTables. what my code does is extend the Datatable class. But when i do so it gives me a compilation error saying, getPageCount() in DataTable cannot implement getPageCount() in

Re: Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-22 Thread Francois Meillet
The api changed. Just replace the method signature you use in you backend layer. François Meillet Formation Wicket - Développement Wicket Le 23 janv. 2014 à 08:13, chathuraka.waas chathuraka.w...@gmail.com a écrit : Hi, i'm trying to migrate my application from Wicket 1.4 to 6.13.0 and