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 f
Works for me, your xpath must be wrong. Your syntax is ok. Either there
is no element (link) with attribute
wicketpath="tablePanel_leftList_tableList_pojoList_18_nameCell_namePanel
Link_name" or there is no div tag inside an element...
-Original Message-
From: Douglas Ferguson [mailto
he
page contains the entries:
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...@t
the page.
-Original Message-----
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 examp
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 AbstractReadOnlyModel() {
@Override
public Strin
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 mo
can I 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
wrote:
>
> Hello everyone.
&g
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 and that
page is rendered in some context for example "/appContext/" the src
attribute is automatically changed to so