【问题标题】:Adobe Livecycle -- Is there a way to use the same binding more than once?Adobe Livecycle -- 有没有办法多次使用同一个绑定?
【发布时间】:2012-03-08 07:15:20
【问题描述】:

版本:8.2.1.5161.566259

似乎试图将我的数据视图中的同一个项目绑定到多个字段...

例如,我有一个名为“客户”的对象集合。我的 PDF 列表中有一部分客户姓名,另一部分列出了他们的地址。但是,地址永远不会显示,因为 Customers 数组已经绑定到其他地方。

层次结构视图:

- Page
  - Customer Names (subform) - $record.Customers.Customer[*]
    Customer.Name - $.FullName
  + Other Section (subform)
  - Customer Addresses (subform) - $record.Customers.Customer[*]
    Address 1 - $.Address1
    Address 2 - $.Address2
    City - $.City
    State - $.State
    ZipCode - $.ZipCode

问题是客户地址子表单实际上并没有被绑定。任何解决此问题的方法都很简单。我知道在 WPF 和 Silverlight 中,您可以多次绑定到同一个数据属性,所以我认为它与 Adob​​e LiveCycle 类似。

【问题讨论】:

    标签: data-binding pdf binding adobe livecycle


    【解决方案1】:

    不,不幸的是,多个数据绑定在重复的元素节点上不起作用...... 我知道的唯一解决方法是使用 JavaScript 以编程方式填充两个部分之一。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-08-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多