Navigatorbar-navigation

after i get my viewobject and use getwhereclause to set the parameters my records are rendered normally but i can't navigate through my records because the navigation-bar isn't working properly

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Juan Oropeza ([email protected]):
You should make any view object changes prior to the Naviagtion bar in your jsp page. If you make changes after the navigation bar, it will not have the right context. I recommend you generate a new DataWebBean class using the WebBean wizard and place this DWB at the top of your JSP page. Use this new DWB to prepare the WHERE clause and execute the query. The Navigation bar will follow this new DWB and have the 'proper' runtime context.<HR></BLOCKQUOTE>
Thanx for the question but how do i have to do this? My code is something like this:
<jsp:useBean id="parms" scope="request" class="JSPKlara_html.SearchBean">
</jsp:useBean>
<jsp:useBean id="tb" class="oracle.jbo.html.databeans.JSNavigatorBar" scope="request">
<%
tb.initialize(pageContext, "JSPKlara_PckgBC4J_PckgBC4JModule.PartijenView");
ViewObject vo = tb.getRowSet().getViewObject();
vo.setWhereClause(parms.getWhereClause());
vo.executeQuery();
%>
Do I have to write my own bean?
Can you give me an example please? How is the navigatorbar going to work wit my object?

Similar Messages

  • HOWTO: Hide the delete button in a NavigatorBar

    HOWTO: Hide the delete button in a NavigatorBar (JSP)
    Goal: Hide the delete button in a NavigatorBar or JSNavigatorBar Data Web Bean. This example works for either bean.
    Solution: Edit the .jsp file containing your NavigatorBar bean. For a generated BC4J JSP application, the file is YourView_Top.jsp.
    Find the code that instantiates the NavigatorBar. It will look something like:
    <jsp:useBean class="oracle.jbo.html.databeans.NavigatorBar" id="tb" scope="request">
    <%
    tb.initialize(pageContext, "MyProject1_bizcomp_BizcompModule.MyView");At this point, add the following line of code to hide the delete button:
    tb.getButton(tb.NAVIGATE_DELETE).setButtonVisible(false);You can find the variable names for the other navigator buttons in the javadoc for oracle.jbo.html.databeans.BaseNavigatorBar. In the online help, this is under Reference -> Business Components Reference.
    null

    Georges,
    This has come up before, and after some experimentation, there's not a straightforward way to do it.
    There are two possible solutions that I can think of:
    1. Write your own custom bean and/or extend the beans provided to modify them to your needs.
    2. Wait for the 3.2 release at the end of the month. This release provides custom data tags with much finer grained control over specific items such as the buttons.
    I think 2 is preferable, if you have the time to wait.

  • Help Please on RowSetBrowser Navigation using parameterized view?

    Hi...
    Need Help,
    I want to use RowSetBrowser and NavigatorBar for my View in a JSP page. My View has a query "Select xxx from ABC where RowNum < ?"(Style Parameter)
    If i set the view parameter to 10 inside the RowBrowser tags and set visible rows=3 I just see the first 3 records.
    I had also set the view parameter to 10 inside the NavigatorBar Tag .But still on clicking next in the navigator bar I see the same records.
    I had read in this forum that we have to develop a web bean and set parameter in the render method and put the bean on the top of the page and then It will work. But I don't know exactly how to do it(I know how to develop the bean but somehow I didn't get the answer?
    Please reply..

    Hi !
    Yon can use a data structure as vector and store the items selected by the user into the vector . Keep the vector in session using session object , so the user can access the entire shopping cart from anywhere in the application .
    Then , you can change the cart accordingly .
    Hope this works.
    Cheers ,
    Pranav

  • Navigator Bar and Navigation Bar

    We have used NavigatorBar as part of our project, which is mainlt JSP files. From the JSP file we want to trap the user button click of the delete button in the navigator bar. The listener override feature is available only for NavigationBar, If use the NavigationBar in our jsp as oracle.dacf.control.swing.NavigationBar the page doesn't compile as it can't find the class inspite of importing it. Can one give a solution to our problem of over riding this delete button?

    Internet Explorer
    Which version of MSIE? 1,2,3,4,5,6,7,8,9?
    Try 8. Works fine.
    and Netscape Navigator
    Netscape Navigator is dead.
    http://browser.netscape.com/
    http://en.wikipedia.org/wiki/Netscape_Navigator
    Any solution
    Use a modern browser.

  • Navigator Bar

    I would like to remove the possibility of deleting a record provided by the Navigator Bar. I mean, I would like to remove the X icon from the Navigator Bar as I do with the Commit icon. Is it possible?
    Thank you! I'll apreciate an answer!

    Hi!
    I can4t find the method setHasDeleteButton(boolean) in my Navigator Bar(oracle.jbo.html.databeans.NavigatorBar)!
    I'm using Jdev3.2.
    Can you give me more details, please?
    Thank you very much.

  • TS3147 After installing Mountain Lion, I tried to scan from my Canon MX870 and received the message: "MP Navigator EX quit unexpectedly. Click Reopen to open the application again. A report will be sent to Apple,"

    After installing Mountain Lion, I tried to scan from my Canon MX870 and received the message: "MP Navigator EX quit unexpectedly. Click Reopen to open the application again. A report will be sent to Apple,"  This problem happened right after I installed Mountain Lion. I then downloaded Canon's upgraded software and drivers for the MX 870 and the problem was resolved. Now one month later, the problem has returned.

    rjliii wrote:
    Solved problem with original Canon software.  When I downloaded Canon software upgraded for OS X 10.8, I got all by Navigator Ex. Noticed that on Canon's site, the upgraded version is 3.1; my app was 2.1. Upgraded to 3.1 for Nav. Ex, and it works.
    You should still use Image Capture IMHO.  If it was my gear, that's what I would do.  No need to worry about software upgrades.

  • EA2: ORA-01427 clicking on a view in the navigator

    SQLDev: 1.5.0.52.03
    Java: 1.6.0_04
    Oracle: 9.2.0.7.0
    I'm getting the following error when I click on a view in the navigator pane:
    An error was encountered performing the requested operation:
    ORA-01427: single-row subquery returns more than one row 01427. 00000 - "single-row subquery returns more than one row"I'm not seeing any errors in the shell window.
    After clicking on <OK> in the error dialog, the normal tabs (Columns, Data, Grants, Dependencies, Details, SQL) are displayed, but there is no content in the Columns tab.
    All the other tabs seem to function normally.
    Here is the DDL from the SQL tab
    CREATE OR REPLACE VIEW "SUBSCRIPTIONS"
        "ORDER_ID", "SUNBURST_ORDER_ID", "SIEBEL_ORDER_ID", "ACCOUNT_ID",
        "COMP_ID", "SUBACCOUNT_ID", "START_DATE", "END_DATE", "PULL_DATE",
        "SUBSCRIPTION_TYPE", "PRICE_CLASS", "DESCRIPTION", "SEAT_COUNT",
        "ORDER_DURATION", "CALLBACK_INTERVAL", "UPDATE_DATE", "UPDATE_USERNAME",
        "AFFILIATE"
    AS
        SELECT order_id,
            sunburst_order_id,
            siebel_order_id,
            account_id,
            comp_id,
            subaccount_id,
            start_date,
            end_date,
            pull_date,
            product_id,
            price_class,
            product_name,
            add_users,
            order_duration,
            callback_interval,
            last_mdfy_date,
            last_mdfy_emp,
            affiliate
        FROM csbcrossworlds.subscriptions;We have 15 views in this schema, 3 of them fail this way but the other 12 display the columns just fine. So far I am unable to detect any commonality.
    Any ideas?

    Ok, I think I found the problem. The view in question (SUBSCRIPTIONS) is owned by 'PHILC' and it references a table named 'SUBSCRIPTIONS' owned by 'CSBCROSSWORLDS'. There are two other development schemas that also own tables named 'SUBSCRIPTIONS'.
    I believe the 'Columns' tab is executing the query below. The subquery in this SQL tries to identify the primary key columns for the 'SUBSCRIPTIONS' view in my schema (PHILC):
    SELECT
        c.column_name,
        DECODE(
            data_type,
                'CHAR',      data_type||'('||c.data_length||')',
                'VARCHAR',   data_type||'('||c.data_length||')',
                'VARCHAR2',  data_type||'('||c.data_length||')',
                'NCHAR'   ,  data_type||'('||c.data_length||')',
                'NUMBER'  ,  DECODE(c.data_precision,null,'NUMBER', data_type||'('||c.data_precision||','||c.data_SCALE||')'),
                'NVARCHAR',  data_type||'('||c.data_length||')',
                'NVARCHAR2', data_type||'('||c.data_length||')',
                data_type) data_type,
        DECODE(nullable, 'Y', 'Yes', 'No') nullable,
        c.DATA_DEFAULT,
        column_id,
        com.comments,
        (SELECT 1 FROM all_constraints, all_cons_columns
          WHERE all_constraints.constraint_type = 'P' AND
                all_constraints.constraint_name = all_cons_columns.constraint_name AND
                all_constraints.owner = all_cons_columns.owner AND
                all_cons_columns.table_name = c.table_name AND
                c.column_name = all_cons_columns.column_name) Primary_Key,
        c_update.insertable,
        c_update.updatable,
        c_update.deletable
    FROM
        sys.all_tab_Columns c, sys.all_col_comments com, sys.user_updatable_columns c_update
    WHERE
        c.owner = :OBJECT_OWNER AND
        c.table_name = :OBJECT_NAME AND
        c.table_name = com.table_name AND
        c.owner = com.owner AND
        c.column_name = com.column_name AND
        c_update.column_name = com.column_name AND
        c_update.table_name = com.table_name
    ;Extracting the subquery into this:
    SELECT
        all_constraints.owner,
        all_constraints.table_name,
        all_constraints.constraint_name
    FROM all_constraints, all_cons_columns
    WHERE
        all_constraints.constraint_type = 'P' AND
        all_constraints.constraint_name = all_cons_columns.constraint_name AND
        all_constraints.owner = all_cons_columns.owner and
        all_cons_columns.table_name = 'SUBSCRIPTIONS' and
        'ORDER_ID' = all_cons_columns.column_name;I got this output:
       owner          table_name      constraint_name
    CUTOVER          SUBSCRIPTIONS    SUBSCRIPTIONS_PK
    CROSSWORLDS      SUBSCRIPTIONS    SUBSCRIPTIONS_PK
    CSBCROSSWORLDS   SUBSCRIPTIONS    SUBSCRIPTIONS_PKLooking at the DDL for the view, the row we really want is for owner 'CSBCROSSWORLDS'. Unfortunately, that means having to somehow parse the SQL text to extract the owner name...
    Phil

  • Navigation no longer working with

    I have been working with facelets now for a bit. I am on MyFaces 1.1 with the facelet libraries from the Exadel project wizard added.
    Any time I have an action with from-outcome but no from-action specified, everything works as expected. I can route to whichever view. When I add the from-action tag to my configuration, it calls my action and action listeners fine, but the requesting page is always reloaded (I never go to a new view).
    I have verified my "h:commandLink" components are within my "h:form" tag. Hierarchy:
    jsp:root/jsp:text/ui:composition/ui:define/h:form/table/tr/td/h:commandLinkCommand link code:
    <h:commandLink value="mylink" action="#{userBean.saveCurrentUser}"/>
    <t:saveState id="adminUserBean" value="#{userBean}"/>
    </h:form>
    ...(t = tomahawk namespace)
    My template is nothing more than a bunch of div tags & HTML table elements, no JSF logic really.
    Relevant tags in my faces-config.xml:
    <managed-bean>
    <managed-bean-name>userBean</managed-bean-name>
    <managed-bean-class>mypackage.UserBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/administration/*</from-view-id>
    <navigation-case>
    <from-outcome>edit-user</from-outcome>
    <to-view-id>/administration/users/edit.jsp</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-action>#{userBean.saveCurrentUser}</from-action>
    <from-outcome>success</from-outcome>
    <to-view-id>/administration/users/list.jsp</to-view-id>
    </navigation-case>
    ...Code of saveCurrentUser:
    public String saveCurrentUser()
    try
    return "success";
    catch (Exception ex)
      ...(logging)...
      return "failed";
    ...The action to edit the user that contains an action listener works. (navigate from /administration/users/list.jsp to /administration/users/edit.jsp).
    The action to save the user successfully saves the user from what I can see (log is clear), but the page stays at /administration/users/edit.jsp instead of going back to the list.jsp.
    I am using *.jsp instead of something like *.xhtml since Excadel doesn't support anything but *.jsp at this point in time.
    I cannot figure out why the "from-action" is causing the navigation to fail.
    No matter what I try, I get the same results. I attempted to update my facelets libraries, but I messed up along the way and was getting incompatible classes across the jar files, so I just rolled back.
    Any assistance is appreciated. Even if you don't have a solution, if you know of a way to have the view or myfaces print out the navigation rule processing to the logs, that would be good as well. I am using log4j right now as my logger.
    Thanks,
    Andrew

    Okay, got logging turned way up on all "org.apache.*" and "com.sun.*".
    Here is the problem (don't know how to fix it yet:
    113121 DEBUG [http-8080-Processor4] org.apache.myfaces.application.NavigationHandlerImpl      - handleNavigation fromAction=null outcome=success no matching navigation-case found, staying on current ViewRootWhy the action is being executed, but afterwards it says fromAction is null, I do not know yet.
    I am hoping it is possible with the facelets + myfaces integration, as it would be a lot of work for me to go away from myfaces, and I need the facelet functionality.

  • FF 5.0. Windows 7 The main navigation bar has suddenly started to bring up my igoogle page each time I enter a query. Is there a way to prevent this from happening?m happening.

    I suddenly started getting a black igoogle bar when attempting to use the navigation bar at the left side of the browser.
    I have added no add on to which I can attribute this.
    I started to eliminate the Igoole program at the site but became concerned when it appeared that I might also remove my gmail account, which I had earlier -and separately from Igoogle- created.
    I would like to prevent the google page from coming up when I use the left side of the navigation bar.
    Thanks
    Sam

    This is something you need to report via the Feedback button (or use the link on the Help menu).
    Firefox 5.0 is still in BETA and not slated for release until June 21.
    Reinstall the full version of the current release which is v4.0.1, download link at the top of this forum.

  • Creating Back navigation in Adobe Acrobat 9 Standard

    I have a huge pdf - actually an e-book - of more than 350 pages. Each page contains a health therapy with certain words hyperlinked which go to an explanation in the glossary, which is towards the end of the document. This means that the reader could click off page 9 to find themselves in page 320, and then after they've got their explanation, they will want to return to their original page (9).
    So how do I get them back easily?
    On Acrobat 7, there was a way of doing this. And it is explained here in this tutorial:
    http://library.queensu.ca/webir/e-theses/word-to-pdf-etd_tutorial.pdf
    The way to do it is found in Lesson 4, Section 3. It says:
    * In the Actions pane select the "Execute a menu item" then click on the "Edit" button.
    * The Menu Item dialog box presents itself. Select, from the menu, "View>Go To> Previous View.
    My problem is that none of these navigation titles such as Actions, or Bookmarks Properties, or Execute a Menu Item appear in my Adobe Acrobat 9 Standard.
    And I'm not even sure whether Adobe Acrobat 9 Standard can perform this navigation tool, or whether it is only available in Adobe Acrobat 9 Professional. I rang Technical Support, but they didn't know. So they referred me to Customer Services, but they didn't know. So Customer Services referred me to Sales, and they didn't know ...
    So please can anyone here help? I would be very grateful.
    Thanks for listening!

    Thank you for your swift response,
    The problem is that the form has to be filled out and then submitted via email, as you mentioned the email clients have trouble, I do not have a problem with the amount of submissions as I do not think I will ever hit the max on the form.
    I have been doing some digging, can I use "Extend Forms Fill-In & Save In Adobe Reader" function on the form so the users can fill out the form and then save it? And if so are you also able to have the "submit Form" function with this or can it only be one or the other?
    Thanks in Advance
    Laig007

  • PDF Portfolio SDK setup - Navigator project wizard in Flex Builder 4.6 does not show

    Hello, Experts
    I am trying to build PDF Custom Navigator using Adobe PDF Portfolio SDK; however, for some reason, when performing step 3 of installation, Navigator project wizard in Flex Builder  (  4.6 ) would not show;
    The plugins have been extracted to:
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\eclipse\plugins
    The NavigatorSupport folder has been extracted to:
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\eclipse and ( just in case ) to
    C:\Program Files\Adobe\Adobe Flash Builder 4.6\
    any advice would be greatly appreciated
    Best Regards,
    -Alex

    as per Joel's recommendation, used 4.5 instead - that worked just fine

  • How to set different navigation items for each content tab in xMII portal

    Hi,
    Scenario : I have added three content tabs in the xMII portal.
    I want to change the items in the navigation tree when each of the content tabs are selected.
    How is this possible?
    Please help.

    Vaishali,
    The built-in navigation tree is not intended for this sort of thing, where just like with the tabs it is intended to provide role/user based content links.
    You would be better off having your content tab link pass a criteria to the default target frame and allow a web page to give you the second level of dynamics.  Your content tab links could be something quite simple like "Page.irpt?Tree=1", "Page.irpt?Tree=2", "Page.irpt?Tree=3" and your irpt page would receive the Tree property and you could react accordingly in your web page.
    Regards,
    Jeremy

  • Dreamweaver Flash Buttons / Frame Navigation in VISTA

    Hey, I use some standard flash buttons from Dreamweaver to
    navigate. I have two frames in this web. The buttons are in frame
    "A" and refer to a target in frame "B". This worked perfectly fine,
    even with IE 7 in Windows XP it still works. But in Windows VISTA
    every button opens a new browser windows.
    Windows VISTA, IE 7, Dreamweaver 8, running the web on my HD
    Thanks in advance.
    Sky

    If you want to use Flash for navigation, consider this -
    1. Some people don't have Flash installed - what do they do?
    2. Search engines don't parse Flash links - your site will
    not be spidered
    3. Screen assistive devices don't parse Flash links - what
    will those users
    do?
    4. DW cannot maintain links within a Flash movie, so if you
    move or rename
    a linked file, your navigation will break - what will you do?
    It's usually a very bad idea for these reasons...
    Adding in frames makes it even worse - you are in the deep
    stuff here. Why
    are you using frames?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "LeichterLernen" <[email protected]> wrote
    in message
    news:er5fua$3am$[email protected]..
    > Hey, I use some standard flash buttons from Dreamweaver
    to navigate. I
    > have two
    > frames in this web. The buttons are in frame "A" and
    refer to a target in
    > frame
    > "B". This worked perfectly fine, even with IE 7 in
    Windows XP it still
    > works.
    > But in Windows VISTA every button opens a new browser
    windows.
    >
    > Windows VISTA, IE 7, Dreamweaver 8, running the web on
    my HD
    >
    > Thanks in advance.
    >
    > Sky
    >

  • Unable to see execution log on Operator Navigator

    Hi All,
    I've installed ODI version 11.1.1.6.0 (Generic version) on Windows7 64 bit, using JDK 1.6.0_38 (64bit)
    After developped and run interface, the interface was success but there are no log show on Operator Navigator screen.
    I've tried to point JAVA_HOME at JDK 1.6.0_37 (32bit), It doesn't work. There are error error message 'Unable to launch the Java Virtual Machine Located at path c:\java\jdk1.6.0_37\msvcr.dll' and cannot open ODI studio.
    I've changed to many version of JDK but it still not work.
    Please advise.
    Kanokwan

    1. Have you selected the log level 5?
    2. Why it is reading msvcr.dll file instead of java.exe Go to the last section of this post to verify if you r setting the path properly
    http://dwteam.in/odi-11-1-1-6-installation-on-windows-server-2008-64-bit/
    Bhabani

  • How to reset input Text value on click of root menu item navigation link ?

    All,
    Jdeveloper - 11.1.1.6
    I am facing this issue across the pages.
    I have a root_menu.xml based navigation available as links at the top of ADF application. Some of the menu links directly have JSPX pages having the content being loaded , and others are JSPX containing Bounded task flow.
    Issue :
    On the click of the menu links, the page gets reloaded / refreshed , however the input value given on the page remains displayed even after refresh.
    We need the page refresh along with any input test box getting cleared on Menu item click.
    Any pointers as to how we can resolve.
    Thanks

    If your page is in a taskflow (which it should be as you use pageflowscope), you should have a method action in your task flow which you call to clear all the values you use in the UI.
    Timo

Maybe you are looking for

  • Sent Message Errors

    I recently updated my operating system to tiger and with that came the updated version of mail. i use the httpmail plugin to check my hotmail account through mail. when i updated my os i also updated the httpmail plugin. for some reason my sent messa

  • New bee - accessing CIS from java

    Hi , On the same line. I want to access the CIS from Java. Can you guide me on how I can implement this . Both from a standalone java program and from a web layer ? I have installed content server 10gR3. I want to acess this server from Java. Any hel

  • When I try to email a photo as an attachment the iphoto file will not load

    When I try to email a photo as an attachment the file will not load?

  • General error 34

    Im trying to open a sequence & im getting an error message general error (34) Error out of memory wont open sequence wont open timeline window of the project any ideas

  • No warning on duplicated names in library

    Recently when i copy paste items from one document to another and they have the same names in library i got a warning message. It seems i turned off this warning somewhere but i can't find where. Any suggestions to get this warning back?