Creating a TreeView using an SQL data source

Hello and how is everyone. I have been coding in Java Windows services and console applications for a couple of years and now I want to start working on some Java Server Pages. I have been reading up on JSP and JSTL. What I want to do is query an SQL database and bring the data into my jsp page and display the data using a TreeView. Can someone help out ? Thanks :)

If you want a tree component on a web page, you will have to use html/javascript to do that.
You can't use swing components in an html page.
Take a look around at javascript tree components (there are several around the net). You then have to write your jsp to generate the correct javascript code to populate that component.
Obviously it all depends on the javascript component that you decide on to display the tree.
Hope this helps,
evnafets

Similar Messages

  • Using a SQL data source and XML data source in the same template

    I am trying to develop a template for the Request for Quote report generated in Apps 11.5.10. I have loaded the data from the XML output into the template, but I am missing one field - I need the org_id from the po_headers table. Is it possible to use a sql data source (i.e., "select org_id from po_headers_all where po_header_id = [insert header_id from xml data]...") in addition to the xml data source to populate the template at runtime? When you use the Insert > SQL functionality is it static at the time the template is created, or does it call to the database at runtime? I've looked through all the docs I could find, but this isn't clear.
    Thanks for any help or suggestions you may have.
    Rhonda

    Hi Pablo
    Thats a tough one ... if you go custom with a data template you will at least get support on the data template functionality ie you have a problem when you try and build one. You will not get support on the query inside the data template as you might have gotten with the Oracle Report, well you could at least log a bug against development for a bad query.
    Eventually that Oracle Report will be converted by development anyway, theres an R12 project going on right now to switch the shipped OReports to data templates. AT this point you'll be fully supported again but:
    1. You have to have R12 and
    2. You'll need to wait for the patch
    On reflection, if you are confident enough in the query then Oracle will support you on its implementation within a data template. Going forward you may be able to swap out your DT and out in the Oracle one without too much effort.
    Regards, Tim

  • BI Publisher with Siebel 8.1 using custom SQL data source

    Hello ,
    We have Siebel 8.1 implemented with embedded BI Publisher for reporting .
    For some custom requirements , we want to connect to other oracle database table and display the results in Siebel reporting environment .
    I know this is possible with normal BI Publisher environment . But Since I am new to Siebel , I am not sure it will work with SQL as data source .
    Could you please guide me how to do that (if feasible )
    Thanks and regards
    Amit

    Hi,
    I am trying to call the a BIP Report in a workflow. I do several steps prior and then do an insert into the Report Output BC to get the Run Id and then a step to Generate the report output calling XMLP Driver Service with method GenerateBIPReport. I am passing in the argurments but I am unsure of all the dwtails as there isnt alot of documentation on using it in workflow. Can you please assist me or point me to some documentation> I followed the Information of the Doc ID 823360.1 but I may be missing something. Not sure how it knows what to include. Thought it was the bookmark input but not sure. I want to pass it an activity id and return the data associate with that activity (ei. orders). Thanks in advance.... Tracy

  • Using relational data from SQL data source in Planning and Essbase

    Hi,
    How do I take sample data from a SQL data source and bring it into a Hyperion Planning application? I understand that when creating Planning applications, a link between a relational data source and Essbase must be established, because the relational database holds the metadata while the database outline is stored with Essbase. However, all I am currently able to do is load the data into Planning applicaitons via EAS, where I right-click on the Application database, hit load data, and select from either a .txt file or an excel file. Do I need Oracle Data Integrator? Any help or insight would be greatly appreciated, as well as corrections to any incorrect assumptions I may have made in this post. Thank you.

    When you import your file (Excel or text), you're importing it using a Load Rule in EAS. To load from SQL, you simply create a SQL load rule. You'll load data the exact same way (via EAS), but with a different type of load rule. The load rule will contain the SQL that queries the database. You can preview your data in the load rule the same way you would with a file.
    If your SQL is very complex, I'd recommend creating a view and loading from that view. But otherwise it's pretty straight-forward.
    The only catch is that you need to configure a database connection (to your relational database) on the Essbase server. The Essbase DBA guide will show you how to do this.
    You COULD use ODI, but I tend to only use it for loading metadata.
    Hope this helps,
    - Jake

  • How to use Sql data source from Essbase 9.3.1

    Hi All,
    How to use Sql data source from Essbase 9.3.1 for ASO cube.Are there any rules and limitations for that.
    Do we need to create any data source connection for this purpose. If there please let me know the dteps to create that connection.
    Regards

    Yes you need to create one DSN connection and you have to use DSN name and login details at the time of building/loading of the outline.
    Create DSN
    Goto Administrative tools -> DataSources (ODBC) and add the DSN name and specify the Server name of SQL and login details and database.
    goto data prep editor and click on File Menu and Click on Open SQL option Next window opens.
    There you have to enter the details of the DSN connection and SQL query to build/load.
    Thanks,
    Prathap

  • Can't create sql data source in Power BI

    Hello All,
    I'm trying to use the sql database from my ACT! CRM to connect to Power BI.
    I've succeeded in installing the Microsoft data management gateway and connecting this Power BI. Status is 'running'.
    However when I try to add sql data source, and add credentials to log on the 'act7' instance of the sql, the response is 'failed to test connection, login failed'
    Can anyone help?

    Hi Mark,
    When you specify credential, are you able to connect to the data source directly? Meaning that if you're at home please ensure VPN is established between you and the data source. This is another factor of authentication when exposing data source for workbook
    refresh.
    Samuel

  • Bursting using a Concatenated Data Source

    Greetings,
    I am trying to burst a report using a concatenated data source. I have a bursting SQL query set up that works fine, but I am unsure how to handle the "Split By" option. I have a data model that pulls data from multiple queries, like this:
    DETAILS_A
    select * from table_a
    where payee_id in (:p_payee_id)
    DETAILS_B
    select * from table_b
    where payee_id in (:p_payee_id)
    So, if I choose to "Split By" Details_A_Row/Payee_ID, then the data from Details_A is split appropriately, but the reports I generate don't split the information from Details_B properly. I end up with reports where one payee has information for another payee from the Details_B data source. How can I specify that the report should also split/filter the info from Details_B?
    To put it another way, what I'd really like to do is go through a list of parameters (payee IDs in this example) and generate a report for each parameter. Is Bursting the most effective way to do this?
    From searching the forums, it seems like I might be able to accomplish this using Data Templates as my Data Model instead of SQL Queries. Am I on the right track with that? If so, you guys have any helpful links on how to create Data Templates?
    I am using BI Publisher version 10.1.3.4
    Any help is appreciated!
    Martin

    For data template samples, check the following out and then download the zip file (you may not be able to run the reports, but you can view the code)
    http://blogs.oracle.com/xmlpublisher/2009/06/data_template_progression.html
    Thanks,
    BIPuser

  • No SQL data sources EAS 11.1.1.3 W2K3R2

    Hi all,
    I can't get an "SQL data sources" load for creating my rule files.
    I'm using WS 2003R2 64 bit, Oracle Hyperion entreprise performance management system, hyperion entreprise performance management system foundation, essbase client and server 11.1.1.3.0 64 bit.
    A local SQL server 2005 64 bit, and a remote SQL server 2005 64 bit.
    My essbase.cfg :
    ; The following entry specifies the full path to JVM.DLL
    ; JvmModuleLocation C:\Hyperion\common\JRE\Sun\1.5.0\bin\client\jvm.dll
    ;BPM_Oracle_DriverDescriptor "MERANT OEM 5.2 32-BIT Oracle Wire Protocol"
    ;BPM_DB2_DriverDescriptor "MERANT OEM 5.2 32-BIT DB2 Wire Protocol"
    ;BPM_SQLServer_DriverDescriptor "MERANT OEM 5.2 32-BIT SQL Server Wire Protocol"
    ;BPM_SQLServer_DriverDescriptor "MERANT OEM 5.2 64-BIT SQL Server Wire Protocol"
    BPM_SQLServer_DriverDescriptor "SQL Server"
    ;BPM_Netezza_DriverDescriptor "NetezzaSQL"
    ;BPM_Teradata_DriverDescriptor "Teradata"
    BPM_ORACLEBI_DriverDescriptor "Oracle BI Server"
    ; AuthenticationModule CSS
    ; AGENTPORT 1423
    ; SERVERPORTBEGIN 32768
    ; SERVERPORTEND 33768
    ; AGENTDESC hypservice_1
    AGENTPORT 1423
    SERVERPORTBEGIN 32768
    SERVERPORTEND 33768
    AGENTDESC hypservice_1
    I've created a working ODBC link using the "SQL Server" driver to connect to my remote DB, tested under excel.
    I have tried the "MERANT OEM 5.2 64-BIT SQL Server Wire Protocol" too, it's seems to work under "data source" in the control panel, but it doesn't work under excel.
    I've read the esb_sqlint.pdf, and i didn't find what i've missed.
    Regards,
    Basile

    I use the default way.
    Control Panle -> admin tools -> data source
    I think it create the 64 bit ODBC link.
    I've used the three odbc driver ,MERANT ODBC 64 bit SQL server wire protocol, the SQL Native client, and SQL server.
    Essbase still say "There are no data sources defined. Please create one to continue".
    Regards.
    Basile

  • How to use existing SharePoint Data Source in Visual WebPart in Visual Studio

    I want to create a SharePoint Visual Web Part using Visual Studio, which will query SQL database and will display some data (e.g. Latest News from Database)
    I already have a SQL Data Source (rsds file) in SharePoint. Can i use this rsds to connect SQL database for my Visual Web Part ?

    I will use web.config as last option but can you please explain how BdcService will connect external SQL database.
    What if I use SharePoint property to store connectivity information and all web parts will use it to make connection string?
    Following code returns 0 entities
    // Get reference to BDC Service
    BdcService service =
    SPFarm.Local.Services.GetValue<BdcService>();
    // Get MetaData Catalog
    IMetadataCatalog catalog = service.GetDatabaseBackedMetadataCatalog(SPServiceContext.Current);
    // Some heading for the literal control
    string dbData =
    "<h1>Lob Systems and Entities … </h1> " +
    "</br>";
    // Get all the external content types from the meta data catalog
    foreach (IEntity
    ect in catalog.GetEntities("*"))
    // Add external content type’s name and lob system name to the literal control
    dbData += ect.Name +
    "," + ect.GetLobSystem().Name +
    "</br>";
    ltMsg.Text = dbData;

  • My database not listed at SQL data source in Web Expression 4

    Can anyone help me out?
    Am not sure whether this is the correct place for my problem.
    I set up SQL Server 2005. Created a database named "employee" and a table under it "emp_info"
    I tried to connect it from Microsoft Web Expression 4 through SQL Data Source control. Well, the connection test is successful but the database i created is not shown in the drop down. However, it shows the system databases. 
    Again i create the table under one of the system databases, and tried to connect it. Those system tables which are there from before are only available to connect but not the table i newly created.
    I have checked the properties, permission of the table as well as the database. Nothing is wrong there.
    Will attach screenshot after the forum admin verify me.

    Hi Marconi,
    The forum supports VS setup and installation. Your issue is more about Web Expression 4. But I find the information below from the link:http://www.microsoft.com/expression/eng/#web
    The web is now about applications as well as traditional web sites, and this requires a new set of tools. Microsoft is committed to offering a unified approach to focus on web design and development features in Microsoft Visual Studio 2013 and beyond.
    As part of this consolidation, Microsoft Visual Studio 2013 provides the leading web development tool, which enables you to design, develop, and maintain websites and web applications. Visual Studio 2013 makes it easy to build CSS-based websites from the
    ground up with CSS layouts, HTML5 support and full featured capabilities for working with and debugging JavaScript. Learn more about
    Visual Studio Express 2013 for Web and
    WebMatrix 3.
    It seems you could install VS express 2013 for web to instead it. If you want to install VS express for web and you encounter any issue, you could post the installation issue to here.
    >>No, this is not the correct forum. This forum is for using .Net Framework inside SQL Server.
    The sentense is from the first reply. It seems you first post the issue to SQL server for help. As Erland said, it seems your issue is more about Web Expression 4. Have you solved your issue by using the first reply? If has, please mark the first reply as
    answer. If not, you could post your issue to the related forum for better support.
    http://social.msdn.microsoft.com/Forums/expression/en-US/home?forum=web
    I will move the thread to off-topic forum. Thanks for your understanding.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Report using two different data sources won't work.

    I'm trying to build a report that shows information from a production table and an archive table.
    Tables are in different databases, which are defined as their own Data Sources in Publisher.
    Two data sets containing the same query but using different Data Sources are defined in the Data Model.
    When selecting option 'Concatenated SQL Data Source' the report never completes.
    If any of the two Data Sets is selected as the Main Data Set, the report shows information related to that source only.
    Any hints on how to make this work would be appreciated.
    Thanks.
    ccastillo

    More details on this issue:
    The production database has a synonym pointing to the archive database. I build a query using a UNION ALL statement linking both tables.
    For the same set of parameters, this query completes in a couple of minutes outside BI Publisher, but never ends (I cancel after an hour) inside Publisher.
    Is there any special considerations for the use of synonyms inside Publisher?

  • SQL Interface - Error in Loading the data from SQL data source

    Hello,
    We have been using SQl data source for loading the dimensions and the data for so many years. Even using Essbase 11.1.1.0, it's been quite a while (more than one year). For the past few days,we are getting the below error when trying to load the data.
    [Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Info(1021013)
    ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]CURSOR IDENTIFIED IN FETCH OR CLOSE STATEMENT
    IS NOT OPEN (DIAG INFO: ).]
    [Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Info(1021014)
    ODBC Layer Error: Native Error code [4294966795]
    [Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    [Mon Jan 10 11:02:56 2011]Local/{App Name}/{DB Name}/{User Id}/Error(1003050)
    Data Load Transaction Aborted With Error [7]
    [Mon Jan 10 11:02:56 2011]Local/{App Name}///Info(1013214)
    Clear Active on User [Olapadm] Instance [1]
    Interestingly, after the job fails thru our batch scheduler environment, when I run the same script that's being used in the batch scheduler, the job completes successfully.
    Also, this is first time, I saw this kind of error message.
    Appreciate any help or any suggestions to find a resolution. Thanks,

    Hii Priya,
    The reasons may be the file is open, the format/flatfile structure is not correct, the mapping/transfer structure may not be correct, presence of invalid characters/data inconsistency in the file, etc.
    Check if the flatfile in .CSV format.
    You have to save it in .CSV format for the flatfile loading to work.
    Also check the connection issues between source system and BW or sometimes may be due to inactive update rules.
    Refer
    error 1
    Find out the actual reason and let us know.
    Hope this helps.
    Regards,
    Raghu.

  • How to create a counter using Oracle SQL Developer?

    Is there any way to create a counter using Oracle SQL Developer to create the below scenario. Meaning it will recorded down the name of user and ID and time and the date they login.
    Library portal home statistics shows how many users (outside and within the campus) visit the library portal.
    Page Access statistics is recorded on an hourly basis. Users may select the statistics by
    yearly (statistics displayed by all months in the selected year)
    monthly (statistics displayed by all days in the selected month)
    daily (statistics displayed by all hours in the selected day)

    I'm giving here one basic post - hope this will solve your problem --
    SQL>
    SQL>
    SQL> create table audit_info
      2   (
      3     usr        varchar2(50),
      4     log_time   timestamp(6)
      5    );
    Table created.
    SQL>
    SQL>
    SQL>  create table err_log
      2     (
      3       log_cd      varchar2(20),
      4       log_desc    varchar2(500)
      5     );
    Table created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_err(errcd   in  varchar2,
      2                                        errnm   in  varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into err_log values(errcd,errnm);
      7      commit;
      8    end;
      9  /
    Procedure created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_aud(ud   in varchar2,
      2                                        unm  in varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into audit_info values(ud,unm);
      7      commit;
      8    exception
      9      when others then
    10        ins_err(sqlcode,sqlerrm);
    11    end;
    12  /
    Procedure created.
    SQL>
    SQL>
    SQL>
    SQL> create or replace trigger log_odsuser1
      2   after logon on odsuser1.schema
      3   begin
      4     ins_aud('ODSUSER1',sysdate);
      5   exception
      6     when others then
      7       ins_err(sqlcode,sqlerrm);
      8   end;
      9  /
    Trigger created.
    SQL>
    SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 12 12:21:09 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL>
    SQL>
    SQL>
    SQL> set serveroutput on
    SQL>
    SQL>
    SQL> select * from audit_info;
    USR
    LOG_TIME
    ODSUSER1
    12-JUN-07 12.00.00.00000000 AMHope this will solve your purpose.
    Regards.
    Satyaki De.

  • Create Report with CR4E and XML Data Source

    Hi all,
    I have a problem when create a report with CR4E that should use a XML data source. It is not possible to choose fields from the field explorer, because ther are no fields from the XML-file. Is there a general problem when using an ODA data source in CR4E?  At the moment I can only create reports with a database as data source.
    Please help me with a tip.
    Thanks
    Arnold

    Hi,
    After Installing CR4E Version 2  the code snippet for creating a XML-report not works as JSP. Has anywhere a hint to resolve the problem or a complete JSP-file?
    reportClientDocument = new ReportClientDocument();
    java.lang.NoClassDefFoundError: com/crystaldecisions/reports/common/data/CrystalResultSet
         com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.<init>(Unknown Source)
         org.apache.jsp.XMLDataSource_jsp._jspService(XMLDataSource_jsp.java:64)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    Thanks
    Arnold Meier

  • SQL Data Sources Disabled

    Hi Gurus,
    I've Teradata 13.10.00 client and 32-bit ODBC driver installed on Essbase11.1.2 Server. Then I've created a system DSN to our Teradata source.
    Now when I open SQL in Rules file, I dont see the DSN created in SQL data sources drop down and it is disabled.
    Are there any other prerequisites, or anything I'm missing ? Can you please help ?

    HyperionNewbie wrote:
    I've Teradata 13.10.00 client and 32-bit ODBC driver installed on Essbase11.1.2 Server. Then I've created a system DSN to our Teradata source.I would assume that you are running Essbase 11.1.2.x 64bit so try adding a 64bit ODBC driver instead of a 32bit.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Multimapping with ABAP Class

    Hi all, in a scenario I have to do some complex summarizations and mappings and so on. Therefore I implemented an ABAP Mapping within a class. For the conversion I use a simple Transformation to have the data after it in an internal table. Then I'm d

  • Hide Excel from popping out when creating slide in PowerPoint

    Hi, l have an application that will generate PowerPoint and create some chart within the PowerPoint. i've been using Interop.Powerpoint.Slide.Shapes.AddChart() to create chart in PowerPoint. The momment this function is called, an Excel window will p

  • SQL*NET waits in trace file

    Hi All, There is a long running query, i generated trace file for this request. In trace file i found that there are huge waits on SQL*Net message from client The below is the trace file output: Elapsed times include waiting on following events: Even

  • Make self defined function on ALV toolbar invisible

    Hello Experts, I have defined a self defined function dropdown on standard ALV toolbar on the Lead select event  and defined the function too. But I want at some condition the dropdown should disappear. How can I set the drop down on the ALV toolbar

  • Error running simple  applications.

    Hi all, I have just downloaded CDC PP on my fedora core 2 linux machine. I have tried to compile the demo applications by "builddemo" and when i run the demos by "rundemo", I get the following error. Have i forgotten to set the classpath somewhere? N