UIX Demos

hello,
I want to run the UIX Demos under Linux but cannot get it right. The problem is actually how to install UIX under Linux in order to access the demos. I could only get directions on how this is done in Windows OS but found nothing on how it could be done in Linux. Can someone help me out????

Unfortunately, the file that you are looking for was not included with the samples files. We are hoping to update the samples soon (hopefully in conjunction with the 9.0.3 release).

Similar Messages

  • Use UIX demo 2.1.7 in my application

    Hello,
    I have download uix-demo-2.1.7.zip and run Shopping Cart Demo.
    It work very well. I would like to also have a preference page in my application, as in the demonstration.
    I recovered the two files Preferences.java and Preferences.uix. I modified them to integrate them in my project.
    The page is posted correctly, with value in the choice. But UIX does not react to any modificatin of appearance. Why?
    It I miss what which is not documented.
    Thanks, for your help.
    Nathanael

    Schmied -
    I noticed one problem with the 2.1.7 version of the DemoUIFactory class - the Customization objects that it creates do not wrap the current Configuration instance. Instead, each Customization object delegates to the Configuration instance returned by Configuration.sharedInstance(). This means that you will lose any configuration settings specified in uix-config.xml.
    Here is an updated version of the DemoUIFactory class which corrects this problem. Instead of callling Configuration.sharedInstance(), the Customization instances now wrap the current Configuration instance as returned by RenderingContext.getConfiguration():
    ** Copyright (c) Oracle Corporation 2000-2003. All Rights Reserved.
    **34567890123456789012345678901234567890123456789012345678901234567890123456789
    package oracle.cabo.servlet.demo;
    import java.io.PrintWriter;
    import javax.servlet.ServletContext;
    import javax.servlet.http.HttpSession;
    import javax.servlet.http.HttpSessionBindingEvent;
    import javax.servlet.http.HttpSessionBindingListener;
    import oracle.cabo.share.config.Configuration;
    import oracle.cabo.share.config.ConfigurationImpl;
    import oracle.cabo.share.config.Customization;
    import oracle.cabo.ui.RenderingContext;
    import oracle.cabo.ui.ServletRenderingContext;
    import oracle.cabo.ui.UIConstants;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.servlet.ui.BajaRenderingContext;
    import oracle.cabo.servlet.ui.DefaultUIFactory;
    import oracle.cabo.servlet.demo.shopcart.Preferences;
    import oracle.cabo.style.StyleConstants;
    import oracle.cabo.style.UserStyleSheet;
    public class DemoUIFactory extends DefaultUIFactory
      public RenderingContext createRenderingContext(
        BajaContext context,
        PrintWriter out,
        Page        page,
        String      mimeType)
        BajaRenderingContext rContext =
          new BajaRenderingContext(context, out, page, mimeType);
        Customization customization = null;
        // Check to see if we are using user-specific styles
        UserStyleSheet userStyleSheet = Preferences.getUserStyleSheet(context);
        if (userStyleSheet != null)
          // Get the Customization object, creating it if necessary
          customization = _getCustomization(context, rContext);
          // Store the UserStyleSheet
          if (customization != null)
            customization.putProperty(customization.USER_STYLE_SHEET,
                                      userStyleSheet);
            rContext.setConfiguration(customization);
        return rContext;
      // Creates and registers the Customization object
      // for the current user
      private Customization _getCustomization(
        BajaContext      bajaContext,
        RenderingContext renderingContext
        // First, check to see if we've already got a Customization
        // instance for this user.
        HttpSession session = bajaContext.getServletRequest().getSession(true);
        // If we can't get an HttpSession, we can't create
        // user-specific customizations.
        if (session == null)
          return null;
        // Each Customization has a unique id.  Normally, this might
        // be some some user-specific identifer, such as the user's
        // login id.  Here, we don't have a login id, so instead we
        // just combine the HttpSession id with the name of the
        // Configuration object that we are wrapping to form a
        // unique id.
        Configuration config = renderingContext.getConfiguration();
        String id = _getCustomizationId(session, config);
        // Check to see if we have already registered a Customization
        // for this combination of HttpSession/Configuration
        ServletContext servletContext = _getServletContext(renderingContext);
        Customization customization = _getCustomization(servletContext, id);
        // If we already have a Customization, we're done!
        if (customization != null)
          return customization;
        // We don't have a Customization yet, so create it now
        customization = new Customization(id, config);
        // Register the customization to make sure that
        // it is available for subsequent requests
        customization.register(servletContext);
        // Finally, we store the Customization object on the
        // HttpSession.  We don't actually need to access the
        // Customization object via the HttpSession (we use
        // Configuration.getConfiguration()).  However, we
        // do want to unregister the Customization when the
        // HttpSession expires.  So, we wrap the Customization
        // object in an HttpSessionBindingListener which will
        // get called back when the sesssion expires - at which
        // point we can unregister the Customization object.
        CustomizationValue value = new CustomizationValue(customization);
        session.putValue(_CUSTOMIZATION_PROPERTY, value);
        return customization;
      // Returns the Customization object with the specified id
      private static Customization _getCustomization(
        ServletContext servletContext,
        String         id
        return (Customization)Configuration.getConfiguration(servletContext, id);
      // Creates the id for the Customization object for
      // the specified HttpSession/Configuration
      private static String _getCustomizationId(
        HttpSession   session,
        Configuration config
        // Just combine the ids for these two objects
        String sessionId = session.getId();
        String configName = config.getName();
        if (configName == null)
          configName = "null";
        return sessionId + configName;
      // Utility method for retrieving the ServletContext
      private static ServletContext _getServletContext(
        RenderingContext renderingContext
        return ServletRenderingContext.getServletContext(renderingContext);
      // An HttpSessionBindingListener that we use for storing our Customization
      // instance on the HttpSession.  It automatically unregisters the
      // Customization when the session times out
      private static class CustomizationValue implements HttpSessionBindingListener
        public CustomizationValue(Customization customization)
          _customization = customization;
        public Customization getCustomization()
          return _customization;
        public void valueUnbound(HttpSessionBindingEvent event)
          Customization customization = _customization;
          _customization = null;
          customization.unregister();
        // Who cares
        public void valueBound(HttpSessionBindingEvent event) {}
        private Customization _customization;
      private static final String _CUSTOMIZATION_PROPERTY = "customization";
    }Andy

  • Can't find UIX Demos

    it seems that there has been a zip-File with UIX-demos but I can't locate it. Or is the UIX-framework no longer supported ?

    With a suggestion from Metalink this one was solved. It turns out the Application server needed a parm change inthe httpd.conf file.
    Change "UseCanonicalNames on"
    to "UseCanonicalNames off"

  • When will new ADF UIX demo be released?

    Are there any one can tell me when the new ADF UIX demo based on uix 2.2 be released?
    I want to know if we can get databind uix tree component (or other ui components) from ADF data action control which return dataobject and something else.
    Thanks a lot.

    Hi Daniel,
    Are there any one can tell me when the new ADF UIX
    demo based on uix 2.2 be released?I'm not sure when any sample applications will be released, but there is an ADF UIX tutorial available here:
    http://otn.oracle.com/products/jdev/collateral/tutorials/9050/adfuix_tut.html
    I want to know if we can get databind uix tree
    component (or other ui components) from ADF data
    action control which return dataobject and something
    else.I'm not sure about the tree component - I'll try to find out whether that is/will be supported. Once your data controls are available in the Data Control Palette, you can bind them to components in your UIX page by:
    1. Selecting the data control that you want to bind.
    2. Selecting a component type from the "Drop As" choice.
    3. Dragging the data control onto the UIX page.
    This process is illustrated in the tutorial above.
    Andy

  • UIX demo 2.1.7

    Hi,
    Could can one please tell me from where i can download UIX demo 2.1.7 application.
    Thanks

    Please go to
    http://otn.oracle.com/products/ids/uix/content.html

  • Oracle.cabo.doc in UIX Demos - question to oracle support

    Hallo,
    Where can i found the oracle.cabo.doc.* classes used in the UIX Demo Bundle ?
    ( download link : http://technet.oracle.com/sample_code/products/jdev/uix/uixdemos.zip )
    regards, Manolis

    Manolis: The UIX demo class files are not currently available --we have not completed the work required to externalize this.
    Thanks,
    Ken

  • ADF - UIX demo

    Hello,
    I have experiment the 2 UIX-Tutorials ...
    Is there some more complex demos / samples / applications somewhere ???
    Where can I find more ?
    Thanks
    Luc

    There's lots of uix information in the help system, including a developers guide and element reference and more. Have you found that? I don't think there are more demo applications, however.

  • ADF UIX Tree Component

    Hi
    I have created ADF UIX Tree Component on my screen and i want to have button expand all / collapse all for my tree .
    Can i create event for expand all / collapse all ADF UIX Tree ?
    If i can ,could you please advise how i should to do ?
    Thanks

    Hi Daniel,
    Are there any one can tell me when the new ADF UIX
    demo based on uix 2.2 be released?I'm not sure when any sample applications will be released, but there is an ADF UIX tutorial available here:
    http://otn.oracle.com/products/jdev/collateral/tutorials/9050/adfuix_tut.html
    I want to know if we can get databind uix tree
    component (or other ui components) from ADF data
    action control which return dataobject and something
    else.I'm not sure about the tree component - I'll try to find out whether that is/will be supported. Once your data controls are available in the Data Control Palette, you can bind them to components in your UIX page by:
    1. Selecting the data control that you want to bind.
    2. Selecting a component type from the "Drop As" choice.
    3. Dragging the data control onto the UIX page.
    This process is illustrated in the tutorial above.
    Andy

  • UIX and JDev

    Surfing into the OTN site I found an UIX 2.1.7 "object".
    I thought UIX was a JDeveloper component : what's UIX 2.1.7 ?
    What relationships are there between UIX 2.1.7 and the version embedded within JDev ?
    TIA

    tullio,
    this is the uix demo-bundle with sample code.
    trevi

  • Where are lesson files for UIX Tutorial?

    The UIX Tutorial says the lesson files are in C:\uix\demos\xml\uixlesson_all
    I don't have them in this directory. Is there someplace I can download them from?

    Please remember to state which version UIX you are using.
    Where did you obtain UIX from originally?

  • LOV Sample Demo

    Hi, all
    I tried to run the LOV demo from UIX demo:
    LOVRef.uix: A demonstration of new List Of Values Dialog functionality
    In the LOVRef.uix, when I clicked on the flash light icon
    First lov field: <a text box right here> <the icon>, it pops up a child window but with following error:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:F:\uix217\j2ee\home\application-deployments\demos\xml\persistence\_pages\_cabo\_jsps\_fred.java
    error: Invalid class file format in f:\j2sdk1.4.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    F:\uix217\j2ee\home\application-deployments\demos\xml\persistence\_pages\_cabo\_jsps\_fred.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package cabo.jsps;
    ^
    2 errors
    Anyone knows what is going on here ? Thanks.
    - Alfian -

    Alfian -
    I believe this is a known problem with running OC4J under JDK 1.4. Please check out the following thread for more information:
    Re: Error: class file has wrong version 48.0
    Andy

  • About the installation of the demo bundle

    I got confused by the structure of the demo, when I unpack the uix-demo-2.1.7.zip, it creates the following directories: bin, demos, docs, install, j2ee, lib and src.
    The instructions say I must extract them "on top of the OC4J installation", which directory does this mean?
    Normally I will have a ORACLE_HOME and inside it the "j2ee" directory, then the "home" directory, and inside this one the "applications", "config", etc, etc, directories, but this hiercharchy does not show on the demo bundle, so, Where do I install these directories?
    thanks for the help.

    I believe they need to be installed into ORACLE_HOME.

  • Confirmation Dialog Box

    Hi All,
    With ADF UIX, what is the recommended way to implement a confirmation dialog box to get user's confirmation before an action is actually executed? Any UIX element like <messagebox>?
    Thanks.
    Elton.

    Elton,
    The best examples we have publicly available are at http://download.oracle.com/otn/nt/ids/uix/217/uix-demo-2.1.7.zip
    (I hope the link still works)
    This is for UIX 2.1.7, which is what ships with JDev 9.0.3. You'll want to do some things a bit differently if developing with UIX 2.2 in JDeveloper 10G.
    Hope this helps,
    Ryan

  • Is uiXML worthless?

    <concern>
    <title mode="provocation" reason="desperate-to-get-some-answers-either-from-the-docs-or-from-this-forum">
    Is uiXML worthless?
    </title>
    <initial-positive-view>
    I would like to have the opinion of other developers about using uiXML for Web development. At first I was very excited about this technology maybe in part because:
    - i am a java developer
    - i am an XML developer
    - i am a form/reports developer and i usually like Oracle products
    - i don't like JSP, so i saw it as a nice replacement of JSP.
    - i liked the way the uix controller works
    - etc.
    </initial-positive-view>
    <expression-of-growing-frutration>
    However, the more time - too much - i spend trying to learn it, the more i am leaning to think i am wasting my time and energy. So am i alone to think that:
    - the uix documentation is terrible. Too much marketing, not enough useful information.
    - the documentation is terrible part II: examples are not put in context. When you have a code fragment, and you are learning, it shouldn't be put in a vacuum: you spend too much time with trials and errors too complete the given example. In that respect, a good documentation, are the Java Tutorials from java.sun.com: each time you have a code fragment you have a link to a complete working code program from where the fragment is extracted.
    - the customization capabilities are too limited
    - Oracle is not interested in this technology beyond its internal needs maybe because the user base is too small (just a guess after browsing this forum).
    - uiXML questions are almost never answered in this forum, maybe because of the point above. It's just a guess from my personal experience and after browsing this forum: i don't have the tools to make really acurate statistics
    - worst of all from my point of view as a developer: it rarely works as expected when, by chance, i figure out what to expect from the use of an element/class that is just a little less obvious than <text>
    - as a result of all the above the development process is very chaotic and full trials and errors
    <expression-of-growing-frutration>
    <your-opinion>
    So i would like to know if someone in this forum:
    - has experienced this kind of frustration with uiXML when trying to do some real programing beyond the examples given in the docs? (ever tried to use the <include> element to create generic uix pages for example?)
    - has done real development with uixML, with real customization, generic uix pages etc... and if so what are the keys to succeed.?
    - if not, knows about better alternatives for developing web applications (web tier). Especially using the combinaison Java + XML.
    <your-opinion>
    </concern>

    Is UIX the best framework of its kind?
    In our company we are using uiXML for about half a year now and I must say after some initial problems with - yes the bad documentation and the confusing bc4j jsp java and pure xml versions of UIX I can really say that we couldn't have made a better a choice when it comes to the framework.
    We have implemented a front end on top of a really complex datamodel for the financial services industry, but for data access we use XML Selects and our front end only accesses an xml document - so that might have made things easier for us. Additionally we added an abstraction layer to uix and generate the uix files from a very high level screendefinition and the metadata of the datamodel.
    When speaking about the features what is really outstanding is that databinding can be done for any attribute of each control. This allows us to display the same screen differently to different users. In combination with layoutmanagers that provides a lot of runtime flexibility for your screens, and if used well this can really boost your productivity.
    Now what is still missing?
    First of all defining your own controls looks really messy - you can't really subclass from existing controls, and that means its a lot of work to do that yourself and we never really dared that.
    Since JDeveloper 903 they added the partialPageRendering feature for tables and this is something that really has great potential if it is implemented for all controls and we are really looking forward to that feature.
    Demos - oracle released this uix demo bundle without ever announcing it, which is probably due to the fact that it is really just a non-working or hardly-working demo.
    But what could really help people with UIX is a really good book about it along with some real world demo like microsoft has for their .Net platform. That's what I would like to see from Oracle.
    For us using uix was a real success, enabling us to surprise our management and our really demanding customers with great solutions, delivered in little time - but as with every tool; it's the way you use it that determines it's value.
    So my message to anyone frustrated with uix is: don't give up and annoy the oracle guys in the forum to help you and make up for their lacking docs.
    Guido

  • Where can I find the packages oracle.cabo.doc.*

    Hi,
    I wanted to execute the uixdemos, but I couldn't. The error messages are "Couldn't found oracle.cabo.doc.demo.HGridDemo" and so on. I've tried to search for them but I couldn't find anythings. Could you please tell me where I should looking for?
    Many thanks,
    VKW

    The link for the UIX-demo is: http://otn.oracle.com/sample_code/products/jdev/content.html.
    Go to zip from the UIX (UIX Demo Bundle ).
    I'll greatly appreciate hearing of your message about the new uixdemo-version. My email address is: "[email protected]"
    Many thanks.
    VKW

Maybe you are looking for

  • G510 Can´t use keyboard and mouse at the same time

    I got my y50-70 laptop four days ago for gaming and when i played portal for the first time i noticed I had a really hard time playing it. It wasn't until I was at Glados that I realized that it was because my laptop wouldn't recognize my finger move

  • I just spent $800 on CS6, got the CD and found out my iMac doesn't have a CD drive. HELP!!!!!

    I just got the new iMac, and CS6. How am I supposed to install this software without a CD port????

  • Help : VM 1.2 crashing

    Hi, I have the following problem: We run a servlet which heavily uses database access via jdbc:odbc. It runs on WinNT and 2000 with JDK1.2 and JRun 2.3.3. Now the problem is: The VM is crashing (with Dr.Watson c00000005 - I think this mean Access vio

  • WLC 2112 with LAP 1042N

    Hi Guys. we are trying to configure WLC 2112 with LAP 1042 but getting following erros on LAP1042. It show the Ap is not supported in controller version 6.0.199.4 *Jan  5 16:52:13.397: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully peer_i

  • ASA/Router Exec Authorization

    Hello Everyone, After a user is authenticated using  TACACS+, he/she must be authorized to access the IOS or ASA shell.  However, when i just configured authentication (without authorization),  the user can still access the level 15 shell after authe