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
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
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,
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
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
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
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.
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
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:
@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
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
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
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(...);
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,
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
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
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
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
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:
19 matches
Mail list logo