Re: Correct way to get current page instance

2016-02-11 Thread Rakesh A
Clear Thank you, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Correct-way-to-get-current-page-instance-tp4673548p4673550.html Sent from the Users forum mailing list archive at Nabble.com.

Re: ResourceFinders - order of looking into folders for resource

2016-02-11 Thread Bas Gooren
Hi Marieke, I see that ResourceSettings exposes method getResourceFinders() which returns a List. Assuming that’s where you register your custom finder, isn’t the easy solution to simply add it to the top of the list? E.g. add(0, yourFinder) instead of add(yourFinder)? Met vriendelijke

Re: How to refer to a validator message for a textfield with a certain type

2016-02-11 Thread Martin Grigorov
Hi, Please see inline. On Thu, Feb 11, 2016 at 4:12 PM, Lorne Malvo wrote: > Say I have a TextField like so: > > TextField amountField = new TextField("someTextField", > someModel); > amountField.setType(Integer.class); > > Where can I customize the error message

ResourceFinders - order of looking into folders for resource

2016-02-11 Thread Marieke Vandamme
​Hi, ​We work with an extra ResourceFinder a lot, so that we can modify html when webapplication is already running. Now I want to change the html from a library, but the html is still in the library. I can not remove it from there.. Is there some way I can override this existing html, without

How to refer to a validator message for a textfield with a certain type

2016-02-11 Thread Lorne Malvo
Say I have a TextField like so: TextField amountField = new TextField("someTextField", someModel); amountField.setType(Integer.class); Where can I customize the error message when the user enters a value other than an integer? I generate the id for this text field on the fly, so I can't specify

Question About ModalWindows and IEventSink

2016-02-11 Thread Aaron J . Garcia
Hi Everyone, ModalWindow has a "setPageCreator()" method, to set the page that you want to display inside of the ModalWindow. I've never used Wicket's event infrastructure, but I decided to use it today to pass a message from the content of my ModalWindow back to the ModalWindow itself.

Re: ResourceFinders - order of looking into folders for resource

2016-02-11 Thread Ernesto Reinaldo Barreiro
Hi, Or simply create a finder that: 1- Do your default logic 2- Contains the finders on getResourceFinders() 3- You use setResourceFinders to set this unique resource finder (that simply delegates n standard finder if your custom logic fails) On Thu, Feb 11, 2016 at 12:17 PM, Bas Gooren

Re: ResourceFinders - order of looking into folders for resource

2016-02-11 Thread Ernesto Reinaldo Barreiro
I.e. package temp; import org.apache.wicket.util.file.IResourceFinder; import org.apache.wicket.util.resource.IResourceStream; import java.util.List; /** * CustomDelegatingResourceFinder */ public class CustomDelegatingResourceFinder implements IResourceFinder { private final

ApacheCon NA 2016 - Important Dates!!!

2016-02-11 Thread Melissa Warnkin
Hello everyone! I hope this email finds you well.  I hope everyone is as excited about ApacheCon as I am! I'd like to remind you all of a couple of important dates, as well as ask for your assistance in spreading the word! Please use your social media platform(s) to get the word out! The more