How to debug UIX pages?

Hi,
I was reading the "Configuration" file uix-config.xml, but i can't debug a UIX page...
It's possible to debug uix pages?
Thanks
Juan Pablo

To debug a UIX page, select the UIX page in the navigator and then press the debug button on the toolbar. This will launch the embedded OC4J server in debug mode and bring up a browser for the UIX.
I don't know if the debugger can stop at breakpoints in the UIX page itself, but the debugger can stop at breakpoints in your java code.
-Liz

Similar Messages

  • How to Deploy UIX pages in AS

    Well iam working on an application made i ADF UIX. The JDeveloper version used is 10.1.2 and I want to deploy this application in Oracle 10G 10.1.2.
    Could some one tell me how do i go about it?

    Dear Sir...
    1- in the application navigator right click the view-controller project
    2- select New
    3- select Deployment profile then select WAR file
    4- click OK and select a name for the WAR file and click ok
    5- a window appears asking for settings of the WAR file.
    6- click on the Specify J2EE web context. and enter a name like /abc. select OK
    7- The deployment WAR file appear, select it and select create EAR file.
    what you have done so far is that you defined a packaging file that will contains all of your web pages and call the code. you also specifies how the context path of the application would be. i.e. you access you web application using the link http://servername/context-root/page1.do and in our case it would be http://servername/abc/page1.do.
    Now copy this EAR file and take it to the application server in order to install it there.
    1- The first step is to create an OC4J. The OC4J is a java virtual machine or a server that your application will be executed inside it. So create a new OC4J and give it a name.
    2- Open this OC4J and select the applications Tab. Here you should install your application.
    3- Select deploy EAR file.
    4- Give the path of your EAR file, and select a name for the application and finish the deployment operation.
    5- Now open the first tab of the OC4J and select start to start the java virtual machine and let your application start.
    6- Now you should be able to access your application using the link : http://servername/context-root/page1.do. In this example the link will be http://SV/abc/dataPage1.do where SV is the server name, abc is the context-root you specified already and dataPage1 is the name of the uix page you want to access.
    you might need some other settings such as specifying the data sources and the connection to the database. For any other details try to read about how to deploy applications to the application server in the otn.
    best regards

  • How to Include a HTML file in a UIX Page

    I have an old .html file (content.html) which contains some infomation and now I want to present that information inside a Uix Page! Is it possible to do so if then how.
    I tried using uix include tag but no luck.
    Any help is greatly appreciated.
    Thanks
    Kolluru

    Here is the .jsp file and the serverinclude tag is written in the 4th line from last.
    <uix:servletInclude source="layout.html" />
    I want the content of the layout.html in the main content pane but instead it is getting added on to the top or to the SideNav.
    Thanks for the help anyway.
    ====================================================
    <%@ page errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="MyBC4JModule" definition="MyUIX.MyBC4JModule" releasemode="Stateful" />
    <jbo:DataSource id="ds1" appid="MyBC4JModule" viewobject="EmpView1" rangesize="4" />
    <%-- user interface begins here --%>
    <HTML>
    <HEAD>
    <TITLE>Oracle Migration Maps </TITLE>
    <uix:styleSheet/>
    </HEAD>
    <BODY>
    <uix:pageLayout>
    <uix:pageHeader>
    <uix:globalHeader selectedIndex="0">
    <uix:contents>
    <uix:link text="Migration Maps" destination="uixpage1.jsp" />
    <uix:link text="Migration Checklist" destination="http://www.oracle.com" />
    <uix:link text="Templates" destination="http://www.oracle.com" />
    <uix:link text="Scripts" destination="http://mtg.ie.oracle.com" />
    <uix:link text="Release" destination="http://www.oracle.com/" disabled="true" />
    </uix:contents>
    </uix:globalHeader>
    </uix:pageHeader>
    <uix:productBranding>
    <uix:image source="productBrand.gif" shortDesc="product" />
    </uix:productBranding>
    <uix:cobranding>
    <uix:image source="cobrand.gif" shortDesc="brand" />
    </uix:cobranding>
    <uix:copyright>
    <uix:flowLayout>
    <uix:contents>
    <uix:image source="images/info.gif" />
    <uix:link text=" @Copyright 2003, Oracle Corp. " destination="http://www.oracle.com" />
    </uix:contents>
    </uix:flowLayout>
    </uix:copyright>
    <uix:privacy>
    <uix:flowLayout>
    <uix:contents>
    <uix:image source="images/info.gif" />
    <uix:link text="privacy statement" destination="http://www.oracle.com" />
    </uix:contents>
    </uix:flowLayout>
    </uix:privacy>
    <uix:globalButtons>
    <uix:globalButtonBar>
    <uix:contents>
    <uix:globalButton icon="images/returntoportal.gif" text="Home"
    destination="uixpage1.jsp"/>
    <uix:globalButton icon="images/logout.gif" text="Logout"
    destination="http://www.oracle.com"/>
    <uix:globalButton icon="images/preferences.gif" text="Preferences"
    destination="http://www.oracle.com"/>
    <uix:globalButton icon="images/help.gif" text="Help"
    destination="http://www.oracle.com" targetFrame="_blank"/>
    </uix:contents>
    </uix:globalButtonBar>
    </uix:globalButtons>
    <uix:breadCrumbs>
    <uix:contents>
    <uix:link text="Home" destination="uixpage1.jsp" />
    <uix:link text="Qualification" destination="qualification.jsp" />
    <uix:link text="Customer Survey" destination="customersurvey.jsp" />
    </uix:contents>
    </uix:breadCrumbs>
    <uix:quickSearch>
    <uix:messageTextInput prompt="Search" name="QSearch" text="Cabo">
    <uix:end>
    <uix:submitButton accessKey="g" text="Go" />
    </uix:end>
    </uix:messageTextInput>
    </uix:quickSearch>
    <uix:start>
    <uix:sideNav>
    <uix:link text="Home" destination="uixpage1.jsp" />
    <uix:link text="Help" destination="/site1/PageTemplate.jsp" />
    <uix:link text="Migration Process Guide" destination="http://pta.us.oracle.com:9999/" />
    <uix:link text="MSMS v1.1" destination="http://amgdev1.ie.oracle.com/mtg/" />
    <uix:link text="Knowledge Base" destination="http://webiv.oraclecorp.com" />
    <uix:link text="Factory Infrastructure" destination="http://webiv.oraclecorp.com" />
    <uix:link text="BugDB" destination="http://bug.us.oracle.com" />
    <uix:link text="Oracle Migration Workbench " destination="http://webiv.oraclecorp.com" />
    <uix:link text="Application SQL Tools" destination="http://webiv.oraclecorp.com" />
    <uix:link text="Support" destination="http://webiv.oraclecorp.com" />
    <uix:link text="Migration Technology Centre" destination="http://otn.oracle.com/tech/migration/content.html" />
    <uix:link text="Migration Technology Group" destination="http://mtg.ie.oracle.com" />
    </uix:sideNav>
    </uix:start>
    <uix:end>
    <uix:contentContainer text="Related Maps" background="light" icon="testInfo.gif" width="100%">
    <uix:link text="Customer Surveys" destination="http://www.oracle.com" />
    <uix:link text="Survey Request" destination="http://www.oracle.com" />
    <uix:link text="Customer Analysis" destination="http://www.oracle.com" />
    </uix:contentContainer>
    </uix:end>
    <%-- Main page contents go here --%>
    <uix:contents>
    <uix:header styleClass="OraLightHeader" text="Qualification Stage" />
    <uix:styledText styleClass="OraHeaderSubSub" text="" />
    <uix:spacer width="10" height="15" />
    <uix:styledText styleClass="OraDarkHeaderSubSub" text="Qualifying the Customer - Receiving Customer Surveys" />
    <uix:spacer width="10" height="10" />
    <bc4juix:TableDetail></bc4juix:TableDetail>
    <uix:styledText styleClass="OraInstructionText" text="Prospective customers
    are identified by a variety of sources, such as sales consultants and
    Oracle Direct. These customers are asked to complete a customer survey and
    the results are automatically sent to the Migration Factory. The table below
    lists the location of the customer surveys once they are released on the
    Oracle eMarketing system." />
    <uix:spacer width="10" height="20" />
    <uix:servletInclude source="layout.html" />
    </uix:contents>
    </uix:pageLayout>
    </BODY>

  • How do I show use poplist in uix pages?

    Ok here is my problem which I will try to relate it in HR schema example.
    I got a uix page showing departments and employees(one-many) master detail.
    I got another edit uix used to edit old employees or create new employees.
    In this edit/create uix I don't want the user to see the id's like DepartmentId, ManagerId, JobId etc...instead I want them to see the corresponnding Names.
    How do I achieve this? Could some one give me a walk through or some sort of hint?

    Hi,
    Have you checked out the "Oracle ADF UIX How-To's" at http://www.oracle.com/technology/products/jdev/howtos/index.html?

  • How to import user defined class in UIX page?

    Does anyone know how to import user defined class in UIX page so that the class can be called in the javascript in the UIX ?
    Thks & Rgds,
    Benny

    what you are referring to is not javascript.
    it is JSP scriptlets. These are very different.
    In order to keep a strict separation between View and Controller, it is not possible to run arbitrary java code from within your UIX code.
    However, you can run java code from within a UIX event handler; see:
    http://otn.oracle.com/jdeveloper/help/topic?inOHW=true&linkHelp=false&file=jar%3Afile%3A/u01/app/oracle/product/IAS904/j2ee/OC4J_ohw/applications/jdeveloper904/jdeveloper/helpsets/jdeveloper/uixhelp.jar!/uixdevguide/introducingbaja.html
    event handler code is run before the page is rendered.

  • How to debug a bean in JSP page with JBX???

    How to debug a bean in JSP page with JBX???
    i have a bean within a JSP page. i wanna find out how do they varibles work and changes of them values.
    are there some ways or tools to get the situations of them in visual way? just like when i debug VB program,i can get the situations in immediately window.

    help me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • HOW TO PASS A PARAMETER TO UIX PAGE FROM APPS' FUNCTIONS FORM?

    Hello,
    We created a form function (in Sys Admin resp) for a UIX page. The Type field
    is 'SSWA plsql function that opens a new window (Kiosk Mode)'. The HTML Call
    field is 'POBarCode.uix'.
    We have to pass the username (who logs in) to the UIX page. If we pass it
    literaly, (e.g. POBarCode.uix?MyParam1=BBASTIN), it works. We tried following
    two options to pass it as a variable in HTML Call field:
    POBarCode.uix?MyParam1=fnd_profile.value('USER_ID')
    POBarCode.uix?MyParam1=$PROFILE$.USERNAME
    Both variable show up as is in the UIX page. How can we pass the username as a
    variable on tHe HTML Call?
    Thanks, Ali.

    Hi guojun yu,
    As per my understanding, you use parameters related to country and office UI langs as search condition in the report, you want to provide part of countries/office UI langs values as values of parameter, then all records will be displayed in the report.
    In Reporting Services, parameters are used to filter data, after we selected values of parameter and preview the report, only data meets search condition will be displayed in the report. To display all records in the report, we need to use all values of
    countries/office UI langs as values of parameter. For detail information, please refer to the following steps:
      1. Create separate dataset for each parameter with the query like below:
    Select distinct CountryRegion from TableName
      2. In design mode, right-click Parameters and click Add Parameter.
      3. In Parameter Properties dialog box, in name and prompt text box, type CountryRegion. Select Allow multiple values.
      4. Click Available Values in left pane, select Get values from a query, select dataset from drop down list, select CountryRegion from Value field and Label field drop down list.
      5. Create parameter @OfficeUiLang, @OsLocale, @IsMobile like step1 to 4 above.
      6. Modify the stored procedure used to retrieve data for the report like below:
    SELECT *
    FROM AggregateDataByDate AllSessions
    WHERE UserID != 'NULL'
    AND CountryRegion in @CountryRegion
    AND OfficeUiLang in @OfficeUiLang
    AND OsLocale in @OsLocale
    AND IsMobile in @IsMobile
    AND [UsageDate] >= @DataCutOffDate
    For detail information about Adding a multi-value parameter to a Report, please refer to the following document:
    https://msdn.microsoft.com/en-us/library/dn385719%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • How to create an email link in UIX page

    I am trying to create a simple email link in my UIX page in order to get feedback from users.
    I don't seem to find out how to do it. Can someone please help me ASAP.
    Many Thanks,
    Qian Dong

    Hi Atilio Ranzuglia,
    Thank you so much for the help. It took me a while yesterday trying to figure out how to do
    what I originally thought was a very simple thing, I was unable to find any helpful information.
    Your help saved a lot of time for me, I am very appreciative of it.
    Many thanks again,
    Qian Dong

  • How to set and read a variable in a UIX page

    In a similar fashion to how JSP works, I need to set a variable if a certain condition occurs at a specific processing point in my UIX page, and then conditionally create output in the page based on the value in my variable. How can this be done in UIX?
    Brad

    Hi ,
    Decalring the Varible :
    <?xdoxslt:set_variable($_XDOCTX, 'var', 0)?>
    Do the calculation :
    <?xdoxslt:set_variable($_XDOCTX,'var', xdoxslt:get_variable($_XDOCTX,'var‘)+ XML columnname)?>
    Display the Variable :
    <?xdoxslt:get_variable($_XDOCTX, 'var')?>
    Declare the varaible before your loop starts.Do the calculation part inside the loop so for each row it will be updated.
    Display the results where you want using the form field and place the display varaible syntax.
    Hope this will helpful for you.
    Thanks,
    Ananth

  • How can specify the max width of uix pages in a browser

    If I have 7 tabs in my jheadstart application. This
    works fine on a 1200X1000 resolution but on a
    1024X720 resolution the users have a scrollbar
    how can i specify the max resolution in jheadstart

    Tnx Steven "God" Davelaar ;-)
    Edwin:
    When you are about to edit the tab-bars (any level),
    make sure you disable the tabbar generation (service-
    level). Each uix-page calls this tabbar with a parameter
    for selected-tab (0 to n). If you edit the *tabbar.uit
    and for example, merge 2 tabbars into 1 (with a level 2
    globalheader for further navigation), don't just delete
    the code in the uit-file, but simply set one of them to
    rendered=false (instead of
    data:rendered=groupname@infoTable:something). This will
    not screw up the selected-tab settings on all pages where
    the selected tabbar is on the right (higher number) of
    your merged one.
    And have fun with UIX (I know you will)

  • How to write Resourebundle class for uix page

    Our web application should support some different languages .I have took a look of "Internationalization" by help system but still not so clear.
    How to make a simple uix page supported with multiple languages at runtime ? If Resoursebundle is the answer ,how to realize it? Has anybody example codes?
    thanks
    Yong

    Yes, you should use a java ResourceBundle, and you can use the bundle data provider to bind text from a bundle. This is described in the Internationalization chapter of the UIX developers guide.
    As to how to write a resource bundle, there should be info available on the web, so try doing a search.

  • How to print a form in a UIX page

    I want to print a form in a UIX page? I have tried a lot of methods,but they did not work.I only want to print the contents in the form ,not including the contents of the page title ,tab bar,etc. Can someone tell me?Thank you!

    Yu -
    You'll want to use the "printable" facet when rendering your page. The following sample page contains a button which allows the user to view the "printable" version of the page. It uses the <showFacet> event handler to switch to the printable facet:
    <?xml version="1.0" encoding="UTF-8"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
          xmlns:ui="http://xmlns.oracle.com/uix/ui"
          xmlns:data="http://xmlns.oracle.com/uix/ui"
          xmlns:ctrl="http://xmlns.oracle.com/uix/controller">
    <content>
      <pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
      <tabs>
        <tabBar>
        <contents>
           <link text="Hello"/>
           <link text="World"/>
        </contents>
        </tabBar>
      </tabs>
      <pageButtons>
        <pageButtonBar>
        <contents>
          <button text="Show Printable Page" ctrl:event="showPrintable"/>
        </contents>
        </pageButtonBar>
      </pageButtons>
      <contents>
        <text text="Printable area"/>
      </contents>
      </pageLayout>
    </content>
    <handlers>
      <!-- Use the showFacet event handler to switch over to
           the "printable" facet -->
      <event name="showPrintable">
        <showFacet name="printable"/>
      </event>
    </handlers>
    </page>Andy

  • How to handle 2 database tables in a single UIX page?

    Hi all,
    I have to use data from two different tables in the database but using only one uix page.
    Is it possible? Can I use "uiXML Browse an Edit Form Wizard"?
    Thanks in advance,
    Ferrer

    Yes, it is possible.
    To save the time of creating the combined page manually, you can generate the individual pages, combine the registryDef, content and handlers sections to get your desired user interface.
    Kind Regards.

  • Displaying HttpRequest Parameter in UIX page

    Hi team,
    On one page I select a value from a dropdown list - this gets saved as a request parameter on the sessionData (standard behaviour).
    16:06:57 DEBUG (JhsActionServlet) -Parameter Shipment: 121What I want to do is refer to that value in a subsequent UIX page. I thought that I would be able to use
    <dataObject select="Shipment" source="jheadstart:sessionData"/>but it returns null. Also, using a custom handler, I can access the value by using
    String shipmentId = sessionData.getRequestParameter("Shipment");
    or
    String shipmentId = sessionData.getAttribute("Shipment",true).toString();
    but not
    String shipmentId = sessionData.getAttribute("Shipment").toString();The last returns a NullPointer exception - which is no doubt why no value is displayed on my UIX page. How come using the overloaded version of the getAttribute method("Shipment",true) works but not just ("Shipment"). I thought the standard method is supposed to check in all locations (HttpSession, HttpRequest and ServletContext) anyway ??
    Also, what databinding do I need in my UIX page to access this "Shipment" request parameter.
    Many thanks,
    Brent

    Brent,
    Apart from what the standard method is supposed to do, is the difference that getAttribute(String, boolean) with boolean="true" not only checks the session but also the request itself (that's where the boolean is for). The getRequestParameter() only checks the request. That is why getAttribute("Shipment", true) and getRequestParameter() both get the value, while getAttribute("Shipment") doesn't.
    The request parameter is not automatically stored as a data object. You could do this using a custom action that retrieves the parameter using e.g. getRequestParameter(), create a UIX data object based on that and put that on the session. Than you can refer to it in a next page using getAttribute().
    Having said this, I wonder if there is not a much simpler method to retrieve request parameters from the session. If I were you, I would post these same question on the JDeveloper forum to see if that is possible.
    HTH, Jan Kettenis
    JHeadstart Team

  • How to debug form.js ?

    I have this file (form.js) with some javascript functions invoked from mine UIX pages.
    1) If I create a custom.js file, how can I make it available form my pages?
    2) How can I step-by-step debug this file? Breakpoints are ignored there.
    Thanks

    Idevaldo,
    When placing too many alerts in javascript, you might get annoyed with the number of times you have to click 'ok' to close a debug message. In form.js, we have the following code for writing debug messages:
    var myDebugMode = true; /* default is false */
    function myDebug(text)
    if (debugMode)
    debugMode = confirm(text);
    Then, instead of doing: alert("helloWorld") we use: debug("helloWorld"). The advantage is that you get both an OK and a Cancel button for each debug message. OK will take you to the next debug message, but the CANCEL button will turn debugMode off for the remainder of the request. So if you have seen what you needed to see you wont have to click through another 100+ messages.
    You can invoke this debug message from your own JS library as well. If this creates an unwanted dependency, you can implement this behaviour in your own JS file, but make sure you rename both the variable and the method name to avoid conflicts with our code.
    Kind Regards,
    Peter Ebell
    JHeadstart Team

Maybe you are looking for

  • Can we enter data in multiple currencies in BPC

    Hi all, In BPC, is it possible to enter data in transaction currencies other than in local currency?  For example, if the local currency of an entity is USD, but I need to enter data for the same Accounts in EUR, MYR and SGD as well and not have the

  • Creation of Material Master Data

    I am creating a material master for a finished product. On the basic data 1 tab, i clicked the additional data tab, then the Unit of Measurement to maintain an alternative unit of measure. I am having an error message saying that  "Decimal places are

  • Usage of back button in shopping screen brings up the error in the screen,

    Hi All, Usage of back button in shopping screen brings up the error in the screen, In SRM shopping screen, when we use the "back" button on the Internet Explorer toolbar, it does not work, it brings up the error screen. Using the "back" button within

  • How do i get adobe to install  - i have a new computer?

    I have a new computer and it tells me i have to install  Flash Player.  How do i do that?

  • Sorting Aperture photos on ATV...

    After the upgrade I really love the option to be able to sort my Aperture photos by EXIF date or file name. It was a frequent request and great Apple listened to its customers, now I finally can use ATV in my photo business. Cheers, Fons.