Hi Arne,

Form lays out Fields in a special way. If you extend you control from Field you will get the desired effect. Here is an example for reCAPTCHA[1].

Alternatively you can create a Velocity Macro[2], to layout your forms.

Hope this helps.

Bob

[1]: https://cwiki.apache.org/confluence/display/CLICK/reCAPTCHA
[2]: 
http://click.apache.org/docs/click-api/org/apache/click/control/Form.html#velocity-macros

On 2011/08/21 17:35 PM, [email protected] wrote:
Hi everyone,

This is my very first post on this mailing list, just taking first steps with 
Click.
I like the automatic table-rendering of field elements in forms.
Sadly the labelled layout-mechanism only works for<input>  fields in the form, 
but not for other elements like Label or Image.
Since I'd like to include a CAPTCHA image inside a fieldset of my form, I'd 
like click to layout the image in the same way as all other fields (meaning 
WITH a label, and spanning over several column, if needed).

What steps are necessary to do this?

Regards,

Arne


Reply via email to