ADF based HTML page is a performance dampner. Any Solution?

Hi,
I am using JDev 11.1.1.2.0 with ADF 11g.
We have built many pages based on ADF faces. Each screen has its own set of number of fields based on what is to be depicted to the user.
We have used inbuilt ADF css.
Now when I see the view source of the page it turns out to be in MBs even for simple small screen. What is it that I can do which will help me reduce the size of my page?
It is real pain to see the time taken to load the page.
Thanks in advance.

For a smaller javascript download you need a page with minimum amount of components. Then you need to setup javascript partitioning as explained here:
http://download.oracle.com/docs/cd/E17904_01/web.1111/b31973/ap_config.htm#BABCJIDJ
This will reduce the load time for the initial page.
Note that as Frank mentioned once the JS is downloaded it should be cached on the client.
You can also use WebCache to improve performance as explained here:
http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html
We don't recommend using CSS for layout control in ADF Faces.

Similar Messages

  • Referencing a "locally installed" Java applet from a server-based HTML page

    How does one reference a "locally installed" Java applet from a server-based HTML page (i.e. via the applet, object, or embed tags)? I have seen references in documentation that this is possible, but I have not seen any examples. I have tried a few things, but nothing seems to be working.
    Some background...
    I'm working on a web site that aggregates Internet video. For many users, I would like the site to work "without" requiring Java to be installed (or any prompts, etc.). This version of the site allows users to stream videos directly over the Internet and does not require any sort of access to the local system.
    However, in addition, I have a download manager that can be installed on the local system. Currently, it's a Windows-based "service" that is always running in the background, downloading files, etc. (with plans to later support other OSes).
    My dilemma is trying to communicate between my web site running in the local browser (executing JavaScript code) and the download manager. I call this component the "gateway". I need the gateway to be able to do the following:
    1) Pass user credentials from the web browser UI to the download manager (so it can communicate with my servers).
    2) Check the status of downloaded videos
    3) Launch a local media player (such as Windows Media, QuickTime, etc.) (or perhaps tell the download manager to launch the media player).
    Under Windows XP, I have an ActiveX control that can do these things. It communicates with the download manager via reading/writing to a shared XML configuration file.
    Unfortunately, under Vista and IE7 Protected Mode, ActiveX controls have become very restricted and my gateway no longer works. As such, I am looking at using Java for the gateway (also giving me the additional benefits of supporting additional browsers and OSes).
    From my understanding, I believe I can created a "face-less" Java applet, whose methods can be called from JavaScript. Ideally, I'm thinking I could install the applet onto the local system at the same time the download manager is installed. This would give the applet the security permissions it needs to communicate with the download manager.
    Thanks for any help and suggestions!

    Hi,
    Put the .jar file and the .class file in the path mentioned in one of the aliases in the plsql.conf file like /images or create
    a seperate directory and create an alias like /applets "path" in the plsql.conf file.
    <html>
    <body>
    <applet code=com.chartapplet.chart.BarChartApplet
    codebase=/applets/
    archive=/applets/chart.jar width=300 height=200>
    <param name=background value="white">
    </body>
    </html>
    Hope this helps.
    Thanks,
    Sharmila

  • How to insert a Jquery slideshow to a template based html page?

    I would like to insert a simple jquery slideshow into an existing div in an html page which is linked to a template page. Do I add the js files and code to the template html or the child html where I want the slideshow? Do I need to divorce the page from the template? It seems that the js has to be put into the head from what I've read so far and this is not editable in a template child...
    lunairecollective.com/news.html is the page I wish to alter, currently there are very simple links with swap text of container. I would like to have a cyclic slideshow in the div to replace the current swap images and links.
    The website is in html4 transitional, and I'm using Dreamweaver cc
    Thanks for any help!

    Yes, there are editable areas in the child page as you saw from the website address. And I can see there are some editable elements in the head, though not all of it. Could you show me where I should insert the javascript code for a jQuery slideshow please? The relevant code follows:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html><!-- InstanceBegin template="/Templates/lunaire4_temp.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <meta name="description" content="The most recent review of Lunaire Collective printed in The Australian newspaper.">
    <meta name="keywords" content="review, The Australian, Whistler, Tom Green, Birtwistle secret theatre">
    <title>LUNAIRE COLLECTIVE: Reviews and photos of Lunaire Collective - News and Reviews</title>
    <!-- InstanceEndEditable -->
    <link href="desktop.css" rel="stylesheet" type="text/css">
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <!-- InstanceBeginEditable name="head" -->
    <script type="text/javascript">
    function MM_setTextOfLayer(objId,x,newText) { //v9.0
      with (document) if (getElementById && ((obj=getElementById(objId))!=null))
        with (obj) innerHTML = unescape(newText);
    </script>
    <!-- InstanceEndEditable -->

  • Query task based on payload (urgent and not getting any solution)

    Hi, I m creating a task in BPEL process with following payload.
    <?xml version="1.0" encoding="UTF-8"?>
    <schema attributeFormDefault="unqualified"
    elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/RegistrationUpload_jws/RegistrationUpload/OfficerList"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="process">
    <complexType>
    <sequence>
    <element name="jobAssignmentType" type="string"/>
    <element name="officerLevelNum" type="string"/>
    <element name="applicationType" type="string"/>
    <element name="functionId" type="string"/>
    <element name="app_id_val">
    <complexType>
    <sequence>
    <element name="key" type="string"/>
    <element name="value" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="dcConservationFlag" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>*
    Now i want to use queryTask with function
    List tasks = querySvc.queryTasks(ctx, queryColumns, null, //Do not query additional info
    ITaskQueryService.AssignmentFilter.MY,
    null, //No keywords
    null, //No custom predicate
    null, //No special ordering
    0, //Do not page the query result
    0);
    My query is i want to query the tasklist based on paylod item as dcConservationFlag="N" and functionId="1001" so how I will set the code.
    My feeling is somewhere we need to set it in predicate class. but not sure how to do that.
    can anyone please guide me for this.
    Edited by: abhishek on Apr 27, 2011 2:34 AM
    Edited by: abhishek on Apr 27, 2011 9:17 PM

    if you want your task searchable, you should use flex-attributes. you should find it in /task:task/task:systemManagedAttributes
    during search you can use query like this column=textAttribute1

  • FIREFOX 26 changed the 'post crash' page with the list of windows and pages. It was a real HTML page with links for each page. Now it isn't (and blows)

    * You changed the page that comes up after a crash - the one which shows the windows and pages that were up before the
    crash.
    This used to be a real HTML page and it isn't any more. THis choice was pure isiocy consider how peopel used that page every day (try taking to your users for a change).
    The pages listed on that 'post crash page' used to be actual LINKS (you could right click them &
    manually open them in another tab - and most peope DID that every day). You could also (and I did this a lot) drag a second
    copy of the page, into a new tab (to keep track of all the pages I had not wanted to open)
    Now the pages are no longer links. You cannot right-click them.
    The thing in the probser is no longer a page that I can drag into a new tab.
    Roll the version back and throw this one in the bin...and have a good long talk with your developers about the definition of
    'STUPIDITIY'
    Then I try to type anything in the addres bar it is suppose to repoond with the history of old things I have types in the past, or
    search for what I type (and in some cases I think it tyes to convert it intoa URL). However it no longer does any of these
    things. When I type in the ADDRESS BAR ONLY, I do not get all of my letters to appear. I have to type into a notepad or
    into the search and to copy and paste to go to a URL. Nothing that is typed into the address bad responds normally at all
    anymore, and I am fairly certain there are no new addons on this machine at all. It does not matter which things I disable. It
    still does this. W of course points the finger back at a change to FIREFOX. I wich I could just sitct with one stable release
    forever but the MOZILLA folk thing it is best to force peopel awy from a working broswer release to a horrible one (due to it
    being out of date).
    FIREFOX 26.0 has 'issues' (ie new *features*/bugs)
    1) History is no longer accurate. My Proof? This machine is the primary one for the entire family (the only PC working). It is
    logged in with same user every time and never has its history cleared. It now January 7 so I ought to have a list of all of last
    months browing available to me.
    However, according to FIREFOX history, in all of December 2013, the entire family only went to 51 primary URL's. None of
    the official TV sites I use to get episodes are listed. None of the official movie sites I use are listed. The primary URL for
    ebay is not listed. Only 1 out of our 4 weather sites that I use (at least once a week) are listed. Only 1 of our 3 FINANCE
    sites is listed. There ought to be several; hundred root URLs listed.
    Please fix history as this change seriously "blows greasy chunks"
    PROBLEM (a stupid change in the new FIREFOX version)
    FOr a long time, after a crash you got a useful page (a real HTML page) which gave you a list of all of your last sessions
    'winwos and tabs' that were open when the browser crashed. there were certain ways of using this page that are no longer
    able to be done.
    The old method was wonderful as it had this behavior :
    *** The old method for displaying your 'Recovered Tabs' allowed you to :
    a) right click an individual item and open it in a tab without getting rid of that lovely window of your previous session of
    'recovered windows and tabs '.
    2) drag the URL for the entire window of 'recovered windows and tabs ' to a new tab (to make a second copy) so that you
    could select just a few of them to open as a group, and stil have the old list handy.
    You can no longer do either of these things. The 'recovered windows and tabs ' page no longer has links in it and can no longer be dragged, so you cant select a few of them to use, and keep the rest around for later. NOW - once you choose which pages to open the window is gone forever (can can't get a second copy).
    People used to make a copy of the page for later use (with a drag)
    we also used to open pages with a right click (which no longer functions
    This new method seriously blows big greasy chunks. A parge loss in function has occurred.
    Put things back as they were. 26 is full of terrible changes that NOBODY likes. It also has a lot of bugs (history is not reliable at all)

    (1) Firefox's built-in post-crash page has not been a real HTML page for a long time (for example, from the time of Firefox 22, see: [https://support.mozilla.org/en-US/questions/968212 Want to save LOTS of versions of "Restore Session.xht" from the "oops ..." page for later use]). If you had this working differently with Firefox 25, that might have been created by an extension.
    You can check to see whether extensions are disabled or need an update on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. The disabled extensions cluster toward the bottom of the list. To poll for updates, use the "gear" button above the list and choose Check for Updates.
    If you used the Reset feature (or Firefox automatically did a reset due to some problem during upgrading), you will need to reinstall missing extensions. The reset feature creates a folder on the desktop named Old Firefox Data. Do you have that folder? There may be data you can recover from it.
    (2) There are many ways for history to get cleared, both internal to Firefox and external. Could you double-check your Privacy settings?
    orange Firefox button (or Tools menu) > Options > Privacy
    * The "Firefox will" drop-down says Remember History: Firefox shouldn't be clearing history, but an add-on or external software could do it
    * The "Firefox will" drop-down says Use custom settings for history: inspect the "Clear history when Firefox closes" setting to make Firefox isn't set to clear history. Also check your add-ons and consider external software.
    Firefox normally accumulates months of history. However, some of Firefox's database sizes are based on disk space available. If your hard drive is very full, Firefox might reduce the amount of history stored.

  • Displaying clickable html page in a JFrame

    Hello again programmers,
    i'm wondering how can i display a clickable html page in a JFrame using any Panel (JEditorPane,.....) can you show me the way plz?
    Bernard

    Makes a pretty crappy browser, but its OK for help-type functions.
    HtmlViewFrame.java
    import java.net.URL;
    import java.io.File;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    *Primitive HTML browser window based on a HtmlViewPane.
    public class HtmlViewFrame extends JFrame
    private HtmlViewPane pane;
    private JFrame frame;
    *Creates a frame based on a file.
    public HtmlViewFrame(File file) throws Exception
         this(file.toURL());
    *Creates a frame based on a URL.
    public HtmlViewFrame(URL url) throws Exception
         frame = this;
         getContentPane().setLayout(new BorderLayout());
         JPanel but_panel = new JPanel();
         but_panel.setLayout(new FlowLayout(FlowLayout.LEFT));
         JButton but_home = new JButton("home");
         but_home.addActionListener(new ActionListener()
                    public void actionPerformed(ActionEvent ae)
                   try
                        pane.home();
                   catch(Exception e)
                        JOptionPane.showMessageDialog(frame, "Error: " + e);
         but_panel.add(but_home);
         JButton but_back = new JButton("back");
         but_back.addActionListener(new ActionListener()
                    public void actionPerformed(ActionEvent ae)
                   try
                        pane.back();
                   catch(Exception e)
                        JOptionPane.showMessageDialog(frame, "Error: " + e);
         but_panel.add(but_back);
         getContentPane().add(but_panel, BorderLayout.NORTH);
         pane = new HtmlViewPane(url);
         JScrollPane jsp = new JScrollPane(pane);
         getContentPane().add(jsp, BorderLayout.CENTER);
         getContentPane().add(pane.getActionField(), BorderLayout.SOUTH);
    *HTML viewer application.
    *Uses java.lang.System.exit(int), so method should not be called from within a Java application.
    *@param     args     String array; provide a URL or file path as args[0]
    public static void main(String[] args)
         if(args.length==0)
              System.out.println("must provide File path or URL as argument");
              System.exit(1);
         Exception err = null;
         try
              File file = null;
              try
                   file = new File(args[0]);
                   if(!file.exists()) file = null;
              catch(Exception ex)
                   file = null;
                   err = ex;
              URL url = null;
              try
                   url = new URL(args[0]);
              catch(Exception ex)
                   url = null;
                   err = ex;
              HtmlViewFrame frame = null;
              if(file!=null) frame = new HtmlViewFrame(file);
              else if(url!=null) frame = new HtmlViewFrame(url);
              else throw err;
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(600,400);
              frame.show();
         catch(Exception e)
              err = e;
         if(err!=null) System.out.println("ERROR: " + err);
    HtmlViewPane.java
    import java.net.*;
    import java.io.*;
    import java.util.Vector;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.html.*;
    *A HTML panel based on JEditorPane.
    *Suitable for rendering primitive HTML files such as help documentation.
    public class HtmlViewPane extends JEditorPane
    /**The maximum number of elements the object can hold in its history.*/
    public static int MAX_HISTORY_SIZE = 100;
    private Vector history = new Vector();
    private URL home;
    private JTextField lab_lastact = new JTextField("loaded document");
    *Creates a panel based on a file.
    public HtmlViewPane(File file) throws Exception
         this(file.toURL());
    *Creates a panel based on a URL.
    public HtmlViewPane(URL url) throws Exception
         home = url;
         setEditable(false);
         addHyperlinkListener(new HtmlViewPaneListener(this));
         setPage(url);
         lab_lastact.setEditable(false);
    void addToHistory(HyperlinkEvent e)
         lab_lastact.setText("ACTION: go here: " + e.getURL().toExternalForm());
         if(history.size()>=MAX_HISTORY_SIZE) history.removeElementAt(0);
         history.add(e);
    *Causes the pane to move back to the last item in the history.
    public void back() throws Exception
         if(history.size()==0)
              lab_lastact.setText("ACTION: exhausted history list (max size=" + MAX_HISTORY_SIZE + ")");
              return;
         HyperlinkEvent e = (HyperlinkEvent) history.lastElement();
         history.removeElement(e);
         processEvent(e, false);
         lab_lastact.setText("ACTION: back to here: " + e.getURL().toExternalForm());
    *Returns a JTextField that reports hyperlink, back and home actions to the user.
    public JTextField getActionField()
         return      lab_lastact;
    *Causes the browser pane to return to the initial page.
    public void home() throws Exception
         setPage(home);
         lab_lastact.setText("ACTION: home to here: " + home.toExternalForm());
    void processEvent(HyperlinkEvent e, boolean addtohistory)
         if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED)
              if (e instanceof HTMLFrameHyperlinkEvent)
                   HTMLFrameHyperlinkEvent  evt = (HTMLFrameHyperlinkEvent) e;
                   HTMLDocument doc = (HTMLDocument) getDocument();
                   doc.processHTMLFrameHyperlinkEvent(evt);
              else
                   try
                        setPage(e.getURL());
                        if(addtohistory) addToHistory(e);
                   catch (Throwable t)
                        t.printStackTrace();
    class HtmlViewPaneListener implements HyperlinkListener
    private HtmlViewPane pane;
    HtmlViewPaneListener(HtmlViewPane pane)
         this.pane = pane;
    public void hyperlinkUpdate(HyperlinkEvent e)
         pane.processEvent(e, true);
    }

  • Size of the "Precalculated HTML pages"?

    Hi Everybody,
        What will be the size of the "Precalculated HTML pages"?
    I downloaded the Precalculated HTML pages from the BW server to my DESKTOP using the BEX Download Scheduler,and the size of the Html pages are 0 KB.
    can any body tell what is going wrong?
    Waiting for reply,
    Thank's in advance
    Bhaskar

    Hi,
      Can you please recall it.Do you installed any patches or ......I had one more doubt,i.e. when i enter Data_mode=static, then HTML files will  be taken from my desktop and the path in the web browser changes to my desktop,i mean like(c:/programs/sap/frontend/bw,place where i downloaded the precalculated html pages)or it will be from report agent storage on BW server.
    waiting for your reply
    Thank you
    Message was edited by: Bhaskar Bysani

  • How to place a html page into body part of mail?

    Hi,
    I want to place a html page into body part of any mail.How can i do this?
    Thanks...

    just set ur message type to text/html and put ur whole html string into the body will do...

  • Convert english html pages to arabic

    Hi ALL
    How to convert english html pages to arabic.Is there any specific way to do this.
    My idea is to
    a)convert the static contents(english sentences) to arabic by typing in any text editor(save as html/jsp/....)
    call the appropraite page depends on language.
    b)Change the corresponding gif in arabic where ever needed
    c)The dynamic contents(some data which may come from database) is converted by entering appropriate arabic characters in database.
    4)Where ever there is few word changes(eg description,label etc) planning to put that in a properties file
    with appropraite arabic characters.
    Will the above points make sense.Or is there a specific or better way of doing this.
    User will be opting english or arabic thro a link from website.
    Can anybody help me on this. Thanks in advance Sarath

    Here are a few resources that might help:
    http://developer.java.sun.com/developer/technicalArticles/Intl/MultilingualJSP/
    http://www.sun.com/developers/gadc/technicalpublications/articles/iws6.html
    http://www.sun.com/developers/gadc/technicalpublications/articles/apache.html
    Hope this helps,
    John O'Conner

  • ADF generated HTML code performance issue

    ADF generated code has lot of unnecessary html tags (when you check in Firebug). browser takes time to load the page . It means performance low.
    As a Front end engineer . My aim is to give end user good browsing feeling , he doesn't like to weighting till page loads.
    So from end user perspective page should load faster.
    Normal Html pages and other applications i have full control over html code.
    But in ADF , i don't have full control over all html tags ,which is generated by server dynamically.
    So, can anyone suggest how i can improve my page loading performance ?

    Anil,
    so in real - world terms, what you are saying is that a Ferrari 360 which has a weight of 1,350 kg is slower than a FIAT Panda, which only weights 840 kg. There is a catch to this theory of yours:
    1. ADF Faces is based on JavaServer Faces, which is a component based framework for writing web based applications. Renderer classes are used to build the user front end. It is not the intention of JSF to allow application developers - but component developers - to tweak the generated component output. If you want something lean, use the default JSF HTML component set, which comes extremely light (but also with less functionality - like a Fiat Panda)
    2. Performance is not alone defined by the HTML downloaded to a client - especially given that static HTML can be cached in browsers and ADF supports page templating for this. There are other factors that play in to this like network bandwidth, latency, query time, business logic execution time, image sizes, CSS and JavaScript
    3. The real load in ADF Faces, as in other AJAX frameworks, is JavaScript. Most of the ADF Faces functionality is created dynamically on the client side using JavaScript objects
    4. ADF Faces has more complex components than HTML. If you compare a HTML table with the table rendered in ADF, you see a difference in the look and behavior
    Btw, here's the tuning guide for ADF: http://download.oracle.com/docs/cd/E21764_01/core.1111/e10108/adf.htm#CIHHGADG . You also may want to test and consider partial page navigation, which speeds up page to page navigation big times.
    Frank

  • How to call html page rear adf button

    Hello,
    I've an html page with javascript code and css in adf project. Is it possible to call my html page rear an adf button if yes how?

    af:goLink or af:goButton should do it.

  • Open HTML page as a tab inside ADF Page

    Hi All,
    I have a link in my adf(jspx) page,which should actaully open a html page in a new tab.
    I am not sure how to implement this.
    I am able to open jsp fragments on new tab.But not HTML Pages.
    Can anyone help me on this.
    Thanks in Advance.

    Vikram
    Thanks for the reply.
    I want the tab to be opened inside the adf page itself as adf dynamic tab..not as a separate tab in browser.
    Sorry for not framing the question to the point.
    Opening adf fragments in a new tab inside the adf page itself is possible.
    But am able not able to specify a html page to open in a new adf tab in the same adf page.
    Thanks.

  • ADF UIX Partial page rendering

    Hi
    I am facing a mysterious problem with partial page rendering in ADF UIX.
    My page contains a <header> H1 and inside this there are two headers(H2 and H3).
    The partial page rendering is in the header H2 and is working fine.
    When i remove the below header H3 the partial page rendering ceases to work and get stuck.
    Pasting the full code below. Please suggest.
    <?xml version="1.0" encoding="windows-1252"?>
    <!-- $Header: registration.uix 115.4.51.4 2009/12/14 13:10:05 kcthirum noship $ -->
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:myTemplate="http://xmlns.oracle.com/xhub"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:data="http://xmlns.oracle.com/cabo/marlin" expressionLanguage="el">
    <!--This UIX page is used as a tutorial page for new developers, which is why it has a lot of comments-->
    <!--This section describes the ApplicationModule used by this page, and any View Objects that are used to display UI components or are used in any of the event handlers-->
    <bc4j:registryDef>
    <!-- XhubRegAM is the application module used by the entire Registration flow. defFullName is just the class. configName is the Configuration, which always has the pattern <AM name>Local -->
    <bc4j:rootAppModuleDef name="XhubRegAM"
    defFullName="oracle.apps.snw.tpadmin.server.XhubRegAM"
    configName="XhubRegAMLocal" releaseMode="stateful">
    <bc4j:viewObjectDef name="TpProfilesRegVO" rangeSize="1" autoCreate="false"/>
    <bc4j:viewObjectDef name="UsersRegVO" rangeSize="1" autoCreate="false"/>
    <!--IdentifierDomainsView drives the dropdown list of Identifier Types-->
    <bc4j:viewObjectDef name="IdentifierDomainsView" rangeSize="20"/>
    <!--XhubTerritoriesTlView drives the dropdown list of Countries-->
    <bc4j:viewObjectDef name="XhubTerritoriesTlView" rangeSize="300"/>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <!--We import the template file xhub.uit, which has code to display the tabs, subtabs, global buttons, etc., appropriately-->
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="xhubtpadmin.uit"/>
    </templates>
    <content>
    <!--in this section we define all of the methods and ResourceBundle classes that we want to reference as data sources in our page-->
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!--We use the TextProvider class to display ANY text to the user. All text is controlled in the database and cached on the middle tier. This allows for translation and for customization of text-->
    <data name="textSource">
    <bundle class="oracle.apps.snw.uicommon.TextProvider"/>
    </data>
    <!--This method provides information about the hub-->
    <data name="adminInfo">
    <method class="oracle.apps.snw.tpadmin.webui.AdminInfo"
    method="getAdminInfo"/>
    </data>
    </provider>
    <contents>
    <document>
    <!--This section defines the html metadata, usually just the page title-->
    <metaContainer>
    <head title="${textSource.REGISTRATION}"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <!--This next tag indicates that everything inside of it should be encapsulated in the "rootChild" node of the template page-->
    <myTemplate:xhubTpAdminPageLayout selectedTab="1">
    <contents>
    <!-- this will contain any validation errors after form submission -->
    <messageBox automatic="true"/>
    <!--The form tag is necessary for any kind of form handling. This particular form performs some javascript validation before submitting-->
    <form name="reg" method="POST">
    <contents>
    <!--The javascript that is executed on form submission-->
    <!-- we cannot implicitly determine that events will be triggered because submit buttons are outside the form scope, so add the placeholder explicitly -->
    <formParameter name="event"/>
    <!-- define the bc4j scope of all child elements-->
    <bc4j:rootAppModuleScope name="XhubRegAM">
    <contents>
    <!-- a top-level header -->
    <header text="${textSource.REGISTRATION}">
    <contents>
    <!-- always used OraInstructionText, not <tip>, for explanation messages-->
    <styledText styleClass="OraInstructionText"
    text="${textSource.REG_PAGE_EXPLAIN}"/>
    <!-- a second-level header -->
    <header text="${textSource.REG_COMPANY_INFO}">
    <contents>
    <stackLayout>
    <contents>
    <!-- the labeledFieldLayout is the correct layout for vertically-stacked labeled fields-->
    <labeledFieldLayout id="TpPartialDetails" width="80%"
    labelWidth="40%">
    <contents>
    <messageChoice name="OracleAppsCustFlag"
    prompt="Oracle Apps Customer"
    required="yes" statePreserved="true"
    selectedValue="${ui:defaulting(uix.pageProp.OracleAppsCustFlag, 'select')}">
    <primaryClientAction>
    <firePartialAction event="buyorsup"
    targets="TpPartialDetails"
    formSubmitted="true"
    unvalidated="true"/>
    </primaryClientAction>
    <contents>
    <option text="-select-" value=""/>
    <option text="${textSource.YES}" value="Y"/>
    <option text="${textSource.NO}" value="N"/>
    </contents>
    </messageChoice>
    <messageTextInput prompt="${textSource.ORACLE_CSI_Q}"
    name="OracleCsi"
    text="${uix.pageProp.OracleCsi}"
    rendered="${ui:defaulting(uix.pageProp.OracleCsiRender, 'false')}"/>
    <messageTextInput prompt="${textSource.YOUR_TP_NAME}"
    name="TpName"
    tip="${textSource.YOUR_TP_NAME_TIP}"
    required="no"
    text="${uix.pageProp.TpName}"
    rendered="${ui:defaulting(uix.pageProp.TradeswithTPRender, 'false')}"/>
    <messageTextInput prompt="${textSource.YOUR_TP_ALIAS}"
    name="TpAlias"
    tip="${textSource.YOUR_TP_ALIAS_TIP}"
    required="no"
    text="${uix.pageProp.TpAlias}"
    rendered="${ui:defaulting(uix.pageProp.TradeswithTPAliasRender, 'false')}"/>
    </contents>
    </labeledFieldLayout>
    </contents>
    </stackLayout>
    </contents>
    </header>
    <!--level-2 header-->
    <header text="${textSource.TP_DEFAULT_CONTACT_INFO}">
    <contents>
    <labeledFieldLayout width="80%" labelWidth="40%">
    <contents>
    <!--all of these fields default to the corresponding ctrl:page value if the user has entered a value. These values are set up in the register() handler-->
    <messageTextInput prompt="${textSource.PASSWORD_PROMPT}"
    name="Password" id="Password"
    required="yes" secret="true"
    maximumLength="32"
    text="${uix.pageProp.Password}"/>
    <messageTextInput prompt="${textSource.PASSWORD_CONFIRM_PROMPT}"
    name="PasswordConfirm"
    id="PasswordConfirm" required="yes"
    secret="true" maximumLength="32"
    text="${uix.pageProp.PasswordConfirm}"/>
    </contents>
    </labeledFieldLayout>
    </contents>
    </header>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    <spacer height="10"/>
    <!--message indicating how we indicate required fields-->
    <inlineMessage required="yes"
    prompt="${textSource.REQUIRED_FIELD}"/>
    </contents>
    </form>
    </contents>
    <!--the contents of this tag will appear below the page-->
    </myTemplate:xhubTpAdminPageLayout>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <!--event handlers-->
    <handlers>
    <!--This event is called by pressing the submit button-->
    <event name="continue">
    <bc4j:findRootAppModule name="XhubRegAM">
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="register"/>
    </bc4j:findRootAppModule>
    </event>
    <!--This event is called by pressing the Cancel button-->
    <event name="cancel">
    <!-- finding the ApplicationModule causes it to be checked out from the ApplicationPool. It is released after rendering completes. -->
    <bc4j:findRootAppModule name="XhubRegAM">
    <!-- rollback the current transaction -->
    <bc4j:rollback/>
    <!-- forward to the summary page -->
    <go name="main"/>
    </bc4j:findRootAppModule>
    </event>
    <!--the * event is called whenever the page is accessed and no other event is called-->
    <event name="buyorsup">
    <bc4j:findRootAppModule name="XhubRegAM">
    <!--This method sets the context of the page, namely the scope of the country dropdown view object-->
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="isBuyerorSupplier"/>
    </bc4j:findRootAppModule>
    </event>
    <event name="*">
    <bc4j:findRootAppModule name="XhubRegAM">
    <!--This method sets the context of the page, namely the scope of the country dropdown view object-->
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="setContext"/>
    </bc4j:findRootAppModule>
    </event>
    </handlers>
    </page>
    Please suggest if you know of any documentation on ADF UIX partial page rendering.
    ADF UIX has very little documentation online and finding it hard to debug this issue.
    It ll be of great help.
    Thanks
    Kamal

    Hi Jason,
    As of EA9, all rendered components support a partialTriggers attribute. This attribute takes a list of master component IDs. If any of the master components are updated via a partial event, the dependent component will be rerendered in the partial update.
    If you are on an earlier release, you should upgrade.
    Thanks,
    Jeanne

  • How to invoke Custom HTML pages on Dashboard page when running OBIEEon AIX

    Hi,
    i am facing an issue with regards to invoking a custom HTML page( say definitions.html) using html code inside a text section( with html markup) on a dashboard page.
    I have performed the following configuration on Windows and it perfectly works well
    However i can get the same to work on AIX where i actually needed it to work:)
    Could any of you please provide any insights over this issue pls? am i missing something obvious? Appreciate your inputs.
    Here is the description of the configuration performed.
    Created a HTML file called definitions.html
    copied the file in the following folders
    OracleBI\web\app\res
    OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\Missing_
    I have created a new folder called _Missing.
    I restarted the app server
    HTML code on the Dashboard Page ( used Text section with HTML Markcup)
    <b>Help
    I have checked the permissions on the custom page and it loosk fine. I have added <HardenXSS> false</HardenXSS>tag to my instanceconfig.xml but not luck yet
    Appreciate your inputs
    Thanks

    The easiest thing for you to do is to download the Oracle BI SampleApp (http://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html) and follow their instructions for install/creating/deploying the analyticsRes application on the Oracle BI Application Server. This will allow you to have a URL such as http://myserver.obiee.com:9704/analyticRes/definitions.html on the same server system as your Oracle BI server. This way the port and domain are the same as your Oracle BI Server and you can simply place any additional web based file in that deployed application path to reference on your Oracle BI Server.

  • Obtaining HTML page by issuing a call from a PL/SQL procedure

    Is there any possibility to obtain HTMLDB -> HTML page from a user defined PL/SQL procedure ?
    For example I build an procedure which calls directly
    flows_010500.wwv_flow.show(null,p_flow_step_id=>'2',p_flow_id=>'104')
    and i try to read the result from htp.showpage, but I get a html response page with a security error.
    Maybe is necessary to initialize other parameters?
    Any help?

    Scott, I have got two pages in an application one is login page the other is welcome page. my login page will be process by store proceduer to validate the user based on users table that I have created on my schema. If the user login with username and password, if they exist on this table I will like to send them to welcome page. but I get http://htmldb.oracle.com/pls/otn/wwv_flow.accept.
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Please try the following:
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    Open the htmldb.oracle.com home page, and then look for links to the information you want.
    Click the Back button to try another link.
    Click Search to look for information on the Internet.
    HTTP 404 - File not found
    Internet Explorer
    the procedure is below:
    CREATE OR REPLACE PROCEDURE obj_pls_login_chk(p_UserName IN varchar2
    ,p_Password IN varchar2
    ,Login IN varchar2 ) IS
    l_usr_id number;
    l_url varchar2(2000);
    BEGIN
    l_url := 'http://htmldb.oracle.com/pls/otn/f?';
    select user_id into l_usr_id
    from s_cdm_users
    where upper(username) = upper(p_UserName)
    and upper(Password) = upper(p_Password);
    if l_usr_id is not null then
    l_url := l_url||'p=29921:2:4413779570974471450';
    --wwv_flow.show(null,p_flow_step_id=>'29921',p_flow_id=>'29921:2');
    --htp.print(p_UserName);
    end if;
    EXCEPTION
    when others then
    return;
    END

Maybe you are looking for

  • How to set Preferences such that new tabs open to same page as active when Command-T was hit?

    On opening a new tab, the tab by default opens to thumbnails based on recent history. A la Safari, I want the new tab to open *to same page as was active when Command-T was hit*. What are the specific steps to take, to set as the default (preference)

  • Save as PDF and Nothing appears

    I am using these two templatses in Illustrator CS3 to create a tri-fold brochure. Everything has been going pretty good, slow but good. Then I went to see how my brochure would look when I saved it as a PDF. Then when I open the newly created PDF not

  • Enhancement for Sales process in FMCG industry

    Dear Experts, I have a requirement for Cross Selling at my client. I have seen several posts in SDN but I have not found the exact solution for my requirement. Kindly suggest as per my requirement. The requirement is as follows: My client sells Mater

  • DBMS_XMLGEN - Nested Objects

    Hi! I have to generate complex XML Documents. I tried already the SQLX Functions and everything works fine. Now I try the same with DBMS_XMLGEN to compare XML generating performance. -- Objects CREATE OR REPLACE TYPE dept_type AS OBJECT ( DEPTNO NUMB

  • M8 147 Account determination for entry PKJL WRX 0001 not possible.

    Hello ! I am using ML81N transaction - Service Entry Sheet. PKJL is Chart of accounts. I know how to solve this error problem. In transaction OBYC I have to input record for WRX with empty valuation class. But using this solution I limit to only one