Hello everyone,
How to run validation of form (Form.class) by hand?
Form.class javadoc says:
If you want you can call validate() to execute form validation,
hasError() to find out whether validate() resulted in validation errors,
and updateFormComponentModels() to update the models of nested
Works for me, your xpath must be wrong. Your syntax is ok. Either there
is no a element (link) with attribute
wicketpath=tablePanel_leftList_tableList_pojoList_18_nameCell_namePanel
Link_name or there is no div tag inside an a element...
-Original Message-
From: Douglas Ferguson
:
weather.sunny=Don't forget sunscreen!
weather.raining=You might need an umbrella weather.snowing=Got your
skis?
weather.overcast=Best take a coat to be safe
-Original Message-
From: Bernhard Michal [mailto:michal.bernh...@tigra.cz]
It doesn't seem correct
Why don't you use special model for each component?
Because this is very specific thing - CompoundPropertyModel is not
supposed for this kind of model value's processing stuff.
For example for activeString:
add(new Label(activeString, new AbstractReadOnlyModelString() {
@Override
public
-
From: Bernhard Michal [mailto:michal.bernh...@tigra.cz]
Why don't you use special model for each component?
Because this is very specific thing - CompoundPropertyModel is not
supposed for this kind of model value's processing stuff.
For example for activeString:
add(new Label(activeString
Afaik there is no way to set this behavior by some flag. But
1) You can extend TextField to wrap it's model with model which on
getObject() trim (ie. remove begging and trailing spaces) returning
string if Model's type is Sting (in other cases it doesn't make
sense)... when value is setted into
Hello everyone.
I noticed that wicket automatically translate url in img's src attribute
in html to the right url regarding to changed url context.
I mean when I've got eg. link img src=/img/someimage.png and that
page is rendered in some context for example /appContext/ the src
attribute is
obtain this changed url for static resources?
You can create an resource reference to your image resource.
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wic
ket/ResourceReference.html
On Thu, Sep 24, 2009 at 6:13 AM, Bernhard Michal
michal.bernh...@tigra.czwrote:
Hello