A scenario can include a FormSubmission element, which listens for a FormSubmission event and responds by triggering the next scenario element. A FormSubmission event occurs on activation of a form submit control that has a form handler method associated with it. If the form handler’s sendMessage property is set to true, the form handler method fires the FormSubmission event, and the scenario’s FormSubmission element responds accordingly.

You can set the sendMessage property to true by defining a hidden input as follows:

<dsp:input type="hidden" bean="MyFormHandler.sendMessage" value="true"/>

Filtering FormSubmission events

A FormSubmission element can be configured to listen only for messages sent by a specific form handler component, such as ProfileFormHandler. Each FormSubmission event sets a formName parameter that is set to the name of its form handler’s component name. This parameter enables FormSubmission scenario elements to respond only to the desired events.

For more information, see the FormSubmission Event section of the Using Scenario Events chapter of the ATG Personalization Guide for Business Users.

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices