简体   繁体   English

我可以创建多个签名 .pcf 文件吗?

[英]Can i create more than one signature .pcf file?

I tried to create more than one signature in my .pcf file for Exitpoint, it showing an error.我试图在我的 .pcf 文件中为 Exitpoint 创建多个签名,它显示一个错误。
Is it acceptable, then what is default signature if not mentioned explicitly是否可以接受,如果没有明确提及,那么默认签名是什么

Yes, you can add more than one Signature in LocationEntryPoint tab是的,您可以在 LocationEntryPoint 选项卡中添加多个签名
Sample code示例代码

<?xml version="1.0"?>
<PCF
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../../../../../pcf.xsd">
    <Forward
        canVisit="true"
        id="YourPageForward">
        <LocationEntryPoint
            signature="YourPageForward(queryParamId1:String)"/>
        <LocationEntryPoint
            signature="YourPageForward(queryParamId1:String, queryParamId2:String)"/>
        <Variable
            name="queryParamId1"
            type="String"/>
        <Variable
            name="queryParamId2"
            type="String"/>
        <ForwardCondition
            action="my.web.YourPageForwardHandler.Instance.doProcessOne(queryParamId1)"/>
        <ForwardCondition
            action="my.web.YourPageForwardHandler.Instance.doProcessTow(queryParamId1, queryParamId2)"/>   
    </Forward>
</PCF>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM