do not add your own form, i dont think we handle multipart embedded forms
yet. simply add the field directly to the wizardstep panel.
-igor
thank you igor. now the upload works.
but:
- howto set maximum upload size?
setMaxSize(Bytes.kilobytes(500));
no longer works (I'm inside a wizardstep
remove is a good addition, but what about isEnabled()? that might be a nice
way to conditionally apply a behavior instead of removing it.
That already is supported (see IModel#isEnabled(Component)). The
advantage of removing it altogether obviously is that it saves a bit
of state, and the
I'm having a strange problem executing javascript functions from ajax.
Some scripts work and some don't. I've got this java code:
target.appendJavascript(toggleSelection(document.getElementById('+getComponent().getMarkupId()+')));
And in the html I've
Nino,
There is a special repository for the snapshots. You can find
instructions on http://incubator.apache.org/wicket/building-from-svn.html.
Regards,
Erik.
Nino Saturnino Martinez Vazquez Wael schreef:
Hi
Im trying to get the GMAP contribution to work, i've checked it out from
Probably caused by the wiki conversion some time ago.
Erik.
cowwoc schreef:
I wonder why the indentation is all screwed up for the code at the
bottom, the markup text looks correct to me...
Gili
Scott Swank wrote:
Have you seen this in the wiki? It's a reasonable start on
When I omit the panel that has the password field (a simple subclass from
SignInPanel) from the page, there are no errors anymore. Obviously, I need
the SignInPanel. It worked fine with version 1.2. Any ideas?
Herman Bovens wrote:
Hi,
I'm getting errors when deploying my application,
Component.onAttach/onBeforeRender/onAfterRender changes.
Before we had this behaviour:
new Page:
Page constructed
Page.onAttach() - all the components are visited
Page.onBeforeRender()
Page.render -
childComponent.onBeforeRender()
childComponent.render()
childComponent.onAfterRender()
* Ingram Chen:
another problem in 1.2.6. I use BookarmablePageLink:
public ToIdineLink(String id, Shop shop) {
super(id, ShopPage.class);
setParameter(shop, shop.getId());
}
so the url is:
/context/app/foo?shop=123
if we open this link in new window, url
* Ryan Sonnek:
Using the current Link object is *not* an option since it
doesn't disable buttons correctly.
Yes it does it's fixed.
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
-
* Johan Compagner:
Buttons can have a name and value:
snip/
and i still think it is stupid to have a Button component that can't be
mapped on the button tag
OK guys, I changed it again for good and removed the special
handling of input:
On 5/5/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* Ryan Sonnek:
Using the current Link object is *not* an option since it
doesn't disable buttons correctly.
Yes it does it's fixed.
So, now I'm confused. If Link is fixed, should I use it or the
updated Button object?
hmm.
Have you run it with firebug or venkman? When I've run into this before it
was usually because the script had a parse error causing the interpreter to
barf and not load the rest of the script.
best,
jim
On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote:
I'm having a strange problem
Ok, but how does one do labels properly like this (i.e. with a for attribute).
A reminder of what this thread was about ...
I'm reusing a custom PostalAddressFieldsetPanel component twice in a form so
eventual markup sent to browser should look something like this:
fieldset
legendDelivery
you may want to take a look at the class FormComponentLabel
it should do the trick
On 5/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ok, but how does one do labels properly like this (i.e. with a for
attribute).
A reminder of what this thread was about ...
I'm reusing a custom
It does!
Thanks
-Original Message-
From: [EMAIL PROTECTED] on behalf of Gerolf Seitz
Sent: Sat 5/5/2007 4:28 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Nested Forms and onSubmit()?
you may want to take a look at the class FormComponentLabel
it should do the
The older tree, which is in extensions now, did use the TreeModel more
extensively it seems. Imo, implementing your custom treenodes is the
way to go for dynamic nodes anyway, but I'm not sure why Matej skips
the TreeModel. Matej?
Eelco
On 5/2/07, Mats Norén [EMAIL PROTECTED] wrote:
Just a
* Ryan Sonnek:
So, now I'm confused. If Link is fixed, should I use it or the
updated Button object?
Button is a form component, Link is not. It's up to you.
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
* Martijn Dashorst:
Basically you need to setReuseItems(true) or use a repeater.
Confirmed. Be careful that ListView is not industrial strength
when it comes to text fields and adding or removing rows. In
other words it's broken. If you need this feature, better use
If you don't follow the standalone Velocity approach and want
to reuse your Wicket components: Processing a Wicket page
and sending the result to a buffer can be achieved through
StringRequestTarget, thus allowing you to use the buffer contents
for sending email.
See
I have numerous ajax calls throughout my app, and they work fine in
both FF and IE. However, there is one that behaves differently in IE
and FF. It seems that the onchange behavior of a checkbox happens
at different times between the browsers. With FF, the event is sent
as soon as the checkbox
Hi Jim,
Thanks for the suggestion. I haven't tried that, so I'll give it a try.
Tauren
On 5/5/07, James McLaughlin [EMAIL PROTECTED] wrote:
hmm.
Have you run it with firebug or venkman? When I've run into this before it
was usually because the script had a parse error causing the
use onclick instead of onchange.
-Matej
On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote:
I have numerous ajax calls throughout my app, and they work fine in
both FF and IE. However, there is one that behaves differently in IE
and FF. It seems that the onchange behavior of a checkbox happens
Duh!
Thanks!
On 5/5/07, Matej Knopp [EMAIL PROTECTED] wrote:
use onclick instead of onchange.
-Matej
On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote:
I have numerous ajax calls throughout my app, and they work fine in
both FF and IE. However, there is one that behaves differently in IE
* Herman Bovens:
When I omit the panel that has the password field (a simple
subclass from SignInPanel) from the page, there are no errors
anymore. Obviously, I need the SignInPanel. It worked fine
with version 1.2. Any ideas?
Providing the relevant code snippet would
* ChuckDeal:
Upon debugging the problem,
AbstractRequestTargetUrlCodingStrategy.decodeParameters actually gets called
twice; first with /mode/add (as expected), but then (i can't tell exactly
when, but around the time the page is actually rendering) it gets called
with mode/:/0 (not
* David Leangen:
and now component.setRenderBodyOnly(true)
Looks like this approach does exactly what I want after all. :-D
I guess you can also add a markup filter that will strip out the
XML tags.
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
* Eelco Hillenius:
I still understand we need test hours and people
reporting their issues if we ever want to get this
stable, but so far, the test cases are still minimal,
Indeed we definitely need unit tests for this custom
serialization, with good coverage.
--
* Tauren Mills:
One more thing on this. I have it working so that my URL looks like this:
/sa/app/reset/1/4xYD6JctlSPwU23eN%2Fm1isA5Cf8%3D/0/tauren
The key is the PageParameter #1. I'm encoding a value using Base64,
which appears to include slashes, =, etc. When this string is used in
After trying various combination, I found this may be caused by
QueryStringUrlCodingStrategy
I create jira with quickstart:
https://issues.apache.org/jira/browse/WICKET-539
thanks for help
On 5/5/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* Ingram Chen:
another problem in 1.2.6. I
29 matches
Mail list logo