RedHat Jdev 11.1.2.3 5.8 - AF:Switcher Question

Hello:

AF:switcher component can be used in a page Fragment?

Also, I use the method of creation of functional subsystems like adflibs and then combine these subsystems into a master project to generate ear.

Subsystems would use page fragments because the master project use the page template and use fragments of page subsystem in the page template? What is the best way to organize: models, fragments and dynamic regions in the context of functional subsystems (adflibs) consumed in a main workspace of the page? Any adivce on this?

Thank you much for the help.

What makes you think that he (af:switcher) cannot be used in a fragment?

Watch this video http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/AngelsInTheArchitecture/AngelsInTheArchitecture.html for an overview of the architecture in the ADF application. You use case is about possible architectures.

Timo

Tags: Java

Similar Questions

  • Failed to create the deployment as EAR - redhat jdev 11.1.2.3 profile 5.8

    Hello:

    Previously, whenever I have deployed an ADF to WebLogic application is was like an EAR.

    Now when I try to create a deployment profile, creating the EAR is grayed out.

    When I right click on the ViewController project and select deploy the two options that come up are - deploy to AppServer and deploy to WAR
    but no EAR.

    What I am doing wrong? I thought all ADF apps would be deployed as the ear. Is this correct?

    Setting controls this and how do I define Jdev to deploy the ear?

    Thank you very much.

    Hello.

    You can deploy an application of JDeveloper as an ear. This does not work for different projects. You can create a profile of EAR deployment although the properties of the Application.

    Best regards

    Frédéric.

  • How to get the time of the browser - redhat jdev 11.1.2.3 5.8

    Hello:

    In java, I need to calculate the number of hours difference bewteen the browser time and time on the weblogic server. Any ideas?

    Note: the browser may be located throughout the world. What expert methods do you use to deal with these problems of timezone?

    Thank you very much.

    You can try to use a javascript method on the page what Girard customers time and send it to a listener side server where you can compare both.

    
    
      
      
        
          
            function clientMethodCall(event) {
                var datetime = new Date();
                component = event.getSource();
                AdfCustomEvent.queue(component, "customEvent",
                {
                    payload : datetime
                },
    true);
                event.cancel();
            }
          
          
            
              
              
                
                  
                    
                    
                  
                
                
              
            
          
        
      
    
    

    and the listener side Server (JSServerBean.java)

    package de.hahn.blog.xxyyzz.view.beans;
    
    import oracle.adf.share.logging.ADFLogger;
    import oracle.adf.view.rich.render.ClientEvent;
    
    public class JsServerBean {
        private static ADFLogger logger = ADFLogger.createADFLogger(JsServerBean.class);
        public JsServerBean() {
        }
    
        public void customEvent(ClientEvent clientEvent) {
            // Add event code here...
        }
    
        public void handleRequest(ClientEvent event) {
            logger.info("Information:"+"---" + event.getParameters().get("payload"));
        }
    }
    

    Timo

  • AF:PanelDashboard geometry - redhat jdev 11.1.2.3 5.8

    Hello:

    Inside an AF:PanelTabbed, I placed an AF:PanelDashboard, columns = 2, rowheight = 300px.

    Then I tried to drop the AF:PanelBox 8 in the dashboard, but the designer, it shows only 4 of the Panel boxes and the last two are cut.

    What is needed to make the dashboard extend and display all 8 Panel boxes (2 columns, 4 rows) and have a vertical scroll bar to display the boxes in Panel at the bottom of the screen? And how to set the width of each panelBox?

    Thank you.

    Published by: 966952 on February 18, 2013 08:19

    To get the scroll bar, you would put a layout panelGroupLayout = scroll as the child of your showDetailItem. You can also set dimensionFrom = children on the panelTabbed if you want to stretch to fit all panelBoxes a scroll bar, with or without the scroll out of the tabs bar. The attribute 'type' of panelBox can be useful for the width. If you are wanting only a static width, the inline style should be OK to use it on this component. I have not worked on stuff 11.1.2.x/Sherman in awhile, I don't think there are many differences in this component.

  • DateTime display adjusted to the location - redhat jdev 11.1.2.3 5.8

    Hello:

    I have an AF:outputText component and I want to display the Date and time as current: MM/DD/YYYY HH: mi: SS PM

    But I also need to adjust the time based on the location of users.

    For example: user1 is in the Eastern time zone and User2 is in the Central time zone.

    Is this possible in the Expression Language?

    How is - a detects the local user of the browser?

    Thank you very much.

    Not sure, using EL but you try a date converter time.

    To get the locale of the browser that you can use

    FacesContext.getCurrentInstance().getExternalContext().getRequestLocale();
    

    Timo

  • Read-only complex queries in redhat Jdev 11.1.2.3 5.8

    Hello:

    I have a complex select statement for a particular use case. There is no requirement to update all the columns in the tables, it is display only. What are the advantages and disadvantages to simply create your who do not rely on the EOs? Or should normally base us these complex queries on EOs because the EO puts in cache the rows returned? Given the following Select statement, would you experts this based on the underlying tables in OT or simply use a VO that is not entity founded, given that there is no update necessary?
    Thank you...


    SELECT distinct AUD_KEY,
    AUD_STATUS,
    AUD_TYPE,
    GET_PROJECT_CODE('AUD',AUD_KEY) NUMERO_PROJET,
    P_FNS. CLIENT_NAME, CLIENT_NAME (AUD_CLI_KEY),
    (SELECT COUNT (*) IN RESULTS
    WHERE FND_AUD_KEY = AUD_KEY
    AND UPPER (FND_CATEGORY) = 'IMPORTANT'),
    (SELECT COUNT (*) IN RESULTS
    WHERE FND_AUD_KEY = AUD_KEY
    AND UPPER (FND_CATEGORY) = "SHIFT") major.
    (SELECT COUNT (*) IN RESULTS
    WHERE FND_AUD_KEY = AUD_KEY
    and upper (fnd_category) = 'MIN') minor,.
    (SELECT COUNT (*) IN RESULTS
    WHERE FND_AUD_KEY = AUD_KEY
    AND UPPER (FND_CATEGORY) = 'o') other
    FROM AUD, DNF
    WHERE AUD_KEY = FND_AUD_KEY (+)
    AND)
    (UPPER (FND_STATUS) = 'o' AND (FND_OWNER =: p_aa_emp_key)) OR
    (UPPER (FND_STATUS) = 'R' AND (FND_APPR =: p_aa_emp_key)) OR
    (UPPER (AUD_STATUS) = 'P' AND (AUD_CREATED_BY =: p_aa_emp_key)) OR
    (Room in UPPER (AUD_STATUS)', 'A', 'IP', 'RA', 'RR') AND (AUD_AUDITOR =: p_aa_emp_key)))

    I would use a VO based on a query (the).
    However, the widespread use of the UPPERCASE function need some attention. This needs to be optimized. Check out my blog on this (http://tompeez.wordpress.com/2012/04/05/jdeveloper-case-insensitive-search-and-performance/).

    Timo

  • Access column in the Table - redhat jdev 11.1.2.3 inputValue 5.8

    Hello:

    In the HR schema:

    I dropped a collection DEPARTMENTS of control data as a table read-only on a page. I see references to the columns in the Source, such as < af:outputText value = "#{rank." DepartmentName}"id ="ot2"/ >

    Outside the table I put an AF:outputText on the page and set its value to "#{rank." DepartmentName}', but it still shows a white... What I am doing wrong?

    How can I access a column value in the currently selected row in the table in EL and Java?

    Thank you very much.

    It is not necessary to write your own selctionListener. All you have to do is to add an attributeValue column in the section of the pageDef binding.
    One of the ways to do this is to drag the VO, you used for the table and drop it on the page as a form of ADF (you can use only one form to read if you do not plan to change values). This will create the bindings for all the values of columns in the row selected in the pageDef. Now, as you do not need the form, switch to source mode and remove all fields do ' t you need the page. This leaves the links in the pageDef, but remove the unnecessary page visual fields.
    Now when you select a row in the table, that the framework will load the values in the row in the attributeValues wherever you can easily access it.

    Timo

  • 11.1.2.4 on Mac OS 10.9.2 Jdev

    I installed Jdev 11.1.2.4 successfully on my Mac (with 10.9.2 os) and when I run jdev I noticed there is no file, Edit, View, Application, etc. the menus displayed; I don't see the toolbar 'hand '.  I followed the installation instructions (https://blogs.oracle.com/shay/entry/installing_jdeveloper_on_mac_os) adjustment of the sensitivity for all paths, etc., and this script ran fine. The installation of Jdev indicates errors so I'm lost as to why the menus are missing in Jdev.  Has anyone seen this?

    Refer

    Installation on Mac OS

    for some problems known.

    http://www.Oracle.com/technetwork/developer-tools/jdev/documentation/11-124-RN-1942343.html

    These questions also apply?

  • Could not open the file in jDeveloper.

    Hi all

    I'm trying to configure the jdeveloper.

    Get the below error:

    jDevError.PNG

    I correctly set the path:

    JDEV_USER_HOME

    D:\JDeveloperN\jdevhome\jdev

    jDevError2.JPG

    Output directory it does not show the different path instead of D:\JDeveloperN\jdevhome\jdev\myclasses.

    If someone faced the same question pls help me...

    Thank you

    Palacin

    Srinivas,

    Try to add the additional path to the MDS XML Path.

    Right click the project, Project Properties--> Oracle Applications--> Edit--> Add an entry.

    Select D:\JDeveloperN\jdevhome\jdev\myprojects and click OK. Then try opening the file again.

    See you soon

    AJ

  • Hi all please how can add (script) to the attribute of object veiw in the ADF thanks fpr all

    User, tell us your version of jdev, please!

    Sorry to say, but your question makes no sense. An attribute must not and will not hold a creation script (a script ddl if you like). You can assign a sql script to an attribute such as ' select name from employee where employee_id = empid "where empid is another attribute of the object of the view.

    You can get the following from a sequence sequence number and assign it to an attribute using groovy as shown here https://tompeez.wordpress.com/2011/09/02/using-groovy-expression-to-set-a-primary-key-with-a-sequence-number/

    Timo

  • OPSS question

    Hi all

    We have a version 8 WC

    We have configured the LDAP provider in weblogic.

    We want to develop an interface using the OPSS API that can fetch users, roles, research etc.

    Prob is that we do not have LDAP host, port, user, pass.   So the only way is to get the handle to IDMStore (to the provider), and then call OPSS API.

    Every time write us / update code in JDEV but after writing the code, each time, just to test needed in WC_Spaces and then test it in EL Portal.

    If us planes user Ldap, port, host info, we would have tested it directly in Jdev. We do not have it.

    Question: How can we get the handle to IDMStore for the provider in Jdev? In this case we were able to test the code directly in Jdev... .that would be easier... pl help.

    Hello

    To answer one of your questions - no, you can not test the stand-alone class against OPSS. The OPSS layer is provided with weblogic, so the class must be deployed and tested in a weblogic - via an ADF application server for example

    Question - why you can't get LDAP details? If you have LDAP details, then you could potentially set the embedded WebLogic Server to use the LDAP protocol.

    Alternatively, if I understand correctly Vinay - he suggests that you deploy a standalone application ADF test your server remote weblogic and test your code through the user interface of the ADF. This means that you avoid having to restart the spaces on each deployment.

  • May not know what I did wrong in JDeveloper / Android tutorial

    I'm working on this JDeveloper / Android tutorial (step 2: create a Mobile Application of ADF), but I did not have the expected results, which was supposed to be a successful deployment!

    I posted a few JDev screenshots below. I was wondering if you see something obvious, Miss me him. Overall, the full tutorial has been a success, but I can't understand why I got the Oracle logo, or whence he...

    Here's what I got:

    android tutorial results.PNG

    I thought I did something wrong, so I've done twice and ended up with the same results. Here are a few screenshots.

    Tutorial feature.PNG

    deployment successful JDev.PNG

    Use the same versions of ADF Mobile and JDev and activate network permissions.

    See also question No. 3.

    3. (MAF Application crashes / glued to the start screen, showing the logo of the Oracle)

    Deepak Jain blog: Oracle MAF - questions, tips and tricks

    Without the correct setting, your MAF applications can hang at the splash screen.

    Refer

    https://blogs.Oracle.com/mobile/entry/10_tips_for_getting_started


    On the Oracle Logo display is also addressed to

    https://www.LinkedIn.com/groups/did-you-get-Oracle-Mobile-6707013.S.5889421825900843009

  • ADF tree-table using the single object view

    Hi all

    I'm pretty new (in fact, quite new) to the development of the ADF so bear with me here.

    I use JDev version 11.1.1.7.0

    My question is this: -.

    I have a single table, with a single entity object and view read-only of the object, metaphorically, sitting on it. This table contains attributes such as Type of system, Application name, content of the Message, etc. It is used as a repository of audit trail for many applications in our field.

    Now what I want to do is create a style tree-table menu to allow the user to select a system Type (is there a lot of them) and cross the names of applications that are related to the type of system selected. Getting the granularity I'm not further than the name of the Application. When a user clicks on the Type system or a given Application name, the ADF array element that I have on my page .jspx should perform a partial page refresh to filter results accordingly.

    That's what I'm thinking the tree-table to look like:-l' user must be able to expand and collapse the nodes as needed.

    Type of <>

    < A system >

    < A.1 application name >

    < A.2 application name >

    < A.3 application name >

    < B > system

    < application B.1 name >

    < name B.2 of the application >

    < system C >

    < name C.1 of the application >

    etc...

    I did some research and I'm not sure I'm able to do what I ask with a single view object. Many articles and tutorials I've read up to now focus on the view of the objects that contain the link relationships with one or more display objects. This obviously creates a relationship master / detail that is easily available for the course I guess...?

    Any help would be greatly appreciated.

    Thank you

    JimBob

    No, you probably can't perform this operation with VO alone (because you do not have a recursive structure if I understood your sample).

    You'll need VO to 'Types of system' (as the root of the tree), VO for the 'systems' (logged on 'Types of system' VO with ViewLink) and VO for 'Requests' (connected on 'Systems' VO of ViewLink).

    Dario

  • Insert new line in VO, engaging, and then call vo.executeQuery () does not display the newly created line.

    Hi guys

    I use jdev 12.1.2.

    I have a question about stale view object and entity data object.  My use case is: I have an af:table bound to data that I use to insert a new row in the database.  I create the line with a call from createWithParams, and everything works fine with it.  I call commit on the application module that contains the view object, and the data is correctly inserted in the database table.  Then, as part of my needs, I call vo.executeQuery () on the view object, however the newly inserted row is not present in the af: table or view object.  The line does not appear until I leave my application and return to it.  Once I do this, the line is in the object view and appears correctly in the table.

    It is not enough that I need the view object to be aware of the new line (s) without having to restart the application.  Y at - it a setting I am missing in my display object?  I guess my entity object contains stale data, but I don't know how to refresh its data.  Thanks for reading.

    Lance

    Hello

    you use a viewCriteria, so the value of this method of execution both (database and memory) in the Panel of viewCriteria

    try it once

    Thank you

  • How to test applications ADF Faces automatically?

    Hello

    I use JDEV 11.1.2.3 - but in fact, my question ist depends on the JDEV version.

    How to test the different layers of the stack of the ADF, in an automatic way?

    1. How can we test business services layer - using business components? I don't mean using the component browser...

    2. How can a test the ADF faces layer? Is there a list of best practices for selenium or so?

    3. is it possible to test the ADF controller layer? Would be a great thing to call the different taskflows programmatically...

    Thx for the answers!

    Marc greetings

    Test with JUnit.

    http://download.Oracle.com/otndocs/OTNVDD-rea/ppt/ADF_VDD_Testing.PDF

Maybe you are looking for