Mail Archive Home | exoplatform List | October 2006 Index
| <-- Date Index --> | <-- Thread Index --> |
Hi all,
I would customize the ECM File Explorer portlet and I've a few questions
about it.
Is it possible change the list of document type that compare in select box
named "DocumentType" in add document window?
Now I've all nodetype that have a document template defined (also without
right permission): I'd like see only my custom nodetype.
Besides, the default document is exo:article: is it possible change default
selected nodetype?
If a try to insert a nodetype without permission in template for my user,
I've the following error
"Render Error: Invocation of method 'getDialogPath' in class
org.exoplatform.portlets.content.jcr.component.UIDocumentForm threw exception
class java.lang.NullPointerException : null "
(after I've selected that nodetype in selectox 'DocumentType' and exo tried
to load the dialog template)
Could I set in a folder the nodetypes that it can contain? for example I
want that in /cms/article a user can insert only exo:article nodetype
In "Content Browser Explorer" Portlet, instead, I use a jcr Query (sql mode)
to extract all nodetype order by date field and it works very well!
I'm a problem when I try to filter results by a range of date: What format
should I use for date?
For example,these queries always return same resultset:
select * from rupar:notizia_draft where jcr:path like
'/cms/publications/news/%' order by exo:date desc
select * from exo:article where jcr:path like '/cms/publications/news/%' and
exo:date > '2006-10-01' order by exo:date desc
select * from exo:article where jcr:path like '/cms/publications/news/%' and
exo:date > '2006-10-01 10:00:01.0' order by exo:date desc
select * from exo:article where jcr:path like '/cms/publications/news/%' and
exo:date > 'Fri Oct 06 12:45:16 CEST 2005' order by exo:date desc
Thanks in advance,
Andrew
------------------------------------------------------
BANCA MEDIOLANUM cerca Family Banker. Invia il CV a www.familybanker.it
http://click.libero.it/mediolanum2
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.