【问题标题】:Xpages ViewPanel: Overwrite Expand linkXpages ViewPanel:覆盖展开链接
【发布时间】:2013-03-28 14:50:32
【问题描述】:

我有一个在视图面板中显示分类视图的 Xpage。

我无法自定义类别的“链接”或“点击事件”。 Domino 总是用我不想要的 expand 函数覆盖这些。

我试过了:

<xp:viewColumn columnName="productnumber"
    id="viewColumn2" styleClass="ViewcatFilter"
    collapsedImage="/spacer.jpg" expandedImage="/spacer.jpg">
    <xp:viewColumnHeader value="" id="viewColumnHeader2"
        sortable="false">
    </xp:viewColumnHeader>
    <xp:link id="link2">
        <xp:this.value>#</xp:this.value>
        <xp:this.text><![CDATA[#{javascript:myVar.getColumnValue("productnumber")}]]></xp:this.text>
        <xp:eventHandler event="onclick" submit="true"
            refreshMode="complete" immediate="false" save="true"
            id="eventHandler3">
            <xp:this.action><![CDATA[#{javascript:sessionScope.searchQuery = myVar.getColumnValue("productnumber")}]]></xp:this.action>
        </xp:eventHandler>
    </xp:link>
</xp:viewColumn>

【问题讨论】:

    标签: view xpages


    【解决方案1】:

    看看这里:

    XPages view control link manipulation

    我假设您可以像“普通”列一样操作分类列的链接。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-03
      • 1970-01-01
      • 1970-01-01
      • 2014-03-13
      • 1970-01-01
      相关资源
      最近更新 更多