3.2;BC4J; Grid: NavBar

Hi,
Any way to turn off "First & Last" icons while keep on "Next & Previouse" icons on
Navigation Bar.
note: "NavBar.setHasNavigationButtons" will turn on/off all togather.

I think you need to remove BUTTON_LAST before you remove BUTTON_FIRST. BUTTON_FIRST and BUTTON_LAST are int properties in the NavigationBar class hold the actual index positions for the JComponents in the JToolbar. When you remove the first JComponent (BUTTON_FIRST), it screws up the indexing, so getComponentAtIndex() is just looking for a JComponent at index n.
In case anyone is worried, this shouldn't mess up the normal operation of the NavigationBar. The NavigationBar stores the toolbar JButtons in an array. When it needs to access one of the JComponents, it uses getComponentIndex() and passes in the JButton as a parameter. We can't do that because the JButton array is private to NavigationBar.

Similar Messages

  • 3.2; BC4J; Grid: attached Combo with two columns?

    Hi,
    I anybody could attach a combo to grid with two or more Columns? Or any idea to attach an LOV to grid cells?
    Thanks
    null

    package com.npevolution.util;
    import java.awt.Component;
    import javax.swing.JTable;
    import javax.swing.table.TableCellRenderer;
    import oracle.dacf.control.swing.ComboBoxControl;
    import javax.infobus.*;
    import oracle.dacf.dataset.*;
    public class ComboBoxControlRenderer extends javax.swing.JComboBox
    implements javax.swing.table.TableCellRenderer {
    private RowSetInfo rowSetInfo;
    private String colGuardar;
    private Object comboCod[];
    //@colMostrar is "Name"
    //@colGuardar is "Cod"
    public ComboBoxControlRenderer(RowSetInfo rsi, String colMostrar, String colGuardar) {
    super();
    rowSetInfo = rsi;
    this.colGuardar = colGuardar;
    try{
    ScrollableRowsetAccess m_Rs = (ScrollableRowsetAccess)rsi.getRowsetAccess();
    int rowCount = m_Rs.getRowCount();
    for (int iRow=0; iRow<rowCount; iRow++){
    m_Rs.absolute(iRow+1);
    ImmediateAccess ia = (ImmediateAccess)m_Rs.getColumnItem(colMostrar);
    String str = ia.getValueAsString();
    addItem(str);
    }catch(Exception e){
    e.printStackTrace();
    public Component getTableCellRendererComponent(JTable table,
    Object value, boolean isSelected, boolean hasFocus,
    int row, int column) {
    ScrollableRowsetAccess rs = rowSetInfo.getRowsetAccess();
    int index = 0;
    try {
    boolean moreRows = rs.first();
    while (moreRows) {
    if (value.equals(((ImmediateAccess)rs.getColumnItem(colGuardar)).getValueAsString())) {
    break;
    } else {
    index++;
    moreRows = rs.next();
    } catch (Exception ex) {
    System.out.println("Error al buscar el indice en el Renderer: " + ex.getMessage());
    if (index < rs.getRowCount()){
    setSelectedIndex(index);
    return this;
    import java.awt.Component;
    import java.util.EventObject;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import oracle.dacf.control.swing.ComboBoxControl;
    import javax.infobus.*;
    import oracle.dacf.dataset.*;
    public class ComboBoxControlEditor extends JComboBox
    implements javax.swing.table.TableCellEditor{
    protected EventListenerList listenerList = new EventListenerList();
    protected ChangeEvent changeEvent = new ChangeEvent(this);
    private RowSetInfo rowSetInfo;
    private String colMostrar;
    private String colGuardar;
    private Object comboCod[];
    * Constructor
    *@param rsi RowSetInfo que se utiliza para cargar el JComboBox
    *@param colMostrar nombre del AttributeInfo del RowSetInfo que muestra el combo
    *@param colGuardar nombre del AttributeInfo del RowSetInfo que se tiene que asignar a la celda del editor
    public ComboBoxControlEditor(RowSetInfo rsi, String colMostrar, String colGuardar) {
    super();
    rowSetInfo = rsi;
    this.colGuardar = colGuardar;
    this.colMostrar = colMostrar;
    addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent event) {
    fireEditingStopped();
    try{
    ScrollableRowsetAccess m_Rs = (ScrollableRowsetAccess)rsi.getRowsetAccess();
    int rowCount = m_Rs.getRowCount();
    comboCod = new Object[rowCount];
    for (int iRow=0; iRow<rowCount; iRow++){
    m_Rs.absolute(iRow+1);
    ImmediateAccess ia = (ImmediateAccess)m_Rs.getColumnItem(colMostrar);
    String str = ia.getValueAsString();
    addItem(str);
    ia = (ImmediateAccess)m_Rs.getColumnItem(colGuardar);
    str = ia.getValueAsString();
    comboCod[iRow] = str;
    }catch(Exception e){
    e.printStackTrace();
    * Mitodo que devuelve el atributo rowSetInfo del ComboBoxControlRenderer.
    * @return RowSetInfo
    public RowSetInfo getRowSetInfo() {
    return rowSetInfo;
    * Mitodo que establece el valor del atributo rowSetInfo del ComboBoxControlRenderer.
    * @param rs RowSetInfo que se asocia
    public void setRowSetInfo(RowSetInfo rsi) {
    rowSetInfo = rsi;
    * Mitodo del interfaz TableCellEditor.
    public void addCellEditorListener(CellEditorListener listener) {
    listenerList.add(CellEditorListener.class,listener);
    * Mitodo del interfaz TableCellEditor.
    public void removeCellEditorListener(CellEditorListener listener) {
    liste nerList.remove(CellEditorListener.class,listener);
    protected void fireEditingStopped() {
    CellEditorListener listener;
    Object[] listeners = listenerList.getListenerList();
    for (int i=0; i<listeners.length; i++) {
    if (listeners[i] == CellEditorListener.class) {
    listener = (CellEditorListener) listeners[i+1];
    listener.editingStopped(changeEvent);
    protected void fireEditingCanceled() {
    CellEditorListener listener;
    Object[] listeners = listenerList.getListenerList();
    for (int i=0; i<listeners.length; i++) {
    if (listeners[i] == CellEditorListener.class) {
    listener = (CellEditorListener) listeners[i+1];
    listener.editingCanceled(changeEvent);
    * Mitodo del interfaz TableCellEditor.
    public void cancelCellEditing() {
    fireEditingCanceled();
    * Mitodo del interfaz TableCellEditor.
    public boolean stopCellEditing() {
    fireEditingStopped();
    return true;
    * Mitodo del interfaz TableCellEditor.
    public boolean isCellEditable (EventObject event) {
    return true;
    * Mitodo del interfaz TableCellEditor.
    public boolean shouldSelectCell(EventObject event) {
    return true;
    * Mitodo del interfaz TableCellEditor.
    * Devuelve un objeto con el valor contenido en el editor.
    public Object getCellEditorValue() {
    String seleccionado = (String)this.getSelectedItem();
    ScrollableRowsetAccess rs = rowSetInfo.getRowsetAccess();
    String codigo = "";
    try {
    boolean moreRows = rs.first();
    while (moreRows) {
    if (seleccionado.equals(((ImmediateAccess)rs.getColumnItem(colMostrar)).getValueAsString())) {
    codigo = ((ImmediateAccess)rs.getColumnItem(colGuardar)).getValueAsString();
    break;
    moreRows = rs.next();
    } catch (Exception ex) {
    System.out.println("Error al buscar: " + ex.getMessage());
    return codigo;
    * Mitodo del interfaz TableCellEditor.
    * Establece un valor inicial para el editor.
    * Devuelve el componente para editar.
    public Component getTableCellEditorComponent(JTable table,
    Object value, boolean isSelected, int row, int column) {
    ScrollableRowsetAccess rs = rowSetInfo.getRowsetAccess();
    int index = 0;
    try {
    boolean moreRows = rs.first();
    while (moreRows) {
    if (value.equals(((ImmediateAccess)rs.getColumnItem(colGuardar)).getValueAsString())) {
    break;
    } else {
    index++;
    moreRows = rs.next();
    } catch (Exception ex) {
    System.out.println("Error al buscar: " + ex.getMessage());
    if (index < rs.getRowCount()){
    setSelectedIndex(index);
    return this;
    null

  • 3.2; BC4J; Grid; setFormater

    Hi,
    I defined setFormater for a Date attribute
    (MM/dd/yyyy)in Grid.
    During loading the Grid on screen, there is no problem when the attribute has data. but when it is null, the NullPointerException raise and the Grid will not load.
    By the way, everything is ok when i comment the setFormater out.
    Would appraciate any idea.
    Ali

    Ali,
    This bug has been fixed.
    As a workaround, you can extend the DefaultDateFormatter class, override the format method and check for null for the object to format. You can return an empty string from the method if the data to format is null.
    null

  • 3.2; BC4J, Grid; requestFocus?

    Hi,
    Any idea to trap the cursor on a cell in Grid when the entered value is invalid. like requestFocus() property in textFieldControl?

    You can try a mouse clicked event. I do this on a mouseReleased event. I have a round button defined for a gridcell. Then test where the point is with something like the following:
    public void mouseReleased(MouseEvent e) {
    ShapeRoundButton releaseObj = (ShapeRoundButton)e.getComponent();
    JTable releaseTable = (JTable)releaseObj.getParent();
    valueWhenReleased = releaseTable.getValueAt(releaseTable.rowAtPoint(e.getPoint()),releaseTable.columnAtPoint(e.getPoint())).toString();
    Hope this helps.
    Linda

  • Bc4j; DAC; navbar Commit ClassCastException

    JDev 3.2/JDK 1.3
    Earlier I noted a problem I'm having with rollback button. I am also having problem with the commit:
    Handled exception breakpoint occurred at line 1674 in file [C:\Program Files\Oracle\JDeveloper 3.2\src\dacf-src.zip]\oracle\dacf\control\swing\NavigationBar.java: java.lang.ClassCastException.
    * check if an LOV property has been set on the control's dataobject
    protected boolean isBoundToLOV(Control c)
    DataItem di = (DataItem)c.getDataItem();
    if ((di != null) && (di instanceof ImmediateAccess))
    AttributeInfo attrInfo = (AttributeInfo )di.getProperty(
    DataItemProperties.INFO_OBJECT);
    if (attrInfo != null)
    return (( attrInfo.getLOV() != null ) ? true : false);
    return false;
    ClassCastException occurs on the AttributInfo attributeInfo line. The debugger seems to indicate that it's working on the combobox that I've updated. The traceback shows in the message view pane, and the transaction seems to post properly. As it is a handled exception, the user sees no dialog error box.
    Should I be worried about all these castClassExceptions that are being generated?

    BTW, I'm still learning Java, but I can't even determine why a Class Cast Exception would occur on the lines where the Debugger traps to. Could someone fill me in? TIA.

  • Navbar in fluid grid layout??

    I can't for the life of me find anything on changing changing the content and look of the navbar in desktop and mobile view to look different from eachother and fit the browsers properly. If anyone has any links or advice on how to do so please help. Thank you.

    If you're building a Responsive Layout, you need Responsive menus.
    Project Seven Responsive Tabs
    http://www.projectseven.com/products/tools/tpm2/tutorials/responsive/index.htm
    Project Seven Tab Panel Magic2 Menus
    http://www.projectseven.com/products/tools/tpm2/tutorials/miracle-menu/index.htm
    10 Responsive Menus
    http://speckyboy.com/2012/08/29/10-responsive-navigation-solutions-and-tutorials/
    Nancy O.

  • Creating a grid-like layout

    Previously, I posted a problem with trying to wrap tables within tables, referencing this code.
    <!-- ... -->
    <tableLayout>
      <contents>
        <rowLayout>
          <contents>
            <bc4j:viewObjectScope name="CustomArrayDataGraphsView">
              <bc4j:rowStamp>
                <cellFormat>
                  <contents>
                    <tableLayout>
                      <contents>
                        <rowLayout>
                          <contents>
                            <link
                                  styleClass="OraHeaderSub"
                                  targetFrame="display">
                              <boundAttribute
                                              name="text">
                                <bc4j:attrValue name="AnalysisParam"/>
                              </boundAttribute>
                              <boundAttribute
                                              name="destination">
                                <bc4j:ordProperty name="url"/>
                              </boundAttribute>
                              <boundAttribute
                                              name="shortDesc">
                                <bc4j:attrValue name="Description"/>
                              </boundAttribute>
                            </link>
                          </contents>
                        </rowLayout>
                        <rowLayout>
                          <contents>
                            <bc4j:attrScope name="Graph">
                              <contents>
                                <html:object
                                             width="300"
                                             height="200">
                                  <boundAttribute
                                                  name="data">
                                    <bc4j:ordProperty name="url"/>
                                  </boundAttribute>
                                  <boundAttribute
                                                  name="type">
                                    <bc4j:ordProperty name="contentType"/>
                                  </boundAttribute>
                                  <rawText>
                                    <boundAttribute
                                                    name="text">
                                      <bc4j:attrValue name="Description"/>
                                    </boundAttribute>
                                  </rawText>
                                </html:object>
                              </contents>
                            </bc4j:attrScope>                                                                                                                                  
                          </contents>
                        </rowLayout>
                      </contents>
                    </tableLayout>
                  </contents>
                </cellFormat>
              </bc4j:rowStamp>
            </bc4j:viewObjectScope>
          </contents>
        </rowLayout>
      </contents>
    </tableLayout>
    <!-- ... -->The above code renders a single row of elements which are tables themselves. Using the <cellFormat> inside the <viewObjectScope> avoids the "new line" rendering of the internal tables of title/images. However, the internal tables do not wrap.
    This is an unfortunate side-effect of html tables. So, I need to basically make a sizeable grid (similarly to a GridLayout for all you AWT/Swing folks out there) layout that can render a specified number of columns per table, creating new rows as necessary. Something like...
    <gridLayout columns="5">
      <contents>
        <bc4j:viewObjectScope                                 name="CustomArrayDataGraphsView">
          <bc4j:rowStamp>
            <cellFormat>
              <contents>
                <!-- render something per row -->
              </contents>
            </cellFormat>
          </bc4j:rowStamp>
        </bc4j:viewObjectScope>
      </contents>
    </gridLayout>This custom layout will render a maximum of five columns of data per table row, where each column is actually a row of information from the view object.
    Is this possible using UIX components or should I start coding?
    Thanks,
    joe

    Also, displaying a bunch of "inline"ed tables would be really useful. I can't seem to do this from within a <header>, <hideShowHeader> tag, even with explicitly coding:
      <bc4j:viewObjectScope name="CustomArrayDataGraphsView">
        <bc4j:rowStamp>
          <bc4j:attrScope name="Graph">
            <contents>
                  <html:table style="display: inline">
                    <html:tr>
                      <html:td>
                        <styledText text="Title"/>
                      </html:td>
                    </html:tr>
                    <html:tr>
                      <html:td>
                        <styledText text="Image"/>
                      </html:td>
                    </html:tr>
                  </html:table>
    <!--
                  <tableLayout styleClass="display: inline" width="300">
                    <contents>
                      <rowLayout>
                        <contents>
                          <styledText text="Title"/>
                        </contents>
                      </rowLayout>
                      <rowLayout>
                        <contents>
                          <styledText text="Image"/>
                        </contents>
                      </rowLayout>
                    </contents>
                  </tableLayout>
            </contents>
          </bc4j:attrScope>
        </bc4j:rowStamp>
      <!-- render a "No Records Found" message -->
        <contents>
          <styledText
                      text="No Records Found"
                      styleClass="OraErrorText">
            <boundAttribute
                            name="rendered">
              <if>
                <comparison
                            type="lessThan">
                  <bc4j:viewObjectProperty name="estimatedRowCount"/>
                  <fixed
                         javaType="int">1</fixed>
                </comparison>
                <fixed
                       javaType="boolean">true</fixed>
                <fixed
                       javaType="boolean">false</fixed>
              </if>
            </boundAttribute>
          </styledText>
        </contents>
      </bc4j:viewObjectScope>Apparently, the header tags do something which effects the display of "inline"ed elements, like the tables in the previous example. Any suggestions? I know taking out of the header works great, but, the <hideShowHeader> functionality is particularly necessary.
    I have a time constraint on this... gotta be done by today, so if you have any other later minute suggestions besides creating a grid-like layout, let me know!
    Thanks,
    Joe

  • Dw6 fluid grid layout

    trying to make sense of the fluid grid layout.
    can you use <div class> in fluid grid layout?
    is it best to only insert divs using the fluid grid layout div?
    when you insert a new fluid grid div what is the difference between entering a new line or not?
    the html structure seems to be the same regardless of if you start a new line or not, am i wrong?
    any help would be appreciated!

    Ben Pleysier wrote:
    It's not my code, just rubbish I pulled out of the Bootstrap example sites....plenty more like that........ how about this beauty:
    <div class="spb-row-container spb-row-full-width spb_parallax_asset sf-parallax parallax-window-height parallax-fixed spb_content_element bg-type-cover col-sm-12 no-shadow hidden-xs remove-element-spacing col-natural" data-v-center="true" data-top-style="" data-bottom-style=""  data-midnight="dark" style="background-color:#009fc2;margin-top:0px;margin-bottom:0px;background-image: url(http://www.thesign.pt/wp-content/uploads/2014/10/FM.jpg);">
    I thought we were talking about Bootstrap. No Bootstrap in the above.
    <body class="html not-front not-logged-in no-sidebars page-node page-node- page-node-1172 node-type-static-page not-mobile region-content navbar-is-fixed-top"  onunload="">
    No Bootstrap here either.
    <div class="col-lg-3 col-md-4 col-md-offset-1 col-sm-4 col-sm-offset-1 col-xs-22 col-xs-offset-2 col-lg-offset-0">
    Please allow me to explain. Bootstrap is based on 12 columns regardless of screen size. Translating the above we get the following for each of the screen sizes
    large 3 cols offset 0
    medium 4 cols offset 1
    small 4 cols offset 1
    extra small 22 cols offset 2
    Our attention immediately falls on the extra small device with 22 columns that are 2 columns offset, total 24 columns. How can this be when there are only 12 columns available. Why would one have offset columns on the smallest screen size when we are already battling for real-estate. I think that if we make the classes believable we can safely ignore the classes for the extra small device. Continuing, we see the same number of columns for medium and small and the same offset. Being a mobile first approach, the classes that we assign to small will filter through to larger screen sizes making the classes for medium screen sizes ineffective. Looking at the 0 offset for large screen sizes?? Why do that when it is the default value. In other words, had Bootstrap been applied properly, the tag would look like
    <div class="col-sm-4 col-sm-offset-1 col-lg-3">
    The other two examples are even more ridiculous. Once again, I implore you to start learning Bootstrap and you will come to the conclusion that you are supplying us with gibberish.
    I'm not supplying the gibberish it's the many websites that rely on frameworks, be they Bootstrap/Foundation/Wordpress - whatever rubbish they are using that I'm lifting this code from that are supplying it.
    Take the Bootstrap form - every form input field I observe is wrapped in a <div> tag, why - it's bloated and redundant coding. Bootstrap, much like Wordpress was never invented to be used to build websites.
    That IS my whole point - there are numerous examples of where Bootstrap IS NOT being used properly because people rely on something they no nothing about and end up with verbose class names splattered around all over their pages, bloated js and css scripts because they are the default files which come with Bootstrap.
    <div class="col-sm-4 col-sm-offset-1 col-lg-3"> to me this is still nasty and overly complex 'class' mark-up. A page full of this tripe would drive me insane.
    The very worst people you could advise to use Bootstrap are the people in this forum because most will have little knowledge of coding (that's why they turn to a framework) and end up with a page full of crap.
    And I'm not verbalising you - you said it yourself. People use lots of 'short cuts' - it doesnt mean it's a good approach to take. No ones re-inventing the wheel apart from Bootstrap, who are obviously trying too. Media queries already exist to produce responsive design, learn how to implement them and free yourself from being entrapped by frameworks where you have to use their naming convention, their break points by default, their over bloated js and css files and somethimes rubbish html mark-up.

  • Problem with GRID NAVIGATION EFFECTS WITH JQUERY

    Hi All,
    Im having problem with this image gallery with navigation (please see link below to see running demo). I am trying to use the 'Row move' style but am having problems getting the function to work. I have the images and everything set up fine but the actual function/navigation isn't working. I have downloaded all the relevant files to my computer but nothing happens when i click on the arrows. Also all of the 20 images are showing instead of just the 2 rows of 3? There should be 2 rows of 3 iamages showing then when the arrows are clicked the next two rows are shown and so on.
    http://tympanus.net/codrops/2011/06/09/grid-navigation-effects/
    This is the code i have -
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>My gallery</title>
    <link href="stylesheet.css" rel="stylesheet" type="text/css" />
    <link href="gridNavigation.css" rel="stylesheet" type="text/css" />
    <link href="reset.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
              background-color: #000000;
    a:link {
              text-decoration: none;
              color:#f1d379;
    a:visited {
              text-decoration: none;
              color: #f1d379;
    a:hover {
              text-decoration: none;
              color: #9d6f1b;
    a:active {
              text-decoration: none;
              color: #f1d379;
    </style>
            <script type="text/javascript" src="scripts/jquery-1.6.1.min.js"></script>
                        <script type="text/javascript" src="scripts/jquery.easing.1.3.js"></script>
                        <script type="text/javascript" src="scripts/jquery.mousewheel.js"></script>
                        <script type="text/javascript" src="scripts/jquery.gridnav.js"></script>
    <script type="text/javascript">
                                  $(function() {
                                            $('#tj_container').gridnav({
                                                      type          : {
                                                          rows    : 2,
                                                                mode                    : 'rows',                               // use def | fade | seqfade | updown | sequpdown | showhide | disperse | rows
                                                                speed                    : 1000,                                        // for fade, seqfade, updown, sequpdown, showhide, disperse, rows
                                                                easing                    : 'easeInOutBack',          // for fade, seqfade, updown, sequpdown, showhide, disperse, rows
                                                                factor                    : 150,                                        // for seqfade, sequpdown, rows
                                                                reverse                    : ''                                        // for sequpdown
                        </script>
    </head>
    <body>
    <div class="container" id="container">
    <div id="navbar" class="#navbar">
    <ul>
              <li><a  href="index.html">Homepage</a></li>
              <li><a  href="about_me.html" >About me</a></li>
              <li><a  href="gallery.html">Gallery</a></li>
              <li><a  href="contact.html">Contact</a></li>
      </ul>
    </div>
                                                      <div class="tj_nav">
                                                                <span id="tj_prev" class="tj_prev">Previous</span>
                                                                <span id="tj_next" class="tj_next">Next</span>
                                                      </div>
                                                      <div class="tj_wrapper">
                                                                <ul class="tj_gallery">
                                                                          <li><a href="#"><img src="images/1.jpg" alt="image01" /></a></li>
                                                                          <li><a href="#"><img src="images/2.jpg" alt="image02" /></a></li>
                                                                          <li><a href="#"><img src="images/3.jpg" alt="image03" /></a></li>
                                                                          <li><a href="#"><img src="images/4.jpg" alt="image04" /></a></li>
                                                                          <li><a href="#"><img src="images/5.jpg" alt="image05" /></a></li>
                                                                          <li><a href="#"><img src="images/6.jpg" alt="image06" /></a></li>
                                                                          <li><a href="#"><img src="images/7.jpg" alt="image07" /></a></li>
                                                                          <li><a href="#"><img src="images/8.jpg" alt="image08" /></a></li>
                                                                          <li><a href="#"><img src="images/9.jpg" alt="image09" /></a></li>
                                                                          <li><a href="#"><img src="images/10.jpg" alt="image10" /></a></li>
                                                                          <li><a href="#"><img src="images/11.jpg" alt="image11" /></a></li>
                                                                          <li><a href="#"><img src="images/12.jpg" alt="image12" /></a></li>
                                                                          <li><a href="#"><img src="images/13.jpg" alt="image13" /></a></li>
                                                                          <li><a href="#"><img src="images/14.jpg" alt="image14" /></a></li>
                                                                          <li><a href="#"><img src="images/15.jpg" alt="image15" /></a></li>
                                                                          <li><a href="#"><img src="images/16.jpg" alt="image16" /></a></li>
                                                                          <li><a href="#"><img src="images/17.jpg" alt="image17" /></a></li>
                                                                          <li><a href="#"><img src="images/18.jpg" alt="image18" /></a></li>
                                                                          <li><a href="#"><img src="images/19.jpg" alt="image19" /></a></li>
                                                                          <li><a href="#"><img src="images/20.jpg" alt="image20" /></a></li>
                                                        </ul>
                </div>
    </div>
    </body>
    </html>

    Not sure what example you are using but it looks like you have missed out a couple of important <divs> in your code which surround the main <div>:
    If the case of example five:
    <div class="content example5'>
    <div id="tj_container" class="tj_container">
    MAIN STUFF GOES HERE
    </div>
    </div>
    I dont know if its my computer or not but I found the animation a bit flaky.

  • Sites using BC4J???

    Hi,
    I would like to know if there are any commercial sites, or any live sites existing on the web, which are developed using BC4J.
    Thanks,
    Amit
    null

    Steven,
    Initially, we're seeing 3-10 seconds on a high end machine (PIII-866, 256MB), and near instantaneous after the first time. ( Depends upon how much you've put in your show() and how much memory you have ).
    I "preserve" the commonly used frames by not disposing (uh...=null'ing.. see earlier post on this issue) them, but reuse the objects and clean things up in a show().
    On LOW end client machines (PI-133, 64MB)... the frames may take 30-45 seconds ( or more ), the first time... and 5-20 seconds thereafter, depending upon the complexity.
    The most complex frame has 5 tabbed panes and probably 80-100 Infoswing textfields, comboboxes, textareas and checkboxes. It also has a detail grid control, and probably 60-70 buttons. And a slew of pull down menus. It ain't my pappy's idea of a simple "frame". That single frame probably replaces 7 "frames" in our old X-Windows application.
    NOTE: If you simply make frames invisible for re-use, your application WILL slow signficantly on low end machines because BC4J will try to keep all those controls on all those invisible frames up to date. This can be further aggravated by any rowMove or transaction listeners you may have implemented for the frame! So you have a trade-off on low end machines of slow re-instantiation of a frame when they need it... or fast re-instantiation but slowness for all ongoing activities!
    Hmmm... I suppose I could put checks that avoids "updates" in my listeners if the frame is now shown... but is there a way to do this for the BC4J automatic stuff?
    grin The users were warned a year ago, when they chose an application over JSPs (for ease of use and power of functionality.) We actually met the target I forecast... 2 minutes to startup, 30 seconds to swap frames initially, and 5-10 seconds to move between records ( Under HotSpot 1.3 ). But actually USING it under those conditions is different than agreeing to those performance expections in the design stage!
    Since these are heads down multi-shift technicians/engineers who use the application continually through the day and evening, the idea is to keep the application up ( or minimized ) for the entire day or week.
    We have decided to upgrade ALL our PI-133mhz/64MB machines, as they are effectively obsolete and this application pushed 'em over the edge. ( They actually have SMS, Outlook, AntiVirus, Oracle ERP apps ( GUI and Character mode ) up all at the same time on that configuration! They usually shut down Outlook or ERP to get into other apps... otherwise they went into "spin cycle" on their disk ( swapfile thrashing under W95/98) )
    We're going to a min config on the client of 866mhz/128MB machines. This will be necessary anyway as we are going to Oracle Apps 11i along with a new Java based PDM system on top of my application, in the next 6-9 months. My app was just the first to expose the need for beefier PCs than Grandma uses to buy things on Ebay. On second thought, Grandma has a beefier PC so she can refresh every second to get that bid in 2 seconds before closing.
    We are running into a larger than expected number of crashes of the JVMs on the client side. I'm currently testing Hotspot 1.3, Hotspot 1.3.1 (beta) and OJVM on various clients ( W95R1, W98, NT4.0SP6 and W2K ) and will report any results ( or bug patches ) I get in the near future on this board.
    Some of the crashes of the Hotspot 1.3 are already documented on the java.sun.com site by other folk.
    BTW - The back end server. I'm piggybacking on the Oracle ERP's HP hp-ux N-class 8 cpu server with an EMC disk array. You know, the kind they have on Galaxy class starships. My app/database fits into a tiny corner of that critter. No problems on the server side.
    whew Long, rather disconnected report... we should probably start a different thread on "Client Performance" if we continue....

  • Bc4j,dacf:[3.2.3] Searching for the performance boost switch

    As I mentioned in the thread http://technet.oracle.com:89/ubb/Forum2/HTML/008025.html
    I am investigating the performance of an application.
    Some new Information on this. I get some speedup by deactivating the locking. But the app is not really responsive. Paging down a grid takes about 4-6sec per page. Another test showed that there is no difference if I use one table or a join.
    Now I made some JSP. These are running real fast. The normal pages load under 2sec.
    So far I can see the problems seems to in the communication between the BC4J and the DACs.
    Has anyone some optimization suggestion? (I use the generated frames and JSPs)
    Bernd

    Hi Bernd,
    currently I try to speed up our application that is based on applets and DACFs in local deployment mode, too.
    Here are my results and I would like to discuss my observations within this thread:
    - Startup time (login) about 30 sec. is normal and can't be improved programmatically.
    - Use JDK 1.3 (The Swing stuff is improved a lot and the dacs are derived from them).
    - Use Lov-Controls instead of Comboboxes wherever possible.
    - Trace the sql-statements generated by the business-components and analyze the results. Mybe your code executes some queries unnecessarily.
    - Build a prototype of a form with high complexity (much business logic) and check if this speed is sufficent for all your clients - this should be a KO-Criteria! If this test fails, you have to search for another architecture (JSPs).
    But the most boostable advice is this: Try to reduce the data-transfer between your forms and the database as much as you can.
    * Using a grid control is very convenient, but is it really necessary to fill it with a statment like SELECT * FROM BLAH_TABLE...?
    * SetRestrictedQuery(...) with a parameter to reduce the transfer fo the query results of the LOV control.
    * ViewLinks are fine - they fetch the detailed information only when its necessary.
    * I doubt, that it will be a good three tier server side component design, but what about defining a View for complex joins in the database and wrap a bc-entity around it (of course you have to rethink your UI) instead of setting up different entities, views and view-links in the bc-layer?
    What I really want to know is, if putting the bc-tier in the database will end up in better response time for applets. I won't go on this last adventure trip, if I'm not convinced that it will be worth the effort.
    Can anyone admit or am I wrong in some points?
    Have fun!
    @i

  • IE8 issue: fluid grid/responsive nav bar -nullify or overide in css?

    For a small, responsive Bootstrap site: how do I override the fluid grid and collapsible navbar on a seperate stylesheet for IE8, to make the page non-responsive? Is it a matter of weight or nullifying?
    Respond.js can address other 'screen' elements for IE8, assuming that no one with a tablet or smartphone uses IE legacy browsers anyways.
    But if someone could give me a general direction of how to deal w the navbar and fluid grid in the css without changing the markup in my doc, I'd appreciate it.

    Do you really need to support IE8?  Very few people still use it. 
    If you must support IE8, create an IE-only stylesheet with your desktop layout styles.  Insert it inside  a conditional comment for pre-IE9 browsers. 
    Make sure to insert this after all other styles and stylesheets, just before your closing </head> tag.
    <!--[if lt IE 9]>
    <link href="IE-only.css" rel="stylesheet" type="text/css">
    <![endif]-->
    </head>
    Nancy O.

  • Does BC4J timeout?

    I deployed my middle tier to Oracle as an EJB Session Bean for Oracle8i. I can launch my Java application against it successfully. But, if I just leave it sit for about two minutes, then try to refresh the data in the grid control, I get this huge error stack, the top of which says this:
    oracle.jbo.common.JboUnexpectedException: Unknown remote exception: XA_ERROR code = -4
    void oracle.jbo.client.remote.ejb.EJBApplicationModuleImpl.processRemoteJboException(java.rmi.RemoteException)
    byte[] oracle.jbo.client.remote.ejb.EJBApplicationModuleImpl.riSetWhereClause(int, java.lang.String, boolean, byte[])
    void oracle.jbo.client.remote.ApplicationModuleImpl.setWhereClause(int, java.lang.String, boolean)
    void oracle.jbo.client.remote.ViewUsageImpl.setWhereClause(java.lang.String)
    void oracle.dacf.dataset.ResultSetInfo.setQueryCondition(java.lang.String)
    I looked at the sessionInfo.getTimeout() method and it says it's set to -1. Does something else in BC4J timeout?

    Hi Everybody (and Lynn),
    Thanks for the response. I got the
    URL anyway. It is at
    http://www.oradoc.com/ora816/java.816/a81356/ejb.htm#997347
    I followed the step-by-step
    instruction given here
    I created the Employee Bean's Remote,
    Home, EmployeeBean, EmpException and
    also EmpRecord java files and
    compiled them on the DOS command line
    seperately into their respective
    packages.
    Thus the packages employee and
    employeeserver were created.
    Next I created the deployment
    descriptor as given at this site:
    SessionBean employeeServer.EmployeeBean {
    BeanHomeName = "test/employeeJDBCBean";
    RemoteInterfaceClassName = employee.Employee;
    HomeInterfaceClassName = employee.EmployeeHome;
    AllowedIdentities = {SCOTT};
    StateManagementType = STATEFUL_SESSION;
    RunAsMode = CLIENT_IDENTITY;
    TransactionAttribute = TX_REQUIRED;
    Since the extension is .ejb I believe
    no compilation is required here.
    Next I put all the above .class files
    and the .ejb deployment-descriptor into
    a jar file Employee.jar
    The next step was supposed to be to run
    the deployejb.exe on the DOS command
    line ("Deploying an EJB" part)
    This is where I am getting stuck. The
    page "Deploying an EJB" does not tell me
    how to use the deployejb.exe tool for
    the specific example of the Employee
    Bean.
    And try as hard as I could the deployejb
    refuses to execute (I have tried out all
    the options). Every time the usage for
    the deployejb is displayed.
    Where am I going wrong?
    Any input would be warmly appreciated.
    Thanks in advance.
    snodx

  • Can not see the data in the grid

    Hi,
    nice to see the new features, but I can not see the the table inserts
    in the data grid - the <data> rider is not clickable.
    Regards

    Hi annerose,
    This problem has appeared in a few other threads. It's caused by installing Release 2 Raptor over Release 1 Raptor without first deinstalling Release 1 Raptor . So what you need to do is:
    1) Back up any important Raptor files, e.g. connections etc.
    2) Remove the existing Raptor Rel 1 installation folder
    3) Install Raptor Rel 2
    Hope this helps
    ady

  • Vendor open items wise ALV Grid Display (FBL1N) report to Excel Sheet

    Hi All,
    I need vendor wise open items and cleared items in ALV Grid format in excel sheet.
    I'm Trying that in T Code FBL1N, After the execution. I had select ALV Grid format like this From the menu bar->Settings-> Switch list.
    After that i get ALV  Grid format, Then i'm doing export the data to excel sheet. like this From the Menu bar->List->Export->Spread sheet.
    That time i'm getting Error Message no. 0K064, Filter criteria, sorting, totals and subtotals are not taken into account.
    I want vendor wise sorting totals and subtotals,
    How can i over come this Error please let me now.
    Thanks,
    Amar

    Hi Amar,
    Please check the KBA 2083705.
    https://websmp230.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3230383337303526
    Regards,
    Monika

Maybe you are looking for

  • Get Import Parameters of a Function Module

    Hi, Is there a way to find the import parameters and their Data Type of a Function Module in any Table?? For example, i know i can find the name and the include of the Funtion Module in TFDIR. Is there anywhere i can find the list of Import Parameter

  • How to disable and enable a java bean area's visability?

    I have a large javabean area on my initial canvas when first dispalying my form. When I use the SHOW_CANVAS('canvas name') to display another canvas, everything looks fine except that the javabean from my previous canvas is still visible and covering

  • Invoking BPEL Process as a Web Service via AJAX / JavaScript

    So, I am able to invoke the BPEL process using the console with a nice XML SOAP fragment. If I take the same fragment and try to invoke the process using JavaScript, I get a NullPointerException: <2007-04-03 08:31:24,433> <DEBUG> <default.collaxa.cub

  • BPM: condition (XPATH) works not correct

    Hi everybody, we got conditions (XPATH) in several BPMs. In one BPM the condition does not work, although it is the same as used in other BPMs. Any idea? Regards Mario Mario Müller

  • SA: BerkeleyDB not available...

    Hello everybody, is there an explanation, why amavis is giving me this error on a standard mail installation of OS X Server 10.4.3 -> 10.4.4? (You only see the error if you chance the protocol level to debug.) "BerkeleyDB not available, using memory-