Charting within Web-PL/SQL Application - advice required please

Currently trying to enhance our Designer generated Web-PL/SQL application by including charting.
There is no provision to do this within Designer so are exploring other solutions, specifically using a server side servlet to render a chart as a gif, returning this to the client HTML page.
Has anyone got any recommendations on what to use to do this?
We've tried with limited success calling the Portal servlet (called chart) due to lack of documentation and relience on certain Portal procedures. We're currently experimenting with Oracle Chartbuilder, which looks promising, but would really like to know what the recommended or favorite solution is!
Any feedback appreciated!
Anthony

user645399 wrote:
Right now, I am displaying a table in the web by selecting all the records from a particular table.
This is how I do it.Not a great way to display a report. This is not re-usable code. Difficult to maintain. Difficult to add or change the presentation of data.
The proper way to do it, will be to use a DBMS_SQL cursor. After the cursor is opened, you use the describe function on the cursor that returns the number of columns in the cursor, the names of the columns, and their data types.
This data is then used to fetch a column value from the cursor, and render it (as per its data type). This can easily be extended to make use of reporting templates and defaults and even style sheets to make rendering easy and flexible.
DBMS_SQL is detailed in the [Oracle® Database PL/SQL Packages and Types Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sql.htm#BABEDAHF] guide.
Should I include a search engine? or how should I go about it? Is there a way to break the table into smaller parts using the dealer id?Why not use APEX? The above method that I've described is what is employed by APEX. So instead of writing that yourself, having to deal with dynamic variable binding, pagination, web state and security and so on.. APEX does all of this, and more, for you.

Similar Messages

  • Integegrate APEX within existing Web PL/SQL application?

    We have an old Designer-built Web PL/SQL application that we'd like to enhance by integrating new pages built with APEX - both applications reside on the same dataase, etc.
    The current application uses database authentication and consists of a couple of frames - 'menubar' contains a main menu and is a set of static HTML files, whilst 'home'  contains the web PL/SQL-generated pages. The generated pages are either holding a list of anchors to other web pl/sq pages (a 'local' menu)  or a 'real' web pl/sql page itself. I'd like to introduce APEX pages into this second frame through the use of the generated anchors.
    The application uses database authentication.
    I am planning to introduce the APEX pages at the 'anchor' level, but I need to carry across the web pl/sql authentication to the APEX application. To do this, I *think* that the anchor will call a procedure that records the current user in a table and associates a token with that entry, it  performs a redirect to the APEX page and passing the 'token' as an application variable parameter which the application uses it to find the user and deletes the table entry.
    Is there a simpler mechanism that I should be using?

    Hi,
    Have you upgraded Apex?
    I assume you use XE EPG.
    Have you grant execute privilege on procedure to DAD user ANONYMOUS?
    GRANT EXECUTE ON WOLF_22.HELLO_WORLD TO ANONYMOUS;Have you changed wwv_flow_epg_include_mod_local that it allow execute WOLF_22.HELLO_WORLD?
    And write schema.procedure at upper case to function.
    If you have not upgraded Apex, run as SYS or SYSTEM
    CREATE OR REPLACE function FLOWS_020100.wwv_flow_epg_include_mod_local(
        procedure_name in varchar2)
    return boolean
    is
    begin
        -- Administrator note: the procedure_name input parameter may be in the format:
        --    procedure
        --    schema.procedure
        --    package.procedure
        --    schema.package.procedure
        -- If the expected input parameter is a procedure name only, the IN list code shown below
        -- can be modified to itemize the expected procedure names. Otherwise you must parse the
        -- procedure_name parameter and replace the simple code below with code that will evaluate
        -- all of the cases listed above.
        if upper(procedure_name) in (
              'WOLF_22.HELLO_WORLD'
        ) then
            return TRUE;
        else
            return FALSE;
        end if;
    end wwv_flow_epg_include_mod_local;
    /Regards,
    Jari

  • Designer6i: About Page template filename Web PL/SQL Applications

    how can change the About Page template filename Web PL/SQL Applications
    Thank!!!
    my e-mail is: [email protected]

    Hi,
    Have you upgraded Apex?
    I assume you use XE EPG.
    Have you grant execute privilege on procedure to DAD user ANONYMOUS?
    GRANT EXECUTE ON WOLF_22.HELLO_WORLD TO ANONYMOUS;Have you changed wwv_flow_epg_include_mod_local that it allow execute WOLF_22.HELLO_WORLD?
    And write schema.procedure at upper case to function.
    If you have not upgraded Apex, run as SYS or SYSTEM
    CREATE OR REPLACE function FLOWS_020100.wwv_flow_epg_include_mod_local(
        procedure_name in varchar2)
    return boolean
    is
    begin
        -- Administrator note: the procedure_name input parameter may be in the format:
        --    procedure
        --    schema.procedure
        --    package.procedure
        --    schema.package.procedure
        -- If the expected input parameter is a procedure name only, the IN list code shown below
        -- can be modified to itemize the expected procedure names. Otherwise you must parse the
        -- procedure_name parameter and replace the simple code below with code that will evaluate
        -- all of the cases listed above.
        if upper(procedure_name) in (
              'WOLF_22.HELLO_WORLD'
        ) then
            return TRUE;
        else
            return FALSE;
        end if;
    end wwv_flow_epg_include_mod_local;
    /Regards,
    Jari

  • Insert Form template filename web PL/SQL Applications

    Helpme please
    How i can change the default form insert in web PL/SQL
    Designer 6i
    Thank!!!
    e-mail [email protected]

    I am having issue loading data using Web ADI, I am getting "SQL exception occurred during PL/SQL upload" error, I tried to restart Apache, also looked into the BNE.log file for the exact error but I am still not sure about this exception, can anyone please help?Please rename the log file, reproduce the issue and check the log file then.
    bne:text="SQL exception occurred during PL/SQL upload."
    bne:cause="Database insert error"Please see these docs.
    R12 Uploading Intercompany Transactions Shows SQL Exception Occurred During PL/SQL Upload [ID 1234063.1]
    Batch Element Entry (BEE) Spreadsheet Interface > 10 Rows Fails with Error: 'SQL exception occured during PL/SQL Upload.' [ID 388012.1]
    How Do You Setup An AGIS Transaction That Has Several Transaction Lines For The Same Transaction [ID 946499.1]
    FCH: Error: "The upload process has completed with errors. Please Close to return to the document and fix the errors. - No rows uploaded - <999> rows were invalid" During WebADI Data Upload [ID 553025.1]
    R12: Legal Entity Name must be < 31 characters. [ID 472505.1]
    Oracle Payroll 'Batch Element Entry ( BEE )' Frequently Asked Questions ( FAQ ) [ID 1353021.1]
    Thanks,
    Hussein

  • About Page template filename Web PL/SQL Applications

    How i change the default About Page in Web PL/SQL
    Mi e-mail is [email protected]

    Hi,
    Have you upgraded Apex?
    I assume you use XE EPG.
    Have you grant execute privilege on procedure to DAD user ANONYMOUS?
    GRANT EXECUTE ON WOLF_22.HELLO_WORLD TO ANONYMOUS;Have you changed wwv_flow_epg_include_mod_local that it allow execute WOLF_22.HELLO_WORLD?
    And write schema.procedure at upper case to function.
    If you have not upgraded Apex, run as SYS or SYSTEM
    CREATE OR REPLACE function FLOWS_020100.wwv_flow_epg_include_mod_local(
        procedure_name in varchar2)
    return boolean
    is
    begin
        -- Administrator note: the procedure_name input parameter may be in the format:
        --    procedure
        --    schema.procedure
        --    package.procedure
        --    schema.package.procedure
        -- If the expected input parameter is a procedure name only, the IN list code shown below
        -- can be modified to itemize the expected procedure names. Otherwise you must parse the
        -- procedure_name parameter and replace the simple code below with code that will evaluate
        -- all of the cases listed above.
        if upper(procedure_name) in (
              'WOLF_22.HELLO_WORLD'
        ) then
            return TRUE;
        else
            return FALSE;
        end if;
    end wwv_flow_epg_include_mod_local;
    /Regards,
    Jari

  • Advice Required Please

    Hi,
    I would be grateful if anyone could advise on the following :
    i) A client that I have is new to Oracle Application Express. What is the
    considered practice as regards setting up workspaces for a set of developers
    i.e. should one workspace be set up for each of the users to access or should
    a workspace be set up for each user?
    ii) If a customer wants to start creating applications, should they do so within a
    newly created schema (of their choice) or should they use e.g. Hr?
    iii) Where can I find the 'ctx' related password as regards the step in the
    installation guide concerned with the Oracle Text requirement?
    iv) In some older documentation (Apex v2.2 installation) concerned with the
    installation of the HTTP Server on a Linux box, it mentioned about the fact that
    the rc.local file in the /etc directory should be amended with appropriate values
    in order to re-enable the restart of the HTTP Server in the event of a server
    reboot - is that the general approach these days for v3.0.1 on that hardware?
    Thanks in advance for your assistance.
    Kind Regards,
    Tom

    i) Are the developers working on the same application? If so, you would want to set up one workspace. Accessing applications across workspaces from a central location can be tricky if not near impossible.
    ii) The schema in which to create applications depends on how the database is going to be accessed. For example, our data warehouse site is using VPD, so we have our main schema DWRP where the data resides and the Application Express uses a schema called DATA_SCHEMA where the VPD functions are applied.

  • Pre-project help/advice required please

    Hi,
    I am about to start on a university project for which I have to implement a Java software solution. I am new to programming so I would appreciate any help/advice.
    I am intending to create a java site (not JSP) for a company which will allow the company's contractors to post jobs in their particular section of th esite (after they have logged in) they can post, edit, update and print jobs. The company must be able to receive these jobs by logging in and then be able to update the progress of the jobs, i.e. recieved, customer contacted, done etc. There will be approximately 4 external companies providing jobs to start with.
    My questions are:
    Can I make a Java program to do this and put it on a webpage?
    Is it best to use MS Access?
    Any tips or pointer?
    This is just astart, I am about to start the design process. I am sure you will see my name more often as the project progresses:D
    Thanks
    FR

    While you could use java to create this project WITHOUT using servlet/JSP technology, it would make it far more difficult. As Brenner said, you could use applets instead, but why deal with the GUI yourself when you can let HTML handle it?
    I'm not sure why you would not want to use servlet/JSP technology... perhaps you have concerns about the web server being able to use it? That's a possible issue, but if the web server is relatively recent, it ought to support Java. If you can use your own software, use Tomcat... it's Java-enabled, and free.
    As for Access... if you have it, it wouldn't hurt to use it. I'm sure there are JDBC drivers available for MS Access somewhere. If, however, you don't HAVE TO use it, I'd download something like mySQL. It's free, and it has free JDBC drivers available. I've used it for school projects, and it's relatively easy to use. No GUI like Access, but I personally consider that a plus ;-)
    I'm a web developer for the military, and I use Java exclusively for my applications. In fact, what I do is done in a way very similar to what you're proposing right now. I make extensive use of servlets, JSPs, JDBC for database access (using DB2, which is a pain), JavaBeans, DataSources, and just about any Web-oriented Java technology you can think of. If you have any specific questions about anything for your project, feel free to contact me. I've probably already done just about anything you're going to encounter, so I'd probably be able to answer any questions easily. My email is [email protected] (I'm supposed to limit incoming mail to my military account... too many viruses floating around).

  • Forms building steps for 'summit application' is required ,please

    Hi
    i'm a beginner in oracle forms & adf and i want to do the summit application by both oracle forms & Jdeveloper
    actually i have the summit schema and the building steps for adf but,
    i don't have the building steps for the forms and i did a lot of searches but i couldn't get it..
    so i'll be grateful if any body could help me in this

    Hi Vishal,
    Recently, the content on OTN was moved, so the old links will no longer work. Our OTN pages have been updated with new link locations, including a new "Conversions" section on the Learn More page - http://www.oracle.com/technetwork/developer-tools/apex/learnmore/index.html. If you follow the link for Oracle Forms Conversions, that will take to you to the Oracle Application Express for Oracle Forms Developers page - http://www.oracle.com/technetwork/developer-tools/apex/apex-for-forms-098747.html - and at the end of this page you'll find a link to the related Oracle By Example (OBE) - http://www.oracle.com/technetwork/testcontent/apex32frmmigr-095892.html. The files associated with this OBE can be downloaded here:http://www.oracle.com/technetwork/testcontent/forms-conversion-133504.zip.
    I hope this helps.
    Regards,
    Hilary

  • Noobie Mac User Alert, Advice Required Please

    Can I plug my existing USB external hard drive into a MAC. The drive contains my backup files of photos (Mainly JPEG'S and some PNG'S) plus my music and some .MOV files. I'm making the move from a PC (WHICH I LOVE DEARLY) to a Mac as I know they are reliable. Any help or advice you folk can give me would be greatly appreciated.

    Thank you so much for the prompt reply. As long as I can get my content transferred over to the mac thats all I need to do. I'm keeping my Windows PC, my wife will have it and make good use of it.. I'll buy a new external drive to use for the MAC.

  • Cooling advice required please

    Hi all,
    I would like advice on best fan (and adaptor for 60mm to 80mm) to replace my stock hsf and a fan for for my passive cooler on my chipset.  Would these be OK to plug into the appropriate headers on my motherboard.
    Thanks
    worf105
    P.S. should I get anything for the south bridge?

    For best overclocking performance you should get a new heatsink + fan. Try adding a small fan (any will do) on your northbridge heatsink. Some fans draw a lot of power, so you might need a 3-pin to molex connector or you'll fry your m/board.
    P4 2.4B without IHS
    MSI 865Pe Neo 2
    1GB Dual-channel DDR-333
    Gigacube Radeon 9600 pro
    2x 40Gigabyte 7200 RPM HDD on RAID 0
    Creative Sound Blaster Audigy DE
    450 watt I-cute PSU
    52x24x52x CDRW
    I know I'm poor...

  • Error executing batch file within web application

    Hi all,
    I am trying to execute a batch file from within my web application (struts 1.2).
    The batch file is being kept inside the 'src' folder. The batch file contains only one command to open NOTEPAD.
    The code inside my Action class is:
    URL url = getClass().getResource("/test.bat");
    java.io.File file = new java.io.File(url.getPath()) ;
    String path = file.getCanonicalPath();
    r.exec(path);
    I have deployed this on tomcat and get an error like this:
    java.io.IOException: Cannot run program "C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\webapps\CIGTAFAPP\WEB-INF\classes\test.bat": CreateProcess error=2, The system cannot find the file specified
    The problem is not with the batch file because when I try to execute the file directly from the classes folder, it opens up the notepad editor.
    I have a specific requirement where I need to create/read this batch file from within the project structure.
    Can someone please help me with this?
    Regards

    The entire content of the file is as below:
    set javaTestProjectPath=D:\projects\CIGTAF\LRTestCases
    C:
    cd %javaTestProjectPath%
    set path=C:\Program Files\Java\jdk1.6.0_21\bin
    set classpath=%javaTestProjectPath%\bin;%javaTestProjectPath%\lib\selenium-server-standalone-2.20.0.jar;%javaTestProjectPath%\lib\testng-6.4.jar;%javaTestProjectPath%\lib\junit-4.10.jar;%javaTestProjectPath%\lib\poi-3.6-20091214.jar;%javaTestProjectPath%\lib\mail.jar
    javac -verbose %javaTestProjectPath%\src\com\core\testscripts\Mailsetup.java -d %javaTestProjectPath%\bin
    javac -verbose %javaTestProjectPath%\src\com\core\testscripts\MailAuthenticator.java -d %javaTestProjectPath%\bin
    javac -verbose %javaTestProjectPath%\src\com\core\testscripts\ReadData.java -d %javaTestProjectPath%\bin
    javac -verbose %javaTestProjectPath%\src\com\core\testscripts\ReadWriteExcelResults.java -d %javaTestProjectPath%\bin
    javac -verbose %javaTestProjectPath%\src\com\core\testscripts\SeleniumFramework.java -d %javaTestProjectPath%\bin
    java org.testng.TestNG %javaTestProjectPath%\SelXD-Config.xml -d %javaTestProjectPath%\test-output
    none of these are getting executed.
    regards
    Edited by: 887789 on May 4, 2012 1:46 AM

  • Oracle Multimedia PL/SQL Web Toolkit Sample Application

    Hi,
    I am trying Oracle Multimedia PL/SQL Web Toolkit Sample Application for Oracle database 11g Release 2, on the client components of the readme file, it says that oracle http server must be installed, and http server is available on the companion CD of Oracle Database 10g Release 2 (10.2), actually I'm using Oracle database 11g, is it because of database version that I cannot find http server component to add using universal installer or because during installation I chose install on my laptop and not a server?
    regards,
    Hassane Cabir

    In apex folder (the downloaded one), there is README.txt under owa which contains information about PL/SQL Web Toolkit and how to upgrade.
    This is the content of this file:
    PL/SQL Web Toolkit 10.1.2.0.6
    Application Express 3.0 requires PL/SQL Web Toolkit version 10.1.2.0.6 or greater.
    As a convenience, the PL/SQL Web Toolkit 10.1.2.0.6 is included with Application Express 3.0
    in the apex/owa directory. This version of the PL/SQL Web Toolkit is not a replacement for
    subsequent versions of the PL/SQL Web Toolkit, as delivered with database patch sets or
    Critical Patch Updates.
    If the PL/SQL Web Toolkit version is lower than version 10.1.2.0.6, the included PL/SQL Web
    Toolkit bundled with Application Express 3.0 should be installed prior to the installation of
    Application Express 3.0.
    To determine the PL/SQL Web Toolkit version, connect to the database as the SYS user and
    run the query:
    select owa_util.get_version from dual;
    Installing the PL/SQL Web Toolkit 10.1.2.0.6
    1) Stop all applications using the database
    2) Navigate to the directory apex/owa
    3) Connect via SQL*Plus as the database user SYS
    4) Run the PL/SQL Web Toolkit installation script by issuing: @owainst.sql
    5) Review the output displayed from owainst.sql and ensure no errors were encountered.
    6) Confirm the PL/SQL Web Toolkit version is 10.1.2.0.6 or greater by connecting to the database
    as the SYS user and running the query:
    select owa_util.get_version from dual;
    7) Run the utlrp.sql script from the Oracle Database home to recompile all invalid PL/SQL
    packages now instead of when the packages are accessed for the first time. This step is
    optional but recommended. To run utlrp.sql, issue: @?/rdbms/admin/utlrp.sql
    Saad

  • Integration a Web Dynpro ABAP application within one of my EP overview page

    Hi Experts,
    I've got an issue when integrating a Web Dynpro ABAP application within one of my EP overview pages.
    We've implemented PLM using the Web Dynpro ABAP scenario for employees. Now Iu2019m trying to integrate this into the Employee Self-Service overview page. I've got no issue to make the icon and area title appears, but when I click on it I get a blank page with Error 404. However when clicking on the link in the navigation bar (Level 2) then I get the page fine. So it looks like EP is not able to integrate correctly the Web Dynpro ABAP into the overview page in EP. Is there any specific Resource configuration?
    One more thing is that if I've implemented the same iView using Resources -> Services -> Sub Areas -> Areas everything works fine, but I receive two navigation Levels (Area Group contains the Area Link and when I click it brings me to Sub Area with the single Service Link) I want to avoid this double clicking, calling the application directly from Area Group -> Area link.
    Anyone has ever come across that kind of issue? Has anyone ever integrated a WDA application directly into an overview page?

    Hi,
    We faced a similar problem with BSPs and had to change the definition of the area link type entry.
    I am assuming you have set the area link type to WebDynpro for ABAP and the resource is calling an Iview/page that has the WD ABAP application configured.
    To get around the error, change the Area Link type to Calls a Portal page and make sure the resource calls an Iview/Page that has the WD ABAP application configured.

  • Navigational charts in Web Application Designer

    Hello all,
    I have a question regarding actionable charts in Web Application Designer. For example a user selects a bar in a chart and based on that selection filters to additional reports or changes existing charts/tables in the Web Application Designer? I know you can right click and setup RRI then goto functionality but I would like the capability to click on the bar chart and then proceed with the action.
    I know this can be done with Geo enabled Map Web Items where you click on a state/country and drill in for additional information but I'd like to know if it can be done with in charts. I know there is an option in WAD to setup Eventing, maybe there you set the onclick event to do the function?
    Any help is appreciated.
    Thanks.

    Does anyone have any suggestions? I keep reading its possible but found no examples.
    Thanks,

  • WEB Server And Database Space requirements for deploying Web Application

       Hi,
         We are in requirement of WEB Server  And Database Space requirements for deploying  our Web Application in cloud server. We want to know technical requirements and feasibilities laid by Microsoft team for deploying web
    application.......
    Regards,
    Sreenivasa M S

    Hi,
    Please refer this link and check if it helps:
    http://blogs.technet.com/b/cbernier/archive/2013/09/24/deploy-your-web-application-to-windows-azure-from-with-visual-studio.aspx
    Regards,
    Azam Khan

Maybe you are looking for

  • MacbookPro won't play some DVDs

    Hello - I"m having issues with my Macbook Pro playing a recently purchased DVD.  When the DVD is inserted, the stock DVD player software will not play the disc.  I returned the originally purchased disc and exchanged it to no avail.  I have since con

  • Event Viewer Error Reports

    How do I send all my event viewer error reports from 3/1/15 to the manufacturer of my computer? IN the event viewer window there seems to be a lock on opening submenu to perform a copy and paste or a SEND option available. I have a WINDOWS 8.1 OPERAT

  • Characters chopped off when using 'ps -ef'

    Hello all: When I monitor a java process, I use this commond: ps -ef | grep MyJavaServiceit appears that MyJavaService has a long jar file list prepended as the classpath, the above command didn't show all the file names on the console - it's chopped

  • Problem managing printer in iManager

    Hi, created an printer in iManager 2.7.4 on OES2 SP2 Linux with all patches. Trying to manage the printer from an XP workstation, selecting drivers, a window pops up with Content "Drivers" and stayed forever. I close this window, the OS list states L

  • Can I make a template to create 1200 forms

    I would like to have 1200 single page forms in pdf format, that each have a unique identifier (their address and business name).  I currently have 1200 single page merged word docs and want to tuen each of them into a stand alone fillable form.  Esse