WebSnap Application Executes the Wrong Action.
Information in this Brief applies to:
- Delphi 7
- Windows 98/2000/XP
Overview
How to force WebSnap Applications to associate itself with an AdapterPageProducer's action.
Details
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">