I faced this exact problem (images in "src/main/resources/images"). This is
what I chose to do (interested in cleaner way though):
1) In MyPage.java:
URL noProgramImageURL =
getClass().getClassLoader().getResource("images/transparentPixel.png");
File noProgramImageFile = n
wrote:
>
> you can use a shared resource to do this, there is a page on the wiki
> somewhere. you can also look at wicket pastebin project on berlios
> repo.
>
> a simpler (but thread-blocking) way is to see how downloadlink does it.
>
> -igor
>
> On Tue, May 20, 20
Hi, I have a repository storing many images somewhere on the server. The
hierarchy is like : C:\Images\\MM\DD.jpg
I want to be able to create a dynamic Image object (or ContextImage or
whatever works with ) with one of the images
stored in my repository.
I can't figure out how to do it, can so
My question isn't about i18n.
Wicket has its own very nice system of properties (MyApplication.properties,
MyWebPage.properties) which makes it so easy to get when one writes his HTML
files.
Can we ask wicket to get the value from a key in a java class just as
easily? I don't want to specify the
I had to remove ".setDefaultFormProcessing(false)" to make the validation
work
--
View this message in context:
http://www.nabble.com/Form-validation-when-using-custom-onSubmit%28%29-tp17315177p17316629.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Hi, I have a page with several validation constraints : Required,
NumberValidator.minimum(...), ... and a FeedBackPanel to display
corresponding error messages.
When not overriding the default submission method, the validation works
perfectly and the error messages are displayed upon submission on
Hi, are there zip files of each example available at wicketstuff? Some
examples have many files, including configuration files (.properties, .xml)
It would be helpful to see how all these file should be organized ideally
(directory hierarchy).
Sorry if I've missed it.
--
View this message in cont
Hi, I am very interested in form validation as shown in the FormInput example
at wicketstuff (http://wicketstuff.org/wicket13/forminput/)
I also came upon this page
(http://cwiki.apache.org/WICKET/form-validation-messages.html) in the wicket
reference website.
- This last web page reads "Some kno