问题描述
下面是我想填充在Adobe LiveCycle Designer中下拉列表我的XML数据:我有一个下拉列表,在Adobe的LiveCycle一个片段。我想使用使用数据绑定的数据绑定:使用全局数据吧。我怎样才能做到这一点?
Below is my XML data which i want to populate in drop down list in Adobe LiveCycle Designer:I have a dropdown list in a fragment in Adobe LiveCycle. I want to use bind the data using data binding: use global data with it. How can i do it?
下面是我的XML数据:< CourtDetails_of_the_Applicant> < CourtDetails>< BR /> &其中; court_id→1&其中; / court_id> < nameofcourt>正义与其中高级法院; / nameofcourt> < / CourtDetails> < CourtDetails> &其中; court_id→2&其中; / court_id> < nameofcourt>正义与其中的民事Superioir法院; / nameofcourt> < / CourtDetails>< / CourtDetails_of_the_Applicant>
Here is my XML Data:<CourtDetails_of_the_Applicant> <CourtDetails><br/> <court_id>1</court_id> <nameofcourt>Superior Court of Justice</nameofcourt> </CourtDetails> <CourtDetails> <court_id>2</court_id> <nameofcourt>Civil Superioir Court of Justice</nameofcourt> </CourtDetails></CourtDetails_of_the_Applicant>
什么样的价值观应该放在名称和项目现场: http://i.stack.imgur.com/uUwLK.png
What values should put in name and items field:http://i.stack.imgur.com/uUwLK.png
推荐答案
据我了解,你应该把:
产品:$ record.path_to_node.CourtDetails_of_the_Application.CourtDetails [*]
项目文本:nameofcourt
项目值:court_id
Items : $record.path_to_node.CourtDetails_of_the_Application.CourtDetails[*]
Item Text : nameofcourt
Item Value : court_id
字段的名称并不重要,这只是说将在形式的层次结构中使用的名称。
The name of the field doesn't matter it's only the name that'll be used in the form hierarchy.
希望这有助于!
这篇关于的Adobe的LiveCycle:如何填充下拉框使用全局数据绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!