Hello,
How can I in unit tests check if the messages with $label are
displayed on page eg.:
add_advert.street=Street
add_advert.street.Required=Field '${label}' is required.

in unit tests:
getWicketTester().assertErrorMessages( new String[] {
    
getWicketTester().getComponentFromLastRenderedPage("add_advert:subject").getString("add_advert.street.Required")
});

That has not resolve message for component but expected still is Field
'${label}' is required. not Field 'Street' is required.
How can I change this?

Best regards,
Adr

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to