123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: cpscrn
- (C) Copyright IBM Corp. 2005, 2011
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--
- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
- -->
- <implementation version="1.0" xmlns="http://developer.cognos.com/fragments/implementation/1/"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:f="http://developer.cognos.com/fragments/1/"
- xmlns:fs="http://developer.cognos.com/fragments/types/1/"
- xmlns:val="http://developer.cognos.com/schemas/validator/1/"
- xmlns:fragment="urn:cognos:fragments:validator"
- xmlns:fragext="http://developer.cognos.com/fragments/extensions/1/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xsi:schemaLocation="http://developer.cognos.com/fragments/implementation/1/ ../../../schemas/implementation.xsd">
- <info>
- <f:title resourceName="IDS_PROP_DEFAULT_TITLE">HTML Source</f:title>
- </info>
- <meta>
- <f:globalValidator version="1.0">
- <val:parameter skipJavaScript="true">
- <val:name>formaction</val:name>
- <val:rule>
- <val:enumeration emptyValid="true">
- <val:list>edit,view,save,validate,cancel</val:list>
- </val:enumeration>
- </val:rule>
- </val:parameter>
- <val:parameter skipJavaScript="true">
- <val:name>removeLang</val:name>
- <val:ruleRef id="fragment:localeList"/>
- </val:parameter>
- </f:globalValidator>
- <f:modes>view</f:modes>
- <f:modes>edit</f:modes>
- <f:modes>help</f:modes>
- <f:windowStates>normal</f:windowStates>
- <f:windowStates>maximized</f:windowStates>
- <f:customProperties name="Description">
- <f:label resourceName="IDS_PROP_DEFAULT_TITLE">HTML Source</f:label>
- <f:hint resourceName="IDS_PROP_EDIT_HINT_TEXT">Specify the title and enter the HTML code for the web page to display</f:hint>
- <f:datatype>fragext:multilingualString</f:datatype>
- <f:validate>
- <val:name>Description</val:name>
- <val:ruleRef id="fragment:localizedString"/>
- </f:validate>
- </f:customProperties>
- <f:customProperties name="title">
- <f:label resourceName="IDS_PROP_TITLE_CAPTION">Title:</f:label>
- <f:hint/>
- <f:datatype>fragext:multlingualString</f:datatype>
- <f:default>
- <f:value/>
- </f:default>
- <f:validate>
- <val:namePattern><val:regex caseSensitive="false">^((p_)?title-([a-z\-]*)?)$</val:regex></val:namePattern>
- <val:ruleRef id="fragment:localizedString"/>
- </f:validate>
- </f:customProperties>
- <f:customProperties name="HTMLMarkup">
- <f:label resourceName="IDS_PROP_HTMLCODE_CAPTION">HTML Code:</f:label>
- <f:hint resourceName="IDS_PROP_HTMLCODE_HINT">Type the HTML code to display and validate.</f:hint>
- <f:datatype>fragext:multilingualString</f:datatype>
- <f:default>
- <f:value/>
- </f:default>
- <f:validate skipJavaScript="true">
- <val:namePattern><val:regex caseSensitive="false">^((p_)?HTMLMarkup-([a-z\-]*)?)$</val:regex></val:namePattern>
- <val:rule><val:type><val:string/></val:type></val:rule>
- </f:validate>
- </f:customProperties>
- </meta>
- <message source="/messages/pfutilitiesmsgs.xml"/>
-
- <stage processor="java" source="com.cognos.portal.fragment.server.pipeline.RequestConfigurationProcess" >
- <input name="included-config">
- <config xmlns="">
- <param name="contentLocales"/>
- <param name="webContent"/>
- </config>
- </input>
- <output name="configurationResponse" />
- </stage>
- <init processor="xts" source="/fragments/utilities/htmlviewer/logic.xts">
- <param name="requestCookies"/>
- <param name="preferences"/>
- <param name="busHeader"/>
- </init>
- <interaction processor="xslt" source="/utilities/htmlviewer/interaction.xslt">
- <param name="preferences"/>
- <input name="configurationResponse"/>
- </interaction>
- <render>
- <param name="preferences"/>
- <input name="configurationResponse"/>
- <input name="help">
- <help xmlns="">
- <helpIdRoot>HTML_SRC</helpIdRoot>
- </help>
- </input>
- <mode name="view">
- <transforms>
- <transform source="/utilities/htmlviewer/htmlview.xslt"/>
- </transforms>
- </mode>
- <mode name="edit">
- <transforms>
- <transform source="/utilities/htmlviewer/htmledit.xslt">
- <logicsheet source="/common/logic/portal-ui.xslt"/>
- <logicsheet source="/utilities/common/logic/localeSelector.xslt"/>
- </transform>
- <transform source="/utilities/common/layout.xslt"/>
- </transforms>
- <library type="text/javascript" href="$WEB$/fragments/common/languageselection.js"/>
- <library type="text/javascript" href="$WEB$/fragments/common/processFormItems.js"/>
- </mode>
- <mode name="help">
- <transforms>
- <transform source="/common/help.xslt">
- <logicsheet source="/common/logic/portal-ui.xslt"/>
- </transform>
- </transforms>
- </mode>
- </render>
- </implementation>
|