-1

I am testing the SBT and when I set a data source via the fileservicedata binding e.g.

<xp:this.data>
    <xe:fileServiceData var="fileServiceData1" endpoint="connections" timeout="0" clearOnRendering="true">
        <xe:this.serviceType>
            <xe:connectionsFileData loaded="true"></xe:connectionsFileData>
        </xe:this.serviceType>
    </xe:fileServiceData>
</xp:this.data>

It does not work. However if I choose the JavaScript approach e.g.

<xp:this.value><![CDATA[#{javascript://
var fileService = new com.ibm.sbt.services.client.connections.files.FileService();
return fileService.getMyFiles(null);
}]]></xp:this.value>

I get data returned. What can be the cause of failure for the first approach? It is the default approach in the xpagessbt demo db.

stwissel
  • 20,110
  • 6
  • 54
  • 101
Patrick Kwinten
  • 1,988
  • 2
  • 14
  • 26

1 Answers1

0

What SBT version are you using? What Domino version? What do the logs say? Could you pls share the faces config and the xsp properties file?

Not easy but in order to find out the issue you could run the SDK from Eclipse to debug this particular code. If you want to do this let me know and I send instructions.

Niklas Heidloff
  • 952
  • 6
  • 13