2/11/2013

Change the default XPages View Collapse and Expand image

This is how you can change the default collapse and expand image for XPages views with 2 easy moves.
1st: add the following lines to your theme:

<control>
        <name>Column.View</name>
        <property>
            <name>collapsedImage</name>
            <value>/expand.gif</value>
        </property>
        <property>
            <name>expandedImage</name>
            <value>/collapse.gif</value>
        </property>

</control>

2nd: add the 2 gifs to the Resources/Images in your Lotus Notes designer.

The result is: all of your XPages views' collapse and expand image changed to your own customized image.
In this solution the changes are acting for both Lotus Notes and web-client.

Have nice and modern applications with XPages!

No comments:

Post a Comment