Hey folks, I am enjoying to work with SmartGwt. However, I am a freshman in this field. Please, tell me if this make sense for you:
Assuming that we need to create an elementary form to add/update data in an entity with four attributes, where two of them composes the key and need to be shown when we are updating the data, but not edited, only the other two. I was thinking that will be very useful to manage the form state (creating and editing mode), which allows we to perform some action accordingly with the state or the state change. Something like to enable or disable controls and so on.
Have you any idea?
The first thing that came into my mind was to extend DynamicForm and add the state attribute and create a callback handler invoker to allow the programmer to set something such as an event handler that would be called when the state change.
Please, give me your two cents!!!!!!!! Any contribution will be very appreciated.
Kind regards,
Vitor Eduardo
Assuming that we need to create an elementary form to add/update data in an entity with four attributes, where two of them composes the key and need to be shown when we are updating the data, but not edited, only the other two. I was thinking that will be very useful to manage the form state (creating and editing mode), which allows we to perform some action accordingly with the state or the state change. Something like to enable or disable controls and so on.
Have you any idea?
The first thing that came into my mind was to extend DynamicForm and add the state attribute and create a callback handler invoker to allow the programmer to set something such as an event handler that would be called when the state change.
Please, give me your two cents!!!!!!!! Any contribution will be very appreciated.
Kind regards,
Vitor Eduardo
Comment