Re: Dynamically adding text fields

2007-12-27 Thread Thomas Kappler
On Dec 26, 2007 11:32 PM, Ken Anderson [EMAIL PROTECTED] wrote: I have a use case that will require the user to add multiple text fields to a form using an add button. See this wiki page: http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html Have a list of text fields, create a

Re: Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-27 Thread Edvin Syse
Why not make it 2 separated forms? Beause of the layout that would mean nesting two forms, and I'm not sure how that works out in different browsers. I might have to go that way, but wouldn't it be nice/possible to skip validation but still bind the model object changes with

Re: Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-27 Thread Erik van Oosten
Another option is to attach onchange handlers to all components (with an ajax behavior). You can optionally do validation in the handler and contineously show validation errors as the user leaves an input field. Regards, Erik. Edvin Syse wrote: Hi, I have a form where some of the

Re: Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-27 Thread Erik van Oosten
Yes indeed. You could open a JIRA issue with your use case and a proposal. Erik. Edvin Syse wrote: Thanks, that's a good option :) I went with rearranging the layout and using two forms, but I think a getDefaultFormValidation() method would be a nice addition to the framework :) --

Re: Which way to go? AjaxSubmitLink or AjaxLink? Neither does the job for me :)

2007-12-27 Thread Edvin Syse
Thanks, that's a good option :) I went with rearranging the layout and using two forms, but I think a getDefaultFormValidation() method would be a nice addition to the framework :) -- Edvin Erik van Oosten skrev: Another option is to attach onchange handlers to all components (with an ajax

Re: getPage() throws IllegalStateException: No Page found for component

2007-12-27 Thread Matej Knopp
If you really are calling getPage() in your panel's constructor than it can't work. Because at that point the panel is not added to page. You can postpone your initialization by putting the code to onBeforeRender and invoke it only when onBeforeRender is called for the first time. e.g

Re: Suckerfish Dropdowns contributed to Wicketstuff

2007-12-27 Thread tsuresh
I tried this example and it worked well in navigation but I got a problem in it when one of my menus is named as AddUser which contains the form to add new user. When I fill the form and try to get the feedback after form submission I got the following error java.lang.IllegalArgumentException: A

Reload problem with picture upload

2007-12-27 Thread BatiB80
Hi together, I've a problem with a page which handles a fileupload. I took the upload example from the wicket examples (1.2.6) as base and modified the example in that way that's only possible to upload pictiures. Furthermore the listview contains the real images instead os the file names. But

Re: Reload problem with picture upload

2007-12-27 Thread Michael Sparer
take a look at: org.apache.wicket.markup.html.image.NonCachingImage BatiB80 wrote: Hi together, I've a problem with a page which handles a fileupload. I took the upload example from the wicket examples (1.2.6) as base and modified the example in that way that's only possible to upload

Re: How can i present a busy component

2007-12-27 Thread Michael Sparer
what about using a IndicatingAjaxLink or IndicatingAjaxButton or a custom implemenation using a WicketAjaxIndicatorAppender (I think it's called like that)? Newgro wrote: Hi *, i have a page with some panels. On one panel there is a button. If this is clicked a long running task is

Style or locale in Url

2007-12-27 Thread kman
Hello everybody, i have a wicket application with 2 locales. i have a change locale link that changes the locale, but after the change the url remains the same, so i assume that this is a problem regarding search engines(duplicate content, correct me if i am wrong). Is there any way that i can

Drag and Drop DataTable rows

2007-12-27 Thread Joe Toth
Anyone create a drag and drop reordering component out of a DataTable? I want to reorder the rows via drag and drop. I see the scriptaculous SortableListView, but I would have to significantly change a lot of my pages. Anyone tackle this? Thanks!

Re: How can i present a busy component

2007-12-27 Thread Christian Alejandro Marquez Grabia
Yes...that is another way (I forgot about it) I remember I used it oncebut changed it to my previous proposal (request to change the way it was shown), it was simple to use. Rgds, Chris On 12/27/07, Michael Sparer [EMAIL PROTECTED] wrote: what about using a IndicatingAjaxLink or

Re: SubmitLink on Firefox

2007-12-27 Thread Matej Knopp
Hi, this should already be fixed in trunk. -Matej On Dec 26, 2007 2:29 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote: The problem was on the submitLink ID. I was using the ID submit. Changing the id to submitButton solved the problem. Thank you Marco On Dec 26, 2007 10:21 AM, Marco