<?xml version="1.0" encoding="UTF-8"?>
<xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0">
    <widget id="wideimage_template" focusable="true" _s60-initial-focus="1">        
        
        <!-- Data plugin in this widget -->
        <contentsource id="wrt_plugin" name="WRTWidget" value="0x200286DD" />
        <configuration name="service" value="Service.ContentPublishing"/>
        <configuration name="interface" value="IContentPublishing"/>
        <configuration name="command" value="GetList"/>
        <configuration id="pub_id" name="publisher" value=""/>
    
        <actions>
            <action>
                <trigger name="activate"/>
                <event id="w_trigger" name="WRTWidget/publisher(selected)" />            
            </action>
        </actions>
        <box id="default_container" _s60-initial-focus="1">
            <image id="w_default_image">
	            <property id="default_image" class="WRTWidget/def_image"/>
            </image>
            <text id="w_default_text">
            	<property id="default_text" class="WRTWidget/def_text"/>
            </text>
 			 </box>            
       <box id="image_container" sizeaware="true" _s60-initial-focus="1">   
       	    <actions>
                <action>
                    <trigger name="sizechanged"/>
                    <event name="ui/setelementsizetocps(container)"/>
                </action>
            </actions>
            <image id="wide_image">
                <property id="w_image" class="WRTWidget/image1"/>
                <property class="policy/emptyContent" name="image_container" value="display: none;"/>
                <property class="policy/Content" name="image_container" value="display: block;"/>
                <property class="policy/Content" name="default_container" value="display: none;"/>
            </image>
       </box>
       <animation id="loading"/>
        <menuextension>
            <!-- dynmenuitems are mapped to HS view.xml menu based on target attribute.
                 HS view.xml provides localisation for predined items: "settings" and "refresh". -->                
            <dynmenuitem type="widgetsettings" target="hs_widget_menuitem_settings">
                <actions>
                    <action>
                        <trigger name="activate"/>
                        <event name="menuitem(widgetsettings)" destination="wideimage_plugin"/>  
                    </action>
                </actions>
            </dynmenuitem>                    
            <dynmenuitem type="refresh" target="hs_widget_menuitem_refresh">
                <actions>
                    <action>
                        <trigger name="activate"/>
                        <event name="menuitem(refresh)" destination="wideimage_plugin"/>  
                    </action>
                </actions>
            </dynmenuitem>        
        </menuextension>
    </widget>
</xmluiml>
