6-8 Oracle Fusion Middleware Developers Guide for Site Studio for External Applications
■
Switch Data File [S]: Allows switching the data file.
■
View Usage Report [U]: Allows viewing the web usage report.
■
View tracker Report [T]: Allows viewing the web tracker report.
■
Update Document Information [M]: Allows updating the content information.
■
Switch Region Template [V]: Allows switching the region template.
■
Remove Content [N]: Allows content removal by the contributor.
Example wcm:placeholder name=yourplaceholdername actions=E
wcm:placeholder name=yourplaceholdername actions=EPRISUTMVN
6.1.10 Site Studio wcm:staticPlaceholder Tag
The Static Placeholder tag can be used to add a placeholder with a fixed data file. This is useful for content that does not change, such as headers and footers.
Parameters
■
dataFile: The dDocName content ID of the data file to assign to this static placeholder. Required.
■
name: The name of the static placeholder. Optional.
■
template: The region template to use to render the data file. Optional.
■
actions: The allowed actions of the placeholder definition. Any number of actions can be set. If you use parameters that do not work together for example,
specifying a subtemplate as well as a region definition, then the tag will execute based on the order of parameters listed above. Optional.
■
Update [E]: Allows contributor update.
■
Approve [A]: Allows workflow approval.
■
Reject [R]: Allows workflow rejection.
■
Document Information [I]: Allows viewing document information.
■
View Usage Report [U]: Allows viewing the web usage report.
■
View tracker Report [T]: Allows viewing the web tracker report.
■
Update Document Information [M]: Allows updating the content information.
■
Switch Region Template [V]: Allows switching the region template.
Example wcm:staticPlaceholder datafile=yourdatafile actions=E
wcm:staticPlaceholder datafile=yourdatafile actions=EPRIUTMV
Site Studio Tag Library and Helper Methods 6-9
6.1.11 Site Studio wcm:url Tag
The URL tag renders either hierarchical links into the site structure or links to content server content.
Parameters
■
var: The variable name to store the link result.
■
type: The type of link. Required.
■
node: Defines a URL for a node.
■
dcresource: Defines a URL for a dynamic conversion resource. Only valid inside a placeholder tag.
■
dcpage: Defines a URL for a dynamic conversion page. Only valid inside a placeholder tag.
■
rendition: Defines a URL for a rendition.
■
resource: Defines a URL for a resource. Used to link to weblayout static resources, such as images.
■
Link: Used to create links to content.
■
url: The link parameter format dependent on the type. Required.
■
node: Format of nodeId|nodePath.
■
dcresource: Format of dcResourcePath.
■
dcpage: Format of dcPageNum.
■
rendition: Format of dDocNamerenditionName.
■
resource: Format of dDocName or webLayoutPath.
■
Link: Format of dDocName or nodeId|nodePathdDocName.
■
siteID: The site identifier for the link target. This consists of the section ID and the content ID for a site content item. For example, a section ID of 56 and content
ID of TEST_ITEM.
Example Create a link to the About section which has a section ID of 20:
wcm:url var=url type=node url=About wcm:url var=url type=node url=20
Create a link to a piece of content in the content server: wcm:url var=url type=resource
url=groupspublicdocumentsdocumentnews_article.doc Url to a rendition of a content item::
--wcmUrlresource,dDocName-- --wcmUrlresource,groupspublicdocumentsadacctmydocname.jpg--
Create a link to a piece of content to display inside a node optionally specifying the section:
wcm:url var=url type=link url=NEWS_ARTICLE wcm:url var=url type=link url=20NEWS_ARTICLE
6-10 Oracle Fusion Middleware Developers Guide for Site Studio for External Applications
6.2 Site Studio Helper Methods