Statistics
| Branch: | Tag: | Revision:

root / web_client / src / gr / grnet / pithos / web / GSS.gwt.xml @ fbff60ff

History | View | Annotate | Download (1.3 kB)

1
<module>
2
        <inherits name="com.google.gwt.user.User"/>
3
    <inherits name="com.google.gwt.user.theme.standard.Standard"/>
4
        <inherits name="com.google.gwt.gears.Gears"/>
5
        <inherits name="com.google.gwt.http.HTTP"/>
6
        <inherits name="com.google.gwt.json.JSON"/>
7
        <inherits name="gwtquery.plugins.droppable.Droppable"/>
8

    
9
    <entry-point class='gr.grnet.pithos.web.client.GSS' />
10
        <stylesheet src='gss.css' />
11

    
12
        <!-- Rebind the file upload dialog if Gears is installed -->
13
        <replace-with class="gr.grnet.pithos.web.client.FileUploadGearsDialog">
14
                <all>
15
                        <when-type-is class="gr.grnet.pithos.web.client.FileUploadDialog"/>
16
                        <when-property-is name="gears.installed" value="true"/>
17
                        <none>
18
                                <when-property-is name="user.agent" value="ie6"/>
19
                                <when-property-is name="user.agent" value="ie8"/>
20
                        </none>
21
                </all>
22
        </replace-with>          
23
        <!-- Use a special file upload dialog if Gears is installed on IE -->
24
        <replace-with class="gr.grnet.pithos.web.client.FileUploadGearsIEDialog">
25
                <all>
26
                        <when-type-is class="gr.grnet.pithos.web.client.FileUploadDialog"/>
27
                        <when-property-is name="gears.installed" value="true"/>
28
                        <any>
29
                                <when-property-is name="user.agent" value="ie6"/>
30
                                <when-property-is name="user.agent" value="ie8"/>
31
                        </any>
32
                </all>
33
        </replace-with>
34
    
35
        <source path="client"/>
36
</module>