with validation this time. Note the (double) casts.. they suck and
should be solved by adding methods that take ints. Anyone up to that?
I don't get why you have to cast.
i don't: NumberValidator.range(0, 10);
works fine. It sees that it is mapping on the long method
when i do this:
Number
On Tue, 2006-11-28 at 21:24 -0800, Eelco Hillenius wrote:
> I've got around the fact that I can't do multiple inheritance to
> combine a component that is both a panel and a form component (or at
> least acts as one) in many ways now, but I really think we need to
> have a ready-to-use component fo
In case anyone was playing with it, that component wasn't done yet...
it needed this:
@Override
protected void onAttach() {
date = (Date) getModelObject();
if (date != null) {
Calendar c = Calendar.getInstance();
I've got around the fact that I can't do multiple inheritance to
combine a component that is both a panel and a form component (or at
least acts as one) in many ways now, but I really think we need to
have a ready-to-use component for this now.
This would be the simplified version:
public class
On 11/28/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Currently, we traverse children of Forms pre-order. It would imo
actually be nicer to traverse post-order so that if you would create
nested form components - not a common use case, but possible - the
children would be updated before the par
Currently, we traverse children of Forms pre-order. It would imo
actually be nicer to traverse post-order so that if you would create
nested form components - not a common use case, but possible - the
children would be updated before the parent, so that the parent can
use the updated values of the
Currently, WebClientInfo throws a RuntimeException in it's constructor
when the 'User-Agent' header cannot be read from the request. Problems
with that:
* it's not documented;
* even if it was documented, you could argue when it is clear enough
and whether this is a case where you can regard an e
> IMO the great components in the extension's repeater package
> should be promoted to the core. It is very easy to miss those
> great extensions, just because they are not in core. I feel
> disappointed to discover them after 6 months of Wicket hacking...
I agree and in fact pr
On 11/28/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
An update to this: I studied the repeater examples, and could
manage to write a new example that uses a RefreshingView in a
form, and it works great. Nothing to hack or extend.
To make the submit button work with
setDefaultF
youre welcome :)
-igor
On 11/28/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
An update to this: I studied the repeater examples, and could
manage to write a new example that uses a RefreshingView in a
form, and it works great. Nothing to hack or extend.
To make the submit b
Hi,
I have some problems in generating dynamic images (charts) and the they seem
to be related to the method
protected byte[] render()
{
while (true)
{
final BufferedImage image = new BufferedImage(width,
height, type)
An update to this: I studied the repeater examples, and could
manage to write a new example that uses a RefreshingView in a
form, and it works great. Nothing to hack or extend.
To make the submit button work with
setDefaultFormProcessing(false), I just had to
setItemReuseStrategy(ReuseI
As stated in my last message from yesterday: resources are not
generated correctly yet.
http://issues.apache.org/jira/browse/WICKET-114
Martijn
On 11/28/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
Hi,
I'm currently testing the latest branch 1.x, and I notice in the
examples that the
Hi,
I'm currently testing the latest branch 1.x, and I notice in the
examples that the following generated URL does not return the
requested file:
http://localhost:8080/wicket-examples/repeater/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js
The page returned is the examples pag
Hi,
There is a small change required to
wicket-1.x/wicket-parent/pom.xml to allow the examples to start,
see patch attached.
Thanks in advance,
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
Index: pom.xml
==
Hi,
as for moving RepeatingView to core, I'm +1 (for DataView too).
-Matej
Jean-Baptiste Quenot wrote:
Hi,
A while ago I reported [1]issues with ListView, and requested to
add a remove link to the forminput example to demonstrate the
problem. The problem was apparently [2]fixed by Eel
Hi,
A while ago I reported [1]issues with ListView, and requested to
add a remove link to the forminput example to demonstrate the
problem. The problem was apparently [2]fixed by Eelco.
However the flaw is deeper than it appears: I proposed to [3]add a
remove *submit* link to allow one
17 matches
Mail list logo