JSP uix:table without bc4j

Hi!
I am trying to build a page in JSP including UIX tags for tabs and other layout issues. I would like to include a table. I have some fixed tables I want to include. In UIX XML I have seen I can manually build a table using the <table> tag and build up the table with a header, then row-by-row.
Is it possible to do the same thing in UIX JSP as well? When I try to cut and paste the code from UIX XML to the JSP and prefix all the tags with uix:, all it gives me is "tag is not registered in taglib". Is there another way to build up a table, other then just plain html?
One of the reasons I want to use the table tag, is to be able to split up long tables over multiple pages. Using BC4J and view objects is not an option!
Thanks in advance,
Jeroen van Veldhuizen

Yes you can.
Right click your session facade and choose create data control
Then drag the query results from your datacontrol onto the page and drop as a pivot table.
If you don't want to use ADF Binding you'll need to create a managed bean for your JSF that has the correct data collection for a pivot table.

Similar Messages

  • UIX/XML and BC4J -- practical???

    Has anyone actually used UIX/XML and BC4J to develop a "real" application? The majority of the examples in the help screens use jsp's, yet the comparisons I've read in the help screens seem to indicate that XML is more flexible.
    UIX/XML seems like such a clever concept, I like the idea, but it's getting the best of me. Should I jump ship now?
    Any comments please!
    js

    Examples are definitely what's needed and I put my request for a full blown MVC application using UIX/XML (without BC4J in my case) to Adam a while ago which was forwarded to the 'management'. Hopefully something will come from this soon. I agree with Janet that UIX is a great concept (don't jump ship yet!) and it should save us so much work but that real world examples would surely help us all. No disrespect, Juan, but you regularly respond to people's questions with 'Have you read the UIX developer's guide provided in the documentation' - we've all read the documentation many times, if only it were that simple! I'm sure it's easier for someone inside Oracle to get the answers they need whereas we on the 'outside' have to rely on this forum for now which is a struggle.
    Bill's idea of illustrations would be great, though I'd like to see the examples relate to the sample screens show on the BLAF standards website. I only found out about the BLAF website accidentally through this forum. The UIX Developer's Guide should explicity reference this as I've found it extremely useful.
    Ed,
    The UIX Developer's Guide is in the JDeveloper Help.

  • Which Web Client Framework? BC4J-JSP, UIX-JSP, UIX-XML, etc

    Trying to determine which, if any of the JDeveloper frameworks, to use for do web browser (HTML) clients.
    What are the pros/cons of BC4J-JSP, UIX-JSP, UIX-XML, etc?
    What are some common things you might rule out using one or more of the frameworks?
    I plan to be using BC4J, updating, inserting data (currently MS-SQL) and the apps will run on WebLogic 7 or Caucho Resin (webapps no EJB) in a cluster. I would like to be as RAD as possible and still be able to do what I need to do. One main concern is being able to add custom HTML/JavaScript for things like client side validation. I didn't see a way to do this when doing BC4J-JSP. Is that right?
    If I define any validation in the BC4J, will UIX utilized any of this to define a JavaScript validator or must it be redudantly defined?
    One other concern is what the framework requires in terms of architecture, like do I have to have sticky sessions in my web cluster or can it work fine stateless or stateful?
    For UIX-XML, how is this architected for performance? Specifically, is the XML effectively compiled and converted into something more efficient and performant or does it do XML parsing all the time? Is there any significant performance differences between the frameworks?
    Is there any significant difference in dealing with security? Anything in the framework to make it easier to handle certain users being able to see/edit different set of data?
    I have things like some groups can edit only certain entities (product info but not pricing), others only certain types of products (possibly subclass entities) and others situations where what fields than can edit varies. Obviously I can handle this programmatically, but I was wondering what the frameworks had to offer, especially in terms of having different views of the same data.
    Steve

    ...I am little confused then about how BC4J works and what is meant by "session" here.
    When you talk about appmodules in the plural, does this mean that there are potentially multiple instances of the same data on a single server or there is a common datastore with pending data and client specific stuff varying?
    The common datastore is the database. Each client (momentarily, during the span of their request) uses an instance of an application module from the pool. The pool can grow and shrink with load on your system and all of the various tuning parameters. Our doc on the AM Pool covers all the parameter settings and their users.
    What kind of "session" is this?
    It is an abstract notion of a session for a user. The implementation used for Web clients uses the HTTP Session Key as the session key. However, we have other session implementations (and you can provide your own to do custom stuff for more sophisticated needs). We don't store anything else in the HTTP Session to the best of my knowledge. This way in a cluster, the web container doesn't have to waste time propagating all of your serialized HTTP Session state among cluster members. This session key also include an id for the application module and together those provide the key to store your pending state in the database for the "Stateful == Managed State" feature.
    I assume that if I have a cluster which doesn't use session-to-same-server-affinity but uses JDBC for http-session persistance or distributed in-memory http-sessions then I cannot use stateful BC4J even though I can use http-sessions.
    You can use BC4J in this way because the browser will send a cookie that contains the key to your database-stored pending state. In this way, we work great in a server farm for failover and/or scalability reasons.
    Even if I use stateless BC4J, are there issues with round-robin'ng all requests to different servers in a cluster?
    As I said, both our Stateless and Stateful features are designed to be used in Server farms, no problem.
    BTW I wouldn't necessarily say you picked the wrongs terms for the modes, but I know what you mean. There's problems with these terms. I am trying to explain to my mgrs/engineers that there is some state in stateless transactions - that simply making everything "stateless" doesn't mean don't lose anything in a disastrous failure. I am arguing to get support for sessions in our cluster, that the performance gain and simplified development is worth it as long as you put intelligent limits on what you store in the session. Right now, they are insisting on randomly sending requests into two entirely different data centers, with two different clusters.
    Amen. I have seen too many developers make the mistake of trying to be totally stateless, only to completely complicate their development environment with having to peristent partially-completed transaction data to the database. I've seen this done with sets of "Shadow" tables (yuck!) or using hand-written techniques similar to what BC4J provides a robust implementation of in the box.
    We've tuned our "Stateless With Affinity for Server Farms" model over several releases of carefully studying the performance of the Web apps built by our internal Oracle Applications teams using BC4J (over 20 of them now, and growing!) so compared with a hand-written strategy for your web-tier state management, using BC4J's implementation will be much more productive for you.
    We're tuning and tweaking and enhancing it even more for the 9.0.3 release as new needs are highlighted with continued use by our customers (both Oracle internal and external).

  • uix:table using JSP tags

    I cannot figure out how to bind a dataobject list using the <uix:table> tag. Could someone please help me with this.
    Jeff Driskell

    Do you mean that you already have a DataObjectList which you want to set as the <uix:table>'s tableData attribute? If so, I believe you have two choices:
    1. You can use a scriptable variable for the table and call setTableData() explicitly on the TableBean.
    2. You can use a scriptable variable for a dataScope and register a DataProvider which provides access to your DataObjectList. Then, you can use the tableDataBinding attribute of the <uix:table> tag to bind to your DataProvider.
    Examples of both of these techniques are provided in the "Scriptable variables" section of the "UIX JSP Tag Libraries" section of the UIX Developer's Guide.

  • UIX validation in editable table without refreshing

    I have an editable table in a UIX page and I want to validate some fields against the DB (when the focus of each textInput is lost) without refreshing the table (to keep in the textInputs the data previously introduced by de user). To obtain that I pass the value that I want to validate to a second form (using javascript) which is submitted using the javascript function submitForm.
    How can I do to keep the table without refreshing?
    Here is the code:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title="Maestro Ficheros"/>
    </metaContainer>
    <contents>
    <script>
    <contents>
    <![CDATA[function foco(){
         var n = document.form0.nombrefi.value;
         document.form1.param1.value = n;
         submitForm(document.forms[1],0,{'event':'Validar'});
    } ]]>
    </contents>
    </script>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <table model="${bindings.Gccintt001View1}"
    id="Gccintt001View11"
    partialRenderMode="multiple"
    partialTargets="_uixState"
    nameTransformed="false">
    <contents>
    <column>
    <columnHeader>
    <sortableHeadermodel=
    "${ctrl:createSortableHeaderModel (bindings.Gccintt001View1, 'Nombrefi')}"/>
    </columnHeader>
    <contents>
    <switcher childName=
    "${uix.current.Nombrefi.inputValue==
    bindings.Nombrefi.inputValue ?
    'selected' : 'notselected'}">
    <case name="selected">
    <textInput id="nombrefi"
    model="${bindings.Nombrefi}"
    readOnly="false" columns="15"
    styleClass="OraBGAccentLight"
    onChange="javascript:foco()"/>
    </case>
    <case name="notselected">
    <textInput model="${uix.current.Nombrefi}"
    columns="15" readOnly="true"/>
    </case>
    </switcher>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model=
    "${ctrl:createSortableHeaderModel (bindings.Gccintt001View1,'Descfichero')}"/>
    </columnHeader>
    <contents>
    <switcher childName=
    "${uix.current.Nombrefi.inputValue== bindings.Nombrefi.inputValue ?
    'selected' : 'notselected'}">
    <case name="selected">
    <textInput id="descfichero"
    model="${bindings.Descfichero}"
    readOnly="false" columns="15"
    styleClass="OraBGAccentLight"/>
    </case>
    <case name="notselected">
    <textInput model=
    "${uix.current.Descfichero}"
    columns="15" readOnly="true"/>
    </case>
    </switcher>
    </contents>
    </column>
    </contents>
    </form>
    <form name="form1" method="post">
    <contents>
    <formValue name="param1" value="vacio"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    <event name="Validar">
    <method class="view.EventHandler" method="pruebaEventHandler"/>
    </event>
    </handlers>
    </page>
    Thanks Gari.

    I found a solution. Using a hidden form inside a iFarame and passing the values between forms with javascript, I can post the hidden form maintaining the changes in the table.
    Gari

  • HTML Rendering works on UIX-JSP but not UIX-XML or BC4J-JSP

    I built a "custom" renderer following the HOW TO document for HTML rendering. I made a "Drop Down" list that works in a test UIX-JSP application. When I try to attach the DynamicListInputField class to a project created under UIX-XML or BC4-JSP the rendereing does not take affect. No errors, the application runs fine, just no rendereing.
    I made all three projects from the same VO's and the same DynamicListInputField.java. The three projects were Wizard Based and created with:
    "Business Componets UIX XML Application" from the UIX XML Category
    "Business Componets JSP Application" from the UIX JSP Category
    "Business Componets JSP Application" from the BC4J JSP Category
    What is wrong?
    TIA,
    Ed.

    What error you are getting...please provide error details.
    It is working fine for me.
    Rgds
    Bala Murali

  • "Next" and "Previous" functionality on UIX tables not working with 10g

    With new release of JDeveloper(10G), the "Next" and "Previous" navigation buttons/links on UIX tables are not working. I tried different approaches:
    1. It does not work with Data Controls built from Java Beans or from TopLink.
    2. I tried without using Data Controls and it still does not work.
    I shows "Next" and "Previous" buttons on the page. But it shows all records on the page rather then showing limited records. Say for example if the block size is 5 and total number of records are 15, it shows all 15 records in the table but the "next" and "Previouds" button would say "1-5 of 15".
    Did any of you observe the same behaviour?

    Hi Shital -
    Thanks for the additional info...
    When I said that the total number of records is 15, I
    meant that my tableData's DataObjectList contains 15
    entries. (In case of DataControls you don't even use
    DataObjectList, but for my non data control
    applications I used DataObjectList). You are saying
    that If I want to display only 5 records per page
    then I will need to provide a DataObjectList with
    five items. Then for next five records from 6-10 I
    will have to program in such a way that my method
    call returns 6-10 records.That's correct. In the case where you are explicitly providing data to the table via a DataObjectList, you need to feed the data to the table in page size blocks - and you also need to handle the table's goto event to scroll the table to the next/previous block of data.
    In previous version of
    UIX(2.1.7) I never had to program for next and
    previous buttons. UIX tables used to take care of
    that. That's why I am so surprised.It sounds like you must have been using the <bc4j:table> component. Is that the case?
    Getting back to your original issue...
    1. It does not work with Data Controls built
    from Java Beans or from TopLink.I believe that this is a bug in the preview release - and I'm fairly sure this will be addressed by production. In production, ADF should automatically handle wiring up table scrolling for you when binding your table to a data control - whether the data control is implemented via JavaBeans, Toplink, or BC4J. I believe that in the preview release, scrolling only working when binding to a BC4J data control.
    Andy

  • Hiding certain columns in UIX table

    I want to hide certain colums of my UIX table based on VO at runtime depending on context.
    I know that I can use the rendered property of a column but I believe there is a way to do it without dealing with UIX. The reason is that I have about 30 dynamic colums so specifying the property (and enabling the appropriate bindings) seems to be tiresome and unreasonable.
    I have a method in AppModuleImpl.java that sets the VO query and I want this method to hide the unwanted colums somehow.
    Any suggestions ?

    What about in your UIX table adding a columnGroup containing the 30 odd columns, setting its rendered property to true/false through EL (expression language) based on whatever the context you refer to is (possibly a session variable previously set)? That way you wouldn't have to set the rendered property for each individual column.
    CM.

  • Creating a LINK in ADF UIX table

    Dear sirs...
    is it possible to create a link for each row in an adf uix table? the link selects the row and forwards to another page.
    i have seen this in a JSP page, but uix????
    best regards

    Dear sirs...
    is it possible to create a link for each row in an adf uix table? the link selects the row and forwards to another page.
    i have seen this in a JSP page, but uix????
    best regards

  • Uix:table

    Hello!
    How can I render data using <uix:table> component? I know how it goes with uix, but I need it in uix jsp.
    Here's what I've tried:
    <uix:table id="myTable">
    <%
      DataObject[] rows = new DataObject[12];
      for(int i = 0; i < 10; i++) {
        DictionaryData row = new DictionaryData();
        row.put("test1", "row " + i);
        row.put("test1", "column 2, row " + i);
        rows[i] = row;
      myTable.setTableData(new ArrayDataSet(rows));
    %>
    </uix:table>But there's no result. It just renders a table with one empty field.
    Could someone give me a simple example of rendering data using <uix:table tableDataBinding="..." ... /> component.
    Thanks!
    Andrej

    hi, you need to add columns.
    here is an example:
        <uix:table id="myTable"  >
        <%
          DataObject[] rows = new DataObject[12];
          for(int i = 0; i < 10; i++) {
            DictionaryData row = new DictionaryData();
            row.put("col1", "row " + i);
            row.put("col2", "column 2, row " + i);
            rows[i] = row;
          myTable.setTableData(new ArrayDataSet(rows));
        %>
          <uix:column >
            <uix:columnHeader >
              <uix:styledText text="Header1"/>
            </uix:columnHeader>
            <uix:styledText textBinding="col1"/>
          </uix:column>
          <uix:column >
            <uix:columnHeader >
              <uix:styledText text="Header2"/>
            </uix:columnHeader>
            <uix:styledText textBinding="col2"/>
          </uix:column>
        </uix:table>

  • Error JBO-25002 in JSP-UIX

    Hi:
    I know is a old error, but i don't have idea how to resolve. I ran a JSP-UIX application and when i ran for the first time all is fine, but, for the second time the error appears. I have verified my View definition in my package and it's fine, also i have verified my Application Module and seems fine.
    I run in Local Mode and using JDeveloper 903 Production.
    Here the error code:
    Error creating the ORB :
    oracle.jbo.NoDefException: JBO-25002: Definition CatalogoVista.RhEntidadfederativaView of type View Definition not found
         java.lang.Object oracle.jbo.mom.DefinitionManager.findDefinitionObject(java.lang.String, int, java.lang.Class, boolean, boolean)
              DefinitionManager.java:319
         java.lang.Object oracle.jbo.mom.DefinitionManager.findDefinitionObject(java.lang.String, int, java.lang.Class, boolean)
              DefinitionManager.java:260
         java.lang.Object oracle.jbo.server.MetaObjectManager.findMetaObject(java.lang.String, int, java.lang.Class, boolean)
              MetaObjectManager.java:648
         oracle.jbo.server.ViewDefImpl oracle.jbo.server.ViewDefImpl.findDefObject(java.lang.String)
              ViewDefImpl.java:363
         oracle.jbo.ViewObject oracle.jbo.server.ApplicationModuleImpl.createViewObject(java.lang.String, java.lang.String)
              ApplicationModuleImpl.java:2493
         void oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(oracle.jbo.server.ApplicationModuleImpl)
              ApplicationModuleDefImpl.java:357
         void oracle.jbo.server.ApplicationModuleImpl.resetState(boolean, boolean)
              ApplicationModuleImpl.java:3201
         void oracle.jbo.server.ApplicationModuleImpl.resetState(boolean)
              ApplicationModuleImpl.java:3145
         void oracle.jbo.common.ampool.ApplicationPoolImpl.resetApplicationModule(oracle.jbo.common.ampool.SessionCookie, boolean, boolean)
              ApplicationPoolImpl.java:1224
         void oracle.jbo.common.ampool.ApplicationPoolImpl.resetApplicationModule(oracle.jbo.common.ampool.SessionCookie, boolean)
              ApplicationPoolImpl.java:1089
         void oracle.jbo.common.ampool.ApplicationPoolImpl.removeSessionCookie(oracle.jbo.common.ampool.SessionCookie)
              ApplicationPoolImpl.java:566
         void oracle.jbo.common.ampool.SessionCookieImpl.timeout()
              SessionCookieImpl.java:494
         void oracle.jbo.http.HttpSessionCookieImpl.timeout(oracle.jbo.http.BindingEvent)
              HttpSessionCookieImpl.java:160
         void oracle.jbo.http.HttpContainer.fireTimeout(java.lang.Object, java.util.Properties)
              HttpContainer.java:416
         void oracle.jbo.http.HttpContainer.timeout(java.util.Properties)
              HttpContainer.java:202
         void oracle.jbo.http.HttpContainer.valueUnbound(javax.servlet.http.HttpSessionBindingEvent)
              HttpContainer.java:237
         void com.evermind.server.http.EvermindHttpSession.destroy(boolean)
              EvermindHttpSession.java:289
         void com.evermind.server.http.EvermindHttpSession.invalidate()
              EvermindHttpSession.java:234
         void com.evermind.server.http.HttpApplication.destroySessions()
              HttpApplication.java:5550
         void com.evermind.server.http.HttpApplication.destroy()
              HttpApplication.java:5499
         void com.evermind.server.http.HttpApplicationDestroyer.run()
              HttpApplicationDestroyer.java:19
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    THXS
    MARCO H

    Dhiraj:
    Can you elabaorate a little more on what you mean by re running the application?I run the JSP inside JDeveloper 903.
    The error appears only in the log Windows, not in the page. I've note when running for the first time the application, the log error no appears. When i running for the second time and so, the error appears in the log window.
    I'm not sure, but the problem appeared when i migrated to JDeveloper 903 from 902. I the probem is not serious because i can't see my page and seems works fine.
    I gave the complete windows log with the error (sorry in my first post cut the fisrt lines and maybe could be important for you).
    <code>
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\JDeveloper 903 Prod\jdk\bin\javaw.exe -ojvm -classpath D:\JDeveloper 903 Prod\j2ee\home\oc4j.jar -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config D:\JDeveloper 903 Prod\jdev\system9.0.3.1035\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Embedded OC4J startup time: 8132 ms.
    Target URL -- http://192.168.0.6:8988/Espacio-NOMUIXJSP-context-root/RhEmpresaView_Browse.jsp
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    BC4J HTTP Container was timed out
    The session cookie for the application, AppJSP, was timed out
    Embedded OC4J startup time: 50 ms.
    Target URL -- http://192.168.0.6:8988/Espacio-NOMUIXJSP-context-root/RhEmpresaView_Browse.jsp
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = soap
    oracle.jbo.NoDefException: JBO-25002: Definition CatalogoVista.RhFormuladetView of type View Definition not found
         java.lang.Object oracle.jbo.mom.DefinitionManager.findDefinitionObject(java.lang.String, int, java.lang.Class, boolean, boolean)
              DefinitionManager.java:319
         java.lang.Object oracle.jbo.mom.DefinitionManager.findDefinitionObject(java.lang.String, int, java.lang.Class, boolean)
              DefinitionManager.java:260
         java.lang.Object oracle.jbo.server.MetaObjectManager.findMetaObject(java.lang.String, int, java.lang.Class, boolean)
              MetaObjectManager.java:648
         oracle.jbo.server.ViewDefImpl oracle.jbo.server.ViewDefImpl.findDefObject(java.lang.String)
              ViewDefImpl.java:363
         oracle.jbo.ViewObject oracle.jbo.server.ApplicationModuleImpl.createViewObject(java.lang.String, java.lang.String)
              ApplicationModuleImpl.java:2493
         void oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(oracle.jbo.server.ApplicationModuleImpl)
              ApplicationModuleDefImpl.java:357
         void oracle.jbo.server.ApplicationModuleImpl.resetState(boolean, boolean)
              ApplicationModuleImpl.java:3201
         void oracle.jbo.server.ApplicationModuleImpl.resetState(boolean)
              ApplicationModuleImpl.java:3145
         void oracle.jbo.common.ampool.ApplicationPoolImpl.resetApplicationModule(oracle.jbo.common.ampool.SessionCookie, boolean, boolean)
              ApplicationPoolImpl.java:1224
         void oracle.jbo.common.ampool.ApplicationPoolImpl.resetApplicationModule(oracle.jbo.common.ampool.SessionCookie, boolean)
              ApplicationPoolImpl.java:1089
         void oracle.jbo.common.ampool.ApplicationPoolImpl.removeSessionCookie(oracle.jbo.common.ampool.SessionCookie)
              ApplicationPoolImpl.java:566
         void oracle.jbo.common.ampool.SessionCookieImpl.timeout()
              SessionCookieImpl.java:494
         void oracle.jbo.http.HttpSessionCookieImpl.timeout(oracle.jbo.http.BindingEvent)
              HttpSessionCookieImpl.java:160
         void oracle.jbo.http.HttpContainer.fireTimeout(java.lang.Object, java.util.Properties)
              HttpContainer.java:416
         void oracle.jbo.http.HttpContainer.timeout(java.util.Properties)
              HttpContainer.java:202
         void oracle.jbo.http.HttpContainer.valueUnbound(javax.servlet.http.HttpSessionBindingEvent)
              HttpContainer.java:237
         void com.evermind.server.http.EvermindHttpSession.destroy(boolean)
              EvermindHttpSession.java:289
         void com.evermind.server.http.EvermindHttpSession.invalidate()
              EvermindHttpSession.java:234
         void com.evermind.server.http.HttpApplication.destroySessions()
              HttpApplication.java:5550
         void com.evermind.server.http.HttpApplication.destroy()
              HttpApplication.java:5499
         void com.evermind.server.http.HttpApplicationDestroyer.run()
              HttpApplicationDestroyer.java:19
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    Error creating the ORB :
    </code>
    MARCO H

  • Can Java create HTML tables without running a web server?

    Hello,
    I would like to know if Java can output data into a simple HTML-like table without having to run a web server or jsp etc.
    I want my program to access a database and print records in HTML-like table cells.
    It is actually for an events calendar program, where each event would be printed in a cell (date). There would be a variable number of events per cell (date), with each one being editable.
    I have seen various "web" calendars like this but I want to make it a desktop application so that it is not dependant on the functioning (or non-functioning!) of a web server.
    Can Java do this? I would settle for any type of prewritten table creator (not necessarily HTML) but I do not want Excel type tables or a table where entries must be GUI buttons, such as in Outlook.
    Thank you very much for any idea you may have,
    Cat

    Thank you for the replies :)
    I found something with Jeditorpane (JTextComponent and HTML Text Display) at
    http://msp-of.de/oreilly/books/javaenterprise/jfc/ch03_21.htm
    which looks like what I want. It allows hyperlinks within the table cells and I'm not sure if JTable allows for that. Also, I will want multiple lines and even images (eg moon phases for the calendar) in each cell. I ran the example above and it works great. And yes, it makes use of the HyperlinkListener.
    I don't want to create an HTML file for those who suggested that. I just want the flexibility of HTML formatting withing my standalone Java application.
    I am still not sure why everyone is suggesting JTable though :) So I will look at it some more. The link above also has a turorial on JTable and does say its faster that JEditor pane because it doesn't have to do any HTML rendering. But it doesn't look to me like it can really ever look like a calendar.....
    Thank you again! Being a total Java novice, I am very impressed with how easy JEditorpane is.
    Cat

  • Displaying data in one row for  for 2 tables without relaiton

    I Have 2 tables without any relation and there is a common field and i want to display data like below
    table refdet
    1)
    refdt----------refbr----refamt----refcat
    10-aug-09---10-----34234-----101a
    10-aug-009--11----23245-----102a
    1-AUG-09----10----455.98----104A
    19-aug-09-12-----10000-------103B
    2) brdet
    trdt---------brn-----brtot-----------brcat
    11-aug09--10-----454000-------A
    09-aug-09-12-----550000-------B
    30-sep-09--10-----430000------A
    09-aug-09-11-----550000-------B
    i want to display data for each branch refdet.refbr = brdet.brn
    refdet
    Br10
    refdt----------refbr----refamt----refcat-----trdt---------brn-----brtot-----------brcat
    10-aug-09---10-----34234-----101a-------11-aug09--10-----454000-------A
    1-AUG-09----10----455.98----104A------30-sep-09--10-----430000------A
    Br 11
    10-aug-009--11----23245-----102a -------09-aug-09-11-----550000-------B
    Br12
    19-aug-09-12-----10000-------103B------09-aug-09----12-----550000-------B
    i tried the following query but its not working
    select distinct null as refdt,null as refbr,null as refamt,null as refcat,b.trdt,b.brn,b.brtot,b.brcat
    from brdet a,refdet b
    where a.refbr (+) = b.brn
    union all
    select distinct a.refdt,a.refbr,a.refamt,a.refcat,null as trdt,null as brn,null as brtot,null as brcat
    from brdet a,refdet b
    where a.refbr = b.brn (+)
    its not giving the records on each row for both side its creating separte rows for each records in both table.
    rgds
    jytohi
    -

    Hi jytohi,
    Please lean back for a moment and study your question. Ask yourself, is this a reasonable way to ask a question?
    Jopefully you'll reach the answer, "No it isn't, I need to.."
    1. Turn these
    1)
    refdt----------refbr----refamt----refcat
    2) brdet
    trdt---------brn-----brtot-----------brcatinto CREATE TABLE statements.
    2. Turn these
    10-aug-09---10-----34234-----101a
    10-aug-009--11----23245-----102a
    1-AUG-09----10----455.98----104A
    19-aug-09-12-----10000-------103B
    11-aug09--10-----454000-------A
    09-aug-09-12-----550000-------B
    30-sep-09--10-----430000------A
    09-aug-09-11-----550000-------Binto INSERT INTO statements
    3. Turn this
    refdet
    Br10
    refdt----------refbr----refamt----refcat-----trdt---------brn-----brtot-----------brcat
    10-aug-09---10-----34234-----101a-------11-aug09--10-----454000-------A
    1-AUG-09----10----455.98----104A------30-sep-09--10-----430000------A
    Br 11
    10-aug-009--11----23245-----102a -------09-aug-09-11-----550000-------B
    Br12
    19-aug-09-12-----10000-------103B------09-aug-09----12-----550000-------Binto properly formatted expected output, along with a reasonable explanation of why
    4. Turn this
    select distinct null as refdt,null as refbr,null as refamt,null as refcat,b.trdt,b.brn,b.brtot,b.brcat
    from brdet a,refdet b
    where a.refbr (+) = b.brn
    union all
    select distinct a.refdt,a.refbr,a.refamt,a.refcat,null as trdt,null as brn,null as brtot,null as brcat
    from brdet a,refdet b
    where a.refbr = b.brn (+)into a properly formatted query
    And last, put everything in into curly brackets {noformat}{noformat} to preserve formatting and blank space.
    Best regards
    Peter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to create Table in a Table without a ViewLink for Master/Detail

    Hi,
    Can we create a Table within Table in OA Page without using a view link. Need a Master Detail records to be displayed but I can't use a ViewLink. Is it possible to
    have a Table within Table without using a ViewLink. As I have DetailVO with multiple bind variables. I tried ViewLink but it didn't work so wondering if can achieve this
    using table in table without ViewLink
    Thanks

    Hi,
    I created a Table then in the table I created a detail in which I created another table I created a transient view attribute i.e. DetailFlag that I set to my outer table. When I run the page it does show me the Master records and showhide link but when I click on the show it throws an error saying:
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition  of type Attribute not found
    Even though all the items in Detail table are attached to VO attributes of DetailVO
    As I have a different MasterVO query with some bind variables and the DetailsVO query is different with some bind variables. Now how do I capture when a user clicks on Show and at that time wants to get some values from a selected master row and pass them to my DetailVO Query so the detail data for that selected master row shows. How do I get handle to the selected Row Data so to get the some values that need to be passed to the DetailVO.
    I tried following the guide but am not able to have it functioning.
    Here is what I have in my controller's processRequest method
         OAApplicationModule am = pageContext.getApplicationModule(webBean);
         System.out.println("******* 1");
         am.invokeMethod("initializeTables");
         OATableBean table =
          (OATableBean)webBean.findChildRecursive("OuterTable");
        if (table == null)
          MessageToken[] tokens = { new MessageToken("OBJECT_NAME", "OuterTable") };
          throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", tokens);
        table.queryData(pageContext, true);
        System.out.println("******* 2");Any help is appreciated.
    Thanks

  • Adding a single table without a logical join to another table (OBIEE 10g)

    Sometimes I want to just display a single table without a logical join to another table in the repository. However, everytime I move it to the Business Model and Mapping layer and perform a Global Consistency Check, it tells me that it needs a logical join and I am forced to create another table to join to it. Thus creating a dimension-fact relationship. There are times I don't need this relationship and just want to display some data. Is there anyway to get around this?
    Thanks in advance!

    Yes,You have to create a join.You cannot take single table to BMM layer.You can create an alias of the table.Join this alias and base table through any common column and take both tables to BMM and desired table to presentation layer.
    Another way is to create a view in physcial layer.Write a select statement like
    Select primary_key from Table
    Where primary_key is primary key of base table.Join this view ith base table and repeat the steps defined for Alias.
    Regards,
    Sandeep

Maybe you are looking for