12-27-2011 04:09 AM
<config evaluator="string-compare" condition="AdvancedSearch">
<advanced-search>
<forms>
<form labelId="search.form.label.cm_content" descriptionId="search.form.desc.cm_content">cm:content</form>
<form labelId="search.form.label.cm_folder" descriptionId="search.form.desc.cm_folder">cm:folder</form>
[b]<form labelId="Search By Size" descriptionId="Search by size">cm:content</form>[/b] <!– Mine –>
</forms>
</advanced-search>
</config>
<config evaluator="model-type" condition="cm:content">
<forms>
<form id="search">
<field-visibility>
<!– <show id="kb:ilLevelOne" /> –>
<show id="mimetype" />
<show id="cm:categories" force="true"/>
<show id="size" />
</field-visibility>
<appearance>
<field id="mimetype" label="Document Type">
<control template="/org/alfresco/components/form/controls/mimetype.ftl" />
</field>
<field id="cm:categories" label="Document Category">
<control>
<control-param name="compactMode">true</control-param>
</control>
</field>
<field id="size" label="Document Size">
<control template="/org/alfresco/components/form/controls/numberrange.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
Caused by: NoViableAltException(45@[455:1: ftsTest : ( ( ftsFieldGroupProximity )=> ftsFieldGroupProximity -> ^( PROXIMITY ftsFieldGroupProximity ) | ftsTerm ( ( fuzzy )=> fuzzy )? -> ^( TERM ftsTerm (
fuzzy )? ) | ftsExactTerm ( ( fuzzy )=> fuzzy )? -> ^( EXACT_TERM ftsExactTerm ( fuzzy )? ) | ftsPhrase ( ( slop )=> slop )? -> ^( PHRASE ftsPhrase ( slop )? ) | ftsExactPhrase ( ( slop )=> slop )? ->
^( EXACT_PHRASE ftsExactPhrase ( slop )? ) | ftsTokenisedPhrase ( ( slop )=> slop )? -> ^( PHRASE ftsTokenisedPhrase ( slop )? ) | ftsSynonym ( ( fuzzy )=> fuzzy )? -> ^( SYNONYM ftsSynonym ( fuzzy )?
) | ftsRange -> ^( RANGE ftsRange ) | ftsFieldGroup -> ftsFieldGroup | LPAREN ftsDisjunction RPAREN -> ftsDisjunction | template -> template );])
12-28-2011 04:59 AM
12-29-2011 12:40 AM
<field id="size">
<control template="/org/alfresco/components/form/controls/size.ftl" />
</field>
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.