RE: CheckGroup Model

2011-08-10 Thread Wilhelmsen Tor Iver
How can I do this in a elegant way? Are you sure your Campo class implements equals() properly? Also remember it is better to pass the IModelListCampo (that you will be using later to pick up the values) to the CheckGroup, e.g. in your case a PropertyModel based on where you read out the

Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread armandoxxx
Hey guys ... With wicket 1.5 we got events. So far so good but I got a case where i'm missing after on initialize method call. I have lot's of panels on my page, and I create them in onInitialize() code. But I need to send a 1 time event after all components are initialized. - problem #1: If

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread Pedro Santos
Hi Armando, the problem #1 is rather about not have the entire component tree connected already. onInitialize is called when the component is aware of its path to page, at this moment, a triggered even will not reach new nodes addition in the component tree. On Wed, Aug 10, 2011 at 7:23 AM,

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread Martin Grigorov
You almost found it yourself. Use onBeforeRender() + hasBeenRendered() instead of your custom flag. On Wed, Aug 10, 2011 at 1:23 PM, armandoxxx armando@dropchop.com wrote: Hey guys ... With wicket 1.5 we got events. So far so good but I got a case where i'm missing after on initialize

Re: how to implement a Form with Ajax Paginated List of Checkboxes?

2011-08-10 Thread Martin Grigorov
Add AjaxFormChoiceComponentUpdatingBehavior to the CheckGroup On Wed, Aug 10, 2011 at 4:38 AM, bad boy badmas...@yahoo.com wrote: On my Wicket page, I have a form with a couple of TextFields and a paginated List of Checkboxes implemented with Dataview and and a sortable data provider.  The

RE: [Ann] New Wicket stuff library for simplified ModalWindows: ModalX (1.4.x + 1.5.x)

2011-08-10 Thread Chris Colman
Yes, I get confused by that at times also! You can switch between the Wicket 1.4.x and Wicket 1.5.x branches in github using the 'Switch Branches' button. Ah, sorry, confused jdk-1.5 with W1.5 2011/8/10 Martin Makundi martin.maku...@koodaripalvelut.com Hi! Is this true: Source Code

RE: CheckGroup Model

2011-08-10 Thread delta
Hmmm, I did it. My fault, since I didn't implemented equals. Just that resolved the case. Thanks a lot, Tor Iver. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CheckGroup-Model-tp3731606p3732828.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Modal window issue

2011-08-10 Thread Vojtěch Krása
Hi, ModalWindow from wicket-extensions is broken by design, try to use visural-wicket or something different and all your problems are gone. V. 2011/8/9 Archana archanaacharya.adhik...@gmail.com Hi All, In my current application there is a need to open a Modal window with in a Modal window

Re: custom (non wicket) modal dialog. Problem with urls.

2011-08-10 Thread brazz
One step further. My original assumption was wrong. It is a problem with iframes and the configuration of our firewall. But the situation hasn't improved. The url of the link is:

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread armandoxxx
@pedro I know. That's why I didn't put the event call in onInitialize() method ;) @martin: I if use on before render .. my event would be triggered everytime my component renders .. so if I want 1 time event after the component is initialized I have to use somekind of a flag for this event to be

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread Igor Vaynberg
we cant keep building these things because eventually someone will ask for onAfterAfterInitialized() and so on. what we can do is make it easy for you to build your own. you can create your own IComponentOnBeforeRenderListener that checks if the component being rendered is a page and if it is

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread Martin Grigorov
MyPage.java: protected void onBeforeRender() { if (!hasBeenRendered()) { send(...); } super.onBeforeRender(); } On Wed, Aug 10, 2011 at 8:18 PM, armandoxxx armando@dropchop.com wrote: @pedro I know. That's why I didn't put the event call in

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread Igor Vaynberg
this will get called more than once for a component that starts out and remains invisible for a while. -igor On Wed, Aug 10, 2011 at 10:25 AM, Martin Grigorov mgrigo...@apache.org wrote: MyPage.java: protected void onBeforeRender() {        if (!hasBeenRendered()) {            send(...);  

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread Martin Grigorov
That's why I put MyPage.java: above it. I've never tried to make the page invisible :-) On Wed, Aug 10, 2011 at 8:32 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: this will get called more than once for a component that starts out and remains invisible for a while. -igor On Wed, Aug 10,

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread Igor Vaynberg
what if a component is added later during a panel swap? -igor On Wed, Aug 10, 2011 at 10:34 AM, Martin Grigorov mgrigo...@apache.org wrote: That's why I put MyPage.java: above it. I've never tried to make the page invisible :-) On Wed, Aug 10, 2011 at 8:32 PM, Igor Vaynberg

Re: Wicket 1.5: Question (or feature request) afterOnInitialize()

2011-08-10 Thread Martin Grigorov
Now I'm convinced we need onAfterInitialize() :-) On Wed, Aug 10, 2011 at 8:42 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: what if a component is added later during a panel swap? -igor On Wed, Aug 10, 2011 at 10:34 AM, Martin Grigorov mgrigo...@apache.org wrote: That's why I put

Include Tag Resolver

2011-08-10 Thread Christian Huber
Hi all, maybe someone might find this useful. I created a tag resolver to allow include components to be used in the same way as label components with the wicket:message tag. With this resolver you can use a tag like e.g. wicket:include file=path/to/file/ to include a file into a page. It is

Re: how to implement a Form with Ajax Paginated List of Checkboxes?

2011-08-10 Thread bad boy
AjaxFormChoiceComponentUpdatingBehavior did not work. For some reason ir would only ccept the first checkbox.  when I checked  say 5 checkboxe, it would only remember the first fone But changing Check to AjaxCheckBox worked perfectly. Thanks - Original Message - From: Martin

[announce] Wicket .1.4.18 is released

2011-08-10 Thread Martin Grigorov
The Wicket Team is proud to release the eightteenth release of the Wicket 1.4.x series. This is primarily a minor bugfix release. Release Artifacts: * Subversion tag: http://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.18 * Changelog: