How to how to implement apex-live-validation beginner step by step

http://apex.oracle.com/pls/apex/f?p=59381:100
I am trying to use the jquery plugin above. By it doesn't have a clear instruction on how to do it. I am using version apex version 4.0.
I use looking around the net and some other beginners like me are having this issue. If someone can provide me the answer. It will not only benefit me but alot of other people too.
Thank you very much.

apex.oracle.com credentials dont work
here is the process
1. upload jquery.alv.js and style.alv.css classes in your application and associate them with either workspace or application.
2. use substitution strings like #WORKSPACE_IMAGES# or #APP_IMAGES# to import the files. See https://forums.oracle.com/message/9294060#9294060 for example.Note that this use of <script src= etc should be in the header part of header and footer section of your page
3. similarly import your css file as well. Example is <link rel="stylesheet" href="#APP_IMAGES#sample2.css" type="text/css">
4. now use the methods defined in these files in your apex regions. examples are at http://apex.oracle.com/pls/apex/f?p=59381:20:0::NO:::
Regards,
Vishal
Oracle APEX 4.2 Reporting | Packt Publishing
Vishal's blog

Similar Messages

  • How to implement the schema validation with XSD in adapter module

    Dear All,
    I am trying to develop a EJB as the file adapter mudule.
    Please guide me how to implement the schema validation of the source message with XSD.
    Or provide me the relative resources about this task.
    Thanks & Regards,
    Red
    Edited by: Grace Chien on Nov 19, 2008 8:23 AM

    Hi Grace,
    You can do the xml scema validation in PI7.1 version directly.
    To develop the adapter module for xml schema validation
    Validating messages in XI using XML Schema
    Schema Validation of Incoming Message
    Regards
    Goli Sridhar

  • How to implement Dynamic form validation

    Hello,
    I've been reading up on the forums about using the htmldb.item package to dynamically create form elements using a SQL query. Assuming I can generate the form dynamically, what approaches/options are available for implementing dynamic validation of the form elements themselves?
    Thanks in advance

    You could write a page-level 'PL/SQL Function Body returning error text' validation where you loop over your dynamic form elements (htmldb_application.g_fnn), check the values and raise errors as needed.

  • Live Multibitrate - How to implement?

    I am trying to set up my media player to playback Live Multibitrate streams (via .f4m). I'm not finding any documentation or samples. Does anyone know how to implement this? Or, is there a sample out there that I could inspect?
    Thanks,
    j

    See "Flash Media Manifest (F4M) with Dynamic Streaming Video" in ExamplePlayer:
    http://mediapm.edgesuite.net/osmf/swf/ExamplePlayer.swf
    This example doesn't use live streams, but it should be fairly straightforward to add the <streamType>live</streamType> tag.

  • How to implement validations in message mapping?

    Hi experts,
    I have a simple requirement:
    I have a simple synchronous scenario:
    SOAP -> XI -> RFC
    In a message mapping, one of the fields in the source message is of type String.
    However, the target application (RFC) does not expect a non-numeric characters in this string.
    My question is how can I perform the validation in XI and tell the sender that this field contains Non-numeric characters?
    Please help.
    Thanks.
    Ron

    > Ron,
    >
    > >>With a RunTime Exception thrown, how can I tell
    >  the sender an error has occured?
    >
    > Sure. You can do this with out a BPM. You need to
    > configure alerts for this. If you configure ALERTS
    > and SCOTT, this will send an email of the errors
    > occuring in your scenario.
    >
    > For configuring and trouble shooting alerts check
    > these
    >
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 2327
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 2328
    >
    > Regards,
    > Jai Shankar
    Hi Jai
    I already have alerts configured.
    But what I had in mind is to send a response to the sender (The sender is waiting for a reply since this is synchronous), instead of telling the sender through an alternative means such as email, sms, etc.
    Is this possible?

  • How to implement such validation requirement?

    2 af:inputText A and B
    only numbers and letters are allowed for both of them,
    but both of them are letters is not allowed.
    how to implement it?
    JDev: 11g.
    Thanks.
    Kevin.

    Hello,
    Do you just want to display them as red or also validate on them?
    If its just display, you can try this:
    Set both fields to autoSubmit="true" and immediate="true"
    set the styleclass to depeding on the values like this:
    styleClass="#{bindings.A.inputValue == bindings.B.inputValue ? 'AFFieldText': 'customErrorStyleClass'}"-Anton

  • How to Implement N-Level Approval for Bid,Live Auction,PO,Contract ?

    Hi Experts,
                  I am new to SRM 5.0. My requirement is how to implement N-Level Approval for Bid, Auction, PO and Contract? Which steps should I follow for        N-Level Approval? Can any one send me sample code and name of BADI where I have to implement the code.
    Abhijeet Panse

    Hi
    Please check for <b>BBP_WFL_APPROV_BADI</b> using SE18 transaction for relevant Code as well and standard SAP documentation.
    Related sample code and other useful pointers ->
    WS14500015 is not working for Multilevel approval
    Re: SRM / Shipping cart
    Re: N Step Approval BADI - BBP_WFL_APPROV_BADI
    Re: N-step BADI workflow
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/content.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/frameset.htm
    Multiple Implementation For BBP_WFL_APPROV_BADI
    Re: Help needed on N-Step Approval WFL for SC
    Re: N-Step 14000109 workflow - Unable to identify Approvers
    Do let me know.
    Regards
    - Atul

  • How to implement a page level validation !!

    Hello ,
    I want to implement page level validation.
    thanks
    Edited by: kumar73 on Apr 21, 2010 1:41 PM

    Should be pretty easy - your condition would probably just be the click of the button (button name) or the request value sent by the button (SUBMIT?) You can do a function returning boolean as the type
    The code would be something like:
    begin
      if :P1_SHUTTLE is not null or
      :P1_SHUTTLE2 is not null or
      :P1_SHUTTLE3 is not null or
      :P1_SHUTTLE4 is not null or
      :P1_SHUTTLE5 is not null then
        return(true);
      else
        return(false);
      end if;
    end;

  • How to implement a single sign on  feature using java.

    Hi,
    I have a question like , How to implement **single sign on** feature in java without using any third party framework or tool like LDAP or any other which is available in the market.
    Actually the situation is i have all security information into the table and those information is used for single sign on . If a user logged in from a jsp loging page all the security role should be assigned to that particular user.
    We can do this using LDAP but i am not supposed to use the LDAP or any third party tool . I have to write a java class for that .
    please suggest me the method , how to implement this in a web application.
    Edited by: Rakesh_Singh on Mar 19, 2008 11:55 AM

    you could setup a token that specifies a user is authenticated. other applications that u want SSO can check for existance of this token
    if it is HTTP - you can save the token as a cookie and downstream apps look for this token
    yr code needs to validate that the token/cookie was indeed a valid one and not subject to man-in-the middle attack.

  • How to implement this function in JSP/Servlet env?

    Hi all,
    I working on a project, it provides functionality to upload file using JSP/Servlet. In the first JSP page, there is file location and submit button. After user select a file to upload and click submit button, a message, like "sending file to XXXX", will be shown on the screen. Once uploading and validation are done on the server-side, a successful/error msg will be shown to user.
    Here I have a question for the "sending..." msg and the successful/error msg. They should be put in one jsp page or in two separate page? how to implement them?
    Thanks for any help!
    Tranquil

    For the sending message... Well, the thing is, when you click submit, it's sending the file to the server and the server is processing it, and this is all done before the "complete" page is sent to the server. So one would need to use some Javascript on the page before the actual submit happens to show some message. This is done on Ebay when you put something for sale, you can upload an image, and there is a little popup message telling you that it's uploading, and it is removed when the process is done. Now, I'm not sure the exact details of how this works, but my educated guess is this:
    1) The onsubmit function of the form checks that the file upload fields have a value (no need to popup a message if no file upload, since that's what usually takes the time, although it could just be assumed there is a file). If a file is to be uploaded, or just want to show the message anyway, a new popup window is opened with the window.open method and the "sending" message is shown (either written via Javascript or just load a small web page to the window).
    2) The popup window, since you can't transfer the window object from the form page to the next page, has to check window.opener for some value that the success/error page would have to set. The success/error page could use it's body onload function to set a variable in it's own window object to denote that the page is loaded. The popup window can use a looping check using setTimeout or setInterval in Javascript to check for window.opener.isLoadedVariable to be present, and if so, close itself.
    I've never done that, but I see no reason why it wouldn't work.

  • DOM Parser Configuration...how to switch off DTD validation?

    Hi all,
    I am developing some implementation code in Java using JBuilder2005, in which DOM3 parser is also being utilised. Now the question is how to switch off DTD validation (seems its default mode is 'on') so that no validation will be carried out at all even DTD declaration statement is presented in an input XML document?
    Many thanks in advance
    Frank

    First of all, thank you so much for responding, DrClap. =)
    setValidating(false) of the DocumentBuilderFactory instance, factory, does not work as expected; it still stubbornly try to seek the external DTD file and fires 'IOException' error in case of no such a DTD.
    To follow up the EntityResolver approach, I searched online for almost the whole afternoon but still could not figure out how to do it exactly. In particular, I found http://www.jdom.org/docs/faq.html#a0350, which tells a way doing it, but I got 'StringBufferInputStream is deprecated' error. Then I changed to
    new InputStream(new ByteArrayInputStream("".getBytes()))adapted from http://forum.java.sun.com/thread.jspa?threadID=572919&messageID=2842185. But another error occurs: 'java.io.InputStream is abstract; cannot be instantiated'. Furthermore, I have looked at many docs(tutorials, APIs...) on parser configuration, usage of EntityResolver/setEntityResolver()...but they turned out not helpful. Could you please give out more details on how to do this using EntityResolver?? Many many thanks...

  • How to implement an Effect.

    I need to implement a ValidationEffect, is simple, after applied to a control, paints an icon (red x) in POS.TOP_RIGHT.
    I have not found the documentation necessary to implement its own effect.

    I haven't gotten into my validation part of my architecture yet but it is definitely on my todo list.
    Richard, the FormPane (or maybe OverlayPane) would not be too hard to code and would work, but my first thought would have been to do this at the individual component level, giving us the flexbility to annotate each field regardless of the container/layout it is in. I'm thinking to basically embed each field in a StackPane and that StackPane can have annotations added to it, which would then appear ontop of the field. I'm wondering about the performance costs of doing this - can you see any potential drawbacks to this idea?
    Here's a very rough example bit of code.
    public class TestApp extends Application
        public static void main(String[] args) throws Exception
            launch(args);
        public void start(Stage stage) throws Exception
            VBox form  = new VBox(10);
            form.setStyle("-fx-padding: 20");
            form.getChildren().add(new Label("Text Field:"));
            TextField field = new TextField();
            field.setPromptText("Minimum three characters");
            ErrorAnnotation fieldAnnotation = new ErrorAnnotation(field);
            fieldAnnotation.errorVisibleProperty().bind(field.lengthProperty().lessThan(3));
            fieldAnnotation.errorMessageProperty().set("Field must be at least 3 characters long");
            form.getChildren().add(fieldAnnotation);
            form.getChildren().add(new Label("Text Area (accepts only 'zonski'):"));
            TextArea textArea = new TextArea();
            final ErrorAnnotation textAreaAnnotation = new ErrorAnnotation(textArea);
            textArea.textProperty().addListener(new ChangeListener<String>()
                public void changed(ObservableValue<? extends String> source, String oldValue, String newValue)
                    textAreaAnnotation.errorVisibleProperty().set(!"zonski".equalsIgnoreCase(newValue));
                    textAreaAnnotation.errorMessageProperty().set("You must type zonski in this field");
            textArea.setText("initial value"); // triggers initial validation
            form.getChildren().add(textAreaAnnotation);
            Scene scene = new Scene(form, 300, 300);
            stage.setScene(scene);
            stage.show();
        private class ErrorAnnotation extends StackPane
            private BooleanProperty errorVisible;
            private StringProperty errorMessage;
            public ErrorAnnotation(Node nodeToBeAnnotated)
                errorVisible = new SimpleBooleanProperty(false);
                errorMessage = new SimpleStringProperty();
                getChildren().add(nodeToBeAnnotated);
                AnchorPane annotationLayer = new AnchorPane();
                // this doesn't quite work as it breaks the label's mouse over
                annotationLayer.setMouseTransparent(true);
                annotationLayer.visibleProperty().bind(errorVisible);
                // probably would use some nice icons in an ImageView for a real app
                Label errorLabel = new Label("X");
                Tooltip tooltip = new Tooltip();
                tooltip.textProperty().bind(errorMessage);
                errorLabel.setTooltip(tooltip);
                errorLabel.setStyle("-fx-text-fill: #900; -fx-padding: 0 3 0 3; -fx-background-color: #f99; -fx-border-color: #900");
                AnchorPane.setTopAnchor(errorLabel, 2.0);
                AnchorPane.setRightAnchor(errorLabel, 6.0);
                annotationLayer.getChildren().add(errorLabel);
                getChildren().add(annotationLayer);
            public BooleanProperty errorVisibleProperty()
                return errorVisible;
            public StringProperty errorMessageProperty()
                return errorMessage;
    }You could use the same idea to add any kind of annotation (e.g. on mouse over show a 'get help' button that you can click, etc) or you could do a dimming of the field, etc (set an overlay with a semi-transparent colour) and other similar things.
    There's one functional problem with the above code currently. I need to turn off mouse events for the AnchorPane (i.e. setMouseTransparent) to allow mouse events to go through to the field, but this then stops the little red X from getting its mouse events so we lose the tooltip. I guess I could use a Group and manually do the anchoring myself, but is there an easier way to make a parent not get mouse events and yet still allow a child to get them?
    I'd also love to know how to do the second validation via bindings. Is there a way to say something like booleanProperty.bind(stringProperty.equalToIgnoreCase("zonski"))? I feel like I am not always making the most of bindings in my code. They seem so powerful but I often just end up resorting back to listeners as they are simple :)
    When I get round to looking at validations properly (probably need to do this in a couple of weeks for my project), then I would pull all this out into a more generic validations framework. Ideally basing it around [url http://musingsofaprogrammingaddict.blogspot.com/2009/01/getting-started-with-jsr-303-beans.html]JSR 303 Bean Validations and merging this with some property binding stuff. Something like that anyway.
    Long term it would be cool if there was just an annotation layer on the base Control that we could hook into. Something along the lines of what the SwingX guys (respect) were going for with Decorators - except built into the core library instead of having to be hammered into the back of it.
    As a general comment, I think it's better if the base framework has a way for annotating nodes (i.e. the base building blocks) and a validation framework (i.e. the higher level api) was more an open-source community project so it is not tied to the same release schedule and doesn't add bloat to the base codebase (e.g. when you guys get this stuff working on mobile devices people will want little jars). Some people may rather use CSS for their validation markup for example, others may not want to annotate fields but will want to show a message pane at the top or side of the view, etc - the styles out there vary hugely depending on the GUI style. Who knows what people will come up with now they have animations and effects, and soon 3D, in their bag of tricks too! It's an exciting time ahead of us in this brave new world - JFX2 is a game changer in my book (respect :) ).
    Cheers,
    zonski

  • How to implement bundle-like mechanism in Arch Linux

    I like Chakra's bundle system and I want to make it in Arch.
    I heard that bundle system is just a separate file system(like loop? I am not sure).
    Can you give some details?
    However, I think there must be some reasons that Arch does not implement such a convenient tool as bundle system.
    I want to hear about these reasons.
    Thank you.

    If you go back more in the history behind Chakra, how it came to live, you might know, it started bc of a desire to do another split.  That one was for KDE, resulting in KDEmod, which was fully accepted by Arch, a few years after, and is currently the way KDE is build in Arch too (KDE being split in multiple packages).
    While Chakra was just Arch + KDEmod, more and more users stated, there was a desire to split toolkits too.  Have a system that was either based on GTK, and for Chakra users, a system base on just Qt/KDE.  When the late Chakra founder Jan Mette called the meeting in February 2010 the discuss the plans for a full split from Arch, this desire expressed by many users was one of the driving factors for his decision.
    To have a fully functioning distro, and doing something this different, the discussion included finding some MacOS way of including some of the most well known, and revered Linux apps, that were GTK based.  That is how the idea of bundles came to fruit.
    At the start, a few hundred packages had either makedeps  or full dependency to gtk2, so it was left up to the user to install those apps, though the ISO's were gtk free.
    Once the bundles became more functional, and included all those most well known and revered Linux apps, the majority of the gtk apps were removed (slowly) from all repo's.  Plus in the good 2 years since, many apps/libs have been stripped of gtk, since many apps are build to function on both gtk and qt based systems, though they do not need the gtk libs at all to work just fine on a qt based system.  To remove gtk libs/functions from one app, makes very little difference, for ten, it is not a big difference, but you repeat it over a hundred times.....
    GTK is still in the repo's, and probably will stay there.  Users who do not want to stay gtk free have added many such apps in ccr, and as a service to them, it is nice to not have to compile gtk.  Plus there is no real solid substitute yet for flash, again as a service, it is still an option.  The bundle buildsystem also draws from the repo's, if a certain lib/app is set to draw from there during the bundle process, that is another reason gtk/gtk-apps are still in the repo's.
    As Allan states, downloading multiple bundles, will download multiple instance of a highly compressed gtk (or other lib/app).  This is ofc a draw back for bundles, but again, a well thought out, and chosen draw back.  Users who need more then 4-5 bundles, should really rethink using a distro that made the choice to see if a distro can be fully functional, when splitting toolkits.  Those users can install their needed apps from ccr, or perhaps should choose another distro.  But to have an application not needing a rebuild/break bc of a .so update is a big plus.  When libreoffice was not stripped of it's gtk deps, it was one of those bundles.  It included all, and one such bundle still runs perfectly on one of my installs, it was build February 2011 (granted, I'm using this one as a test case for bundle longevity).
    For those who do not need but 3-5 bundles, there is no gtk installed (takes more room, then downloading it in compressed form a few times).  And many bundles do contain more then one gtk app (GIMP bundle includes xsane for example, chromium includes flash, google-talkplugin, pdf plugin), so as an example in my case, I run one bundle almost all the time, and it brings me the only 3 gtk apps I need and I my installs are gtk free.  Btw, all bundled browser include the flashplugin.
    But bundles are not just for gtk, Skype is another example for bundle use.  This app brings in about 50 lib32 packages, if you are on x86_64, why install all those for just one app?  Some will state, it makes no difference, don't care to have a lot of extra libs installed, some will prefer to keep a more "clean" system.  Chakra goes with the latter.
    Since the bundle process can draw from the repo's, or build all needed packages in that system, in any setting chosen, any security update is no extra work, then any other rebuild.  That security update was either done in the regular repo's, all needed then is rebundle all included apps (the final bundle process, squash them, etc, takes about 40 secs), or if the apps is not in the repo's, just that one is rebuild/adjusted in the bundle system, and again, bundled with the rest of the existing packages included in that particular bundle.
    To address as a final note, the point made, you can't be bleeding edge bc of bundles.  I'll give the example of the gimp-dev bundle.  It needed the latest babl, gegl, much newer glib2, gtk2 (and more from that stack) then was in the repo's.  All those were updated in the bundle system (though not a visible repo, the bundle build system has some 200-250 packages at most times), tested and ran successfully for many users, and always making the latest dev version available for gimp, until the final release this week.  Since all glib2 updates were tested in this bundle for quite some time, when it was time for this update in the regular repo's, it was a simple and quick update for the whole stack.
    Bundles are not perfect at this stage, far from it, there are still many plans to improve on the whole system, but for something that is in use just 1 1/2 years, it truly is a viable option to have a system running on a single tooolkit.
    To address a question posted while writing this.  Chakra uses testing repo's a lot too.  Bundles are fully rolling, always the latest available, just like the apps and games repo in Chakra.
    Last edited by abveritas (2012-05-04 18:17:43)

  • How to request APEX product enhancements (such as code protection)

    Have reviewed and there are posts that go back to at least 2009 inquiring how to protect apex code from being exported in attempt to protect licensed applications.
    As everyone is aware, there exists the ability to export an application read-only, but this does not prevent the APEX administrator from the licensee from changing to run and build once the code has been installed by the licensor. While the procedures and functions may be wrapped, there still exist no way of protecting APEX application code which will be the core work of the licensor.
    Sure there is the license agreement between the licensor and licensee, but how difficult could it possibly be to add an export option, such as 'export read-only protected', which would prevent modification to run and build at a later time by the licensee?
    An otherwise wonderful product still suffers with this major, yet seemingly easily corrected flaw.

    johnny wrote:
    how to request APEX product enhancements (such as code protection)
    Re: Apex 4.2 wish list, but apparently failed to read my follow-up:
    Have reviewed and there are posts that go back to at least 2009 inquiring how to protect apex code from being exported in attempt to protect licensed applications.If that's the criteria then Pagination Sub-template and table-less layouts and XHTML Validation and Accessibility would have 3 years priority on it.
    As everyone is aware, there exists the ability to export an application read-only, but this does not prevent the APEX administrator from the licensee from changing to run and build once the code has been installed by the licensor. While the procedures and functions may be wrapped, there still exist no way of protecting APEX application code which will be the core work of the licensor.
    Sure there is the license agreement between the licensor and licensee, but how difficult could it possibly be to add an export option, such as 'export read-only protected', which would prevent modification to run and build at a later time by the licensee?
    An otherwise wonderful product still suffers with this major, yet seemingly easily corrected flaw.However, as usual, the needs of corporate lawyers appear to count more than those of developers, as the Statement of Direction says that APEX 4.2 will include features to protect our rights to our non-standard and non-semantic apps.

  • How to implement the Session ManageMent in OracleADF .

    Hi I am New to ADF, In my application i have requirement like, I Have a JSPX login page,which contain 4 taskflows as a regions(like AddEmp,DeleteEmp,Create New Dept,Delete Emp), based on the type of user login,i want give different responsibilities(ADF Security, for example a normal employe cant Edit the Other Employe information only HR can do the Edit ), for those who logged in i want to use Session.
    Every Time When the user Request the resource it has to check for the session validation.
    i know in JEE How to implement Sessions but i don't know in ADF .
    Thanks in Advance...

    Hi,
    have a look here http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/AdfSecurity/AdfSecurity.html
    Its a video about ADF Security that explains how you can use custom Resource Permissions for any kind of user authorization, plus the on-board page and task flow permission. Note that the session has nothing to do with authorization. All a session can be is authenticated after which users are associated with enterprise roles, which then are mapped to permissions (through application roles in ADF Security). So session management is not what you are looking for in this case.
    In addition you want to read: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/76-insert-update-entity-protection-334421.pdf
    Frank

Maybe you are looking for