DATE issue in UIX page

Dear All,
I am having a weird date related issue while loading a date value. We show date values in Uix pages, all the Oracle.sql.Date (which in turn convered to java.sql.Data)are displayed a day less in the UIX. The dates are shown in <textInput> or <messageTextInput> or <formattedText> fields. For ex: if the DB date is 05/11/2004, it is shown as 04/11/2004 in the screens. The dates stored and the retreived in the java middle tier are same, but the value printed in the UIX is a day less. The server time maintained is EST and this application is used by the clients in US.
The things work fine when run on the local machines pointing to the same database. But, when a server is accessed from the same client machine the problem is simulated.
This is a production issue which needs to be addressed immediately.
Please send your inputs on this.
Thanking in advance.
Girish S C

There were a couple of bugs related to the date lag problem that you reported. These should have been fixed in latest releases of UIX (The last such bug identified has been fixed in version 2.2.12, the latest as of date being 2.2.16). You would have to wait until this is publicly available and upgrade to this version.

Similar Messages

  • Data display on the UIX page

    Hi all,
    I want to display my data on a UIX page without using default form or table, instead, I want to display them in a free format, which means I can arrange data in any way I would like.
    I am not sure if this can be implemented on a UIX page.
    Any guidance would be greately appreciated and please do reply ASAP.
    Thanks,
    Qian

    For layout try these:
    Row Layout, Cell Renderer, Labeled Field Layout
    Then drag the form fields wherever you want in those. It's not free form, as it's not an xy layout design, but you can design whatever layout you want with the components.

  • UIX page not displaying data from VO's

    I have an application where my users log in by passing a username/password to a client method in my application module. The Webusers View Object has a view link to the Customers view object, which has a view link to the Orders view object, which has a view link to the OrdLines view object, like this:
    WebusersView
    --CustomersView via WebCustViewLink
    ----OrdersView via CustOrdViewLink
    ------OrdLinesView via OrdOrdlinesViewLink
    I've run this Application Module through the tester and I can see data via all the View Links.
    I have the following code in my login() script:
    w = getWebusersView();
    w.setWhereClause("login = '" + username + "'");
    w.executeQuery();
    I've stepped through the login() code and it works correctly. If I understand BC4J correctly, then all of the View Links should fire and coordinate the data from Customers, Orders, and OrdLines when this query executes successfully.
    I created a UIX page and did a drag/drop of Orders to the page as a read-only table. I found the Orders table by expanding the Webusers entry in the Data Control palette, then the Customers entry below that, to grab the Orders entry there. I think this means that it will follow the WebCustViewLink to get the Customer that goes with the Webuser, then the CustOrdViewLink to get the Orders for that Customer. Is this correct?
    When I try to run this and display the table, I get no records. I know for a fact that records exist under the Webuser username I've chosen.
    What is wrong? Why doesn't my UIX page display the appropriate Orders based on the Webusers->Customers->Orders view links?

    If there, try removing the $. at the beginning of the binding that gets puts there if you select the item from the pop up list.
    I have a text field that is read only and bound without the $. that was working fine for displaying data. I have a drop down that had the $. and was not saving. I removed the $. and now it is getting saved to the XML. However, it does not display on the next render of the form.

  • Passing data from one UIX XML page to another UIX XML page

    What are the various ways of passing data from one UIX XML page to another UIX XML page?
    (a) If no bc4j is used.
    (b) If bc4j is used.
    (c) If my event handler calls:-
    public static EventResult handleMyEventEvent( BajaContext context, Page page, PageEvent event) throws Throwable
    then how can I pass data to the next UIX XML page?
    Thanks,
    Paul.

    What are the various ways of passing data from one UIX XML page to another UIX XML page?
    (a) If no bc4j is used.For forwarded URLs; HttpServletRequest attributes [request], HttpSession attributes [session], ServletContext attributes [application].
    For redirected URLs; HttpServletRequest parameters url, HttpSession attributes [session], ServletContext attributes [application].
    (b) If bc4j is used.For forwarded URLs; BC4J Session properties.
    For redirected URLs; BC4J Session properties IF release mode is NOT stateless.
    (c) If my event handler calls:-
    public static EventResult handleMyEventEvent( BajaContext context, Page page, PageEvent event) throws Throwable
    then how can I pass data to the next UIX XML page?Return a UIEventResult (extends EventResult) from your event handler that has a data provider attached.
    This data provider will be accessible in the next page with the name "ctrl:eventResult", where "ctrl" is the short prefix for the namespace "http://xmlns.oracle.com/uix/controller".
    Regards,
    John Fallows
    Oracle Corporation.

  • Issues and Risks Page: How is this page's data displayed? PSI or Reporting Database?

    The Issues and Risks page (issuesandrisks.aspx) serves up a list of issues/risks that are assigned to me.  Is this a PSI call behind the scenes, or a call to the Reporting DB?  Has anyone gone to this level of detail?  Any help on how to
    get this info programmatically would be awesome.  Thanks! - M
    Michael Mukalian | Jan 2010 - Dec 2010 MVP SharePoint Services | MCTS: MOSS 2007 Configuration | http://www.mukalian.com/blog

    Issue and risk comes from reporting DB. Please go through link it may help you to understand
    http://pwmather.wordpress.com/2012/07/13/projectserver-active-issues-and-risks-on-pwa-reminders-web-part-ps2010-sp2010-sharepoint/
    kirtesh

  • Can not view 24 hours data in Websphere performance page

    We configured EM 10.2.0.5 to monitor Websphere 6.1 on AIX.
    Now we can see current data in the performance page.
    But when we switch to 24 hours view, there is not any data shown in the page.
    Does EM 10.2.0.5 support viewing Websphere historical data?

    This issue is solved.
    The OMR parameter job_queue_processes is set to 0.
    It should be 10 or above.

  • 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

  • Two LOVs in same UIX page based on the same table

    Hi group,
    Recently I ran into a problem with a UIX page that has two LOVs based on the same database table. In Emp and Job terminology, here's what I tried to do.
    Suppose we have use the Employees and Jobs tables from the HR scheme with one small modification. Add a column called PREFERRED_JOB_ID of type VARCHAR2(10) which is exactly the same as JOB_ID. Hypothetically speaking, this column will be used to allow Employees to select their preferred job in case they want to change their jobs.
    Next, create business components in JDeveloper based on the Employees and Jobs table. In order to be able to generate the LOVs for Job and PreferredJob create two ViewObjects, one called JobsLookupView and one called PreferredJobsLookupView. These both need to be based upon the same Jobs EntityObject. Also include the Jobs EntityObject twice in the EmployeesView ViewObject and give one the alias PreferredJobs. Include the JobTitle attributes of Jobs and PreferredJobs in EmployeesView so they can contain the JobTitles selected in our future LOVs.
    Next create a ViewController project if it's not already there and enable JHeadstart on it. Create an Application Structure File and create the lookups for the two LOVs. When I run the application I see this happening:
    When I click the flashlight icon next to the PreferredJob LOV and select a job, the PreferredJob field is selected in the UIX page but no job title appears. When I next first select the Job LOV and select a new job and then select the PreferredJob LOV again and select a different job, the job that was selected in the Job LOV is now also entered in the PreferredJob field. When I make sure the PreferredJob field isn't required (remove the required="yes" property on the messageLovInput entry for PreferredJobTitle and remove the PreferredJobTitle field from the addRequiredRowItems list in the UIX page) I can save the changes I made in the Employees.uix page. The same JobId is stored in the database for Job and PreferredJob.
    This behaviour is probably due to cacheing issues because both LOVs and the EmployeesView ViewObject use one EntityObject for four values in three ViewObjects.
    So I then modified my model a bit. I created a new EntityObject called PreferredJobs based on the JOBS table. I modified the EmployeesView ViewObject to use this EntityObject for the PreferredJobTitle attribute and modified the PreferredJobsLookupView to use this EntityObject.
    I needed to modify a few things as well in the Application Structure File (which were prompts and whether or not the attribute should be visible in a table) and after regenerating I made sure the PreferredJob attribute isn't required in the UIX page. When I then run the application again, I never see the JobTitle I select in any LOV allthough the PreferredJob field is selected when I select a Job in the PreferredJob LOV. The correct JobId now is stored in the database though.
    Has anyone ever encoutered this behaviour? Would anyone know how to get two LOVs based on the same table in one UIX page?
    Thanks in advance,
    Wouter van Reeven
    AMIS

    OK I figured it out. When I added the second Lookup ViewObject (PreferredJobs) no additional Association was created. Therefore, ADF BC wasn't able to figure out which field to update. When I added the Association between the PreferredJobs Lookup ViewObject and the Employees ViewObject everything started working ok.
    I then recreated my inital situation: one EntityObject for Jobs and one for Employees, now with two Associations between them. After modifying the Employees ViewObject and making sure the Jobs EntityObject was referred twice and via the corresponding Association, everything started working ok.
    Greets, Wouter
    AMIS

  • JSF - Read a text file and diplay lines of text data on the web page

    Hello,
    For one of my projects, I need to display lines of text data on the web page using Java Server Faces Technology. The raw data could be from simple text files or sockets or anything. (Getting the data is not my issue but displaying is). Could anybody send answers with sample code. In servlet, one could do this by -
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException{
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println(DATA);
    out.println(DATA);
    out.println("</html>");
    I am looking for similar solution.
    Thanks in advance
    DK

    Thanks mjolinor.  Works great!
    Two questions.
    1. Could you plz suggest how this could be modified so this code would read the file in or accept it from the pipeline instead of wrapping the (@' around the data?
    2. Could you plz briefly describe some of the details of the code so I can further research and understand.
    Thanks for your help.
    Thanks for your help! SdeDot
    1. It already reads in the file.  The (@' .. '@) bits are just there to create a file using your test data to demonstrate that it works.
    2.  Not user what kind of "details" you want.  There really isn't much there, and get-help on the cmdlets used should provide information on what's going on with them in that script.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • 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

  • Two tables in the same uix page

    Hi! I work with Jdeveloper and UIX with the framework Jheadstart. I need to save data of two tables at same time; i mean , two tables in the same page which save with the same submitbutton. i have made some tries editing the service file, some templates and of course the page, but sometimes it works and sometimes not, i dont know what's happening and i really need to resolve this problem urgently. i hope someone can help me and i'd thank you a lot.
    Thanks for your atention.

    I'm sorry, but I'm going to need more details before I can help. If you can provide stripped down versions of your UIX page and Java code, perhaps I can be of service. Also, I would like to know which JDeveloper and UIX versions you are using.
    Ryan Pollock
    UIX Team

  • UIX-XML BC4J - Unexpected errors using paths and DeltaTree on a particular UIX page

    We are using a PageDescription to dynamically change a UIX tree using the DeltaTree technique described in the Dynamic Structure for For UIX Pages chapter of the UIX Developers Guide.
    We search for a particular node using PathUtils.FindPathWithNodeID(RenderingContext context, UINode from, java.lang.String nodeID), but this fails when the page contains nested ViewObjectScopes.
    The method throws a NullPointerException, and the render fails:
    29/08/02 9.08 Valutazioni: java.lang.NullPointerException
         oracle.cabo.ui.data.DataObjectList oracle.cabo.ui.collection.DataObjectListNodeList.getDataObjectList(oracle.cabo.ui.RenderingContext)
         int oracle.cabo.ui.collection.DataObjectListNodeList.size(oracle.cabo.ui.RenderingContext)
         int oracle.cabo.ui.BaseUINode.getIndexedChildCount(oracle.cabo.ui.RenderingContext)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         boolean oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.path.PathImpl, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         oracle.cabo.ui.path.Path oracle.cabo.ui.path.PathUtils._findPath(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.UINode, oracle.cabo.ui.path.PathUtils$Finder)
         oracle.cabo.ui.path.Path oracle.cabo.ui.path.PathUtils.findPathWithNodeID(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.UINode, java.lang.String)
         oracle.cabo.ui.UINode com.websiteitalia.wsdk.uix.pageflow.PageFlowManager.getRootUINode()
         oracle.cabo.ui.UINode oracle.cabo.servlet.ui.UINodePageDescriptionProxy.getRootUINode()
         oracle.cabo.ui.UINode oracle.cabo.servlet.ui.UINodePageRenderer.getRootUINode(oracle.cabo.servlet.BajaContext, oracle.cabo.ui.RenderingContext, oracle.cabo.servlet.Page)
         oracle.cabo.ui.UINode oracle.cabo.servlet.ui.HTMLUINodePageRenderer.getRootUINode(oracle.cabo.servlet.BajaContext, oracle.cabo.ui.RenderingContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         void oracle.cabo.servlet.AbstractPageBroker.renderPage(oracle.cabo.servlet.BajaContext, oracle.cabo.servlet.Page)
         oracle.cabo.servlet.Page oracle.cabo.servlet.PageBrokerHandler.handleRequest(oracle.cabo.servlet.BajaContext)
         void oracle.cabo.servlet.BajaServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
         void com.evermind.util.ThreadPoolThread.run()
    We found the element of the UIX page that causes the problem:
    <bc4j:viewObjectScope name="ElementsView" >
    <contents>
         <bc4j:rowScope name="NewElement" >
         <contents>     
              <bc4j:region automatic="false" >
                   <bc4j:key>
                        <bc4j:rowKey name="keyElement"/>
                   </bc4j:key>
                   <contents>
                        <bc4j:attrScope name="FlgState">
                        <contents>
                             <messageChoice name="FlgState" prompt="State" >
                                  <boundAttribute name="selectedValue">
                                       <concat>
                                            <bc4j:attrProperty name="value"/>
                                            <fixed text=""/>
                                       </concat>
                                  </boundAttribute>
                                  <contents>
                                       <!-- This is the nested vo scope causing the error -->
                                       <bc4j:viewObjectScope name="DecodeStateView" >
                                       <contents data:childData="list@DecodeState">
                                            <option data:value="StateCode"
                                                 data:text="StateDescription"/>
                                       </contents>
                                       </bc4j:viewObjectScope>
                                  </contents>
                             </messageChoice>
                        </contents>
                        </bc4j:attrScope>
                   </contents>
              </bc4j:region>
         </contents>
         </bc4j:rowScope>
    </contents>
    </bc4j:viewObjectScope>
    This usage of nested view object scopes has been explained in reply of a previous post, How to databind the children of a UIX XML choice, and before ours attempts to modify the tree it worked fine. Removing the nested view object scope the page makes the page render correctly, but we need it to retrieve the description of its state.
    We get the same behaviour (and a much similar stack trace, with the same oracle.cabo.ui.data.DataObjectList oracle.cabo.ui.collection.DataObjectListNodeList.getDataObjectList (oracle.cabo.ui.RenderingContext) throwing a NullPointerException) if we use NodeUtils.createPreorderDescendentAttributeEnumeration method instead of PathUtils.

    It's a bug in the DataObjectListNodeList class that's up at the top of
    the stack. It's been fixed for 9.0.3. The bit of XML that's triggering
    it isn't the <viewObjectScope>s, but the "data:childData".
    I believe you can workaround this bug by not passing a null RenderingContext to
    findPathWithNodeID(). Now, you don't have a real RenderingContext, and we
    don't especially need one - "null" is legit here, but I think if
    you just pass "new oracle.cabo.ui.RootRenderingContext()" then you'll
    get around this bug.

  • Java access to view objects from uix page provider

    I have a java method called from a uix page as follows:
    <dataScope>
       <provider>
           <data name="frameworkTableData">
              <method class="smart.FrameworkAspects"
                      method="getFrameworkStudyAspects"/>
           </data>
       </provider>
    I want the java program to be able to access the bc4j view objects defined on the page. These are:
    <bc4j:registryDef>
      <bc4j:rootAppModuleDef name="SmAspectsBrowseAppModule"
                             definition="smart.Smartbc4jModule"
                             releaseMode="stateful" > 
       <bc4j:viewObjectDef name="SmFrameworksBrowse"
                        rangeSize="0"  />                       
      <bc4j:viewObjectDef name="SmAspectsBrowse"
                          rangeSize="10" />                       
      <bc4j:viewObjectDef name="SmStudyMembersAspectsEdit" />
      </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    I've read through several of the threads on using Configuration.createRootApplicationModule(amDef, config) and it is not clear what it is looking for in the arguments.  It appears that "config" is the name of the app module. I don't know what the amDef relates to.
    Anyway, I can't get it to work.  All I'm trying to do is get at 3 view objects I have defined in my bc4j section and am having trouble getting this to work.
    Any ideas on how to approch this would be much appreciated.
    Thanks, Steve
    Does anyone                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Can you explain how you solved the problem? I have the same. Thanks.

  • 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

  • Is it possible to use several RootAppModules in one UIX Page?

    Hello,
    I want to use two RootAppModules in one uix page. The reason is, that application modules look at different database connections.
    I get this NullpointerException:
    java.lang.NullPointerException
         void oracle.cabo.data.jbo.ui.data.ViewObjectDataProvider.init(oracle.cabo.ui.RenderingContext)
         void oracle.cabo.ui.data.provider.TableDataProvider.init(oracle.cabo.ui.RenderingContext)
         void oracle.cabo.ui.data.provider.CachingDataProvider.init(oracle.cabo.ui.RenderingContext)
         void oracle.cabo.ui.data.provider.DataProviderStack.addDataProvider(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.data.DataProvider)
         void oracle.cabo.ui.LogicalNodeRenderingContext.addDataProvider(oracle.cabo.ui.data.DataProvider)
         void oracle.cabo.ui.composite.CompositeRenderingContext.addDataProvider(oracle.cabo.ui.data.DataProvider)
         void oracle.cabo.ui.laf.base.DataScopeRenderer.prerender(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.UINode)
         void oracle.cabo.ui.BaseRenderer.render(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.UINode)
    In my page I have two Registry entries and in my page content I open the second AppModuleScope after closing the first AppModuleScope.
    I am using JDeveloper 9.0.3.2. The documentation says it should be possible???
    Thanks,
    Christian

    I explored my problem yesterday and this are my results.
    Everything works fine, so using different root application modules, if I come from a simply navigation event handler.
    But when I use my own event handler which itself is enclosed in an root application module scope, the next page is not able to render data coming from different root application modules.
    The event handler of my source page looks like this:
    <event name="selectionEvent">
    <bc4j:findRootAppModule name="MyRootAppModule">
    <bc4j:findViewObject name="MySelectionVo">
    <instance class="test.MySelectionEventHandler"/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    Regards,
    Christian

Maybe you are looking for