cancel
Showing results for 
Search instead for 
Did you mean: 

Content Aspect Wizard

manuelgentile
Champ in-the-making
Champ in-the-making
I wonder if it's possible to make  a wizard for the editing of Aspect with many fields. In particular make a mechanism to configure which fields of aspect the users can edit in any single page of the wizard?
Any suggest?
3 REPLIES 3

gavinc
Champ in-the-making
Champ in-the-making
You can already do this, unless i have mis-understood your question.

In your web-client-config-custom.xml file you can configure the property sheet to show whatever properties you like.

In the sample file shipped you'll see an example for the imageClassification aspect (shown below).


<config evaluator="aspect-name" condition="my:imageClassification">
      <property-sheet>
         <show-property name="my:width"/>
         <show-property name="my:height"/>
         <show-property name="my:resolution"/>
      </property-sheet>
</config>

You can remove properties if you don't want them so display.

manuelgentile
Champ in-the-making
Champ in-the-making
I apologize for my poor explanation… by the way I don't want to unshow some properties… but i want to edit some of these properties in aa page, some other in the second page ans so on….. like a wizard.
Edit all the properties not  in a single page but in a process…

gavinc
Champ in-the-making
Champ in-the-making
OK, I see now.

There isn't anything that will give you that functionality out of the box, but it would fairly easy to create a wizard to do that. It depends how dynamic you want it to be though, if you know what properties you want to edit you can create the JSP pages for it (see something like /jsp/spaces/create-space-dialog.jsp) and then tie them together using the new wizard framework: http://wiki.alfresco.com/wiki/Wizard_Framework

Hope that helps a little.