How to implement custom methods on form submit

I'm a newbie to ADF environment, coming from pl/sql world. I have already tried default drag and drop functionality for forms. But, with new requirements, I need to write some custom code to create and update form. I read about managed beans, but didn't quite understand it. Any pointers to examples are appreciated.
Regards,
Surya
Edited by: sgodavar on Sep 29, 2010 1:13 PM

Suganth,
Sometimes, the default form to create and edit built (drag and drop) on top of BCs may not be enough to code all the business logic. In that case, I'm looking for the basic steps involved to implement such custom logic. For example, I may need to call a managed bean or some stored procedure from ADF faces. Since, I'm totally new to ADF, I don't know how to go about it and right way to do it in ADF environment. Any pointers to such examples are appreciated.
Regards,
Surya

Similar Messages

  • How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?

    Hi,
    I have created custom action for Share functionality in document library.
    On Share action i'm showing Model pop up with Share form with addition functionality.
    I am developing custom share functionality because there is some addition functionality related to this.
    How to Implement custom share functionality in SharePoint 2013  document Lib pro-grammatically?
    Regards,
    - Siddhehswar

    Hi Siddhehswar:
    I would suggest that you use the
    Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
    as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
    We customize <Edit> Ribbon. As shown below.
    When user click <Edit Item>, the system will
    render customized pop up window.
    Will

  • How to implement Custom Authentication and Authorization in Oracle SOA 11g

    Can anyone please tell me, how to implement Custom Authentication in Oracle SOA 11g ?
    Because in Oracle SOA 10.1.3.4 , i have implemented this custom authentication and authorization by implementing BPMAuthenticationService, BPMAuthorizationService, BPMIdentityService to verify againt my database systems.
    implementation classes like the mentioned below
    1).
    public class SampleAuthenticationService extends SampleServiceBase implements BPMAuthenticationService {
    2).
    public class SampleAuthorizationService extends SampleServiceBase implements BPMAuthorizationService {
    3).
    public class SampleIdentityService extends SampleServiceBase implements BPMIdentityService {
    Please help me to implement the authentication and authorization in Oracle SOA 11g .
    thanks in advance

    To start with please go through following document
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_jms.htm
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm
    Regards
    Arpit

  • How to declare custom structure in form interface in smartforms?

    Hi,
    How to declare custom structure in form interface in smartforms?
    Thanks.

    Create a structure in SE11 and use that in Form Interface - > Tables tab in smartforms.
    Pranav

  • How to implement custom Model Class in Oracle ADF?

    I am using Oracle ADF for one of my project and i am using Query component of ADF. For given tables the query component creates view objects and maps the relations. ADF uses its own custom model class for this component and it should understand the DB tables. But for my project i have no access to database. All i can do is pass a string or object/query to the existing (custom) Java class/object, and this model class formulates query and queries the database and returns the value to my Java class. I have to display these results using ADF to the front end. Is There a way to achieve this? Can i replace/override the existing Model class of ADF. If so how?
    Thanks in advance for your help.

    Hi, there:
    Best thing to do is to start with the default login.html page, and then modify it. The login screen is fairly complex and it's easy to just miss a JS function you need to call. To get to default page, you would need to do one deploy (to simulator or whatever), and then look for login.html page in the temporary Xcode or Android project generated from the deployment. It should be under the "deploy" directory in your JDev workspace.
    You can also see all the framework JS files and CSS files that way as well.
    We have had customers implementing custom login screen so we know it can work, but they all had to start with the default login screen and then modify it.
    Thanks,
    Joe Huang

  • How to implement custom skin in JavaFX 2.0?

    To implement custom skin, I extend TextFieldSkin (in com.sun.javafx.scene.control.skin.*) class, but I don't know which methods to overwrite, anyone can provide some sample codes? Thanks!

    Hi,
    You can implement Skin interface or extend SkinBase class. I made some controls on my blog http://jojorabbitjavafxblog.wordpress.com/ but i still have not updated code to build 40. In my opinion the easiest way is to make first skin for Button class for example add text and Rectangle.

  • How to implement Scroling Messages in Forms 6i

    Dear Friends,
    I have a requirement as stated below.
    I have to fetch data from table and display on the forms as a scroling message ( like messages appearing on the webpage , moving from right to left ) in forms 6i application.
    I dont have any idea about how to implement it iam not sure if it is possible or not
    If you have any idea how to acheive this please suggest me
    Regards,
    Khader

    Write Code in When-New-form instance
    if id_null(create_timer('SCROLL_TIMER', 200, REPEAT)) then
         null;
    end if;
    When-Timer-expired
    DECLARE
         TimerName varchar2(40) := get_application_property(TIMER_NAME);
    BEGIN
         if TimerName = 'SCROLL_TIMER' then
              scroll_view('CNv_SCROLL', 0, mod(get_view_property('CNv_SCROLL', VIEWPORT_Y_POS_ON_CANVAS)+1, 37));
    end if;
    END;
    Create a Stacked CNV_SCROLL on you canvas
    and write any text in CNV_Scroll
    I hope your problem will solve.

  • How to expose custom methods of servlet as web services

    Can i know how to expose the custom methods of the servlet as web services. if it is not posssible then what alternate ways are possible other than ejbs?
    regards

    Hi
    I want to know that whether the custom methods of servlet can be exposed as webservices or not?
    Secondly is there init method like we have in servlets so that we can do all the one time loading in the init() method.
    regards

  • How to implement custom logging using log4j in Webcenter Portal Application

    I need to implement custom logging and export it to a new log file in Oracle 11.1.1.5 (Webcenter portal application). Please tell me the steps to implement this functionality.

    Please post questions for WebCenter Portal in it's own forum:
    WebCenter Portal

  • How to create customer self registration form iReceivables in 11.5.10.2

    Hi,
    I am new to iReceivables and in need to know how to create customer self registration in iReceivable 11.5.10.2.
    Please give the steps. I the guide its mentioned as need to create the static HTML page. If so please let me know how to do it. Please give me if you are having any sample code.
    Regards
    Suresh P

    Please see these docs.
    SelfService Registration Link Not Working For iReceivables [ID 603353.1]
    iReceivables user tries to register for iStore and message 'Email Address Is Already In Use' [ID 1114661.1]
    Questions: Auto Login After Self-Registration [ID 403097.1]
    How to Find iReceviables Patchset Level on 11i Instance [ID 263942.1]
    How To Create Custom Self Registration Challenge Questions In 11i [ID 759998.1]
    iReceivables Self Registration Challenge Question not Working [ID 961586.1]
    The Ireceivables Self Registration Page Errors Out. What Are the Setups to Review? [ID 414161.1]
    How To Control The Invoice Picked Up In iReceivable Self Registartion Challenge Question? [ID 1310902.1]
    Thanks,
    Hussein

  • How to implement custom socket option.

    In our application we use DatagramSocket. We are able to set the standard socket options that are implemented in SocketOption interface by using the setter methods available in DatagramSocket. We need to set a custom (non-standard) socket option in the DatagramSocket created.
    Any help on how to do this?

    Hi,
    this document in addition
    http://www.oracle.com/technology/products/jdev/howtos/10g/jaassec/index.htm
    has a list of LoginModules, one that authenticates against physical database users
    Frank

  • How to implement find methods in CMP?

    As OC4J does not support EJB-QL, we need to implement the find methods by ourselves. But how? Here is my thought.
    1) Still declare the find methods in EJB home, such as
    public Collection findBySponsor(String sponsorGuid);
    2) Do not add query part to ejb-jar.xml file;
    3) In the bean class, implement the find method using JDBC code.
    Does CMP allows explicit-implementation of finder methds?
    Does CMP allows explicit-call to JDBC code?
    Thanks,

    Henry -- Why go to that trouble? For the near term I would suggest that you just modify the generated
    orion-ejb-jar.xml descriptors which will include tags to allow you to either 1) enter a partial criteria or
    2) enter a complete SQL statement. This is much less work and when EJB-QL is available with the product,
    then you have to only add the EJB-QL to the ejb-jar.xml.
    Thanks -- Jeff

  • How to implement custom field renderer?

    I'm trying to create a custom field renderer that will render certain database fields as checkboxes in HTML. I'm using the Data Web Beans/JSP approach. In my view object I have added a "Boolean" property to the attributes that represent boolean type fields (e.g., field Warranty to indicate if an asset is under warranty). I have created a CheckBoxField() class similar to the TextField() class, and call it if the attribute is a boolean, but I can't figure out how to set the custom field renderer. When the program runs, it still uses the TextField renderer. The JDeveloper online documentation doesn't say anything about it. Is there a sample program or some other documentation that implements a custom field renderer?

    Hi,
    this document in addition
    http://www.oracle.com/technology/products/jdev/howtos/10g/jaassec/index.htm
    has a list of LoginModules, one that authenticates against physical database users
    Frank

  • How to implement custom view of certain elements in a JTextPane?

    Hi. I'm writing an application with a JTextPane in which I want to allow a style or attribute to be added to an (arbitrary) span of text, which will then result in a rectangle being drawn around that span of text. But I'm not sure how to do this.
    I figure it will be necessary to extend one of the subclasses of View, but I'm not sure how to work that into my Document. Will I have to create a custom ViewFactory, or a custom EditorKit? Not sure I'd know how to do that.
    Any pointers would be much appreciated.
    Cheers,
    Gregory

    Here's the version I came up with. For some reason the width and height parameter of the two methods have a slightly different meaning which through me off for a while. Seems silly to me. Anyway it appears to work now:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class RectangleHighlighter extends DefaultHighlighter.DefaultHighlightPainter
        public RectangleHighlighter(Color color)
            super( color );
        public Shape paintLayer(Graphics g, int offs0, int offs1,
            Shape bounds, JTextComponent c, View view)
            Color color = getColor();
            if (color == null)
                g.setColor(c.getSelectionColor());
            else
                g.setColor(color);
            if (offs0 == view.getStartOffset() && offs1 == view.getEndOffset())
                // Contained in view, can just use bounds.
                Rectangle alloc;
                if (bounds instanceof Rectangle)
                    alloc = (Rectangle)bounds;
                else
                    alloc = bounds.getBounds();
    //            g.fillRect(alloc.x, alloc.y, alloc.width, alloc.height);
                g.drawRect(alloc.x, alloc.y, alloc.width - 1, alloc.height - 1);
                return alloc;
            else
                // Should only render part of View.
                try
                    // --- determine locations ---
                    Shape shape = view.modelToView(
                        offs0, Position.Bias.Forward, offs1,Position.Bias.Backward, bounds);
                    Rectangle r = (shape instanceof Rectangle)
                        ? (Rectangle)shape : shape.getBounds();
    //                g.fillRect(r.x, r.y, r.width, r.height);
                    g.drawRect(r.x, r.y, r.width - 1, r.height - 1);
                    return r;
                catch (BadLocationException e)
                    // can't render
            // Only if exception
            return null;
        public static void main(String[] args)
            JTextPane textPane = new JTextPane();
            textPane.setText( "one\ntwo\nthree\nfour\nfive\nsix\nseven\neight\n" );
            JScrollPane scrollPane = new JScrollPane( textPane );
            //  Highlight some text
            RectangleHighlighter cyan = new RectangleHighlighter( Color.CYAN );
            RectangleHighlighter red = new RectangleHighlighter( Color.RED );
            try
                textPane.getHighlighter().addHighlight( 8, 14, cyan );
                textPane.getHighlighter().addHighlight( 19, 24, red );
            catch(BadLocationException ble) {}
            JFrame frame = new JFrame();
            frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            frame.getContentPane().add( scrollPane );
            frame.setSize(300, 200);
            frame.setVisible(true);
    }

  • How to use request Object on form submit

    Hai all,
    i have a JSF page having simple form, username, password field and submit button, so on submit the form i want to get the data from the request object in next page without using a bean.
    How can i get it? I am looking for this problem for quite a long time, so can anyone help me...

    i have a JSF page having simple form, username,
    password field and submit button, so on submit the
    form i want to get the data from the request object
    in next page without using a bean.Why are you using JSF?

Maybe you are looking for

  • Upgrading to Office home and student 2010

    I purchased Office home and student 2007 a few months ago....It was my understanding that I would be able to upgrade it to 2010 free when it became available.  How do I get the free upgrade? Solved! Go to Solution.

  • Validation currency field

    I want to create a validation. The field should be checked in max. two decimal places,not null, > 0 and in numeric. I tried this: if v('P42_BESTAND') is not null and v('P42_BESTAND') > 0 then return true; else return false; end if; exception --'when

  • Mouse cannot scroll [Solved]

    I have a compaq mouse  that is not USB with two scrolling wheel at the top, but they are being useless since I came to arch.  My xorg.conf looks like the following Section "InputDevice" # Identifier and driver     Identifier  "Mouse1"     Driver     

  • Deleted the temporary license from visual admin

    hi friends, I have installed NW04s only Java engine, now its not working, its comming like " license expired ", and i got the script file from service.sap.com, and i loaded in the visual admin. Its not working. Accidentally i deleted the temporary li

  • Cluster validation stating an update needs to be installed, but when checked, it's installed...Answers???

    I'm setting up a simple, two node, cluster in Server 2012R2.  When doing the Validation test it states that the updates on one of my nodes is not up to date.  However, upon further investigation, I've found that most, if not all, updates the test is