Re: Wicket 6.2: Required attribute on ListMultipleChoice has no effect

2012-11-07 Thread Martin Grigorov
Hi, Please create a ticket in Jira with a small quickstart app. Thanks! On Tue, Nov 6, 2012 at 6:29 PM, Thomas Heigl tho...@umschalt.com wrote: Hey All, I noticed that setRequired(true) on ListMultipleChoice does not have an effect anymore after upgrading to Wicket 6 from Wicket 1.5.7. I

Re: Currency Converter

2012-11-07 Thread Martin Grigorov
Hi, You don't use the generics. I expect to see : extends AbstractNumberConverterDouble and later convertTo methods work with Double too. In your #convertToString() I see no call to super.convertToString() but the exception says that it fails at AbstractNumberConverter.java:**31 so your override

Re: Image source location problems, examples did not help

2012-11-07 Thread Delange
sorry, the directory structure is exactly myapplication css images opdrachten WEB-INF classes etc etc Both directories (images and opdrachten) contain images. The images from opdrachten are uploads from the website -- View this message in context:

Re: Image source location problems, examples did not help

2012-11-07 Thread Ernesto Reinaldo Barreiro
Why not use ContextImage? On Wed, Nov 7, 2012 at 11:37 AM, Delange delan...@telfort.nl wrote: sorry, the directory structure is exactly myapplication css images opdrachten WEB-INF classes etc etc Both directories (images and opdrachten) contain images. The images

Checkbox Onclick event usage

2012-11-07 Thread wicket_new_user
Hi, I need help on how to incorporate the Javascript function for onclick event in Checkbox Scenario as follows == I have 2 checkboxes and this are taken as a Checkbox group private CheckGroupModelType addType(final MarkupContainer parent, final String id, final

Re: Checkbox Onclick event usage

2012-11-07 Thread Sven Meier
Attach an AjaxFormChoiceComponentUpdatingBehavior to the group. Sven On 11/07/2012 12:02 PM, wicket_new_user wrote: Hi, I need help on how to incorporate the Javascript function for onclick event in Checkbox Scenario as follows == I have 2 checkboxes and this are taken as a

Re: wicketstuff poms still depend on wicketstuff repo which no longer exists

2012-11-07 Thread Steve Swinsburg
Hi, This is for a piece of software that has thousands of users building it (Sakai CLE), so asking everyone to build their own copy isn't a feasible request. For now we just grabbed the POMs, edited them and put them in our own repository. I note that this was fixed in later versions, perhaps

Re: Button value with escaped Model String

2012-11-07 Thread Martin Grigorov
Hi, You markup didn't make it and Nabble doesn't have a record for your thread. You should use button.setEscapeModelStrings(false) if you are certain that the button's value wont break the produced markup. On Tue, Nov 6, 2012 at 12:30 PM, Dirk Forchel dirk.forc...@exedio.comwrote: We have a

Re: Wicket Application instance from outside Wicket Application

2012-11-07 Thread Martin Makundi
Solved, extend this class from your webservice or other: public abstract class AbstractWicketCompatibleWebService { private static Application application; // Set in Application() constructor for example private final MockWebApplication mockWebApplication; /** * */ public

RE: How to call a ModalWindow's close callback?

2012-11-07 Thread Paul Bors
Sounds like you have nested forms and from last time I checked you cannot submit the outer form from within an inner form. Either get rid of the inner form so any button will perform the form submission or share a method to refresh the page and call it from two places. Wither way you should check

RE: Opening new tab causes model to be null

2012-11-07 Thread Paul Bors
Fix the NPE :) Try lazy loading the model. ~ Thank you, Paul Bors -Original Message- From: Gytis [mailto:lietuvis...@mail.ru] Sent: Friday, November 02, 2012 7:30 AM To: users@wicket.apache.org Subject: Opening new tab causes model to be null Hello, I have noticed one problem and

RE: HTML storyboard and Maybe there are several Ajax event behaviors warning

2012-11-07 Thread Paul Bors
If I understand you right, you're navigating between pages. Must you really use Ajax? Can't you just simply call setResponsePage() and redirect the user to the page you want? Also, the error indicates that you're using the same button as a submit button to a form. Try changing its type from

RE: ContextRelativeResource working different in WebMarkupContainer?

2012-11-07 Thread Paul Bors
Have you turned on the automatic linking inside your webapp markup settings? wicket:link as documented at: https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtag s-Elementwicket%253Alink Supports the autolink functionality documented at:

FW: [Building Sakai] Wicket-Sakai archetype Add page in other page

2012-11-07 Thread Antonio muñoz alonso
From: antoniovalenciasp...@hotmail.com To: steve.swinsb...@gmail.com Date: Wed, 7 Nov 2012 13:46:52 +0100 CC: sakai-...@collab.sakaiproject.org Subject: Re: [Building Sakai] Wicket-Sakai archetype Add page in other page Yes, what you say is doing. My first page has a dropchoice and button.I

RE: [Building Sakai] Wicket-Sakai archetype Add page in other page

2012-11-07 Thread Antonio muñoz alonso
how to join 2 classes (page1.java, page.java) in one page1.html (javascript?) From: antoniovalenciasp...@hotmail.com To: users@wicket.apache.org Subject: FW: [Building Sakai] Wicket-Sakai archetype Add page in other page Date: Wed, 7 Nov 2012 14:24:00 +0100 From:

RE: [Building Sakai] Wicket-Sakai archetype Add page in other page

2012-11-07 Thread Richard W. Adams
Not sure exactly what you're asking, but have you looked at Wicket panels? _ I have yet to meet a C compiler that is more friendly and easier to use than eating soup with a knife. From: Antonio muñoz alonso

Mounting of ConcatResourceBundleReference in a WebPage

2012-11-07 Thread aws0934
I want a nice URL for my customized ConcatResourceBundleReference. If the bundle would not have a reference to the Session object in order to get the WebClientInfo, I could easily mount it in the application´s init method. As a workaround I mount the resource in my abstract BasePage (superclass

Re: Custom CSS for Feedback message is broken in 1.5

2012-11-07 Thread Martin Grigorov
Hi Alec, Please use the mailing lists. Don't write private messages. On Wed, Nov 7, 2012 at 8:02 PM, Alec Swan alecs...@gmail.com wrote: I verified that the change is in master branch, but not in wicket-1.5.x branch. What is wicket-1.5.x branch used for?

Re: NullPointerException is running Wicket 6.2 app

2012-11-07 Thread Martin Grigorov
Hi, Can you easily reproduce this ? The problem is at this code in Wicket: logger.warn(Thread '{}' failed to acquire lock to page with id '{}', attempted for {} out of allowed {}. The thread that holds the lock has name '{}'., new Object[] { thread.getName(), pageId, start.elapsedSince(),

Re: NullPointerException is running Wicket 6.2 app

2012-11-07 Thread saty
Thanks for responding, I am trying to migrate an older app to 6.2 and hit this error. using debug i could also narrow it down to 'previous' (PageLock previous) being null, i will try to reproduce this in quickstart application and create jira. -- View this message in context:

Re: NullPointerException is running Wicket 6.2 app

2012-11-07 Thread saty
I see that timeout prints 0 in my case , so it never executed the code previous = locks.get().putIfAbsent(pageId, lock); , for some reason the old app did not set a timeout, so after setting it to something meaningful the app works. Perhaps /** timeout value for acquiring a page lock */

Unique PDF file name for displaying PDF in iframe

2012-11-07 Thread hannach
Hi there, Recently I have implemented displaying PDF in iframe on my system reference to https://cwiki.apache.org/WICKET/displaying-content-eg-pdf-excel-word-in-an-iframe.html. I have list of documents and when user clicks each row, panel at the bottom will refresh and show corresponding PDF.