[opencms-dev] Web Map with Java Class

enrarjcob at alum.us.es enrarjcob at alum.us.es
Mon Mar 31 16:22:16 CEST 2008


Hi,

I want to create a Java Class that could do a web map of my site and show all atributes of the elements on the folder give as parameter. 

I did that with a JSP page using a CmsJspTagContentLoad object, but i dont know how to do that in a Java Class (because there, i cant use this type of objects).

This is an example code of the JSP Page:

CmsJspTagContentLoad listaContenido;               	           
listaContenido=(CmsJspTagContentLoad)contenido.contentload("singleFile",elemento,true);
listaContenido.hasMoreContent();
String texto=contenido.contentshow(listaContenido,"Texto");

Any idea? Thanks




        



More information about the opencms-dev mailing list