Re: CompoundPropertymodel loses object after form submit

2010-06-09 Thread Manfred Bergmann
Hi. Certainly I can. Here is the main Panel for the case where the CompoundPropertyModel loses the object. The WebPage classes basically only contain one of those main panels depending of the PageParameters which are passed into the panel as converted to a Scala immutable Map instance.

Re: drag and drop

2010-06-09 Thread DerBernd
Hi, little question at this point. How do I get the child-components of an RepeatingView. Isn't there any kind of Collection? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2248428.html Sent from the Wicket - User mailing list archive at

AW: drag and drop

2010-06-09 Thread Stefan Lindner
.iterator() Stefan -Ursprüngliche Nachricht- Von: DerBernd [mailto:beha...@web.de] Gesendet: Mittwoch, 9. Juni 2010 09:44 An: users@wicket.apache.org Betreff: Re: drag and drop Hi, little question at this point. How do I get the child-components of an RepeatingView. Isn't there any

Captcha regeneration

2010-06-09 Thread Josh Kamau
Hi team; I am trying to regenerate a captcha to help users incase the previous one was not very clear. I have tried several things including the code below captchaImg = new CaptchaImageResource(); captcha = new Image(captchaImg, captchaImg); captcha.setOutputMarkupId(true);

Re: Captcha regeneration

2010-06-09 Thread Robert Kimotho
Here is some code that I think will help remove(image); imagePass = randomString(6, 8); captchaImageResource = new CaptchaImageResource(imagePass); image = new Image(captchaImage,

GuiceComponentInjector VS InjectionFlagCachingGuiceComponentInjector

2010-06-09 Thread nino martinez wael
What's the difference between InjectionFlagCachingGuiceComponentInjector and GuiceComponentInjector ? regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Captcha regeneration

2010-06-09 Thread Josh Kamau
I think the old image is being cached by the browser. any idea how to stop this? regards. On Wed, Jun 9, 2010 at 11:45 AM, Robert Kimotho kimot...@gmail.com wrote: Here is some code that I think will help remove(image); imagePass =

Re: Captcha regeneration

2010-06-09 Thread Josh Kamau
I used NonCachingImage instead and it worked. On Wed, Jun 9, 2010 at 12:15 PM, Josh Kamau joshnet2...@gmail.com wrote: I think the old image is being cached by the browser. any idea how to stop this? regards. On Wed, Jun 9, 2010 at 11:45 AM, Robert Kimotho kimot...@gmail.comwrote: Here

Re: [Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-09 Thread Charles Deal
I believe there is an object called GridSortState on the DataGrid. Using that object, you can set the default sort for the grid. One of our grids do this, but I don't have the code in front of me. On Wed, Jun 9, 2010 at 1:04 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Thanks! I

Re: get resource translation with specific locale

2010-06-09 Thread Erik van Oosten
Hi Marieke, To force a component to be rendered in another locale (in this case your e-mail), you can override getLocale() from the top-most component that is used to render the e-mail. Regards, Erik. On Tue, Jun 8, 2010 at 3:30 AM, Marieke Vandammemarieke.vanda...@tvh.be wrote:

Re: get resource translation with specific locale

2010-06-09 Thread Marieke Vandamme
Hi Erik, problem is that I generate the emailtext in the onSubmit of my form. The data that is printed in my form, and visible to the webuser, needs to be in the locale from the session. So I can't override the getLocale from the Form. Or am I missing something? Thanks, Marieke -- View this

Re: get resource translation with specific locale

2010-06-09 Thread Erik van Oosten
Hi Marieke, So you are using getString? In that case my suggestion won't work. You could still add an invisible component to the form, but that's about as hairy as temporarily setting the session locale. Erik. Op 09-06-10 14:24, Marieke Vandamme schreef: Hi Erik, problem is that I

Re: get rights for mounted url

2010-06-09 Thread Marieke Vandamme
Hi, Thanks for the hints, but there's only one thing I'm stuck with. I want to use MetaDataRoleAuthorizationStrategy.authorize(component, Component.RENDER, rights); to set the right on my link, where rights are the Roles. I now got my class from the IRequestTarget, but the only function in

Re: GuiceComponentInjector VS InjectionFlagCachingGuiceComponentInjector

2010-06-09 Thread Martin Grigorov
The second one caches the results from the annotations processing per class. The first one always makes the scanning for @Inject. This is improved in 1.5-SNAPSHOT and the caching logic is now in Injector (wicket-ioc) and shared between Spring and Guice integrations. On Wed, 2010-06-09 at 10:48

Re: GuiceComponentInjector VS InjectionFlagCachingGuiceComponentInjector

2010-06-09 Thread nino martinez wael
Ok thanks, so I guess until I use 1.5 i should just use the caching one.. 2010/6/9 Martin Grigorov mcgreg...@e-card.bg The second one caches the results from the annotations processing per class. The first one always makes the scanning for @Inject. This is improved in 1.5-SNAPSHOT and the

Re: Using Wicket to build Application Portal

2010-06-09 Thread Nivedan Nadaraj
Hi All, I will try to articulate my requirement. Can I call it a Wicket based Portal? I have an application lets call it Application-1 that provides common functionality such as Authentication/Authorization. It also will provide the Business layer/Service methods. As part of this web

Re: get rights for mounted url

2010-06-09 Thread Igor Vaynberg
wicket-auth-roles is just an example, it is meant for you to take and paste into your own code base so you can tweak it to suit your needs. -igor On Wed, Jun 9, 2010 at 5:35 AM, Marieke Vandamme marieke.vanda...@tvh.be wrote: Hi, Thanks for the hints, but there's only one thing I'm stuck

Re: Using Wicket to build Application Portal

2010-06-09 Thread Igor Vaynberg
ive done this many times already, wicket is perfect for things like these. application 1 should be a simple wicket container app. this is a full application with its own subclass of WicketApplication and is what is going to be packaged as a war file. it should also have a module (jar) with the

Re: [wicketstuff/wicket-contrib-jasperpreports] Is anyone supporting this?

2010-06-09 Thread Steven Haines
We're just about to start integrating Jasper with our wicket application (with a due date by the end of the week), so I found your positing particularly timely! Do you have any sample code and/or configuration information that shows me how to integrate wicket-contrib-jasperreports into my

Re: [wicketstuff/wicket-contrib-jasperpreports] Is anyone supporting this?

2010-06-09 Thread Charles Deal
Well, there is some example code within the project. And I believe it was enough to get me started. But beyond that, no I don't think you'll find anymore docs on it. If you run into trouble, I'll do my best to help since it seems to be working in my project. dependency

[offtopic] Hsql as configuration database + packing your application with an installer?

2010-06-09 Thread nino martinez wael
Hi I have an application that need to have some sort of configuration database, the application will connect to other database that will provide data. Have anyone done something similar? I guess one of the motivators behind it are that hsql requires very little setup.. Has anyone packed their

Re: [announce] Wicket Security 1.4 released!

2010-06-09 Thread ViShap
I just stumbled upon this announce and didn't have the time to dig deep into the code, and the links you suggested don't mention anything, so i have a short question: Is it possible to use annotations instead of that manual hive-file? If not: Is it planned or if not, why is it discarded?

Re: Show/hide form components best practice

2010-06-09 Thread Iain Reddick
Looking at the wicket source regarding this, I don't think it's possible to get the desired behaviour. It looks like a new hook is needed in FormComponent.validate() that is called before any of the other logic. Something like FormComponent.isUsed(). If this returns false, just exit the

Confluence out of sync?

2010-06-09 Thread ViShap
Hi, if I use the confluence-link https://cwiki.apache.org/*confluence*/*display */WICKET/How+to+do+things+in+Wicket I get the right page with CSS and everything. But if I follow the link on wicket.apache.org - Reference I goto https://cwiki.apache.org/WICKET/reference-library.html and there is

404 error in IE when wicket app at root context

2010-06-09 Thread Chris Colman
We have recently moved our Wicket app to the root context / after previously being at /content and everything seemed to work perfectly until we tested the app with IE 8. FF3, Opera 10 work but using IE8 we get a 404 error when a particular AJAX event occurs, the URI requested is: POST

RE: 404 error in IE when wicket app at root context

2010-06-09 Thread Chris Colman
More, possibly relevant, information: I should point out that this occurs when a page that has been 'intercept redirected' is returning to the original page. The intercept was initiated with: throw new RestartResponseAtInterceptPageException(new LoginFormPage(parameters)) Basically it

RE: 404 error in IE when wicket app at root context

2010-06-09 Thread Chris Colman
I have managed to get it working but only by a change to the Wicket PageMap.java class' continueToOriginalDestination method: If the interceptContinuationURL has a leading slash then I remove it and redirect to the URL without the leading slash. Works under FF as well which is good! Not sure if

RE: 404 error in IE when wicket app at root context

2010-06-09 Thread Chris Colman
BTW this change breaks a few tests and so prevents the wicket.jar from being built so I had to compile PageMap.java separately and add PageMap.class to the .war independently of the wicket.jar so that the new copy is used instead of the one in the .jar.

Re: Using Wicket to build Application Portal

2010-06-09 Thread Nivedan Nadaraj
Hi Igor, Thank you for the quick response and what a ray of hope it brings! It certainly, from your experience seems to be a very good design approach. I am excited to implement it. The question(s)/confirmation at this point in time is : 1.Will Application 2..(n) ever extend the sub-class Web

Re: Using Wicket to build Application Portal

2010-06-09 Thread Igor Vaynberg
On Wed, Jun 9, 2010 at 8:20 PM, Nivedan Nadaraj shravann...@gmail.com wrote: Hi Igor, Thank you for the quick response and what a ray of hope it brings! It certainly, from  your experience seems to be a very good design approach. I am excited to implement it. The question(s)/confirmation at

Re: Question on Links

2010-06-09 Thread Arjun Dhar
FYI I got a lot of help from http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-integration/ nino martinez Blog -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Question-on-Links-tp2247045p2249923.html Sent from the Wicket - User mailing list

Re: 404 error in IE when wicket app at root context

2010-06-09 Thread Jeremy Thomerson
On Wed, Jun 9, 2010 at 9:15 PM, Chris Colman chr...@stepaheadsoftware.comwrote: BTW this change breaks a few tests and so prevents the wicket.jar from being built so I had to compile PageMap.java separately and add PageMap.class to the .war independently of the wicket.jar so that the new copy

Re: [offtopic] Hsql as configuration database + packing your application with an installer?

2010-06-09 Thread Ernesto Reinaldo Barreiro
Hi Nino, I have worked some time ago in a distributed WEB application that read all the configuration form a database and was initialized as a service using [1]. The application server used was jetty. The application could be controlled remotely (e.g. install code patches and restart the server)