Design Defining User Control as MultiValue Access

Hello, I am creating my custom control with the definition of proprierty enter image description here

I read this page Advanced Design Definition to customize the design of my custom control.

This is my code (this generates a table with the number of rows, how many elements are the titololink propriety )

<?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>

Lines are displayed in my XPages .. but this code this.titololink[i]each line is empty and does not display the contents of my proproerties .... (I don’t understand what type is)

Does anyone have any ideas?

Tnx a lot

+4
source share
2

, ...

<%var a=eval(""+this.titololink+"");%><%=a[i]%>

.

,

+4

, . .

NotesIn9 - . : http://notesin9.com/index.php/2014/08/10/notesin9-151-bootstrap-progressbars-in-xpages/

, Array.. [], . , , . , . "this" - ... . ... , customProperties "this". "this.titlolink..." this.param.titololink.. .. .

- "shell" ​​. , , XML . , .

+2

All Articles