Hello, All!
1) Is here some plans to add modal window/dialog box functionality to Click?
What I mean:
I have big form with many fields and I have field 'customer' (simple
input text) there.
Customer is a large object itself (with many properties) and I have a
lot of those objects.
I want to have "select" link/button/image after customer field.
If user will click this "select" control then modal window/dialog box
with customers table should be shown.
User can select customer with pleasure (Click's Table is great).
Then selected customer should be inserted in 'customer' field.
I can (with some voodoo magic) made it with handwritten javascript
(@see window.showModalDialog Method), but will be much better to have
out-of-box support for this.
2) How to do form with this layout:
Label [input field] [question-mark image with tooltip]
This code
form.add(field1);
form.add(new Label("my html "));
shows field and [question-mark image with tooltip] in two lines
Label [input field]
[question-mark image with tooltip]
?
3) May be I just can't find...
Do Click have simple AbstractContainerField descendants with div and
span tags (as in AbstractContainerField javadoc)?
If Click has then I can solve question #2.
It is good to have them.
Then layout can be made programmatically like this:
DivContainerField line1 = new DivContainerField();
line1.add(field11);
line1.add(field12);
form.add(line1);
DivContainerField line2 = new DivContainerField();
line2.add(field21);
line2.add(label22);
form.add(line2);
Result:
Label11 [field11] Label12 [field12]
Label 21 [field21] label22 (== [question-mark image with tooltip] for example).