Re: Listview in a listview refresh with AjaxLink don't work

2009-11-15 Thread pieter claassen
Hi Pedro, Here it is. So, I basically move the question up or down the array. public void moveQuestionUp(QuestionBase question) { int idx = questions.indexOf(question); if (idx 0) { questions.remove(question); questions.add(idx - 1, question);

Listview in a listview refresh with AjaxLink don't work

2009-11-15 Thread pieter claassen
Hi Pedro, Here it is. So, I basically move the question up or down the array.    public void moveQuestionUp(QuestionBase question) {        int idx = questions.indexOf(question);        if (idx 0) {            questions.remove(question);            questions.add(idx - 1, question);        }    

Exception handling

2009-11-15 Thread Wojtek
Hi there, I'd like to find out how the development mechanism of exception handling works. It displays stacktrace from exception thrown, so it means it has access to the Exception object. I would like to implement similar feature, to display at least the message from the exception to the end

Re: Exception handling

2009-11-15 Thread Jeremy Thomerson
In your application: @Override public RequestCycle newRequestCycle(Request request, Response response) { return new WebRequestCycle(this, (WebRequest) request, response) { @Override public Page onRuntimeException(Page page, RuntimeException e) {

Re: Intellij9 integration

2009-11-15 Thread Peter Ertl
Never felt like I need additional support for wicket. After all it's 95% in type-safe java code. Keeping wicket:id's in sync is no rocket science once you get the idea :-) Am 15.11.2009 um 00:38 schrieb Nick Heudecker: What do you mean that the current one shows up? I haven't updated

Re: Exception handling

2009-11-15 Thread Wojtek
That's exactly what I need. Thanks a lot. Regards, Wojtek Jeremy Thomerson pisze: In your application: @Override public RequestCycle newRequestCycle(Request request, Response response) { return new WebRequestCycle(this, (WebRequest) request, response) { @Override

WicketStuff ObjectAutoComplete, Textfield size?

2009-11-15 Thread Jerouris
Hello to the list, I'm trying to use ObjectAutoCompleteBuilder, in order to build a AutoCompleteTextField. The problem I'm having is that the TextField size is fixed, no matter what. I tried using ObjectAutoCompleteBuilder#width(), but the width only goes to the suggestion list div. Any help?

Wicket Stuff YUI 2.7+

2009-11-15 Thread Corbin, James
I am considering using some of the Wicket YUI integration that is in the Wicket Stuff project. I also noticed that the implementation seems to only support YUI 2.5.x. Is this a dead project or are there any plans to updated it to use YUI 2.7? If not, I only need a few components in the

Re: ajax autocomplete

2009-11-15 Thread nino martinez wael
Okay, I got bashed off thread by this guy, but never mind. I guess he should make very certain his download are not corrupt. And when he is sure, he should submit a jira issue. Could it have something todo if he are running the server in chinese locale or something todo with internalization or?

Wicket stuff YUI: DragNDrop

2009-11-15 Thread Pierre Goupil
Good evening, Is there any way to reject a drag, possibly via AJAX, using wicketstuff YUI? The code suggests me that no, but any hint would be welcome. Regards, Pierre -- Rien de grand ne s'est accompli dans le monde sans passion. (G.W.F. Hegel, philosophe allemand)

Re: Listview in a listview refresh with AjaxLink don't work

2009-11-15 Thread wicketnewuser
I don't see your up link in the html markup. Doesn't look like you have enough info here. If you are moving your question row up are you updating the list for the listview. Also you are updating questionpanel with ajax target . I think it would have to be your listview. I would use ajaxsubmitlink

RE: Intellij9 integration

2009-11-15 Thread Alex Rass
Would be good if it told you about unmentioned wicket:ids from the html so you didn't have to wait till you run. Or if you are declaring a component that it can't find in html. Jumping back and forth between code and html d/n seem to work for me. Entirely too much typing for my taste! Idea is

Re: Wicket stuff YUI: DragNDrop

2009-11-15 Thread Ernesto Reinaldo Barreiro
What do you mean by reject via AJAX? AFAIR YUI drag-drop work based on CSS class and on the server side you can do whatever you want (e.g. repaint the whole component and display a message telling your dragged element is not valid because...). Best, Ernesto On Sun, Nov 15, 2009 at 8:10 PM,

RE: Modal window (1.4.1) and IE - Slow load times

2009-11-15 Thread Ed _
Not too many. but is heavy on javascript. Ed From: jcar...@carmanconsulting.com Date: Sat, 14 Nov 2009 20:47:53 -0500 Subject: Re: Modal window (1.4.1) and IE - Slow load times To: users@wicket.apache.org Does your page have a lot of links on it? On Sat, Nov 14, 2009 at 6:36 PM, Ed _

Firefox: Hitting enter button in ModalWindow

2009-11-15 Thread Stefan Lindner
I have an AjaxLink HTML: a wicket:id=linkimg/a JAVA: new AjaxLinkMyClass(link, model){ @Override public void onClick(AjaxRequestTarget target) { // open a ModalWindow }

RE: Firefox: Hitting enter button in ModalWindow

2009-11-15 Thread Stefan Lindner
When I klick into the open ModalWindow, the ModalWindow taktes the focus and the opening link's onClick isn't called anymore. How can I manage to set the Focus at the ModalWindow? -Ursprüngliche Nachricht- Von: Stefan Lindner [mailto:lind...@visionet.de] Gesendet: Sonntag, 15. November

Newbie help with tabs example please

2009-11-15 Thread Walt Parkman
Hello, I have described my problem at http://waltparkman.wikidot.com/wicket-tabs I am hoping a Wicket expert can give me some direction. Thanks

Re: Intellij9 integration

2009-11-15 Thread Nick Heudecker
From my experience, WicketForge already displays a warning if the components can't be located in the HTML or Java code. Toggling between Java and HTML also works fine for me. You can either submit a bug report or a patch. Also, feel free to submit a patch with templates you'd like to see added

RE: Intellij9 integration

2009-11-15 Thread Alex Rass
Nick, biggest problem was RTFM. Most plugins in IJ don't need to be activated. I didn't realize that there were more steps than install plugin :) Any chance you can just auto-add the Wicket module? If it's heavy, then at least add the comment to the plugin description like: WicketForge assists

AjaxLink and component visibility

2009-11-15 Thread Ed _
Trying to build a shopping cart - Panel B . Which is hidden till an item is selected. Items are stored in the session. I am trying to get (shipping cart )Panel B to show up when I click an Ajax link, viz in Panel C Both the Panels are under a parent panel A. When I fist get to the page

setting PageExpiredErrorPage not working

2009-11-15 Thread Jason Novotny
Hi, I'm using Wicket-1.4.3 and just trying to set the expired page to my home page in my Application class like so: IApplicationSettings settings = getApplicationSettings(); settings.setPageExpiredErrorPage(getHomePage()); In addition, I'm using the

Re: AjaxLink and component visibility

2009-11-15 Thread bgooren
Hi, The answer to your question is simple: component replacement over ajax needs to be able to find the old component so it can be replaced with new content. Since you set panel B to be invisible, it simply is not in the page, and therefore cannot be replaced. Simple solution: if you want to

Re: Modal window (1.4.1) and IE - Slow load times

2009-11-15 Thread James Carman
I had some trouble with slow load times for modal windows. Have you tried upgrading to 1.4.3 to see if they fixed it? I seem to remember them putting something in there to address the issue. On Sun, Nov 15, 2009 at 4:08 PM, Ed _ ed_b...@hotmail.com wrote: Not too many. but is heavy on