Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Robin Sander
-datetime and wicket-extensions, all in version 1.4.0. Do I need another wicket module? Maybe some kind of wicket-ajax ?? On 19.08.2009, at 12:25, Robin Sander wrote: Hi, are there any further requirements? I use Wicket 1.4.0, defined 'newWebRequest' in my Application class and though I do

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-20 Thread Robin Sander
. http://www.nabble.com/UploadProgressBar-in-firefox-and-ie6-tp24166616p24205091.html http://www.nabble.com/UploadProgressBar-does-not-work-in-Safari-browser--to21571997.html#a24322943 Regards Robin Sander wrote: I've just copied the example upload page from http://www.wicket-library.com

Re: wicket auth roles example

2009-08-26 Thread Robin Sander
In wicket-examples there is an authentication and authorization app: http://www.wicket-library.com/wicket-examples/authentication/ http://www.wicket-library.com/wicket-examples/authorization/ On 26.08.2009, at 15:48, Eyal Golan wrote: Hello, is there an example, and if so, which, in

Re: How to use link

2009-08-26 Thread Robin Sander
You have to add a Link instance to the item, for example item.add(new BookmarkablePageLinkVoid(link, TargetPage.class); If you want to have a label inside the link add the label to the link instead of the item and use a markup like: a href=# wicket:id=linkspan wicket:id=titlename/span/a

Re: How to store/load strings shared by many (but not all) pages?

2009-10-05 Thread Robin Sander
Wicket uses a chain of resolvers, by default these are: (see Settings class) ComponentStringResourceLoader, PackageStringResourceLoader, ClassStringResourceLoader and ValidatorStringResourceLoader. So besides the component specific resource you may define respources per package (e.g.

PropertyResolver.MapGetSet does ignore PropertyResolverConverter

2009-10-13 Thread Robin Sander
Hi, I want to use a MapMyEnum,Boolean within a CompoundPropertyModel but it seems that String keys are supported only since MapGetSet.setValue() ignores the given PropertyResolverConverter. So my SimpleEnumConverter is not used an I end up with: java.lang.ClassCastException:

Re: PropertyResolver.MapGetSet does ignore PropertyResolverConverter

2009-10-13 Thread Robin Sander
Forget this post, obviously wicket IDs have to be strings... On 13.10.2009, at 17:47, Robin Sander wrote: Hi, I want to use a MapMyEnum,Boolean within a CompoundPropertyModel but it seems that String keys are supported only since MapGetSet.setValue() ignores the given

Re: Announcement: Annotation-based Mounting of Resources

2009-10-14 Thread Robin Sander
Hi Stefan. this sounds really interesting! As I see that you don't use Spring to parse your annoations, are there any plans to combine parts of your work with wicketstuff-annotation? Because I would like to use @MountPath from wicketstuff-annotation as well but not for the price of adding

How to use a mounted shared resource as a link resource?

2009-06-26 Thread Robin Sander
Say, I have an image 'logo.png' in the same package as class 'StaticScope' and I mount this image as a shared resource at path 'static/images/logo.png'. How should I access this resource in other components? For example: In MyApplication.init(): ... ResourceReference ref = new

Can a RadioChoice display input for null value?

2009-07-02 Thread Robin Sander
Hello, is it possible to get RadioChoice behave more like DropDownChoice concerning a null value? Consider a RadioChoice defining a search parameter, e.g. two values 'male' and 'female' and a third one meaning doesn't matter. With a DropDownChoice I could easily use setNullValid(true) and

Re: Can a RadioChoice display input for null value?

2009-07-03 Thread Robin Sander
for them (e.g. .nullValid or -1 for the null ID) or they are not public. - the renderer keeps a reference to the component it is attached to On 02.07.2009, at 19:30, Robin Sander wrote: Hello, is it possible to get RadioChoice behave more like DropDownChoice concerning a null value

Re: How to use a mounted shared resource as a link resource?

2009-07-09 Thread Robin Sander
To answer my own question in case anybody else has a similiar problem: There's a urlFor(ResourceReference) method in Component, so store the ResourceReference in the application, then access it in the Component which needs the URL and call urlFor(). On 26.06.2009, at 16:21, Robin Sander

Re: DynamicWebResource and ajax request

2009-07-09 Thread Robin Sander
I don't know if this is the recommended way, but there is a urlFor(ResourceReference) method in Component, so you can store the (mounted) ResourceReference in the application, then access it in the Component which needs the URL and call urlFor() with the reference. If any Wicket developer

Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
Hello, I'm trying to add internationalization to my wicket application using Wicket 1.4 final. In order to customize labels I don't use wicket:message but use Label subclasses. So, both the Wiki page General i18n in Wicket an Wicket in Action state that I may define a property file for

Re: Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
= Sidebar Header! Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Tue, Aug 4, 2009 at 5:14 PM, Robin Sander robin.san...@gmx.net wrote

Re: Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
encapsulation by adding knowledge of the panel's inner workings to the page? -Original Message- From: Robin Sander [mailto:robin.san...@gmx.net] Sent: Tuesday, August 04, 2009 10:54 AM To: users@wicket.apache.org Subject: Re: Label i18n in 1.4 final Hi, yes, this does work but would interfere

Re: Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
Meier wrote: Shouldn't that be: sidebar.header.header = Sidebar Header! ?? Sven On Di, 2009-08-04 at 16:53 +0200, Robin Sander wrote: sidebar.header = Sidebar Header! - To unsubscribe, e-mail: users-unsubscr

Re: DataView/IDataProvider/Detach

2009-08-07 Thread Robin Sander
Hi, correct me if I'm wrong, Igor, but I thought detach() is used to keep the model memory footprint low *between requests* and Serialization is a total different story. If I mark a field as transient I don't have to nullify it in detach(). For example using a IDataProvider for pagination: