Hello,
Just a question : why we can't add Behavior on onsubmit event on form to do
that ?
-
Duto
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/TextField-submit-via-Ajax-tp3002094p3298726.html
Sent from the Users forum mailing list archive at Nabble.com.
I do that to intercept (by submit btn or ENTER key on every components form)
the submit form :
form.add(new AjaxFormValidatingBehavior(form, onsubmit) {
@Override
protected void onSubmit(AjaxRequestTarget target) {
setResponsePage(ResultPage.class,
My solution is to AjaxFormValidatingBehavior on form :
I do that to intercept (by submit btn or ENTER key on every components form)
the submit form :
form.add(new AjaxFormValidatingBehavior(form, onsubmit) {
@Override
protected CharSequence getEventHandler() {
Hi,
I've searched for a binary releaseof wicketstuff-annotation that is
compatible with Wicket 1.5 RC1 / trunk (snapshot) in the sonatype and
official maven repository to no avail.
Where can I get the latest JAR file (please note: We don't use maven for
our projects)?
Regards,
Daniel
Version: wicket1.4.13
Is there any reason onInitialize would not be called? And is it always
called before onBeforeRender? When I look at my logs, it looks like
there are cases where onInitialize wasn't called. But onBeforeRender
was always called.
Berlin Brown
create a quickstart that reproduces this, oninitialize() should always
be called on components after they are added to the page.
-igor
On Thu, Feb 10, 2011 at 8:49 AM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
Version: wicket1.4.13
Is there any reason onInitialize would not be
On 2011-02-10 17:49, Brown, Berlin [GCG-PFS] wrote:
Version: wicket1.4.13
Is there any reason onInitialize would not be called? And is it always
called before onBeforeRender? When I look at my logs, it looks like
there are cases where onInitialize wasn't called. But onBeforeRender
was always
failing to do so will throw an exception.
-igor
On Thu, Feb 10, 2011 at 8:58 AM, Matthias Keller
matthias.kel...@ergon.ch wrote:
On 2011-02-10 17:49, Brown, Berlin [GCG-PFS] wrote:
Version: wicket1.4.13
Is there any reason onInitialize would not be called? And is it always
called before
You could try for one field :
yourField.clearIput();
or for a form :
yourForm.clearInput()
Regards,
Gabriel.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/cleanup-form-values-and-feedback-messages-tp3275588p3299704.html
Sent from the Users forum mailing list
Hello,
Disclaimer: I am a relatively new Wicket user
I use a custom session to store the current user Id and I want to use
the request cycle to store the current user object which is fetched from
the DB on each request following advice from
i just fixed this last night, will be part of rc2.
-igor
On Thu, Feb 10, 2011 at 10:46 AM, Bertrand Guay-Paquet
ber...@step.polymtl.ca wrote:
Hello,
Disclaimer: I am a relatively new Wicket user
I use a custom session to store the current user Id and I want to use the
request cycle to
I had the same issue. Do you have any estimate on the release date of RC2?
Zhubin
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: February 10, 2011 1:54 PM
To: users@wicket.apache.org
Subject: Re: Wicket 1.5 and custom request cycle
i just fixed this last
no i do not. there are still a lot of reported bugs that need to be
fixed before we release it. you can always use a snapshot or run a
build yourself if you need it now.
-igor
On Thu, Feb 10, 2011 at 11:31 AM, Zhubin Salehi
zhubin.sal...@route1.com wrote:
I had the same issue. Do you have any
In the meantime, I am using the following workaround: lazy init the
desired CustomRequestCycle member.
e.g
Instead of
@Override
protected void onBeginRequest() {
super.onBeginRequest();
Long userId = CustomSession.get().getCurrentUserId();
if (userId != null)
the problem is indeed that you are sharing state between pages which
is not allowed. you are doing it via one page passing in an anonymous
SelectionCallback to another page, which is the same as passing in an
instance of one page to another.
what you should do instead, especially since you
15 matches
Mail list logo