Re: Announcement: Annotation-based Mounting of Resources

2009-12-22 Thread sfussenegger
; Then I go to MyApplication.Page.HomePage and write this annotation: >> @JsContribution("jquery.min.js") >> >> When I try to run the application, I get this error: >>  failed to mount resource ('/js/all.js') >> WicketRuntimeException: js/all.js is already mounted

Re: Announcement: Annotation-based Mounting of Resources

2009-10-14 Thread sfussenegger
Actually, it's even easier, just do ResourceMount m = new ResourceMount().setMerged(false); ResourceMount.mountAnnotatedPackageResources("/files", "com.example.components", this, mount); sfussenegger wrote: > > Actually, wicketstuff-annotation (and

Re: Announcement: Annotation-based Mounting of Resources

2009-10-14 Thread sfussenegger
Actually, wicketstuff-annotation (and spring-core) is a dependency of wicketstuff-merged-resources. I know, it doesn't feel quite right to include spring-core if you don't need it. As an idea, you could just package the required classes into a small jar file and exclude spring-core. You may disab

Re: Open source Wicket blog

2009-10-14 Thread sfussenegger
I'd really love to bundle a blog with some webapps (mainly to get same look-and-feel, authentication and reduce maintenance). However, it really should be feature-complete in order to be usable (feeds, comment moderation, spam protection, pings and trackbacks, nice admin interface, nice editor, ma