cancel
Showing results for 
Search instead for 
Did you mean: 

What are those '$$'?

removedquasar
Champ in-the-making
Champ in-the-making
I met this "funny" problem: all my custom aspect words have near those two $$ . 

[img]http://desmond.imageshack.us/Himg232/scaled.php?server=232&filename=aspectd.png&res=landing[/img]

what is the caus of it? (and the solution  :mrgreen: ).
2 REPLIES 2

lementree
Champ on-the-rise
Champ on-the-rise
Hi

This is the basic issue of Content Modeling.

You need to have custom properties file to show your properties Lables.
Line in web-client-cinfig-custom.xml file

<config evaluator="node-type" condition="content">
      <property-sheet>
         <show-property name="name" />
         <show-property name="mimetype" display-label-id="content_type"/>       
      </property-sheet>
</config>

To show property without $$ either remove display-label-id or add create a custom.properties file add this like below

content_type=Mime Type Of Content

You also need to include this file in custom-context.file to load this
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING/DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>

   <bean id="phenopath.resourceBundlesWebApp" class="org.alfresco.web.app.ResourceBundleBootstrap">
      <property name="resourceBundles">
         <list>
            <value>alfresco.extension.custom</value>
         </list>
      </property>
   </bean>
</beans>

removedquasar
Champ in-the-making
Champ in-the-making
Solved  :mrgreen:
There was several mistakes on my properties file  Smiley Surprisedops: