Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

vaadin:deployment_descriptor [2018/02/06 12:00]
admin created
vaadin:deployment_descriptor [2020/07/03 16:14] (current)
cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation)
Line 1: Line 1:
 ~~NOTRANS~~ ~~NOTRANS~~
-~~Title: Deployment ​descriptor ​(web.xml)~~+~~Title: Deployment ​Descriptor ​(web.xml)~~
  
-The following XML is a minimalistic Deployment ​descriptor for applications using Vaadin UI.+The following XML is a minimalist deployment ​descriptor for applications using Vaadin UI.
  
 <file xml web.xml> <file xml web.xml>
Line 71: Line 71:
 The application will be available via http://​localhost/​simpleapp/​ui/​. The application will be available via http://​localhost/​simpleapp/​ui/​.
  
-If your vaadin ​application should be available in context-root (http://​localhost/​simpleapp/​),​ simply change the servlet mapping to:+If your Vaadin ​application should be available in context-root (http://​localhost/​simpleapp/​),​ simply change the servlet mapping to:
  
 <file xml> <file xml>
Line 86: Line 86:
 </​file>​ </​file>​
  
-=== Additional ​options ​===+=== Additional ​Options ​===
  
-There are some useful options, which can be controlled via init parameters:+There are some useful options ​that can be controlled via init parameters:
  
 Push support (needs an application server with push support) Push support (needs an application server with push support)
Line 112: Line 112:
 </​file>​ </​file>​
  
-Scale UI on mobile devices. This parameter adds <meta name="​viewport"​ content="​user-scalable=no,​initial-scale=1.0"​ /> to the default index.html page, rendered from vaadin.+Scale UI on mobile devices. This parameter adds <meta name="​viewport"​ content="​user-scalable=no,​initial-scale=1.0"​ /> to the default index.html page, rendered from Vaadin.
  
 <file xml> <file xml>
Line 121: Line 121:
 </​file>​ </​file>​
  
-Use an external/​additional ​css file. This is useful to override default ​css definitions without modifying the oricinal vaadin ​UI css file.+Use an external/​additional ​CSS file. This is useful to override default ​CSS definitions without modifying the original Vaadin ​UI CSS file.
  
 <file xml> <file xml>
Line 130: Line 130:
 </​file>​ </​file>​
  
-It's also possible to use resources from jar archvies. Simply add: **jar!** as prefix.+It's also possible to use resources from jar archives. Simply add: **jar!** as prefix.
  
-If you want to use the same UI after pressing ​Reload ​in your web browser, simply set following: ​+If you want to use the same UI after pressing ​reload ​in your web browser, simply set the following: ​
     ​     ​
 <file xml> <file xml>
Line 141: Line 141:
 </​file> ​       ​ </​file> ​       ​
  
-UI redirection,​ e.g. from http://​localhost/​simpleapp/​ to http://​localhost/​simpleapp/​ui/​+UI redirection,​ e.g.from http://​localhost/​simpleapp/​ to http://​localhost/​simpleapp/​ui/​
  
 <file xml> <file xml>
Line 161: Line 161:
 == Only for Portlets == == Only for Portlets ==
  
-Use following parameter to decide whether ​vaadin ​libraries should be loaded from ROOT context (shared) or from application context.+Use the following parameter to decide whether ​Vaadin ​libraries should be loaded from ROOT context (shared) or from application context.
  
 <file xml> <file xml>
Line 170: Line 170:
 </​file>​ </​file>​
  
-It's possible to change the static file location, e.g. if you redirect http requests via mod_proxy or similar:+It's possible to change the static file location, e.g.if you redirect http requests via mod_proxy or similar:
  
 <file xml> <file xml>
Line 184: Line 184:
 We have some special features in ProjX. ​ We have some special features in ProjX. ​
  
-Use following parameter to change the menu position.+Use the following parameter to change the menu position.
  
 <file xml> <file xml>
Line 210: Line 210:
 **<fs 20px>​Hint</​fs>​** **<fs 20px>​Hint</​fs>​**
  
-It's also possible to use init parameters as URL parameter, e.g. +It's also possible to use init parameters as URL parameter, e.g.
 http://​localhost/​simpleapp/​ui/?​Application.Menu.position=right http://​localhost/​simpleapp/​ui/?​Application.Menu.position=right
         ​         ​
     ​     ​
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information