Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » how to add a login form to the e4 application on rap
how to add a login form to the e4 application on rap [message #1382958] Mon, 26 May 2014 06:33 Go to next message
osfreeman zhang is currently offline osfreeman zhangFriend
Messages: 16
Registered: May 2014
Junior Member
hi dears:
I want to add a login form to my e4 application on rap. but l do not know how to make it. any one could help me, or give me a hint?
Re: how to add a login form to the e4 application on rap [message #1383800 is a reply to message #1382958] Mon, 26 May 2014 14:50 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Take a look at the demo application checked into the e4 git repo. It
makes use of an e4 lifecycle class:

http://git.eclipse.org/c/rap/incubator/org.eclipse.rap.incubator.e4.git/tree/demo/org.eclipse.rap.e4.demo/src/org/eclipse/rap/e4/demo/lifecycle/LoginLifcecycle.java

http://git.eclipse.org/c/rap/incubator/org.eclipse.rap.incubator.e4.git/tree/demo/org.eclipse.rap.e4.demo/src/org/eclipse/rap/e4/demo/BasicApplication.java


Tom
On 26.05.14 15:50, osfreeman zhang wrote:
> hi dears:
> I want to add a login form to my e4 application on rap. but l do
> not know how to make it. any one could help me, or give me a hint?
Re: how to add a login form to the e4 application on rap [message #1383896 is a reply to message #1382958] Tue, 27 May 2014 01:06 Go to previous messageGo to next message
Kent Chiu is currently offline Kent ChiuFriend
Messages: 1
Registered: January 2014
Junior Member
www.vogella.com/tutorials/Eclipse4LifeCycle/article.html

Use application life cycle hook to replace eclipse splash screen with your login form
Re: how to add a login form to the e4 application on rap [message #1383900 is a reply to message #1383800] Tue, 27 May 2014 04:23 Go to previous messageGo to next message
osfreeman zhang is currently offline osfreeman zhangFriend
Messages: 16
Registered: May 2014
Junior Member
Thank you very much Tom! it is a very useful message to me. but there is still another problem. the login method marked as @postcontextcreate will not be called. then I moved the widgets create code to the constructor,and l see the login page in my browser now. but the text widgets can not be seen in the login page.
Re: how to add a login form to the e4 application on rap [message #1383908 is a reply to message #1383900] Tue, 27 May 2014 06:57 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
I can not confirm that for me that works as designed!

Tom

On 27.05.14 06:23, osfreeman zhang wrote:
> Thank you very much Tom! it is a very useful message to me. but there is
> still another problem. the login method marked as @postcontextcreate
> will not be called. then I moved the widgets create code to the
> constructor,and l see the login page in my browser now. but the text
> widgets can not be seen in the login page.
Re: how to add a login form to the e4 application on rap [message #1384068 is a reply to message #1383908] Wed, 28 May 2014 04:12 Go to previous message
osfreeman zhang is currently offline osfreeman zhangFriend
Messages: 16
Registered: May 2014
Junior Member
okay. I used the formlayout to solved the problem. thank you very much.
Previous Topic:[ANN] RAP 2.3RC1 available for download
Next Topic:Tomcat: External Log Configuration
Goto Forum:
  


Current Time: Wed Apr 24 21:40:55 GMT 2024

Powered by FUDForum. Page generated in 0.03296 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top