A how to question for JDev team

Hi,
I am learning to develop JSP application using BC4J.
Using wizards, I am able to get a
default view of the current record. However, I would like to change the layout display. Probably this needs to be done without using the wizards. How can I do this using BC4J? Could you please refer me to some sample code/documentation? I am currently using JDeveloper 3.1.
Thanks.

1. Upgrade to JDeveloper 3.2 which makes >BC4J interaction simple and reliable.I strongly recommend option #1.
Unless you have some constraints, I would recommend moving upto JDeveloper 3.2 which offers support for JSP 1.1 custom tags. JSP tags make it easier to customize your page. You do most of your layout management in HTML and use the tags to get the data.
The follownig collateral at http://technet.oracle.com/products/jdev/ might be of help:
1.Building JSP Applications with BC4J Data Tags (paper)
2.BC4J Data Tags demo script
Also, the updated Online Orders tutorial in the product has a complete web app developed using the new JSP tags.
Regards,
Arun

Similar Messages

  • Happy Christmas and thank you for JDEV Team for great job this year

    We got one of the best development from Oracle with JDEV and a TP3 for Christmas ... even i will go skiing too and may be sailing a little bit depending on weather, i will for sure go in depth into TP3 these holidays.
    Thank you
    Have nice holidays
    Greetings

    Thanks alot for this gift Oracle Jdev Team!
    Greetings from Spain!
    Westh

  • For JDev team

    Hi Guys,
    I'm trying to develop some applications using JDev 3.2.
    I have been dealing with some problems using your Data Aware controls.
    Since last december, I posted a topic asking for help with setting a TableModel in a GridControl using the method setModel().
    This is the topic's text: "
    I'm working with a GridControl and I'm linking a DefaultTableModel with that GridControl.
    The following is a snippet of the code:
    DefaultTableModel myTableModel = new DefaultTableModel();
    GridControl gridControl1 = new GridControl()
    gridControl1.setModel(myTableModel);
    When adding rows to the myTableModel, I suppose the GridControl must show those rows.
    But the only thing it does is to show a blank row.
    Does anybody know what's wrong?"
    Do you know where can I get some help? Is there another place to look for How to's, Bugs or something?
    The fact here is that I don't want to get stucked for little details like that and many times waiting for a response in this forum just takes so long.
    Thanks in advance,
    Agustin

    Agustin, what Sathish is saying in a round about way (*grin*) is that you can't have your cake and eat it, too, in this case.
    You may be able to do something like this today or in a future release by setting up a View Object that is strictly JDev attributes, ( an entity object with NO persistent attributes ). Seems like one could do that, architecturally... ????
    I'd also visit java.sun.com or do a global search on dogpile.com to see if I could find a "gridcontrol" control that you can beg, borrow or purchase to meet your needs. Remember that Oracle isn't the only one with components available.. heh! this is JAVA!!??! ( Reusable components and all that )..
    Also, there are books with CDs that have gridcontrols with some of the capabilites (sorting, reorganizing and such ) that you may be wanting.
    Good Luck

  • Queation for JDEV team : BC4J Next Release Date?

    JDEVELOPER TEAM
    When will be your next BC4J release date ( about fixing bugs)?
    null

    I presume you are talking about post JDev 3.2...
    The next release will be JDeveloper 9i
    and we do not have a firm date as yet.
    We are expecting production to be roughly
    mid 2001 with a Beta available a few
    months beforehand.
    As mentioned by Juan, we'd be interested to
    know what you are looking for. As we are in
    the thick of 9i development, perhaps you
    can help us focus in certain areas by giving
    us input.

  • Question for DEV Team

    My work flow uses one sequence to render multipal small projects.  As far as I can tell you have killed support for this by not allowing me to turn off magnetic timelines, or set in and out points.  I have included a photo of how I have used your past product to quickly create segments on similar topics for commerical projects.
    Sadly because these features are not available in Final Cut X, as far as I can tell, it makes my work flow that I have developed with your software somewhat harder to work with.
    I have included an image of how I work in FCP 7.   Are there work arounds?  Do you plan to reimpliment these simple features, IN and OUT points, and disabling of the magnetic timeline?  Are they already in there, if so how to I access them?  I like much of how FCP X works, I just cannot use it with my work flow, or reccomend it for professional applications involving mass producing videos.  For all it's sleakness, its slow and clunky when it comes to volume production of short similar videos.
    This allows me to see many videos on the screen, and assemble them quickly, and make changes, with out switching from sequence to sequence.
    What are my solutions?

    Thanks, any idea how I can get ahold of them, or show them what I'm looking for.  I understand your solution, I'm just hoping they can simplify the thing to skip that step.  The magnetic timeline also forces the use of slugs, which hinders me.  I feel like I would have to constantly adjust them to move things around or make room, or make a series of them, to manipulate or something kookie like that, just to have room to manipulate my movie objects on the time like.  I don't understand why It can't just be turned off.

  • Question for JDEVELOPER TEAM

    Hi
    Oracle for each product has .pdf manuals
    but nothing for jdeveloper, In releases 1.0,2.0,3.0, ...
    Why?
    null

    The organization of the docs we deliver--around narrow tasks, heavily cross-linked--does not translate well into PDF or book format.
    If you want a print guide to JDeveloper, there are two options:
    A) There is a third-party book, by Paul Dorsey, coming out in a month or so.
    B) If you are using HTML help (which is likely if you have Internet Explorer on your machine), you can print out a large section of the current help system at once using the following procedure:
    1) Choose Help | Help topics
    2) In the left-hand pane, right-click the folder that interests you and choose Print.
    3) In the dialog that opens, select "Print the selected heading and all subtopics."
    This will print the entire contents of the folder.
    null

  • N8 camera: question for Nokia team (Damian Dinning...

    First: I love my N8, including it's camera.
    I am an enthusiast photographer, both with my phone (N82 for last 3 years, now N8) and dedicated camera.
    Now to the point: in several situations, N8 seems to add some "bluish fog" to the picture, sometimes even on screen before taking the picture. I'd attaching 2 pictures, taken using the very same settings (full auto), just changing a little bit the angle. There are inside a house, no external factors...
    I'd like to hear different opinions about what happened.
    Signed: a huge Nokia fan
    Solved!
    Go to Solution.
    Attachments:
    14112010240.jpg ‏1321 KB
    14112010241.jpg ‏1473 KB

    adrianzagar wrote:
    First: I love my N8, including it's camera.
    I am an enthusiast photographer, both with my phone (N82 for last 3 years, now N8) and dedicated camera.
    Now to the point: in several situations, N8 seems to add some "bluish fog" to the picture, sometimes even on screen before taking the picture. I'd attaching 2 pictures, taken using the very same settings (full auto), just changing a little bit the angle. There are inside a house, no external factors...
    I'd like to hear different opinions about what happened.
    Signed: a huge Nokia fan
    that is definitely glare into the lens. i would have thought most likely from the flash.
    if you have your left hand near the flash or lens then the bounce back would do it.
    it could be an external light source bouncing into the lens from the chroming. but you would be able see it in the preview.
    There's no dignity in begging for kudos. Do it for the karma.

  • Question for htmldb team

    Will next release support popupkey_from_query column type in tabular form wisard?

    Hello,
    Yes there is a performance hit since every item you load needs to make a database connection to retrieve that item and then http to serve it instead of just an http request to Apache. Plus it's difficult for browsers to cache items loaded from the database so most the time they have to load it every single time.
    Apache is very good at serving up static content from the filesystem and browsers are very good at caching content from it (sometimes too good).I would recommend putting as much static content as you can on the filesystem and letting Apache do what it does best.
    Thanks,
    Carl

  • "how to" question for wireless keyboard and/or wireless Mighty Mouse

    I just purchased a wireless keyboard and a wireless Mighty Mouse (yesterday)
    and notice I cannot use the calculator 'widget' in my Dock
    1. the number keys on the new keyboard do not activate the corresponding numbers on the widget
    and
    2. the mouse does not activate the widget numbers when I click on them, either
    does anyone know if the calculator can work with these 2 new accessories?
    (if not, is there another, similar, calculator I can use now..?)
    thank you for your time

    Hello d:
    The calculator works just fine with my Apple BT devices. I doubt if the problem is with the devices.
    Try deleting the calculator widget from the dashboard (when dashboard is open). Then add it back.
    Barry

  • HT5312 How to reset my security questions for my Invoice2go

    How to reset my security questions for my Invoice 2go

    Apple ID security issues -
    Call Apple Care and ask for the Account Security Team. They can assist you with your issue.

  • HT201363 I cannot find the answers to my security questions for Itunes and cannot figure out how to reset them

    I cannot find the answers to my security questions for ITunes and cannot figure out how to reset the questions.

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (105414)

  • How/Where can I request InCopy training for a team via webinars and in-house?

    How/Where can I request InCopy training for a team via webinars and in-house?
    My team desperately needs to incorporate InCopy into our operation. There are a number of people who need to be trained. I am unsure of how this is done...also, pricing/procedure? After calling the customer service line and being on hold for an hour, I decided to place my question here.
    Your assistance is greatly appreciated.

    Or, contact me at Seneca Design & Training:
    InCopy / InDesign Training & Workflow :: Seneca Design & Training :: Anne-Marie Concepción
    Bob is good, too. And there are others of our ilk here ... :-D  and on InCopySecrets.com too
    AM

  • JDev Team - how to add a Data Aware Control to grid control

    The default editor for GridControl cells is a data-aware TextField, but I want to use a ComboBoxControl. If I use the setEditor() method of the TableColumn, the cell is edited using a combo, but there are problems:
    1. Navigated events do not fire when focus is moved in or out of the cell and
    2. When focus moves to another cell in the same column, the cell losing focus is blanked.
    How can I setup/attach a custom editor based on a Data Aware Control to avoid these problems?
    The code I am using
    1. declares combobox controls to be used with grid as member variables of my frame class
    ComboBoxControl comboBoxSrcSystem = new ComboBoxControl();
    ComboBoxControl comboBoxSrcSysVersion = new ComboBoxControl();
    ComboBoxControl comboBoxSrcTable = new ComboBoxControl();
    ComboBoxControl comboBoxSrcColumn = new ComboBoxControl();
    2. sets up the combo in the jbInit method of the frame class :
    // for gridControlMapRuleSrcCols column SystemName
    comboBoxSrcSystem.setListKeyDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
    comboBoxSrcSystem.setListValueDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
    comboBoxSrcSystem.setDataItemNameForUpdate("infobus:/oracle/sessionMapTool/rowSetMapRuleSrcCols/SystemName");
    3. In the frame constructor calls a method to add combos to the grid
    addMapSrcColGridCombos();
    which is defined as
    private void addMapSrcColGridCombos() {
    // add combos to gridControlMapRuleSrcCols grid
    JTable mapSrcColTable = gridControlMapRuleSrcCols.getTable(); // access the JTable
    addComboEditor( mapSrcColTable, "SystemName", comboBoxSrcSystem );
    addComboEditor( mapSrcColTable, "SystemVersion", comboBoxSrcSysVersion );
    addComboEditor( mapSrcColTable, "TableName", comboBoxSrcTable );
    addComboEditor( mapSrcColTable, "ColumnName", comboBoxSrcColumn );
    4. It makes use of the following method:
    private void addComboEditor( JTable table, String colName, ComboBoxControl combo )
    TableColumn col = table.getColumn(colName);
    col.setCellEditor( new DefaultCellEditor( combo ) );
    null

    Given the usual deafening silence from the JDev team, I'll post my resolution of the problem.
    I could not find a way of creating an editor directly from a ComboBoxControl which would behave properly in a GridControl. However, JComboBox does work, so I
    1. add a Navigated listener to the GridControl
    2. in the navigatedInColumn event handler I create a JComboBox from a ScrollableRowsetAccess and
    3. use it to create a custom CellEditor for the target column.
    (I also remove the editor in the currently focused column in the navigatedOutColumn, but I don't think this is strictly necessary.)
    This solution also works after a Rollback, when the columns of the gridcontrol are reset/rebuilt, and handles dynamic combos that are dependent on the current row values.
    Unfortunately, unlike ComboBoxControl JComboBox does not allow for a key/value mapping, so the combo editor can only display the values to selected from, not a user-friendly label.
    I attach some code snippets to illustrate the solution:
    1. declare member variables
    // declarations for Custom Grid Editors
    NavigationManager navMgr = NavigationManager.getNavigationManager();
    static String SYS_NAME_COL_NAME = "SystemName";
    static String SYS_VER_COL_NAME = "SystemVersion";
    static String TAB_NAME_COL_NAME = "TableName";
    static String COL_NAME_COL_NAME = "ColumnName";
    RowSetInfo rowSetSystemCombo = new RowSetInfo();
    AttributeInfo SystemNamerowSetSystemCombo = new AttributeInfo();
    ScrollableRowsetAccess sysNameComboRS = (ScrollableRowsetAccess)rowSetSystemCombo.getRowsetAccess();;
    static ImmediateAccess sysNameComboIA = SystemNamerowSetSystemCombo.getImmediateAccess();
    static RowSetInfo rowSetMapTgtColTableCombo = new RowSetInfo();
    static AttributeInfo TableNamerowSetMapTgtColTableCombo = new AttributeInfo(java.sql.Types.VARCHAR);
    static ScrollableRowsetAccess tgtTabNameComboRS = (ScrollableRowsetAccess)rowSetMapTgtColTableCombo.getRowsetAccess();;
    static ImmediateAccess tgtTabNameComboIA = TableNamerowSetMapTgtColTableCombo.getImmediateAccess();
    2. in jbInit() set up the combo rowsets (use Design mode)
    SystemNamerowSetSystemCombo.setName("SystemName");
    rowSetSystemCombo.setAttributeInfo( new AttributeInfo[] {
    SystemNamerowSetSystemCombo} );
    rowSetSystemCombo.setQueryInfo(new QueryViewInfo(
    "SystemComboView",
    rowSetSystemCombo.setSession(sessionMapTool);
    rowSetSystemCombo.setName("rowSetSystemCombo");
    SystemVersionrowSetMapSrcColSysVersionCombo.setName("SystemVersion");
    rowSetMapSrcColSysVersionCombo.setAttributeInfo( new AttributeInfo[] {
    SystemVersionrowSetMapSrcColSysVersionCombo} );
    rowSetMapSrcColSysVersionCombo.setQueryInfo(new QueryViewInfo(
    "SourceSystemVersionComboView",
    "SYSTEM_VERSION DESC"));
    rowSetMapSrcColSysVersionCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColSysVersionComboLink"));
    rowSetMapSrcColSysVersionCombo.setSession(sessionMapTool);
    rowSetMapSrcColSysVersionCombo.setName("rowSetMapSrcColSysVersionCombo");
    TableNamerowSetMapSrcColTableCombo.setName("TableName");
    rowSetMapSrcColTableCombo.setAttributeInfo( new AttributeInfo[] {
    TableNamerowSetMapSrcColTableCombo} );
    rowSetMapSrcColTableCombo.setQueryInfo(new QueryViewInfo(
    "SourceTableComboView",
    "TABLE_NAME"));
    rowSetMapSrcColTableCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColTableComboLink"));
    rowSetMapSrcColTableCombo.setSession(sessionMapTool);
    rowSetMapSrcColTableCombo.setName("rowSetMapSrcColTableCombo");
    ColumnNamerowSetMapTgtColColumnCombo.setName("ColumnName");
    rowSetMapTgtColColumnCombo.setAttributeInfo( new AttributeInfo[] {
    ColumnNamerowSetMapTgtColColumnCombo} );
    rowSetMapTgtColColumnCombo.setQueryInfo(new QueryViewInfo(
    "TargetColumnComboView",
    "column_name"));
    rowSetMapTgtColColumnCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleTgtCols,"MapTool.MapRuleTgtColColumnLink"));
    rowSetMapTgtColColumnCombo.setSession(sessionMapTool);
    rowSetMapTgtColColumnCombo.setName("rowSetMapTgtColColumnCombo");
    3. add methods to handle the Navigated events (use Design mode to ensure add listener code
    is generated)
    void gridControlMapRuleSrcCols_navigatedInColumn(NavigatedEvent e) {
    debug("gridControlMapRuleSrcCols_navigatedInColumn");
    show_nav_info();
    String dataItemName = navMgr.getTargetDataItemName();
    String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
    JTable table = gridControlMapRuleSrcCols.getTable();
    if ( SYS_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.sysNameComboRS, dbMapTool.sysNameComboIA );
    else if ( SYS_VER_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcSysVerComboRS, dbMapTool.srcSysVerComboIA );
    else if ( TAB_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcTabNameComboRS, dbMapTool.srcTabNameComboIA );
    else if ( COL_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcColNameComboRS, dbMapTool.srcColNameComboIA );
    void addComboEditor
    ( JTable table
    , String colName
    , ScrollableRowsetAccess rs
    , ImmediateAccess ia
    // note must get TableColumn afresh each time because when grid is reset
    // on rollback the Table ColumnModel is rebuilt
    TableColumn tc = table.getColumn(colName);
    debug("add JComboBox as editor");
    Vector v = new Vector();
    try {
    // Retrieve and store values for JComboBox using the InfoBus API.
    boolean moreRows = rs.first();
    while (moreRows) {
    // stores value in vector
    v.addElement(new String(ia.getValueAsString()));
    moreRows = rs.next();
    // make column Cell Editor a JComboBox with retrieved values
    tc.setCellEditor(new DefaultCellEditor(new JComboBox(v)));
    catch (Exception e0) {
    e0.printStackTrace();
    void show_nav_info() {
    debug( "Focused Data Item = " + navMgr.getFocusedDataItemName() );
    debug( "Target Data Item = " + navMgr.getTargetDataItemName() );
    void debug(String s)
    System.out.println(s);
    void gridControlMapRuleSrcCols_navigatedOutColumn(NavigatedEvent e) {
    debug("gridControlMapRuleSrcCols_navigatedOutColumn");
    show_nav_info();
    String dataItemName = navMgr.getFocusedDataItemName();
    String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
    JTable table = gridControlMapRuleSrcCols.getTable();
    if ( SYS_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor(table, columnName);
    else if ( SYS_VER_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    else if ( TAB_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    else if ( COL_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    void removeComboEditor ( JTable table, String colName ) {
    debug("remove JComboBox as editor");
    TableColumn tc = table.getColumn(colName);
    tc.setCellEditor(null);
    4. Note that when navigated event code is added through the designer, jbInit() is
    amended to add a Navigated Listener to the grid
    gridControlMapRuleSrcCols.addNavigatedListener(new oracle.dacf.control.NavigatedAdapter() {
    public void navigatedInColumn(NavigatedEvent e) {
    gridControlMapRuleSrcCols_navigatedInColumn(e);
    public void navigatedOutColumn(NavigatedEvent e) {
    gridControlMapRuleSrcCols_navigatedOutColumn(e);
    null

  • HT4623 i forgot my security questions for my apple id how can i find them out?

    i forgot my security questions for my apple id how can i find them out?

    You need to contact Apple. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (92876)

  • I forgot my security questions for itunes, how can i find out my answers?

    i forgot my security questions for itunes, how can i find out my answers?

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

Maybe you are looking for

  • Memory problem with Elements 8 and Windows 7

    Hi, I have a copy of Elements 8 running on Windows 7.  When I open the organiser a large amount of RAM (about 1 GB) is grabbed by a SVCHost process.  The memory assosiated with the SVCHost builds up over time.  When I close the application the memory

  • Viewing backed up files

    I just backed up my email and SMS messages to desktop software and am trying to figure out how to view these files before I delete them from my blackberry. Thanks

  • Display Problem in Custom Infotype

    Hello Experts,                       A problem is being encountered in the display of data using the overview icon for a custom infotype. When we enter data through transaction PA30, we are able to see data as per the date validities when the user cl

  • Information about table TOAOM_C

    Hi, Can anyone please provide me with some inforamtion about the table TOAOM_C. I will reward all the relevant answers. Thanks in advance for the help!!! Mohit Goel.

  • Forms Builder 11g R1 Download

    Can someone please tell me exactly where I can download Windows 64 bit Forms Builder 11g, Release ONE (an actual link would be awesome)? Weblogic is aleady installed, as well as Forms Builder 11g R2. The problem is, our system is running Forms 11gR1