Documentation

Trace:

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
vaadin:replace_login [2019/08/05 12:28]
admin created
vaadin:replace_login [2019/08/05 12:33]
admin
Line 8: Line 8:
 {{:​vaadin:​login_custom.png?​nolink|}} {{:​vaadin:​login_custom.png?​nolink|}}
  
-If you use the standard application layout, do following:+If you use the **standard application layout**, do following:
  
 In your web.xml (WebContent/​WEB-INF directory), search: In your web.xml (WebContent/​WEB-INF directory), search:
Line 26: Line 26:
 </​file>​ </​file>​
  
-If you use the corporation application layout, do following:+If you use the **corporation application layout**, do following:
  
 In your web.xml (WebContent/​WEB-INF directory), search: In your web.xml (WebContent/​WEB-INF directory), search:
Line 41: Line 41:
 </​file>​ </​file>​
  
-Finally, let us create the source files: +Finally, let us create the source files (in //​src.server//​ folder)
-  * com.sibvisions.apps.customlogin.**MyCustomApplication** (only for standard layout mode)+  * com.sibvisions.apps.customlogin.**MyCustomApplication** (only for standard layout ​mode, but also works in corporation ​mode)
   * com.sibvisions.apps.customlogin.**MyCustomLogin**   * com.sibvisions.apps.customlogin.**MyCustomLogin**
  
Line 62: Line 62:
     }     }
   
 +    @Override
     protected ILogin createLogin() throws Throwable     protected ILogin createLogin() throws Throwable
     {     {
Line 107: Line 108:
         super.handleLoginError(pException);​         super.handleLoginError(pException);​
         ​         ​
-        //​important, ​becasue ​the error area will be added dynamically+        //​important, ​because ​the error area will be added dynamically
         updateUI();         updateUI();
     }     }
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information