Tutorial for creating a login screen

Is there a good tutorial out there on the best way to create a login screen in Flex that connects to a back-end database to check the username and password?

That's the one ColdFusion, check this great old tutorial but still works pretty good
http://www.brucephillips.name/blog/index.cfm/2006/11/27/Login-and-Logout-Flex-Example-That -Uses-ColdFusion-CFLogin-and-CFC-Role-Security
I guess you are some sort of gure making queries from CF to your DB, so this will be a piece of cake for you.
Hope this helps.

Similar Messages

  • Someone has a tutorial for creating screen exit?

    I have a development and I do not know how to create screen exit.
    Case Someone has a tutorial for creating screen exit please help me
    Thank you
    <b><i>Wagner Duarte
    Consultant - SAP ABAP</i></b>

    hI
    Screen Exit is nothing but enhancing the screen like creating some more fields, subscreen and so on.
    1. Go to the screen>System>Status-->Program (Double
    click this program. It will take you to the program.
    2. Now, Goto-->Object Directory Entry.
    3. Make a note the package name.
    4. Now run the transactions SMOD, press F4 and enter the
    above noted package, press enter.
    5. It will display list of Exits.
    6. Now go back to the initial screen SMOD.
    7. Specify the exit name here and select the radio button
    Components.
    8. It will display four group boxes one for FM, second
    for Fcodes, thrid for Screen areas and last for
    includes.
    9. Goto transaction CMOD, create a new project, and
    click the button "Enhancement assignments" and
    specify your enhancements that you got in SMOD.
    10. Now bouble clikc the enhancement, it will take you to editor with some includes starting with Z, double clikc the include you want to edit and proceed.
    Have a look at below link It will definately help you to undestand the same.
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    check these links.
    http://help.sap.com/saphelp_46c/helpdata/en/c8/1975e643b111d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/screen_exit.html
    USER EXITS
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=312792
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=1320078
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=2669896
    How to implement screen exit for a SAP standard transaction
    Introduction
    SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.
    To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.
    To pave way for this, SAP has provided the option for screen exits. Usually, SAP provides the following:
    An append structure in the database table with the new fields.
    A subscreen area into the standard screen – where the programmer can attach his subscreen of his own program with the new fields.
    A function group under which the new subscreen has to be created with the new fields.
    Function exits to synchronize the PBO and PAI of the standard SAP program with the PBO and PAI of the subscreen – so that data can flow back and forth between the standard SAP program and the program written by the developer for the subscreen. These function modules also exist in the same function group under which the subscreen will have to be developed.
    Finally, a linkage has to be done between the subscreen area of standard SAP screen with the custom subscreen constructed by the developer.
    Typically, SAP provides an enhancement in which the developer can create an append structure, use the function exits to synchronize the PBO and PAI of the standard SAP program and the custom subscreen program, and make the necessary linking( as mentioned above in step 4. But, again, this is not a hard and fast rule. Linking in some case, is also done by configurations.) SAP also usually provides the name of the function group under which the subscreen has to be developed.
    Necessary guidance about implementing a screen exit development is usually available in the Documentation section of the enhancement ( can be availed by transaction SMOD).
    Pre-Requisites
    The developer to work on screen exit should have essential knowledge on the following:
    DDIC concepts, including the knowledge of append structure.
    Concept of SAP Enhancements and implementing them using Projects.
    Concept of function exits.
    Knowledge on Module Pool – including subscreens, Tabstrip controls etc.
    Steps
    Guidelines
    So, a developer can follow the guidelines mentioned below to implement a screen exit to a standard SAP transaction, as and when required:
    Find out the Required Enhancements
    Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton ‘SAP Applications’. A list will appear that contains information on all the enhancements, categorized under functional areas. Developer must search for the enhancements relevant to his functional area of interest – for e.g., Purchasing, Asset Accounting, etc.
    Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    Utilize the Enhancement in a Project
    After you have found one, do as directed in the documentation. Generally, the steps are as follows:
    Create a project using CMOD including your enhancement.
    Create the append structure with new fields.
    Go to the desired function group and create a subscreen with the new fields. Write PBO and PAI for the subscreen, if required.
    Use the function exits in the enhancement to link the PBO and PAI of the subscreen with that of the main SAP program supporting the SAP transaction.
    Maintain necessary linkage between the subscreen area of standard SAP program with the custom subscreen developed along with the custom program name. This can be done in the project (developed by CMOD including the enhancement) or outside as a part of configuration.
    Activate the project.
    Test to ensure that required functionality are met.
    Case Study 1
    Add three new custom fields for Asset master and maintain information for them
    Requirement
    Three fields in the legacy system have to be maintained in Asset master. These fields are:
    Original Asset number – 20 characters
    Location 2 – 15 Characters.
    Model no – 20 characters
    Location 2 should start with ‘L’.
    Pre-Analysis
    Finding out the Enhancement
    As described above, the enhancement is determined. It was found, that enhancement AIST0002 will serve the purpose. It contains the following components (can be viewed by transaction SMOD):
    Exit Type Description EXIT_SAPL1022_001 Function Exit Check of User-Defined Fields when Using Create and Change BAPI EXIT_SAPLAIST_002 Function Exit Transfer Data for User Subscreens in PBO. EXIT_SAPLAIST_003 Function Exit Transfer of User-Defined Fields to SAP Master Data Transactions CI_ANLU Customizing Include Include structure to add new fields
    Studying the Function Exits
    The function module level documentation for the function exits are then viewed from transaction SE37. The documentation clearly laid out for the purpose for their use:
    EXIT_SAPLAIST_002
    Function module Level Documentation
    This function module is called by asset master data maintenance at the start of the dialog. (When changing, it is called after reading of the data from the database; when creating it is called after the transfer of the default values from the asset class and reference asset.) The purpose of the function module is to enable this function group to recognize the master data. For interpreting or controlling master data fields that are important for user fields, it is possible to transfer to global variables at this point, so that they can be recognized when the user subscreens are processed.
    Import Parameters
    Understanding
    This function module is called at the PBO to pass the information retrieved from the database to pass them to the custom subscreen and its underlying program. Import parameter : I_ANLU will be populated with the values for user-defined fields which will be passed to the subscreen program. So, there must be some sort of variable assignment from I_ANLU.
    EXIT_SAPLAIST_003
    Function module Documentation: This function module is called by SAP asset master data maintenance after the screens are processed, but before saving. The purpose of the function module is to transfer fields entered on user sub-screens of SAP asset data maintenance to the database for updating. The export parameter for this function module is:
    Understanding
    This function module will be used to transfer the user entered data in the subscreen fields to the main SAP program, which will then be saved into the database.
    Studying the Documentation of the Enhancement
    The enhancement documentation (as is viewed from the initial screen of SMOD] also supports the idea. Moreover, it informs that we need to develop a subscreen under function group XAIS. This is the function group under which the two function exit modules also exist. So, if the custom subscreen refers to the global data of the function group XAIS, then those values will also be available to these function exits as well.
    Going to SE80 and viewing the function group XAIS helps us to inform that there are three DDIC tables declared for it:
    Deciding the Final course of Action
    After making all the investigations, the final course of action was determined.
    SrlNo Step Justification
    A project has to be created using transaction CMOD where the enhancement AIST0002 will be included.
    Customizing include CI_ANLU has to be created with the custom fields demanded When CI_ANLU will be developed, the custom fields will get appended to the database table ANLU. Also, these fields will be used to create screen fields in the new subscreen.
    A custom subscreen, say, 9000 will be developed under function group XAIS. The screen group for the screen will be ‘CUST’ (or any name). The three custom fields added to table ANLU (by creating CI_ANLU) will be used to create new fields in the screen.
    In the PAI of the subscreen, validation for Location to start with ‘L’ will be added. The subscreen with three new fields has to be developed so that it can be attached to a subscreen area of the asset master screens.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_002’, the following code will be written:-
    ANLU = I_ANLU. I_ANLU is the import parameter of this FM. The value is assigned to the global variable ANLU, referring which the three new subscreen fields are developed. So, data retrieved from database table ANLU will be passed to this FM as I_ANLU by the standard SAP main program. The value will be taken and passed to the global variable of the function group XAIS, so that the three custom fields (referring to ANLU of XAIS) get populated.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_003’, the following code will be written:-
    E_ANLU = ANLU. The changed values in the subscreen fields exist in global variable ANLU for the function group XAIS. This function exit module will pass the data back to the SAP main program as E_ANLU.
    Proper linkage/configuration has to be done so that the new subscreens get linked to the appropriate subscreen area of the Asset master screen. This has to be done – otherwise, the new custom subscreen will not be displayed in the Asset master screens.
    Development
    Creating a Project to include the enhancement
    Go to transaction CMOD and create a project.
    Enter a description for the project. Then, click on the pushbutton ‘Enhancement Assignments’ in the Application Toolbar.
    Enter the name of the enhancement and Save.
    Go to ‘Components’.
    Creating Custom Include for ANLU
    The screen shown below will appear, showing all the enhancement components under the assignment AIST0002. Double-click on the name of the Include Structure to create it.
    Create the include structure with three new fields, as required. Then, save and activate it.
    Develop the subscreen and the program
    Go to transaction SE80. For the function group XAIS, create a new subscreen 9000.
    Create it as subscreen.
    Then, go to the Layout of the screen and create three new fields from Database table ANLU.
    Drag the fields in the screen body and place them.
    Then, save and activate the screen and come back to screen flow editor.
    Create the PAI module to add validation for field “Location 2”, as required .
    Activate the whole function group and come out.
    Write code in the Function Exits to synchronize the programs
    Now, code has to be written in the function modules EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003 so that data flows to and fro between the main SAP program and custom subscreen program. For that, go back to transaction CMOD and change the function exits.
    Write code in the function module EXIT_SAPLAIST_002 called once at the beginning of the transaction:
    Write code in EXIT_SAPLAIST_003 to pass the data from the subscreen to SAP main program.
    Then, activate everything – the whole project and come out.
    Complete the configuration to link the subscreen
    The development portion is complete. Now, linking of the subscreen has to be done with the subscreen area of the main program. In most of the cases, this linking can be done in the enhancement itself. But, here, requirement is a bit different. It is done by configuration using SPRO.
    Assets are created under Asset class. And for each asset class, there is a layout assigned to it. For a layout, there are multiple tab pages assigned to it. And, for each tab page, there are multiple screen groups/field groups assigned.
    Here, the requirement is to create these three custom fields in the tab page ‘General’ of asset master screen ( AS01/AS02/AS03/AS91).
    Determine the Layout
    To achieve this, first of all, we need to find out which layout is assigned to asset class 1000.For that, go to transaction AOLK( information has to be obtained from functional consultant).Select the Asset Class ‘1000’ and click on folder ‘General Assignment of Layout’.
    Here, for Asset class 1000, for all the user groups, tab layout SAP is assigned. Since layout ‘SAP’ cannot be changed, it has to be copied and manipulated to include our screen group. Later, the new layout has to be assigned over here.
    Create new tab layout
    Go to transaction AOLA. Copy the tab layout ‘SAP’ to create another layout, say, YSUB.
    System will copy all the settings and will inform you about that.
    Select your newly created layout and double-click on the folder ‘Tab page titles’.
    You want to put your custom fields in the tab page “General”. So, select this tab page entry and double-click on the folder "Position of Groups".
    Here, all the field groups currently residing in the tab-page “General” are shown. Add an entry for your newly created fields.
    Select the group box from the list. An entry will come with “U” padded with the custom subscreen prepared by you.
    Then, save and come out.
    Assign the new Layout to Asset Class
    Now, go to tcode AOLK and assign tab layout YSUB for asset class 1000.
    Save and come out.
    Test the Exit
    Everything is over. Now, go to transaction code AS01/02/03 or AS91 to deal with an asset of asset class 1000. You will see your new fields added to the screen. Add values to them…save. Then, enter into the tcodes again to see whether the values entered by you are being displayed or not.
    Original Source: ittoolbox.com
    Screen Exit is nothing but enhancing the screen like creating some more fields, subscreen and so on.
    1. Go to the screen>System>Status-->Program (Double
    click this program. It will take you to the program.
    2. Now, Goto-->Object Directory Entry.
    3. Make a note the package name.
    4. Now run the transactions SMOD, press F4 and enter the
    above noted package, press enter.
    5. It will display list of Exits.
    6. Now go back to the initial screen SMOD.
    7. Specify the exit name here and select the radio button
    Components.
    8. It will display four group boxes one for FM, second
    for Fcodes, thrid for Screen areas and last for
    includes.
    9. Goto transaction CMOD, create a new project, and
    click the button "Enhancement assignments" and
    specify your enhancements that you got in SMOD.
    10. Now bouble clikc the enhancement, it will take you to editor with some includes starting with Z, double clikc the include you want to edit and proceed.
    and you just go through these links also
    Screen exit
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    screen-exits
    Check the following link.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=how%20to%20find%20screen%20exits&cat=sdn_all

  • Creating a login screen.

    I saw another post by some-one trying to create a login screen. I used the example that someone responded with and managed to get it working.
    However I then tried to edit it to connect to a database and then got a Tomcat error saying "The value for the useBean class attribute Website.Login is invalid."
    Can anyone see anything wrong with this code?
       <html>
                 <body>
                           <form    method=post    action=do-log.jsp>
                             <input   type=text      name='text1'>
                                     <input   type=text      name='text2'>
                              <input   type=submit>
                            </form>
                     </body>
                     </html>
                     <html>
    <%@ page import="java.util.Date"%>
    <%@ page import="java.net.*"%>
    <jsp:useBean id="myForm" class="Website.Login" scope="session" />
    <jsp:setProperty name="myForm" property="*"/>
    <%
    myForm.MakeConnection();
    myForm.login();
    String name = myForm.getUser();
    System.out.println("\nusername from String: "+name);
    System.out.println("\nusername from database: "+myForm.getUser());
    System.out.println("\nresult of boolean: "+myForm.getbool());
    if(myForm.getbool() == true && myForm.getpreferences().equals("Golf"))
    %>
    <jsp:forward page = "Golf.jsp"/>
    <%
    else if(myForm.getbool() == true && myForm.getpreferences().equals("Rugby"))
    %>
    <jsp:forward page= "Rugby.jsp"/>
    <%
    else if(myForm.getbool() == true && myForm.getpreferences().equals("Soccer"))
    %>
    <jsp:forward page= "Soccer.jsp"/>
    <%
    else
    System.out.println("failure");
    %>
    <jsp:forward page = "Login.html"/>
    <%
    %>
    package Website;
    import java.io.*;
    import java.sql.*;
    import java.text.*;
    public class Login
         Connection db;     
           Statement  st;     
           private ResultSet rsetlogin;
        String user;
        String pass;
        public void setUser(String user) {
            this.user = user;
        public String getUser() {
            return this.user;
        public void setPass(String pass) {
            this.pass = pass;
        public String getPass() {
            return this.pass;
        public Login(String args[]) throws ClassNotFoundException, FileNotFoundException, IOException, SQLException
           MakeConnection();
            System.out.println("Now closing the connection");
        st.close();
        db.close();
        public void MakeConnection()throws ClassNotFoundException, FileNotFoundException, IOException, SQLException
            String url = "jdbc:postgresql:database";
        String usr = "postgres";
        String pwd = "dune";
        // Load the driver
        Class.forName("org.postgresql.Driver");
        // Connect to database
        System.out.println("Connecting to Database URL = " + url);
        db = DriverManager.getConnection(url, usr, pwd);
        System.out.println("Connected...Now creating a statement");
        st = db.createStatement();
         public void userLogin(String user, String pass) {
        this.user = user;
        this.pass = pass;
         boolean validpass = false;
    //method to log in.
        public boolean getbool(){return validpass;}
         public void login()
              String usernameIn;
              String passwordIn;
              try
                   Statement stmt = db.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
                   rsetlogin = stmt.executeQuery("SELECT Username,Cust_Password, Prefered_Sport  FROM Customer WHERE Username ='"+getUser()+"'");
                   while(rsetlogin.next())
                        usernameIn = rsetlogin.getString(1);
                        passwordIn = rsetlogin.getString(2);
                        if(usernameIn.equals(getUser()) && passwordIn.equals(getPass()))
                             validpass = true;
                             System.out.println("log in success");
                             setUser(rsetlogin.getString(1));
                             setPass(rsetlogin.getString(2))     ;
                        else if(!usernameIn.equals(getUser()) || !passwordIn.equals(getPass()))
                             System.out.println("log in failure");
                             validpass = false;
              catch (SQLException e)
                   System.out.print("Error at login");
                   e.printStackTrace();
         public static void main(String args[])
        System.out.println("PostgreSQL basic test v6.3 rev 1\n");
    }

    Ok thanks for all your help. It's abit too selfish to ask you are help again (I'm using a different screen-name as I had difficulty logging back in).
    But if anyone else has any suggestion please feel free to share. Basically the login is failing and is promting the user to the index.htm file even though I entered the right password.
       <html>
                 <body>
                           <form    method=post    action=do-log.jsp>
                             <input   type=text      name='Username'>
                                     <input   type=text      name='Cust_Password'>
                                     <input   type=text      name='PreferedSport'>
                              <input   type=submit>
                            </form>
                     </body>
                     </html>
                     <html>
    <%@ page import="java.util.Date"%>
    <%@ page import="java.net.*"%>
    <jsp:useBean id="myForm" class="Website.Login" scope="session" />
    <jsp:setProperty name="myForm" property="*"/>
    <%
    myForm.MakeConnection();
    myForm.getUsername();
    myForm.getCust_Password();
    myForm.getPrefered_Sport();
    if(myForm.getbool() == true && myForm.getPrefered_Sport().equals("swimming"))
    %>
    <jsp:forward page = "swimming.jsp"/>
    <%
    else if(myForm.getbool() == true && myForm.getPrefered_Sport().equals("Tennis"))
    %>
    <jsp:forward page= "Tennis.jsp"/>
    <%
    else if(myForm.getbool() == true && myForm.getPrefered_Sport().equals("Soccer"))
    %>
    <jsp:forward page= "Soccer.jsp"/>
    <%
    else
    System.out.println("failure");
    %>
    <jsp:forward page = "index.htm"/>
    <%
    myForm.close();
    %>
    package Website;
    import java.io.*;
    import java.sql.*;
    import java.text.*;
    public class Login
         Connection db;     
           Statement  st;     
           private ResultSet rsetlogin;
        String Username;
        String Cust_Password;
        String Prefered_Sport;
        public void setUser(String Username) {
            this.Username = Username;
        public String getUsername() {
            return this.Username;
        public void setCust_Password(String Cust_Password) {
            this.Cust_Password = Cust_Password;
        public String getCust_Password() {
            return this.Cust_Password;
        public void setPrefered_Sport(String Prefered_Sport)
             this.Prefered_Sport=Prefered_Sport;
        public String getPrefered_Sport()
             return this.Prefered_Sport;
        public Login() throws ClassNotFoundException, FileNotFoundException, IOException, SQLException
        public void MakeConnection()throws ClassNotFoundException, FileNotFoundException, IOException, SQLException
            String url = "jdbc:postgresql:database";
        String usr = "postgres";
        String pwd = "dune";
        // Load the driver
        Class.forName("org.postgresql.Driver");
        // Connect to database
        System.out.println("Connecting to Database URL = " + url);
        db = DriverManager.getConnection(url, usr, pwd);
        System.out.println("Connected...Now creating a statement");
        st = db.createStatement();
         boolean validpass = false;
    //method to log in.
        public boolean getbool(){return validpass;}
         public void login()
              String usernameIn;
              String passwordIn;
              try
                   Statement stmt = db.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
                   rsetlogin = stmt.executeQuery("SELECT Username,Cust_Password,  FROM Customer WHERE Username ='"+getUsername()+"'");
                   while(rsetlogin.next())
                        usernameIn = rsetlogin.getString(1);
                        passwordIn = rsetlogin.getString(2);
                        if(usernameIn.equals(getUsername()) && passwordIn.equals(getCust_Password()))
                             validpass = true;
                             System.out.println("log in success");
                             setUser(rsetlogin.getString(1));
                             setCust_Password(rsetlogin.getString(2))     ;
                        else if(!usernameIn.equals(getUsername()) || !passwordIn.equals(getCust_Password()))
                             System.out.println("log in failure");
                             validpass = false;
              catch (SQLException e)
                   System.out.print("Error at login");
                   e.printStackTrace();
         public void close()
             try
                  db.close();
             catch (Exception e)
                   System.out.print("error at database close");          
                   e.printStackTrace();
         public static void main(String args[])
        System.out.println("PostgreSQL basic test v6.3 rev 1\n");
    }

  • Create a Login Screen in NWDS

    Hai All,
    I am trying to create a one login screen. So, any body plz guide me which type of BAPIS are required . The following are the fields for log in screen.
    User Name;
    Password:
    Submitt
    Once user submitt the  fields he received conformation message through mail.
    Note: Points will be revert back.
    Thanks,
    Sumanth

    Hi Sumanth,
                     to create a login screen , you need not a BAPI, instead you can
    create two views in a single application  in which the first view contains ui elements  like username , password and a button like submit. The thing is that
    when you creating the button itself , you specify the target view i.e second view.
    In the second view you can write the response like "this is second view" as
    default text view.
    Navigation: 1)openperspective as webdynpro-FILE-NEW -OPEN WEBDYNPRO PROJECT-specify proj name and package.
    2)expand project-expand webdynpro components-create component(once the
    component is created one window and one default view will be created).
    3)double click on default view  - go to context - right click on context -new value
    attribute-specify attibute name as username and one more value attribute as
    password.
    4)go to view controller part of digram part - right click on view controller -select
    apply template - select action button - specify name as Submit(here you need to select 2nd view ).
    5)in the view controller part only you may get symbols for creating inbound plug and out bound plug , embed a view. select embed view as second view .
    Then create outbound plug in view 1 and inboundplug view 2 and create a navigation link b/w them.
    save all  metadata.
    6)go to applications under project-right click on it - create application as app1
    and package as xxx.
    7)expand applications -right click on our application i.e app1- select deploy and run
    archive file.
              wait for the response (if everything is goes fine it will displays login page
    with emty fields)
              If you have any dought send me reply.
    bye take care.
    Regards,
    Sanjeev.kunta

  • How to create  a  login screen

    i need to create a login screen ,only if user enter valid
    username & password it should move to next canvas.
    could any one help me out

    there are many ways.
    if you want the users to be backend users i.e. schema users u candesign a fform with on logon triggers.
    instaed you can have front end users by storing user aname and password in a table , and check for valid user name and passowrd using a form.

  • Eed link to the tutorial for creating a Interactive Adobe forms using WDA

    Hi Friends,
      I need link to the tutorial for creating a Interactive Adobe forms using WD ABAP

    Hi,
    Before posting search once in sdn for Blogs or articles.You will get information.Any how please look at this video demonstartion.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20029530-54ef-2910-1b93-c41608ae0c90
    and check these blogs
    https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3

  • Tutorial for creating a J2EE project with "Flex Builder 3 Beta 3 " ?

    Hi,
    I'm trying to set up a Flex environment with:
    Flex Builder 3 Beta 3 stand alone
    WTP (from eclipse update manager)
    LCDS 2.5 (with JRun)
    JBoss 4.2.2GA
    At this moment I successful installed everything (but not set up). I added WTP at Flex Builder3 (with the eclipse update manager). I copied the two flex-tomcat files in jboss.
    Then in Flex Builder 3 I created a new Flex Project. In the wizard first window, I selected J2EE, Livecycle and WTP. Then in the next window I need to configurate the J2EE server.
    I couldn't find any information/tutorial for this window? Is there a tutorial for this?
    This window ask me:
    Target Runtime: I created a new one for JBoss 4.2.2 (during this process flex builder asked me to add a project but actually I'm creating this project so I hadn't any project to add (??)).
    ContextRoot: name of the project I'm creating (default). Is it good?
    Content Folder: the default is "WebContent". Is it good?
    Flex War File: What is that? Where do I find it?
    Thanks a lot,
    Jerome

    The settings you mention all sound fine, but the I believe the Flex War file may be what you referred to as the flex-tomcat files (specifically the one should be called flex.war from the install folder).
    You don't need to deploy the flex.war file to JBoss manually, when you create a project, you just select the file in the wizard and it is extracted and used as a template for the new project. In fact, it may cause a port conflict with your project if you do deploy manually it (unless you tweak some of the config files), so it's probably worth removing it from the deploy folder if you did put it there. The other file, flex-admin.war, can stay without causing issue.
    The closest to a tutorial that I am aware of is if you search "New Flex Project" in the help system, it talks about what each of the options should be when creating LCDS projects.

  • Is there a tutorial for creating Arch Linux logo?

    as the title says, I am looking for a tutorial on how to create Arch Linux logo using either Gimp/Photoshop/Inkscape
    Any links / videos to one would be nice
    Thanks in advance

    You have the artwork, you just are interested in how it was created?
    There is a thread here somewhere about the new logo - Thayer describes the font selection (from memory), but I don't recall any detail about the icons themselves.
    You could always just work from the originals with trial and error...
    http://www.archlinux.org/art/

  • Any tutorial for creating a business object type in the BOR ?

    Hello,
    I want to create an object in the BOR, can you please pin point good tutorial to follow explaining how to create a business object type.
    Points are awarded
    Regards

    Hi
    <u>Refer to the following links</u>
    <b>http://help.sap.com/saphelp_47x200/helpdata/en/a5/3ec8074ac011d1894e0000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/7c/3ce3b465ba11d395fe00a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/3ec8724ac011d1894e0000e829fbbd/frameset.htm</b>
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Solution for empty/blank login screen

    i will try it, thanks dude
    Regards,
    Golcash

    If the issue persists for you even after following all the steps please click on
    to create your own topic. Please supply as much information (Windows version, Internet Explorer, content of any error messages you saw...) as possible so we can help you faster.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Best tutorial for AE and Green Screen?

    I am trying to find the best Green Screen for AE tutorials out there. Can anyone recommend one?
    Thank you!

    This one is pretty good:
    http://toolfarm.stores.yahoo.net/prkewikebexs.html
    She teaches you how to combine multiple keys in Keylight.
    Here are some excellent free ones:
    http://library.creativecow.net/articles/rabinowitz_aharon/junk_mattes.php
    http://library.creativecow.net/articles/kramer_andrew/colorkey.php

  • Tutorial for creating custom bitmap widgets?

    Hi all,
    I'm writing an audio application and wish to create a few custom widgets (Knobs, dials, sliders, etc). I want to create images of the components and create custom widgets from them. I cannot find a simple introduction to this and was hoping smeone might have a references or example code somewhere?
    Cheers.

    Well here is one link that may interest you...
    Fundamentals of JFC/Swing: Part I
    http://java.sun.com/developer/onlineTraining/GUI/Swing1/
    there is also a part 2 and other tutorials which can be located by this link...
    http://java.sun.com/developer/onlineTraining/index.html
    Have fun...
    - MaxxDmg...
    - ' He who never sleeps... '

  • Creating login screens in java

    hello.
    this is james mcfadden. i am trying to create a login screen in java. the problem i have is this: i am completely new to GUI programming. i know that i have to use strings. the code shown below is incomplete and when i try to compile it i get the following errors. how do i go about fixing these errors?
    ----jGRASP exec: javac -g X:\CP4B Project\LogOn.java
    LogOn.java:11: ']' expected
    username[0]="Administrator";
    ^
    LogOn.java:11: <identifier> expected
    username[0]="Administrator";
    ^
    LogOn.java:12: ']' expected
    username[1]="Ann Smyth";
    ^
    LogOn.java:12: <identifier> expected
    username[1]="Ann Smyth";
    ^
    LogOn.java:13: ']' expected
    username[2]="John Murphy";
    ^
    LogOn.java:13: <identifier> expected
    username[2]="John Murphy";
    ^
    LogOn.java:14: ']' expected
    username[3]="James McFadden";
    ^
    LogOn.java:14: <identifier> expected
    username[3]="James McFadden";
    ^
    LogOn.java:15: ']' expected
    username[4]="Frankie Ferry";
    ^
    LogOn.java:15: <identifier> expected
    username[4]="Frankie Ferry";
    ^
    LogOn.java:16: ']' expected
    username[5]="Daniel McKimm";
    ^
    LogOn.java:16: <identifier> expected
    username[5]="Daniel McKimm";
    ^
    LogOn.java:17: ']' expected
    username[6]="Stephen Doohan";
    ^
    LogOn.java:17: <identifier> expected
    username[6]="Stephen Doohan";
    ^
    LogOn.java:18: ']' expected
    username[7]="James Ferry";
    ^
    LogOn.java:18: <identifier> expected
    username[7]="James Ferry";
    ^
    LogOn.java:19: ']' expected
    username[8]="Liam Cannon";
    ^
    LogOn.java:19: <identifier> expected
    username[8]="Liam Cannon";
    ^
    LogOn.java:20: ']' expected
    username[9]="Ciaran Ferry";
    ^
    LogOn.java:20: <identifier> expected
    username[9]="Ciaran Ferry";
    ^
    LogOn.java:21: ']' expected
    username[10]="Ciaran McGee";
    ^
    LogOn.java:21: <identifier> expected
    username[10]="Ciaran McGee";
    ^
    LogOn.java:23: ']' expected
    password[0]="0";
    ^
    LogOn.java:23: <identifier> expected
    password[0]="0";
    ^
    LogOn.java:24: ']' expected
    password[1]="1";
    ^
    LogOn.java:24: <identifier> expected
    password[1]="1";
    ^
    LogOn.java:25: ']' expected
    password[2]="2";
    ^
    LogOn.java:25: <identifier> expected
    password[2]="2";
    ^
    LogOn.java:26: ']' expected
    password[3]="3";
    ^
    LogOn.java:26: <identifier> expected
    password[3]="3";
    ^
    LogOn.java:27: ']' expected
    password[4]="4";
    ^
    LogOn.java:27: <identifier> expected
    password[4]="4";
    ^
    LogOn.java:28: ']' expected
    password[5]="5";
    ^
    LogOn.java:28: <identifier> expected
    password[5]="5";
    ^
    LogOn.java:29: ']' expected
    password[6]="6";
    ^
    LogOn.java:29: <identifier> expected
    password[6]="6";
    ^
    LogOn.java:30: ']' expected
    password[7]="7";
    ^
    LogOn.java:30: <identifier> expected
    password[7]="7";
    ^
    LogOn.java:31: ']' expected
    password[8]="8";
    ^
    LogOn.java:31: <identifier> expected
    password[8]="8";
    ^
    LogOn.java:32: ']' expected
    password[9]="9";
    ^
    LogOn.java:32: <identifier> expected
    password[9]="9";
    ^
    LogOn.java:33: ']' expected
    password[10]="10";
    ^
    LogOn.java:33: <identifier> expected
    password[10]="10";
    ^
    LogOn.java:57: <identifier> expected
         button1.addActionListener(new ActionListener(){
    ^
    LogOn.java:72: ';' expected
    ^
    46 errors
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class LogOn extends JPanel{
         private static JTextField username=null;
         private static JPasswordField password=null;
         private static JButton button1=null;
       private static JButton button2=null;
         String[] username=new String[11];
       username[0]="Administrator";
       username[1]="Ann Smyth";
       username[2]="John Murphy";
       username[3]="James McFadden";
       username[4]="Frankie Ferry";
       username[5]="Daniel McKimm";
       username[6]="Stephen Doohan";
       username[7]="James Ferry";
       username[8]="Liam Cannon";
       username[9]="Ciaran Ferry";
       username[10]="Ciaran McGee";
       String[] password=new String[11];
       password[0]="0";
       password[1]="1";
       password[2]="2";
       password[3]="3";
       password[4]="4";
       password[5]="5";
       password[6]="6";
       password[7]="7";
       password[8]="8";
       password[9]="9";
       password[10]="10";
       public LogOn(){
              setSize(260,160);
              username=new JTextField(15);
            password=new JPasswordField(15);
              JLabel usernameLabel=new JLabel("Username: ");
              JLabel passwordLabel=new JLabel("Password: ");
              add(usernameLabel);
              add(username);
              add(passwordLabel);
              add(password);
              setVisible(true);
              button1=new JButton("Ok");
              add(button1);
            button2=new JButton("Cancel");
              add(button2);
              JFrame frame=new JFrame("Welcome to Home Entertainment");
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.add(this);
            frame.pack();
            frame.setVisible(true);
         button1.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent e){
                 try{
                        Demo d = new Demo();
                        d.getChoice();
                   catch(Exception ex){}
         button2.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent e){
                 System.exit(0);
    }

    1. You initialize your array before your constructor.
    2. You have the same names for your arrays as for your TextFields
    3. You did not close your anon Listeners.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MyLogOnScreen extends JPanel{
         private static JTextField username=null;
         private static JPasswordField password=null;
         private static JButton button1=null;
        private static JButton button2=null;
         String[] usernameArray=new String[11];
        String[] passwordArray=new String[11];
       public MyLogOnScreen(){
            usernameArray[0]="Administrator";
            usernameArray[1]="Ann Smyth";
            usernameArray[2]="John Murphy";
            usernameArray[3]="James McFadden";
            usernameArray[4]="Frankie Ferry";
            usernameArray[5]="Daniel McKimm";
            usernameArray[6]="Stephen Doohan";
            usernameArray[7]="James Ferry";
            usernameArray[8]="Liam Cannon";
            usernameArray[9]="Ciaran Ferry";
            usernameArray[10]="Ciaran McGee";
            passwordArray[0]="0";
            passwordArray[1]="1";
            passwordArray[2]="2";
            passwordArray[3]="3";
            passwordArray[4]="4";
            passwordArray[5]="5";
            passwordArray[6]="6";
            passwordArray[7]="7";
            passwordArray[8]="8";
            passwordArray[9]="9";
            passwordArray[10]="10";
              setSize(260,160);
              username=new JTextField(15);
            password=new JPasswordField(15);
              JLabel usernameLabel=new JLabel("Username: ");
              JLabel passwordLabel=new JLabel("Password: ");
              add(usernameLabel);
              add(username);
              add(passwordLabel);
              add(password);
              setVisible(true);
              button1=new JButton("Ok");
              add(button1);
            button2=new JButton("Cancel");
              add(button2);
              JFrame frame=new JFrame("Welcome to Home Entertainment");
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.add(this);
            frame.pack();
            frame.setVisible(true);
         button1.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent e){
                 try{
                        Demo d = new Demo();
                        d.getChoice();
                   catch(Exception ex){}
         button2.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent e){
                 System.exit(0);
    }

  • Tutorial for simple login form

    Can anyone post a link to a tutorial for a simple login form in Oracle form devloper 10g?
    Thanks,
    Va
    Message was edited by:
    user450092

    > 1. When I enter the correct username and password, it
    just drops me back
    > into the login page.
    This - header("Location=
    http://thenewpage.com");
    should be this - header("Location= thenewpage.php");
    > 2. When I enter the incorrect username and password, it
    drops me back into
    > the login page without the error message.
    Post the rest of the form, please.
    (Now I'm really off for the Philles game!)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Virginia Carter" <[email protected]> wrote in
    message
    news:g0pibi$lu2$[email protected]..
    > I'm trying to create a simple login using a form and php
    and am having
    > difficulty in troubleshooting - if someone could give me
    a little help, I
    > would greatly appreciate it.
    >
    > Here is the code:
    >
    > <?php
    >
    > $error = FALSE;
    >
    > if (isset($_POST['client_password']) &&
    isset($_POST['client_username']))
    > {
    > if (($_POST['client_password'] == 'blah') &&
    > ($_POST['client_username'] == 'blahblah')) {
    > header("Location=
    http://thenewpage.com");
    > exit();
    > }
    > else {
    > $error = "<h2>You have entered an incorrect
    password/username.
    > Please try again.</h2>";
    > }
    > }
    >
    > ?>
    >
    > (and in the document body)
    >
    > <?php echo $error?$error:''; ?>
    > <form method="POST" action="<?php echo
    $_SERVER['PHP_SELF']; ?>"
    > name="form1
    > " id="form1">
    > <rest of form follows here>
    >
    > In testing this page in the browser:
    >
    > 1. When I enter the correct username and password, it
    just drops me back
    > into the login page.
    >
    > 2. When I enter the incorrect username and password, it
    drops me back into
    > the login page without the error message.
    >
    > Thanks in advance.

  • Creating a simple Login screen

    Hi folks,
    I'm a beginner trying to develop some code for a simple login screen for a database.
    I know that some packages (Access) have tailor-made code for this but can't seem to find
    anything in Oracle to do this. Can anyone help or point me in the right direction ?
    I'm using Oracle 8i and Forms 6i(8.1.7) running on Windows NT4.
    Thanks in advance,
    John

    Forms has a default for that.
    When you start a form with Forms runtime, the login screen is displayed automatically.

Maybe you are looking for

  • Special GL indicator issue

    Hello All, My user wanted to post customer credit memo using special GL indicator. He wanted that the Payment term field to be visible in the document. However, the payment term field is suppressed. The filed Due Date is required. Is this a SAP stand

  • PowerBoook G4 as Target to MacPro (firewire 800 bearly faster than 400)

    I have a MacPro Dual Xeon w/ Firewire 800 and a Powerbook 17" G4 also w/ Firewire 800. I set the G4 as a target and transfer a 4.07gb file. Took 7.42 minute via firewire 400 and 7.10mins via Firewire 800. Should I not expect a much better result? Any

  • Info about my 20€ Creative Cloud bill

    Hello. I get an invoice every month around 20€ for this Creative Cloud but I have no idea of what it is and what I'm paying for. My daughter is using Adobe InDesign, is that what I'm paying for? Where can I find more info? Thank you.

  • Include OS and DB manufacturer and version as well as MDM version

    Hi all, I am sure you will all agree that it will be easier to respond to messages if we all could include the following: 1) Server OS manufacturer and version 2) DB manufacturer and version 3) Client (GUI or Web) 4) MDM Version (this is in the forma

  • FRM-40039 Cannot attacth library While openning form (At Web Application Server)

    Dear All, We are migrating an application from developer 6 to developer 6i, and we have some pls/sql libraries attached to our forms; the libraries were recompiled, reattached and the forms were recompiled too, neverthelse when we try to run the form