Hello there:
I usually use repeat control with a panel inside, which is binding to a form, but now just for one page, it shows the next error:
in browser:
Error 500
HTTP Web Server: Command Not Handled Exception
in java perspective:
“the project was not built since its build path is incomplete. Cannot find the class file for java.util.List. Fix the build path then try building this project”
this is the source:
<xp:repeat id=“repeat1” rows=“30” var=“col” indexVar=“index”>xp:panel
xp:this.data
<xp:dominoDocument var=“frmVenta” formName=“Venta” documentId=“#{javascript:col}” action=“openDocument”>
</xp:dominoDocument>
</xp:this.data>
</xp:panel>
xp:this.value<![CDATA[#{javascript:var key=sessionScope.pCentroProduccion;
vista=database.getView(“xpStockVentas”);
coleccionVentas=vista.getAllDocumentsByKey(key);
return coleccionVentas}]]>
</xp:this.value>
</xp:repeat>
please help me!!
Nina
Subject: Try to return a array of NoteID
In your repeat code, try to return a array of NoteID:
xp:this.value<![CDATA[#{javascript:var key=sessionScope.pCentroProduccion;
vista=database.getView(“xpStockVentas”);
coleccionVentas=vista.getAllDocumentsByKey(key);
//Declare the array
var arrayIds=new Array();
//put the noteids in the array
for(var m=1; m<coleccionVentas.getCount(); m++)
arrayIds.push(coleccionVentas.getNthDocument(m).getNoteID());
//return the array
return arrayIds}]]>
</xp:this.value>
Subject: the same problem friend
I wonder what can I do with the error in java perspective:
“the project was not built since its build path is incomplete. Cannot find the class file for java.util.List. Fix the build path then try building this project”
I create a class and can not found Java.util.list
thank you
Nina
Subject: Solved!
It was my designer, I reinstall it and all ok.