bdn.borland.com

Article #28968: My WebSnap Application Executes the Wrong Action, or Skips the Action All Together.

Synopsis: Occasionally a WebSnap Application doesn't seem to execute the action associated with an AdapterPageProducer. Usually this occurs when the FormMethod is set to fmPost.

Suggestion: If you have a Page Module with an AdapterPageProducer on it, then you may need to alter the HTML that is generated. Specifically you will need to add an attribute to the <Form> tag. The HTML below illustrates the changes that need to be made:

<!-- Add the action attribute to the form tag -->
<form name="AdapterForm1" action=<%=Request.ScriptName%> method="post">

Last Modified: 15-AUG-02