Monday, June 1, 2015

Style Facebook Login Page Using Oracle ADF Face Component & implementing CSS

Hello All,
This post is about implementing CSS on ADF application used to change the look and apperence of ADF application by using skin. I have designed a Facebook Page just to show you how to implement this. 
  • Firstly,create a Fusion Web Application.
  • Now create a CSS File as,
         Right click on ViewController ----> New ----> All Items ----> CSS File.
  • Now create a XML file in WEB-INF of the name of trinidad-skin.xml
  • Make sure that the skin-family type of trinidad-config.xml & trinidad-skin.xml should be same.
  • Now create a jspx page and drop af:resource from the component palette and define type and source of the file as,

  • By this way your CSS file will be implemented on the ADF application.
  • Here, I have designed Facebook Login Page using ADF face component and implementing CSS and i also have done the functionality in this Application.
  • To access this sample application firstly create a table in HR schema by using the following SQL query as,  
                                  CREATE TABLE  "FACEBOOK_SIGNUP"

                     Code for SignUp (Insert data in DB):

              Code for Login(Using DB credentials):

  • Now Run jspx file(main.jspx).
  • Here, is the link to download the sample application Facebook_Login.

THANK YOU :)

3 comments:

  1. Cool i love the way u explain ur post!!! nothing like that! keep posting! :D

    ReplyDelete
  2. Cool i love the way u explain ur post!!! nothing like that! keep posting! :D

    ReplyDelete