Avoid a NPE when the next parameter is empty.
[pithos] / src / gr / ebs / gss / GSS.gwt.xml
1 <module>
2
3         <!-- Inherit the core Web Toolkit stuff.                  -->
4         <inherits name='com.google.gwt.user.User' />
5         <!-- Inherit the default GWT style sheet -->
6         <!--  inherits name="com.google.gwt.user.theme.standard.Standard"/-->
7         <inherits name="com.google.gwt.gears.Gears"/>
8         <inherits name='com.allen_sauer.gwt.dnd.gwt-dnd' />
9         <inherits name="com.google.gwt.http.HTTP"/>
10         <inherits name="com.google.gwt.json.JSON"/>
11         <!-- Specify the app entry point class.                   -->
12         <entry-point class='gr.ebs.gss.client.GSS' />
13         <stylesheet src='gss.css' />
14         <!-- <set-property name="user.agent" value="gecko" /> --> 
15         <!-- Rebind the file upload dialog if Gears is installed -->
16         <replace-with class="gr.ebs.gss.client.FileUploadGearsDialog">
17                 <all>
18                         <when-type-is class="gr.ebs.gss.client.FileUploadDialog"/>
19                         <when-property-is name="gears.installed" value="true"/>
20                         <none>
21                                 <when-property-is name="user.agent" value="ie6"/>
22                                 <when-property-is name="user.agent" value="ie8"/>
23                         </none>
24                 </all>
25         </replace-with>   
26         <!-- Use a special file upload dialog if Gears is installed on IE -->
27         <replace-with class="gr.ebs.gss.client.FileUploadGearsIEDialog">
28                 <all>
29                         <when-type-is class="gr.ebs.gss.client.FileUploadDialog"/>
30                         <when-property-is name="gears.installed" value="true"/>
31                         <any>
32                                 <when-property-is name="user.agent" value="ie6"/>
33                                 <when-property-is name="user.agent" value="ie8"/>
34                         </any>
35                 </all>
36         </replace-with>   
37 </module>