Hi, i try to figure out where the decision logic is programmed when a
user answers a question via a radio-button.
I am designing an form application and want to know where to put al
the decisions rules.
For example:
- a user selects a radio button and based on that click a extra
question will be shown in the view.
- a user push add button and new block of data with question will be
shown
In view:
@UIHandler("question_yes")
void onClickYes(ClickEvent e) {
presenter.handleYesQuestionClicked()
}
But how can the Activity tell the View to add or show a widget? So
there will be some logic also in the View?
Is this the 'right' way?
Regards,
Jeroen Wolff
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.