wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Schlärmann, Bob <bob.schlarm...@logica.com>
Subject FormTester and components contained in Border
Date Thu, 23 Feb 2012 12:05:58 GMT
Hi list,

I have a form with components each contained within an individual border. When testing the
form with FormTester I have to specify the full component id including the intermediate component
id's added by the border. Is there any easier way to do this, e.g. with wildcard paths or
something?

For example with a form like:

<form wicket:id="form">
<div wicket:id="borderFirstname">
   <input type="input" wicket:id="firstname"/>
</div>
</form>

The following id needs to be used for FormTester.setValue:

"border.borderFirstname:border.borderFistname_body:firstname"

Best regards,

Bob


Think green - keep it on the screen.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal privilege.
It should not be copied, disclosed to, retained or used by, any other party. If you are not
an intended recipient then please promptly delete this e-mail and any attachment and all copies
and inform the sender. Thank you.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message