Currently learning GWT, and I still cannot imagine how to build a
*rule-based* controller for a dynamically composed form -- preferably
a multipage one, and -- due to GWT concepts -- obviously running on
the client side in JavaScript.

The idea is to have a multi-sections/multi-tabs registration form
that:
(a) shows its questions according to "question specs" from a
     backend database,
(b) gives the users instant input validation feedback via locally
     centralized validation rules base,
(c) controls the "questionary behaviour" after some locally
     centralized "fill out" rules, e.g.,

      * "When user fills out InputField A, hide section/tab C".
      * "When user checks CheckBox B, also check boxes Y
         and Z automatically".
     * "When user selects D,E and F then show {widget} G".
     * ...

(d) finally submits all the collected data (from each form page/tab)
     to a server-side service (i.e. 'submit' button triggers RPC).

The main point is to optimally have all the validation, filter,
action/
behaviour, etc. rules centralized at one place -- hence the rule-based
approach.

The main issues are:
1. Which way to go for realizing such a "JavaScript Rule Engine"
    solution in GWT?

2. Does there already exist a GWT framework or Composite targeting
    *rule-based* form controllers for the client side?

Hope some more experienced GWT programmers can help me further on
this topic.

Kindly regards,
  Alessandro

-- 
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.

Reply via email to