04-13-2009 01:10 AM
04-22-2009 04:29 AM
04-22-2009 09:19 AM
<bean id="transformer.Poi"
class="org.alfresco.repo.content.transform.PoiHssfContentTransformer"
parent="baseContentTransformer" />
04-24-2009 01:12 AM
12-14-2009 05:07 AM
06-01-2010 10:57 AM
08-30-2011 07:12 AM
<td style="padding-left:4px" width=90>
<nobr><a:actionLink id="link22" style="white-space:nowrap" value="Exportar CSV" actionListener="#{CSVExportAction.csvExport}" image="/images/icons/export.gif">
</a:actionLink></nobr>
</td>
<faces-config>
<managed-bean>
<description>
Exporta a un fichero CSV, los metadatos de los documentos obtenidos en la búsqueda
</description>
<managed-bean-name>
CSVExportAction
</managed-bean-name>
<managed-bean-class>
ants.alfrescoexportcsv.csvexportaction.CSVExportAction
</managed-bean-class>
<managed-bean-scope>
session
</managed-bean-scope>
<managed-property>
<property-name>nodeService</property-name>
<value>#{NodeService}</value>
</managed-property>
<managed-property>
<property-name>browseBean</property-name>
<value>#{BrowseBean}</value>
</managed-property>
</managed-bean>
</faces-config>
public class CSVExportAction extends ActionExecuterAbstractBase{
private static Logger logger;
public CSVExportAction (){
super();
}
private NodeService nodeService;
private BrowseBean browseBean;
public BrowseBean getBrowseBean() {
return browseBean;
}
public void setBrowseBean(BrowseBean browseBean) {
this.browseBean = browseBean;
}
public NodeService getNodeService() {
return nodeService;
}
public void setNodeService(NodeService nodeService) {
this.nodeService = nodeService;
}
….
public void csvExport(ActionEvent e) throws Exception{
// Start the session
this.initLog();
logger.info("init exportCSV");
logger.debug("BroseBean: "+browseBean);
logger.debug("NodeService: "+nodeService);
List<Node> nodos = browseBean.getNodes();
logger.info("Size List "+nodos.size());
for(int i = 0 ; i<nodos.size();i++)
logger.debug("NODO: "+nodos.get(i));
….
}
….
protected void executeImpl(Action arg0, NodeRef arg1) {
}
protected void addParameterDefinitions(List arg0) {
}
}
javax.faces.FacesException: net.sf.acegisecurity.providers.ProviderNotFoundException: No authentication provider for net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken
caused by:
org.apache.jasper.JasperException: net.sf.acegisecurity.providers.ProviderNotFoundException: No authentication provider for net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken
caused by:
net.sf.acegisecurity.providers.ProviderNotFoundException: No authentication provider for net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken
02-22-2013 11:16 AM
07-04-2012 02:36 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.