cancel
Showing results for 
Search instead for 
Did you mean: 

cockpit customization - uploadmediawizard

sreearumilli
Participant
0 Kudos

Hi, we are trying to customize the upload media wizard first page, we found the bean(bean id - uploadMediaFirstPage) configuration for this wizard. But it doesn't have any alias to override.

can any one suggest me on this how can i override this one and how can i modify uploadMediaFirstPage.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can simply replace the "class" attribute of the uploadMediaFirstPage with your custom class.

legozajozsef
Explorer
0 Kudos

We use the following configuration in our custom cockpit-project defined in /mycockpits/resources/mycockpits/cmscockpit/spring/cmscockpit-wizards.xml

      <bean id="uploadMediaFirstPage" class="package.myUploadMediaFirstPage"
            scope="prototype">
          <property name="id" value="uploadMediaFirstPage"></property>
          <property name="parameters">
             <map></map>
         </property>
         <property name="controller" ref="uploadMediaDefaultPageController"></property>
          <property name="rootSearchStringType" value="Media"></property>
          <property name="width" value="600px"/>
         <property name="height" value="490px"/>
         <property name="title" value="uploadmediafirstpage.title"></property>
      </bean>