Re: Forms ajax doesn't update components models

2010-10-05 Thread vov
Funny:) Your code is correct and in my tests all data was setting to model:) In your sample code you forgot to include feedback panel, but it was added to html. May be in your tests you forget to input some required data - in this case your model never updates but you also never been in your

Re: mountBookmarkablePage and BookmarkablePageLink with PageParameters

2010-10-05 Thread Altuğ Bilgin Altıntaş
Also could you please try without Test1 just add(new BookmarkablePageLink(testlink1, Test1.class, pp)); Which wicket version ? Altug 2010/10/4 virtualizer jan.bic...@ppimedia.de Hello, in my tomcat I have a context (home.xml) with the path home. So I open my wicket-stuff with

Re: mountBookmarkablePage and BookmarkablePageLink with PageParameters

2010-10-05 Thread virtualizer
Altuğ Bilgin Altıntaş wrote: Also could you please try without Test1 just add(new BookmarkablePageLink(testlink1, Test1.class, pp)); Which wicket version ? Without generic type it is the same problem. I´m using 1.4.9. I have the same problem if I don´t use PageParameters and

Re: mountBookmarkablePage and BookmarkablePageLink with PageParameters

2010-10-05 Thread Altuğ Bilgin Altıntaş
Quickstart please ... 2010/10/5 virtualizer jan.bic...@ppimedia.de Altuğ Bilgin Altıntaş wrote: Also could you please try without Test1 just add(new BookmarkablePageLink(testlink1, Test1.class, pp)); Which wicket version ? Without generic type it is the same problem. I´m

Re: Form with dynamic fields model not updating

2010-10-05 Thread armandoxxx
Here's the working code in my form class: @Override protected void onModelChanged() { super.onModelChanged(); if (this.formFieldList == null) return; this.formFieldList.visitChildren(new

Re: Modal window and Ajax exception

2010-10-05 Thread Altuğ Bilgin Altıntaş
Found the answer : previously i only ajax update table like this which gives javascript error with jquery TableSorter table wicket:id=tableContainer tr wicket:id=rows td/td td/td /tr /table Now I ajax update more wide area like this : div wicket:id=pageContainer table

Re: Wicket 1.5 Ajax issue?

2010-10-05 Thread nino martinez wael
Dug some deeper, and it turns out that there was something different that threw an exception causing problems.. I guess it would be nice if the user was somehow alerted that he had a broken session somehow, but cant figure out if it's wickets responsibility or the applications.. -Nino 2010/10/2

Re: Wicket 1.5 Ajax issue?

2010-10-05 Thread Martin Grigorov
Hi Nino, If there is an error then Wicket will show either the configured InternalErrorPage in DEPLOYMENT mode or the developer friendly page with the details for the error. This is valid for both Ajax and non-Ajax requests. If this is not the case then please create a ticket. On Tue, Oct 5,

Re: Modal Window and Fade In effect

2010-10-05 Thread Altuğ Bilgin Altıntaş
are you sure dlgTerms is markup id; please look at your generated html and check it if id is dlgTerms or something like dlgTerms17... my advice is to generate jquery code on the fly using actual model's markup id. After that you can stream this jquery code before model window is rendered -

Form model changes when onSubmit method is called for the first time.

2010-10-05 Thread armandoxxx
Hey ppl Got a little problem with a form onSubmit(). A form (for translations, IModelTranslation ) has a DropDownChoice (to select a language and holds list of Language objects) and a ListView with panels that are wrapper for other fields (TextField, TextAreaField. etc). example: Form

Re: Forms ajax doesn't update components models

2010-10-05 Thread Tito
Sorry feedback panel error was part of my coding prune to post. I can see submit method is called but data never appear. However other data of form that is not in auto_info_panel appears in model. In your tests data of map was setting to model?? The curious case is that when I change isVisible

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
Hi, Thanks for replying. Just to clarify, do you mean do something like this: LoadableDetachableModelListMyRecord myRecordsModel = new LoadableDetachableModelListMyRecord() { @Override protected ListMyRecord load() { return myRecordService.getList();

Re: AbstractDefaultAjaxBehavior.getCallbackUrl() throws a Runtime Exception

2010-10-05 Thread monzonj
Thank you guy, it worked! I was using mostly the constructor to always set up my pages. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AbstractDefaultAjaxBehavior-getCallbackUrl-throws-a-Runtime-Exception-tp2954440p2956227.html Sent from the Users forum mailing

Breadcrumbs in conjunction with forms

2010-10-05 Thread Michael Strecker
Hello list, I stumbled across another issue working with Wicket. I'm using a form on a page, and I'd like to add breadcrumbs to this page as well. The problem here: Once I add breadcrumbs, the page will not render properly after the form is submitted. It will stop rendering just after the first

Re: Slow wicket page on specific server

2010-10-05 Thread Doug Leeper
Was this thread dump taken while you were waiting for a response? Is this the complete thread dump? Does this delay occur on all pages that are doing similar things, i.e. connecting to the same DB or external resource? I don't see any waiting on any Wicket related items. With that...I don't

Re: DropDownChoice/Model Confusion

2010-10-05 Thread jcgarciam
Yes, that should make your DDC to query the list any time it needs to re render. To your 2nd. question in order to set a default or selected value, just set a MyRecord reference to your property, keep in mind that your MyRecord should implement and equals/hashcode correctly. On Tue, Oct 5,

Re: Breadcrumbs in conjunction with forms

2010-10-05 Thread Igor Vaynberg
debug and see why it stops -igor On Tue, Oct 5, 2010 at 8:07 AM, Michael Strecker michael.strec...@travelviva.de wrote: Hello list, I stumbled across another issue working with Wicket. I'm using a form on a page, and I'd like to add breadcrumbs to this page as well. The problem here: Once

Re: isTemporary behavior + ajax behavior

2010-10-05 Thread Igor Vaynberg
hrm. this was fixed in 1.4.x a good while back. maybe it never got ported to trunk. please create a jira issue and attach a quickstart. -igor On Mon, Oct 4, 2010 at 4:49 AM, Michal Kurtak michal.kur...@gmail.com wrote: Hi, I think its a bug but i am not sure. My scenario: 1. Component has 2

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
Hmm, that code sort of works. When I create or edit a record, the list is updated. However, when I delete a record it is not. My component hierarchy is set up like this (hope it makes sense): TabPanel - SelectForEditForm - MyRecords (DDC) - Add (Button) - Edit (Button) -

Re: DropDownChoice/Model Confusion

2010-10-05 Thread jcgarciam
I dont think it may be related to the hierarchy, are you using AJAX? On Tue, Oct 5, 2010 at 2:38 PM, Shelli Orton [via Apache Wicket] ml-node+2956527-385265518-65...@n4.nabble.comml-node%2b2956527-385265518-65...@n4.nabble.com wrote: Hmm, that code sort of works. When I create or edit a

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
No, I'm not using AJAX. Is there a way to force the LDB to reload? Shelli -Original Message- From: jcgarciam [mailto:jcgarc...@gmail.com] Sent: Tuesday, October 05, 2010 12:52 PM To: users@wicket.apache.org Subject: Re: DropDownChoice/Model Confusion I dont think it may be related to

Re: DropDownChoice/Model Confusion

2010-10-05 Thread jcgarciam
There should not need to force the LDB to reload, Can you share more code? On Tue, Oct 5, 2010 at 4:27 PM, Shelli Orton [via Apache Wicket] ml-node+2956722-1309362030-65...@n4.nabble.comml-node%2b2956722-1309362030-65...@n4.nabble.com wrote: No, I'm not using AJAX. Is there a way to

Re: Breadcrumbs in conjunction with forms

2010-10-05 Thread Michael Strecker
Resolved the issue. We have our own breadcrumbs, and therefore a non standard way to use the Wicket API. We were passing around Wicket components in code and reusing them on multiple pages. This didn't go well with our custom-written behaviors. Thanks for the debugging hint, after lots of

Re: DropDownChoice/Model Confusion

2010-10-05 Thread James Carman
Is it being detached? On Tue, Oct 5, 2010 at 3:26 PM, Shelli Orton shelli.or...@sjrb.ca wrote: No, I'm not using AJAX.  Is there a way to force the LDB to reload? Shelli -Original Message- From: jcgarciam [mailto:jcgarc...@gmail.com] Sent: Tuesday, October 05, 2010 12:52 PM To:

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
This is what my class basically looks like, hope it helps: - package my.app; import my.model.AlreadyExistsException; import my.model.DoesNotExistException; import my.model.FailedUpdateException; import my.model.HasChildRelationsException; import my.model.ParentRecord; import

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
I don't know how to determine that. -Original Message- From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On Behalf Of James Carman Sent: Tuesday, October 05, 2010 1:44 PM To: users@wicket.apache.org Subject: Re: DropDownChoice/Model Confusion Is it being detached?

RE: DropDownChoice/Model Confusion

2010-10-05 Thread Shelli Orton
I overrode the detach method in my class (which simply calls super.detach()) so I could set a breakpoint and see if it gets called and it does. Shelli -Original Message- From: Shelli Orton Sent: Tuesday, October 05, 2010 2:24 PM To: users@wicket.apache.org Subject: RE:

Re: DropDownChoice/Model Confusion

2010-10-05 Thread James Carman
Is your getList() being called multiple times? On Tue, Oct 5, 2010 at 6:37 PM, Shelli Orton shelli.or...@sjrb.ca wrote: I overrode the detach method in my class (which simply calls super.detach()) so I could set a breakpoint and see if it gets called and it does. Shelli -Original

Re: Slow wicket page on specific server

2010-10-05 Thread Duy Do
It seems that you have problems with Quartz jobs schedule. thread was blocked during processing the request. Maybe, you try to disable Quartz and run web app again to check. On Tue, Oct 5, 2010 at 10:07 PM, Doug Leeper douglee...@yahoo.com wrote: Was this thread dump taken while you were