I am trying to setup a template form using smartgwt that combines text plus form items, but I don't know what smartgwt structure is best suited. This is what I am trying to do:
1. The basic form is some predefined long text,
2. At some predefined places in the text, insert form widgets, like a combo box or a date picker.
3. The whole structure should be presented to the user as continuous text with the options to select on the combobox, date, etc.
4. The text should wrap around the end of lines of the containing element (a paragraph container)
5. The form inputs (combobox, etc) should flow next to the end of the preceding text in the same line.
The problem I am experiencing with smartgwt forms is that they are presented to the user within a table structure using rows and columns that doesn't fit the concept of continuous text. My text is wrapped around the containing cell of the table and the flow of the form is lost.
If I set the text to no wrap with .setWrap(false), then the text doesn't wrap in the containing cell, but it doesn't wrap either at the end of the line for the paragraph stracture. It is difficult to use 'colspan' and 'rowspan' because the size of the text varies for different templates.
Any ideas on how to implement this? Any help appreciated.
Many thanks in advance,
1. The basic form is some predefined long text,
2. At some predefined places in the text, insert form widgets, like a combo box or a date picker.
3. The whole structure should be presented to the user as continuous text with the options to select on the combobox, date, etc.
4. The text should wrap around the end of lines of the containing element (a paragraph container)
5. The form inputs (combobox, etc) should flow next to the end of the preceding text in the same line.
The problem I am experiencing with smartgwt forms is that they are presented to the user within a table structure using rows and columns that doesn't fit the concept of continuous text. My text is wrapped around the containing cell of the table and the flow of the form is lost.
If I set the text to no wrap with .setWrap(false), then the text doesn't wrap in the containing cell, but it doesn't wrap either at the end of the line for the paragraph stracture. It is difficult to use 'colspan' and 'rowspan' because the size of the text varies for different templates.
Any ideas on how to implement this? Any help appreciated.
Many thanks in advance,
Comment