MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Betriebsanweisung Seite 1

Stöbern Sie online oder laden Sie Betriebsanweisung nach Software MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE herunter. MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE User`s guide Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 142
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Components User’s Guide

SERENA®COLLAGE® 5.1.3Components User’s GuideSerena Proprietary and Confidential Information

Seite 2 - U.S. Government Rights

10Serena® Collage® 5.1.3Chapter 1 Introduction to Collage ComponentsAbout the ComponentsThe Serena Collage components are a set of pre-built extensio

Seite 3 - Table of Contents

100Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceYou can use JavaScript to define logic that will create navigation buttons for sub-

Seite 4

Query NavigatorComponents User's Guide101<script language=JavaScript">node[i] = new Array("Contacts", "contacts.html&qu

Seite 5 - . . . . . . . . . . . 121

102Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceThe previous page in the query resultsThe first and last pages in the query resul

Seite 6

Query NavigatorComponents User's Guide103What Buttons Can You Define?You can define the following unique buttons for the Query Navigator componen

Seite 7 - Welcome to Serena Collage

104Serena® Collage® 5.1.3Chapter 3 Design-Time Component Reference4Click the Insert Query Navigator button . The Insert Query Navigator component di

Seite 8

Query NavigatorComponents User's Guide105</node:next>This example defines a button for an active link to the next page in the AssetQuery re

Seite 9 - Chapter 1

106Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceQuery Navigator Component Example<nexus:component classid="nexus/components

Seite 10 - About Design-Time Components

SelectComponents User's Guide107</node:last><node:last inactive><a href="$node.url"><img src="nav_last_inacti

Seite 11

108Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceThe Select Component StructureThe Select component includes two sections:The compo

Seite 12 - Components and Master Pages

SelectComponents User's Guide109For additional information on these and other data field macros that you can use with the Select component, see &

Seite 13 - Studying the Source Code

About the Layout Contribution ComponentsComponents User's Guide11About the Layout Contribution ComponentsLayout contribution components work toge

Seite 14

110Serena® Collage® 5.1.3Chapter 3 Design-Time Component Reference<nexus:select>Web Team</nexus:select>defines content to insert when the

Seite 15 - Assets that Use Components

SelectComponents User's Guide1115Complete the Insert Select Component dialog box. See "Select Properties" on page 111 for more informat

Seite 16 - Development Requirements

112Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceSelect Example 1: Deploying Content inMultiple LanguagesThe example below displays

Seite 17 - Collage server name

SelectComponents User's Guide113illustrated above. When you deploy the site, your choice of deploy map automatically determines which version wil

Seite 18 - About Component Deployment

114Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceWhen you preview the asset, it will display the following text:This page was create

Seite 19

WARFilerComponents User's Guide1155Set up and start deployment.6Schedule and run deployment.1: Create the Deploy Folder StructureYou must store a

Seite 20

116Serena® Collage® 5.1.3Chapter 3 Design-Time Component Referenceinto the WAR file. If you want to deploy any additional files, such as a script or

Seite 21 - Chapter 3

WARFilerComponents User's Guide1179Click OK again, and then click Close.10Click the Update Metadata button, and then click OK.11For any JSP files

Seite 22

118Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceTo upload application files:1In Collage, go to the Content | Deploy Folders view.2S

Seite 23 - Data Field Macro Reference

WARFilerComponents User's Guide1194Click Apply.5: Set Up and Start DeploymentYou must set up deployment as you would for any other deployment act

Seite 24 - "field_name"

12Serena® Collage® 5.1.3Chapter 1 Introduction to Collage ComponentsThe Layout Contribution components include:Components and Master PagesYou can use

Seite 25

120Serena® Collage® 5.1.3Chapter 3 Design-Time Component Reference6: Schedule and Run DeploymentDo either of the following to start a deployment acti

Seite 26

Components User's Guide121Chapter 4Layout Contribution Component ReferenceAbout Layout Contribution Components 122Layout Contribution Field 124La

Seite 27

122Serena® Collage® 5.1.3Chapter 4 Layout Contribution Component ReferenceAbout Layout Contribution ComponentsLayout contribution components work tog

Seite 28 - URL Fields

About Layout Contribution ComponentsComponents User's Guide123feel specifically for the contributed content, including placement on the page and

Seite 29 - Formatting Date Fields

124Serena® Collage® 5.1.3Chapter 4 Layout Contribution Component ReferenceWhat are the Layout Contribution Components?Collage includes the following

Seite 30

Layout Contribution FieldComponents User's Guide125can also be achieved by applying a master page which contains the template elements to the lay

Seite 31 -  "yyy"

126Serena® Collage® 5.1.3Chapter 4 Layout Contribution Component ReferenceOr, click the Check Out button then open the file from within your HTML

Seite 32 - AssetQuery

Layout Contribution MetadataComponents User's Guide127Layout Contribution Field ExampleThe code example below includes a Layout Contribution Fiel

Seite 33

128Serena® Collage® 5.1.3Chapter 4 Layout Contribution Component ReferenceHow the Layout Contribution MetadataComponent WorksThe Layout Contribution

Seite 34 - AssetQuery Properties

Layout Contribution MetadataComponents User's Guide1293Do one of the following:4Save the file.5From the Project | Contribution Setup view in Coll

Seite 35 - $node.htmlurl

Learning by Doing: Using the Sample Website ProjectsComponents User's Guide13Using the Sample Sites in Your ProjectsIf you have permission to cre

Seite 36

130Serena® Collage® 5.1.3Chapter 4 Layout Contribution Component ReferenceLayout Contribution PropertyYou can add the Layout Contribution Property co

Seite 37

Layout Contribution PropertyComponents User's Guide131How to Insert a Layout ContributionProperty ComponentYou can add the Layout Contribution Pr

Seite 38

132Serena® Collage® 5.1.3Chapter 4 Layout Contribution Component ReferenceVia the component integration to Macromedia DreamweaverTo add a Layout Con

Seite 39

Layout Contribution PropertyComponents User's Guide1335Do one of the following:6Save the file.7From the Project | Contribution Setup view in Coll

Seite 40

134Serena® Collage® 5.1.3Chapter 4 Layout Contribution Component Reference

Seite 41

Components User's Guide135Chapter 5Advanced ExamplesAbout the Examples 136Creating Printer-Friendly Contribution Documents 136Creating Printer-Fr

Seite 42

136Serena® Collage® 5.1.3Chapter 5 Advanced ExamplesAbout the ExamplesThis chapter provides examples of components that can be used together. You can

Seite 43

Creating Printer-Friendly HTML DocumentsComponents User's Guide13711Edit the Press Release_layout.html file and add the following code:12Save the

Seite 44

138Serena® Collage® 5.1.3Chapter 5 Advanced ExamplesTo create a printer-friendly HTML document:1Add the following AssetQuery code into the masterpage

Seite 45 - About the AssetQuery body

Components User's Guide139IndexSymbols$node.approvedby 26$node.approveddate 26$node.approvedversion 26$node.assetid 26$node.assettype 26$node.che

Seite 46 - Data Fields Macro Section

14Serena® Collage® 5.1.3Chapter 1 Introduction to Collage Components

Seite 47 - 'metadata_name'

140Serena® Collage® 5.1.3Indexprocedures 18requirements 16using with master pages 12writing 17Conditional componentabout 57properties 59contribution d

Seite 48 -  <nexus:next>

IndexComponents User's Guide141Hhorizontal navigation bar 91HTMLauthoring environment 16knowledge requirement 16layout files 122Iimage banner, ge

Seite 49 -  <nexus:norecords>

142Serena® Collage® 5.1.3IndexOObject Palette, Macromedia DreamWeaver 17orderbycode 41OrderOnMetadata property 42OS redirection 57OS-specific content

Seite 50 - AssetQuery Examples

Components User's Guide15Chapter 2Developing and DeployingAssets that Use ComponentsDevelopment Requirements 16Setting Up Component Integration w

Seite 51

16Serena® Collage® 5.1.3Chapter 2 Developing and Deploying Assets that Use ComponentsDevelopment RequirementsThis chapter describes the technical and

Seite 52

Inserting Components Using DreamweaverComponents User's Guide17How to Set Up Component IntegrationTo set up component integration:1In your intern

Seite 53 - Querying by Date

18Serena® Collage® 5.1.3Chapter 2 Developing and Deploying Assets that Use Components6Select the Window pull-down list and click Objects and Properti

Seite 54 - Start and

Deploying Design-Time ComponentsComponents User's Guide19Deploying Design-Time ComponentsNo extra steps are required to set up deployment of desi

Seite 55

Copyright © 2001-2007 Serena Software, Inc. All rights reserved.This document, as well as the software described in it, is furnished under license and

Seite 56 - Text Banner

20Serena® Collage® 5.1.3Chapter 2 Developing and Deploying Assets that Use Components

Seite 57 - Conditional

Components User's Guide21Chapter 3Design-Time Component ReferenceAbout Design-Time Components 22Data Field Macro Reference 23AssetQuery 32Banner

Seite 58 - Conditional Parameters

22Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceAbout Design-Time ComponentsDesign-time components are used to build information tha

Seite 59 - Conditional Example 2

Data Field Macro ReferenceComponents User's Guide23Data Field Macro ReferenceData field macros are placeholders that you can define for specific

Seite 60 - Database Query

24Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceFor example, with the Navigation Bar component, you could use macros in the followin

Seite 61

Data Field Macro ReferenceComponents User's Guide25How the Data Field Macros WorkEach data field macro identifies the specific type of informatio

Seite 62

26Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceThe standard data fields are:Field DescriptionapprovedbyIf the asset has been approv

Seite 63

Data Field Macro ReferenceComponents User's Guide27CreateDateDisplays the date that the asset was created. For example:$node.CreateDateYou can in

Seite 64

28Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceAsset Metadata FieldTo display the value of a metadata field, you must use the follo

Seite 65 - SQL SELECT statement

Data Field Macro ReferenceComponents User's Guide29You can use this value to generate a link to the asset, for example:<a href="$node.url

Seite 66 - Database Query Properties

Components User's Guide3Table of ContentsWelcome to Serena Collage . . . . . . . . . . . . . . . . . . . . . 7Typographical Conventions . . . .

Seite 67 -  queryfile

30Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceSymbol Description and pattern rules Example'Displays any text or characters wh

Seite 68 - The Database Records Section

Data Field Macro ReferenceComponents User's Guide31yDisplays the year as a number: yy displays the year in two digits yyy displays the full yea

Seite 69

32Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceAssetQueryThis component allows you to query for assets that fulfill certain criteri

Seite 70 - <nexus:next>

AssetQueryComponents User's Guide33which is from the same location in the project. You can use one AssetQuery component to locate the folder that

Seite 71 - How to Set Up a Layout File

34Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceAssetQuery PropertiesProperty Value Descriptionamongblessed true or falseWhether to

Seite 72 - Example Layout File Code

AssetQueryComponents User's Guide35docconvert(continued)To then generate links to the converted files, include any of the following data field ma

Seite 73 - ForceReference

36Serena® Collage® 5.1.3Chapter 3 Design-Time Component Referencefilter (continued)For date properties, you can also use the following to define more

Seite 74 - ForceReference Properties

AssetQueryComponents User's Guide37filter (continued) A.ApprovedDate: Asset approval date A.ApprovedBy: User who approved the asset A.CheckOut

Seite 75 - Include Asset

38Serena® Collage® 5.1.3Chapter 3 Design-Time Component Referencelevelsdeep (continued)NOTE The levelsdeep property is ignored if you also set the q

Seite 76

AssetQueryComponents User's Guide39metafilterMetadata field name and valueUses metadata fields and values to narrow the query. For example: metaf

Seite 77

4Serena® Collage® 5.1.3Table of ContentsAssetQuery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32How Asset

Seite 78 - Include Asset Properties

40Serena® Collage® 5.1.3Chapter 3 Design-Time Component Referencemetafilter (continued)Greater than/less than (< >) statementsGreater than/le

Seite 79

AssetQueryComponents User's Guide41orderbycodeLetter code for a specific sort order.Sort order of listed data. For example, orderbycode="F&q

Seite 80 - Masterpage Body

42Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceorderonmetadataNames of metadata fields which can be used to sort resultsDefines met

Seite 81 - Masterpage Body Properties

AssetQueryComponents User's Guide43rootPath to the deploy folder The deploy folder that will be searched.For example, if root is set to "/We

Seite 82 - MetaTag Properties

44Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceskiplevelsNumber Allows you to skip the specified number of folders before beginning

Seite 83 - MetaTag Example 2

AssetQueryComponents User's Guide45About the AssetQuery bodyThe display of asset information is specified in the AssetQuery body. The AssetQuery

Seite 84 - Navigation Bar

46Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceFor example:<nexus:prelog><table><tr><td>Name</td><

Seite 85 - How the Navigation Bar Works

AssetQueryComponents User's Guide47Asset metadata. To display the value of a metadata field, you must use the following syntax:$node.meta('

Seite 86 - About Image Buttons

48Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceRecord information. You can use the following syntax to display the record number o

Seite 87

AssetQueryComponents User's Guide49 <nexus:exit> Indicates that no preceding record display will be repeated. For example,<nexus:next&g

Seite 88

Table of ContentsComponents User's Guide5About Image Buttons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86How to Insert a

Seite 89 - Node Options for Links

50Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceProlog SectionIf a prelog section is used to open and define headers for a table whi

Seite 90 - Deploy Folder Node Options

AssetQueryComponents User's Guide51Querying for Properties and MetadataThe following is an example AssetQuery component with a complete AssetQuer

Seite 91 - Navigation Bar Properties

52Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceQuerying for Contribution Field ContentThe following is an example AssetQuery compon

Seite 92

AssetQueryComponents User's Guide53Modify the $node.contribution line to include a link to the $node.detailsurl field:<li><font face=&q

Seite 93 - Navigation Bar Examples

54Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceYou can also display a list of press releases created between two dates. The followi

Seite 94 - Active page

BannerComponents User's Guide55How to Insert a Banner ComponentFollow the instructions below to insert a Banner component, either in Dreamweaver,

Seite 95

56Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceManuallyThe syntax varies depending on whether you want to insert an image banner or

Seite 96

ConditionalComponents User's Guide57Banner PropertiesConditionalThe Conditional component generates a javascript that redirects the user's b

Seite 97 - NavMap Properties

58Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceConditional ParametersThe Conditional component body uses <PARAM> tags which i

Seite 98 - Generating Node Level Numbers

ConditionalComponents User's Guide59Conditional PropertiesConditional Example 1The example below redirects different browser applications:<nex

Seite 99 - // children indent in pixels

6Serena® Collage® 5.1.3Table of ContentsHow the Layout Contribution PropertyComponent Works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 100 - Generating a Node URL

60Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceDatabase QueryThe Database Query component displays data from records which Collage

Seite 101 - Query Navigator

Database QueryComponents User's Guide61In order to define a data source, you must know the following about the database:The URL, or address, of

Seite 102 - Button Types

62Serena® Collage® 5.1.3Chapter 3 Design-Time Component Reference4All data source definitions are stored in Collage as assets. Enter an Asset Name an

Seite 103 - Dreamweaver

Database QueryComponents User's Guide636Click OK. The new data source is added to the list in the Project | Data Sources view. The data source is

Seite 104 - Manually

64Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceHow to Create and Store Structured Queries in CollageYou can create new, blank SQL (

Seite 105 - Button Tag Reference

Database QueryComponents User's Guide65Writing the Database Query Component A simple Database Query Component is structured as follows:<nexus:

Seite 106

66Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceSee the following section for a complete description of all of the properties you ca

Seite 107

Database QueryComponents User's Guide67Writing the Database Query BodyThe body section of the Database Query component formats the display of the

Seite 108 - Component Tag

68Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceThe body section can consist of three sections, an optional prelog, the database rec

Seite 109

Database QueryComponents User's Guide69The $node.column("column name") macro is a placeholder for the value of the column identified by

Seite 110 - Complete Example

Components User's Guide7Welcome to Serena CollageThank you for choosing Serena Collage, a complete web content management package.Purpose of this

Seite 111 - Select Properties

70Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceYou can use <nexus:exit>, in combination with <nexus:next>, to define un

Seite 112 - Multiple Languages

Database QueryComponents User's Guide712Create the Database Query component, and include a layout property which specifies the path to the layout

Seite 113 - Content at Preview Time

72Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceWhen you deploy the asset that contains the Database Query component, Collage genera

Seite 114 - WARFiler

ForceReferenceComponents User's Guide73Complete Database Query ExampleA complete Database Query component tag may look as follows:ForceReferenceT

Seite 115 -  /WarContents

74Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceTo force Collage to deploy assets whose dependencies are too complex to calculate i

Seite 116

Include AssetComponents User's Guide75ForceReference ExampleThe Sample site project, which gets installed with Collage, includes a sample file th

Seite 117

76Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceDisplay information about or generate links to other assets. You can use the compon

Seite 118 - 4: Define WARFiler Properties

Include AssetComponents User's Guide77ManuallyTo manually insert the component in your own HTML editor:1Open the file to which you want to add th

Seite 119

78Serena® Collage® 5.1.3Chapter 3 Design-Time Component Referencecomplete the body section with a combination of standard HTML, and any combination o

Seite 120

Include AssetComponents User's Guide79Example 1: Including an Entire AssetYou can use the Include Asset component to automatically insert the con

Seite 121 - Reference

8Serena® Collage® 5.1.3

Seite 122 - Use Standard HTML Files

80Serena® Collage® 5.1.3Chapter 3 Design-Time Component Reference<nexus:component classid="nexus/components/IncludeAsset" code="$ne

Seite 123

MetaTagComponents User's Guide813Select the Serena Collage Design Components palette.4Click the Insert Masterpage Body button .5Accept the defaul

Seite 124 - Layout Contribution Field

82Serena® Collage® 5.1.3Chapter 3 Design-Time Component Reference3Select the Serena Collage Design Components palette.4Click the Insert MetaTag butto

Seite 125

MetaTagComponents User's Guide83MetaTag Example 1The following example retrieves the value of a metadata field called product, and names it "

Seite 126

84Serena® Collage® 5.1.3Chapter 3 Design-Time Component Reference</nexus:component>If the value of the release_date metdata field is January 18

Seite 127 - Layout Contribution Metadata

Navigation BarComponents User's Guide85Choosing Between the NavMap and Navigation Bar ComponentsThe NavMap and Navigation Bar components provide

Seite 128 - Metadata Component

86Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceAbout Image ButtonsWhen an image is used as a navigation button, the Navigation Bar

Seite 129

Navigation BarComponents User's Guide874Click the Insert Navigation Bar button . The Insert Navigation Bar dialog box appears.5Choose whether th

Seite 130 - Layout Contribution Property

88Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferencenexusComponents.jar. You can also set this property to: code="$nexusComponents&

Seite 131 - Property Component

Navigation BarComponents User's Guide893Do one of the following to define the inactive link button. This definition will be reused for all inacti

Seite 132

Components User's Guide9Chapter 1Introduction to Collage ComponentsAbout the Components 10About Design-Time Components 10About the Layout Contrib

Seite 133 - FileName

90Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceSite Structure Node OptionsDeploy Folder Node OptionsUsing Data Field Macros in Butt

Seite 134 - Serena® Collage® 5.1.3

Navigation BarComponents User's Guide91macro to generate text for buttons based on the name of the assets they are linking to.Format date fields

Seite 135 - Advanced Examples

92Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceorderbycodeLetter code for a specific order in which to display navigation buttons.T

Seite 136 - About the Examples

Navigation BarComponents User's Guide93Navigation Bar ExamplesThe following examples diagram the syntax for Navigation Bar components, one based

Seite 137

94Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceSite Structure Based Navigation BarIn this example, the Navigation Bar component wil

Seite 138

NavMapComponents User's Guide95select property, which limits the navigation buttons to only those assets to which the indexfile metadata field is

Seite 139

96Serena® Collage® 5.1.3Chapter 3 Design-Time Component Referencethe site structure. In this way, you can preserve the site's information hierar

Seite 140

NavMapComponents User's Guide97example, you might use the Navigation Bar component to generate a sub-menu of all pages in one area, for example p

Seite 141

98Serena® Collage® 5.1.3Chapter 3 Design-Time Component ReferenceWriting the NavMap Component BodyThe NavMap body defines code which you will generat

Seite 142

NavMapComponents User's Guide99The following component provides a basic example of how you might do this, using a very simple JavaScript:<nexu

Kommentare zu diesen Handbüchern

Keine Kommentare