Hello,
I have a form with some items on it. Some of the values of the items are long strings like
"foo,bar, house, ..."
I would like to have an action each of these items. I think I can get the value of the form item, break apart each item and have
"foo"
"bar"
"house"
...
but now I am not sure what objects to create to put back into the form item. If I make raw html then I will not be able to get back into my smart gwt application. Unless there is a way to make some html that generates an event with the values "foo", "bar", "house" that smart gwt can listen to. Or perhaps I should make smart gwt components, some buttons? Does a form item take such a list of items ...
These list of items could have say 40 or 50 items, so I am thinking that if I use components it would be to slow, as I might have say 200 components being generated.
So hoping to generate some html that when clicked gives an event. I am sure I could make say an html link for each item. But how would that link be picked up by my smart gwt code.
Some pointers would be great,
Thanks,
Marc
I have a form with some items on it. Some of the values of the items are long strings like
"foo,bar, house, ..."
I would like to have an action each of these items. I think I can get the value of the form item, break apart each item and have
"foo"
"bar"
"house"
...
but now I am not sure what objects to create to put back into the form item. If I make raw html then I will not be able to get back into my smart gwt application. Unless there is a way to make some html that generates an event with the values "foo", "bar", "house" that smart gwt can listen to. Or perhaps I should make smart gwt components, some buttons? Does a form item take such a list of items ...
These list of items could have say 40 or 50 items, so I am thinking that if I use components it would be to slow, as I might have say 200 components being generated.
So hoping to generate some html that when clicked gives an event. I am sure I could make say an html link for each item. But how would that link be picked up by my smart gwt code.
Some pointers would be great,
Thanks,
Marc
Comment