cancel
Showing results for 
Search instead for 
Did you mean: 

Dialog and Wizard Framework for 1.3

gavinc
Champ in-the-making
Champ in-the-making
There's a new entry on my blog announcing the new dialog and wizard framework we are adding to 1.3 and the effect it will have.

Feel free to leave any feedback you have in this forum.

Cheers,
3 REPLIES 3

turgayz
Champ in-the-making
Champ in-the-making
Hi Gavin,
I understand that, if I want to build a new dialog, I will define it in the file "web-client-config-dialogs.xml", is that right?
Or, since that is a file in the Alfresco distribution, is it better that I add the new dialog in "web-client-config-custom.xml" ?

gavinc
Champ in-the-making
Champ in-the-making
Yes, it is best to put ALL your custom configuration into web-client-config-custom.xml as that file will not be touched when an upgrade is performed.

jmliege
Champ in-the-making
Champ in-the-making
Personnaly, I would recommand you to override the following bean :
WebClientConfigSource within a new  xxx-context.xml file.

For example : extension-context.xml


<bean id="webClientConfigSource" class="org.alfresco.config.source.UrlConfigSource">
      <constructor-arg>
         <list>
            <value>classpath:alfresco/web-client-config.xml</value>
            <value>classpath:alfresco/web-client-config-dialogs.xml</value>
            <value>classpath:alfresco/web-client-config-wizards.xml</value>
            <value>classpath:alfresco/web-client-config-properties.xml</value>
            <value>classpath:alfresco/web-client-config-navigation.xml</value>
            <value>classpath:alfresco/web-client-config-actions.xml</value>
            <value>classpath:alfresco/web-client-config-forum-actions.xml</value>
            <value>classpath:alfresco/extension/web-client-config-custom.xml</value>
            <value>classpath:alfresco/extension/web-client-config-dialogs-custom.xml</value>
            <value>classpath:alfresco/extension/web-client-config-properties-custom.xml</value>
            <value>classpath:alfresco/extension/web-client-config-actions-custom.xml</value>
         </list>
      </constructor-arg>
   </bean>

By doing this,you ensure that you can maintain more easily all your customizations instead of mixing everything in one single file.

We are no more old-fashion Cobol developers…  :wink:

JM