Hello I have create my custom control with a proprierty definition
I read this page Design Definition advanced for customize the design of my custom control.
This is my code (this generate a table with a number of rows how many elements are the proprierty 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>
The rows is showed in my XPages..but this code this.titololink[i]
every row is empty and don't show the content of my proproerties....(I don't understand what is the type)
Have someone any idea?
Tnx a lot
Hello I have found a solution...
<%var a=eval(""+this.titololink+"");%><%=a[i]%>
With this code work very weel.
Strange but work