【发布时间】:2014-08-13 13:14:32
【问题描述】:
您好,我已经创建了具有专有定义的自定义控件
我阅读此页面Design Definition advanced 以自定义我的自定义控件的设计。
这是我的代码(这会生成一个包含多少行的表格,有多少元素是专有的titololink)
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:table style="width:100.0px;border-color:rgb(235,235,235);border-style:solid">
<xp:tr>
<xp:td style="background-color:rgb(209,241,248)">
<xp:span
style="font-weight:bold;background-color:rgb(184,228,245)">
</xp:span>
<xp:span style="font-weight:bold">
<%=this.titolo%>
</xp:span>
<xp:span style="border-color:rgb(192,192,192)">
</xp:span>
</xp:td>
</xp:tr>
<%for(i=0;i<this.titololink.length;i++){%>
<xp:tr>
<xp:td><%this.titololink[i]%></xp:td>
</xp:tr>
<%}%>
</xp:table></xp:view>
这些行显示在我的 XPages 中..但是此代码 this.titololink[i] 每一行都是空的,并且不显示我的属性的内容....(我不明白是什么类型)
有人知道吗?
很多东西
【问题讨论】:
-
如果它显示多行,但不显示值,那么也许你只需要获取值
-
不工作。我发现对象类型是:'object[Javascript Object]'...我看不懂其他的
标签: xpages lotus-domino xpages-ssjs