Re: Migration of wicket-ki-security to wicket-shiro-security

2009-06-27 Thread Tauren Mills
Just wanted to announce that I've created a new wicket-shiro example application showing it working with Spring and Hibernate. I've done a little work to clean up the other example apps as well. There are now three examples: wicket-shiro-example-realm wicket-shiro-example-spring-jdbc

Re: Component.getPage() always returns null

2009-06-27 Thread Johan Compagner
You cant do that in the bind because the bind is called when you add the behavior to the component and that is on construction time so the component itself isnt added to its parent, or the parent/panel isnt added to its parent (you are in the constructor of a panel) So the hierarchy isnt complete

Re: Component.getPage() always returns null

2009-06-27 Thread Johan Compagner
By the way what you want to do (adding a js reference to the page isnt needed at all, just do that in the render head of the component/behavior itself) wicket transfers it for you to the head of the page On 27/06/2009, Johan Compagner jcompag...@gmail.com wrote: You cant do that in the bind

Re: TextField and setConvertInputToNull

2009-06-27 Thread Andrea Aime
Andrea Aime ha scritto: ... Also, the setConvertEmptyInputStringToNull does not mention the interaction between that and the converters, so arguably there should be none (or I'm just missing the documentation bits on this topic) Should I open a issue on Jira and attach a reproducable test

Slideshow

2009-06-27 Thread Johannes Schneider
Hi, I want to implement a slide show with wicket. I have many images on the local hard disk - but they are unordered. Now I want to create a slide show that shows those images sorted. I started this way: Created a page with an img and added that markup there: add( new Image( image, new

Re: Slideshow

2009-06-27 Thread Jeremy Thomerson
First, you need to create a model that will create an imagelist... class FileListModel extends AbstractReadOnlyModelListFile { ListFile getObject() { // put logic here that creates the list and sorts them } } Then, you need to use an ajaxupdatingtimer that will replace your image every X