Hello all
I've come a long ways on my project.
I've extended a DocumentType with my new schema, and can assign values
to it via the 'Modify' tab.
Now, I want to perform a search via the 'Advanced Search' window.
Unfortunately, I'm having trouble mixing my new search-criteria with the
Dublin-core criteria. I must be doing something wrong.
I created a 'search/search_simpleform.xhtml', which is the Dublin-core
w/one more Hydra area, using 'doc.taggingSchema.tags':
<t:panelGroup colspan="3">
<t:inputText value="#{doc.taggingSchema.tags}"
styleClass="dataInputText" />
</t:panelGroup>
I'm currently stuck at extension
'org.nuxeo.ecm.core.search.api.client.querymodel.QueryModelService',
point 'model'.
I'm trying to override the queryModel with name='ADVANCED_SEARCH',
doctype='AdvancedSearch'. My new queryModel is the same as the
original, plus a new predicate for my new schema. Error log says:
"Property not found: taggingSchema:tags. Document don't' implement
schema: taggingSchema".
Am I going to have to extend the AdvancedSearch doctype with my new
schema and give that to the queryModel?
Is there an easier way? Maybe an extension-point that I don't know
about?
I'm currently running 5.1.5. Is there something in 5.2 that might make
my life easier?
Thanks for the help in advance
--bruce
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm