Re: AjaxFallbackLink Text

2009-06-27 Thread Bernard
Hi, I cannot find the purpose of the IModel constructor argument in AjaxFallbackLink(java.lang.String id, IModel model) as I was also trying to modify the anchor text via the IModel with AJAX. What is it? Many thanks. Bernard On Thu, 25 Jun 2009 12:11:37 -0500, you wrote: >Two ways come to m

Re: Slideshow

2009-06-27 Thread Jeremy Thomerson
First, you need to create a model that will create an imagelist... class FileListModel extends AbstractReadOnlyModel> { List 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 seconds wit

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 and added that markup there: add( new Image( "image", new WebReso

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 case?

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 wrote: > You cant do that in the bind because the bind is call

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