Detailed instructions for use are in the User's Guide.
[. . . ] The content of this manual is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Macromedia Inc. assumes no responsibility or liability for any errors or inaccuracies that may appear in this book.
Except as permitted by such license, no part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Macromedia Inc.
Part number: ZCS50M100
Contents
About This Book
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xiii
xiv xiv xv xv
Intended audience . xix
Chapter 1 Setting Up the Product
. . . . . . . . . . . . . . . . .
1
System requirements . 6 6 6 7
Chapter 2 Configuring Browsers and Servers
. . . . . . .
9
Configuring the internal browser . [. . . ] For more information, open the Options > Settings >Validation pane and click the CSE HTML Validator link to visit their website.
To use the CSE HTML Validator:
1 2 3 4 5 In the Options > Settings > Validation pane, select Use CSE HTML Validator when validating the entire document. Complete the Validator Engine Options (Validator/Logging/Tools/Network) dialog box. 6 7 (Optional) To visit their website, click the CSE HTML Validator link. When you are done, click Apply.
Working with tag definitions
125
Working with tag definitions
Every tag in HomeSite+ for Dreamweaver MX has a definition file, written in VTML, that specifies the valid attributes for the tag and the content and formatting of the tag editor for the tag. Tag definitions are the source of information for tag editors, Tag Insight, Tag Tips, and Tag Inspector. Following are the namespaces for the tag definitions that are installed with HomeSite+ for Dreamweaver MX: XHTML, HTML, CFML, VTML, JSP, Java, JRUN, WML, HDML, SMIL, IMFL, RTML, and Custom.
About namespace precedence
A version of a markup language (or namespace) can have a tag with the same name as a tag in another namespace. To avoid conflicts, the tag definitions for different namespaces are installed in different directories, in the \Extensions\TagDefs directory under the application root directory. When you use a tag editor or the Tag Inspector, or Tag Insight is enabled, HomeSite+ for Dreamweaver MX needs to know which tag definition to use. The list in the Options > Settings > Tag Definitions Library pane represents the order in which HomeSite+ for Dreamweaver MX searches the directories when looking for a tag definition. For example, if you enter <region> in a document, right-click it and choose Edit Tag, the SMIL tag editor appears, because no other directory contains a <region> tag. On the other hand, if you edit a <servlet> tag, either the Java or JRun version of the tag editor could appear. Native database drivers are installed with the Enterprise version; OLE-DB drivers are installed with the Professional and Enterprise versions.
To add a data source to ColdFusion Server:
1 2 3 In the ColdFusion Administrator, under Data Sources, select the ODBC or native drivers page. Enter a name for the data source, select the appropriate driver, and click Add. HomeSite+ for Dreamweaver MX tests the connection and displays an error message if the connection fails.
Connecting to a data source
Data sources that are registered in the ColdFusion Administrator are automatically accessible from the Database tab in HomeSite+ for Dreamweaver MX. To access remote data sources, you can add remote ColdFusion Servers (RDS servers).
To add a remote server:
1 At the bottom of the Resources window, click the Database tab. This is how the tab looks:
2
In the top pane, select Add RDS Server from the drop-down list.
Working with data sources
131
3
Enter information in the Configure RDS Server dialog box and click OK. For information about configuring a RDS server, see "Working with files on remote servers" on page 14.
Viewing a data source
As soon as a data source has been added in the ColdFusion Administrator, you can view it in HomeSite+ for Dreamweaver MX.
To open a data source:
1 2 3 In the Resources window, click the Database tab. Accessing a large database on a remote servers might take a few moments. Expand the data source tree: · · · 4 To expand the tree, click the plus sign (+) next to a data source name To view the database schema, click the plus sign (+) next to Tables To view the column definitions, click the plus sign (+) next to a table name
Double-click a table name. The records in the table are displayed.
In the data browsing window you only can browse data. Also, views are available only in databases supporting the creation of views or tables stored as queries.
To insert column or table names into a page:
· Drag a table or column from the Database tab to the Editor, to the desired position in your document. This is a useful shortcut when you are building database reports.
132
Chapter 8 Accessing Data Sources
Using SQL Builder for database queries
SQL Builder is a powerful visual tool that you can use to build, test, and save SQL statements for use in application data queries. [. . . ] The URL contains at least the protocol (e. g. , http or ftp) and the host name, but can also include a port number, lengthy file paths if the file is deeply nested on a server, and complicated query strings, especially if the file is dynamically generated like with JavaServer Pages (JSP). Encoding format that enables computers to handle both ASCII and Unicode. Creates specifications, guidelines, software, and tools to achieve its vision for the Web--that all users would equally experience the Web regardless of their browsers, operating systems, or physical disabilities; and that the Web would be a free flow of information, commerce, and communication. watch Expression or variable that you are monitoring, so that you can see its value at given points while the debugger steps through your code. [. . . ]