![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
About the ASP Actions
We created these ASP Actions for use on a project on an ASP (IIS 5.0) Server. They worked fine, but they may not work in all cases. We're not ASP experts, nor do we want to be. But, working with ASP is a reality we've had to deal with, and hopefully these Actions will be of some use to you. As always, if you use these Actions, we welcome your feedback, and if you would like to make a donation, we would greatly appreciate it!
We have created a Read Me file for your convenience. It includes most of the same text that each of the ASP Actions has here. Download the Read Me for ASP Actions
Posted on Aug 30, 04 | 4:48 pm
ASP If
This Action has both freestanding and Item Action versions. The freestanding version is useful in a run of HTML text, allowing you to have "conditional text," while the Item Action version can be placed on the HTML box itself or on a table, table row or table cell. Note that if you apply the Action to an HTML box, this could break the layout created by Freeway. The fix is to place another HTML box behind and around the conditional one.
The freestanding version implements the If/ElseIf/Else/EndIf statements separately. Therefore, you must place another ASP If Action at the end of the conditional text and select the EndIf option, otherwise you will generate an error on your ASP server. Download
Posted on Aug 30, 04 | 4:46 pm
ASP Mail Session Variables (CDONTS)
This Page Action uses the CDONTS library available for NT/2000 to e-mail all the session variables to the Recipient entered in the Actions palette. It assumes that the sender is a field somewhere in the session; simply enter the field name in the palette. It allows you to set a subject as well as CC the message to the sender. You might want to check the output of the message before you do so. This is why any session variable that starts with "str" is not sent. The client's server was including some variables that we didn't want his clients to see, and they all started with "str." Local testing didn't do this; it only showed up on his server.
"Abandon Session?" clears out all the session variables for the user. "Display Instead of Mail?" dumps the output that would be the body of the e-mail to the page instead of e-mailing it, useful for quick testing. Download
Posted on Aug 30, 04 | 4:44 pm
ASP Make Variable in Output HTML
This Item Action finds any sets of the delimiters shown in the pop-up and replaces them with < %= and % >, or if "Session" is checked, with
< %=session( and )% >. This allows you to place a variable in a run of HTML text, denote it with delimiters, and have it converted to an ASP variable. ASP will then output the value of the variable when the page is sent to the client. If the HTML text is to be formatted, you should make sure the delimiters are formatted together with the variable name. Otherwise, the delimiters will become separated from the variable name and ASP will not see the variable correctly. Download
Posted on Aug 30, 04 | 4:42 pm
ASP Set Session Variables from Form
This Page Action should be placed on a page that is called from a form (the one referred to in the Action text field in the Form Setup dialog). The Action will enter in all the form field names and values into the current ASP session for the user.
Download
Posted on Aug 30, 04 | 4:40 pm
ASP Simple Output
There are several Actions in this file.
ASP Simple Output This freestanding Action is similar to ASP Make Variable in Output HTML, except that it allows you to output ASP variables individually, or in a freestanding manner not in an HTML box. ASP Text Field, ASP Text Area, ASP Radio Button, ASP Checkbox, ASP Pop-Up Menu These freestanding Actions are substitutes for the form items of the same name. The difference is that they allow you to assign an ASP variable to the item so that the default or current value of the variable is shown or selected. Download
Posted on Aug 30, 04 | 4:35 pm
ASP Variable Output
There are several Actions in this file.
ASP Text Field Variable, ASP Text Area Variable, ASP Radio Button Variable, ASP Checkbox Variable, ASP Pop-Up Menu Variable Like the freestanding Actions in the ASP Simple Output file, these Actions are substitutes for the form items of the same name. Here, you can assign a variable to a form item name. This is useful if you have a form where you need a user to fill out several addresses, so the resulting field names might end up as "Address1", "City1", etc., for the first, and "Address2", "City2" etc. With this Action, you only need to create one form page and ASP will make it appear as if you created any number of nearly identical pages. All you need to do is pass the variable when the page is called. This could be as simple as adding something like "?number=1" to the URL, incrementing number each time it is called. Download
Posted on Aug 30, 04 | 4:31 pm
ASP Form Items (Beta)
These Actions are an attempt to combine the Simple and Variable form Actions above. They did not get used for the project, so not much testing occurred. Use at your own risk, feedback is always appreciated.
Download
Posted on Aug 30, 04 | 4:28 pm
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
home | links | RSS Feed site by termite terrace studios © 2004-2010 powered by pMachine stock image from stock.xchng |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||