Jdev ADF BC 11.1.1.0.2: how to create a dropdownlist control that is based on a list fixed?

Hello

With the help of Jdev 11.1.1.0.2, a search form is created according to a view critiria. One of the attributes in the search criteria should be a dropdownlist control with a list of values "N, O, S.

In Jdev 10.1.3 I was able to set up a selectOneChoice based on a fixed list. The fixed list values can be entered.

Is this possible in Jdev 11?

Thank you very much.

Annie

I still don't know your scenario, but this is the case if you have defined criteria of display and based on it to use af:query component to search and instead of input field you want to have the list based on static values box:

1. create the new object from view as a static list, create the attribute, set it as the primary key and define the list of static values
2. in the view object with your view criteria go to attributes, select only the one you used in view criteria and click on + to add the list of values
3. in the list of values Wizard Select ListData Source, attribute of the list and in the indications of the user interface, select attributes to display

now when you run your page you will have the list of static values in the combobox as a value pick for research

Kind regards

Branislav

Tags: Java

Similar Questions

  • Where should questions about the JDEV/ADF positions?

    Hello

    Where should questions about the JDEV/ADF positions?

    JDeveloper and ADF or

    JDeveloper and ADF?

    I found there may be some different advantageous:

    https://forums.Oracle.com/message/11109674?TSTART=0#11109674

    Thank you.

    Well, the other forum you mentioned is the Korean equivalent of the English forum.

    You have already discovered, it is not controlled to many users. I didn't know that it exists at all.

    In general it is to you where you ask your questions. All for one here are driven by the community and some employees of the Oracle, you cannot wait has answered all your questions. If you really need to answer you go through paid support.

    A tip for getting help is to provide a well-defined use cases, information relating to your environment and documented code showing what you have already tried.

    Timo

  • Not able to run jspx Pages of BPM Application by using built-in WLS JDev ADF

    Hello

    JDeveloper 11.1.1.6 BPM 11.1.1.6, WLS 10.3.6, model: BC4J

    I created a BPM Application in JDeveloper, with a process and a ViewController ADF for user interface project and a model project
    The application is deployed on the WLS and works when I test it in the workspace of BPM.

    But the UI of the ADF is based on custom of the database data and is a bit heavy UI with lots of data and features.
    I am trying to create entire user interface in taskflows separate and use as auto generated pages created by the plugin BPM in JDev position regions.

    Can I deploy the entire application and test it in the workspace of BPM, but it takes a lot of time for the process of generation and deployment.

    So I tried to create a stand-alone page in the ADF ViewController project and use the ADF taskflows in the page to test in JDev integrated WLS.
    So in this way I can concentrate on test only the ADF UI related code and not worry the BPM process to test the user interface. (Assuming that the process works well).

    Please note that I don't want to test the BPM process (at this point), but I want to test only the built-in ADF UI of WLS.

    When I try to run the stand-alone page in WLS, it gives me the error below.

    Has anyone tried to run ADF UI pages in a BPM Application using JDeveloper.
    Is there another way to test only the pages of user interface instead of deploying the entire BPM to WLS?
    Is there a setting etc, we can change and turn the page in JDeveloper?

    Thanks for any help
    Concerning
    Sameer

    Error in JDeveloper IWLS
    -----------------------------------
    [10: 13:59] Application deployment...
    < 13 June 2012 13:13:15 EDT > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1339596839457 'for task ' 0'. Error is: "weblogic.management.DeploymentException: [J2EE:160149] error in the processing of library reference." References application library, defined in weblogic pending - application.xml: [Extension name: oracle.soa.workflow.wc, exact match: false]. »
    weblogic.management.DeploymentException: [J2EE:160149] error in the processing of library reference. References application library, defined in weblogic pending - application.xml: [Extension name: oracle.soa.workflow.wc, exact match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
    to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:613)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
    Truncated. check the log file full stacktrace
    >
    < 13 June 2012 16:14:00 CEST > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy the task of application "XXXComboApplication" >.
    < 13 June 2012 16:14:00 CEST > < WARNING > < hats > < BEA-149078 > < message 149004 track battery
    weblogic.management.DeploymentException: [J2EE:160149] error in the processing of library reference. References application library, defined in weblogic pending - application.xml: [Extension name: oracle.soa.workflow.wc, exact match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
    to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:613)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
    Truncated. check the log file full stacktrace
    >
    # Cannot run application XXXComboApplication due to the deployment on IntegratedWebLogicServer error.
    [10:14] # incomplete deployment. ####
    [10:14] deployment remote has failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    [XXXComboApplication application stopped and cancelled Server Instance IntegratedWebLogicServer]
    -----------------------------------

    Hi Sameer
    1. I know exactly what your condition is and what you're trying to do. I'll go with a few assumptions about what you have and on the basis that I say, unfortunately NO, that you try will NOT work. But there are other ways to test your stuff.

    2. you have a bpm, i.e. with a single process bpm application and a Web of TaskForms project (which has taskDetails pages that use your JSFF of fragments using the af:region tag). Don't forget to build the TaskForms project by selecting a. File TASK etc. You have a lot of things db backend and I hope that you have created entities, EJBs and DataControls. Then, you create links in JSFF etc. Everything is deployed on a full SOA domain fleded and you're good. BUT Yes, it is very tedious and painful to test. I agree.

    3. now you want to test only UI part without any process and tasks. To do this, you try to deploy on field of JDeveloper's integrated WLS and it does not work. Yes, it will fail, and it will not work. Because the domain default wls is a simple domain with just core j2ee and some modules of adf deployed. BUT your TaskForms also has some modules of bpm/soa. In JDeveloper, select your project TaskForms-> right click-> properties-> libraries project and Classpath-> right side, you see a lot of modules BPM for ex: Module of BPM. If you view it, you will see the modules (jars defined in this ex: bpm - services.jar). NOW your integrated domain name do NOT have these deployed modules, and so you get exactly the error that is entirely logical.

    4. go in your area/config integration jdeveloper and open config.xml file folder. Open the file config.xml of your entire standalone soa domain also. Search for "oracle.soa.workflow.wc" in these two files. You will find this soa area but NOT in the area of default jdeveloper. It is the question.

    5. now, you can not make your name domain integrated to work for SOA/BPM applications. This requires a lot of effort to add all modules and corrupt your domain also name. I would not recommend this.

    Now, is there another way, you can test your pages of fragment that has stuff heavy backend. Yes. In your app JDev, create a new Web project with only the ADF modules. Remember when we create an application for the PIA, it creates 2 ViewController and model projects. So everything you want is create a new ViewController project that has all the web, jsff, javax, adl added modules. In what you create DataControls for your EJBs and create or copy Fragments that you already have. Then create pages of simple jsxp as hell01.jsxp, hello2.jspx etc and include your fragments using af: region etc. You can deploy your application to the exclusion of TaskForms on domain JDeveloper. As to the level of the EAR, creating a new deployment profile. Add all (EJB) projects, including the new project viewcontroller except for process and TaskForms. I am convinced that it will work. Then you test your JSPx files directly their performance:
    http://localhost:7101/myViewWeb/faces/hello1.JSPX (assuming that the file jspx is under folder contenuWeb)
    http://localhost:7101/myViewWeb/faces/hello2.JSPX

    If none of the fragments needs input data set, you can still create a PageFlowController class and have life like prepareModel etc. methods to define the criterion of data entries. Assign to this pageflowcontroller the pagedef. So every time that you run jspx, he calls this controller pageflow. Or just have a few fields on your screen jsff that stores data and a link to a managed bean. In this way, test you and certify your screen jsff, connections, ejb code backend db stuff etc etc. Once it works, it will work if you put this jsff in file taskDetails.jspx also with maybe a few minor changes.

    If you want to really test your UI and all the backend without too much stuff to focus on the tasks of process / and NOT using soa domain, then this is the only way to go. I wouldn't recommend updating JDev field with stuff of soa/bpm. This is just my 2 cents opinion.

    Thank you
    Ravi Jegga

  • When will be JDev ADF training be available?

    The toolset JDev ADF seems to be very powerful and the tutorials are useful in getting started. The documentation is a useful reference. But for those of us who are new to this set of tools, especially when you are working in a very small group, form any training is needed to build a real application. What plans Oracle must provide this training? I hope that there is something on the horizon.

    I believe they do, through the JDev homepage-> training page, even if it is the format of the virtual classroom on-line:

    http://www.Oracle.com/technology/products/jdev/collateral/training11g.html

    CM.

  • [ADF, JDev12.1.3] How to create a page that is read-only or allowing changes according to the menu by which item it is accessible?

    Hallo,

    I'd like to go to the page that contains an af:table of 2 different menus: "Edit/insert data" and "read data".

    Is it possible to make a page that is read-only when the user accesses by "Read data" and that allows for changes when you access it through 'edit/insert data?

    Or do I have to create 2 different pages?

    Thank you

    Federico

    If the menu is outside the region, you must pass a parameter in the area and read this parameter passed within the region. You cannot directly access the bean of expanded view of inside the workflow.

    You can check out my blog 11.1.1.5.0 JDeveloper: router to use to create new or modify existing line | JDev & ADF Goodies

    That uses a router within a workflow to decide which page to display based on the parameter. Using this solution you can easily implement your use case using two different pages to show the table, a read-only, and the other to change.

    Timo

  • How to create the BC4J Package in JDev 10 g (with OAF)?

    How to create the BC4J Package in JDev 10 g (with OAF)?

    I use JDev 10.1.3.3.0 with Extension OA release 12.0.6. Right-click on the project of the new option Business Package of components is missing, I tried the business components of the Tables option but could not continiue as steps in the tutorial have does not match this wizard individual. I read on this forum that you can use this option to create the EOs and your and then specify packages later.

    Any help will be appreciated. The tutorial that I'm following is the Oracle Application Framework (tutorials) the JDevDoc\Index.html Toolbox

    Thank you
    Vijay

    Hello

    Tutorial is not being updated, Jdeveloper 10 g, there is no need to create the BC4j package explicitly, you just create AM OT or VO and mention the name of package, JDeveloper will take care rest of things, create new your EOs

    Right-click on the project--> New--> business components ADF (under the enterprise level)---> Module object/Application/view of object entity.

    Thank you
    Pratap

  • How to create a custom page for ADF security?

    Dear all,

    Now I am developing an application. I am facing the problem of security. Now I need to guarantee me the application (user, group, role etc...)

    Oracle recommends me to use internal LDAP WebLogic or OID. But how to create custom for this security management pages? Are there examples?

    Reason:
    (1) the customer does not have LDAP
    (2) Admin or Manager client without having to access Weblogic server (no sense).

    We need to create pages on my request and is managing the internal users, role and group using LDAP or OID.

    Thank you.

    You don't need to create an additional custom page for the use of LDAP. Just set up security WLS and group mappings to use users configured on the LDAP server (any).

    If you already use the ADF security, you should have a created even when custom login page. This can be used. (as described here: http://www.oracle.com/technetwork/developer-tools/jdev/ccset29-all-089763.html)

    HTH,
    -olaf

  • How can I remove, I believe that it is a virus named "adf.ly?

    Hi guys. I hope someone can help me.

    Both of my browsers, Safari (main) and Firefox work very badly and every time that I tried to open what used to be my 'homepage' (www.uol.com.br), a strange page opens instead (in both browsers) with the address "*: / / adf.ly/noscript.php?t=js. I looked all around the internet to learn how to get rid of him that drives me crazy. I think that it is a malware. Please help.

    Thanks in advance.

    PS: Guys, I found that Safari it does not work well. I have been in this community write this post and the text was inserted in white color and I could see it if I select in the box, I came to Firefox to do this post.

    < link published by host >

    Fixes for Adware and pop-ups:

    1. Malwarebytes
    2. 2.11 DetectX
    3. Remove the adware that displays pop-up ads and graphics on your Mac
    4. T stop advertising windows pop-up and adware in Safari - Apple Suppor
  • [ADF, JDev12.1.3] How to create a reusable/configurable SelectOneChoiche that displays a range of years?

    Hallo,

    in my application, I would use SelectOneChoiche components a range of years including start/end of the year can be different based on other values/conditions of display.

    I found this thread helpful Andrejus Baranovskis Blog: select a choice with select elements Tag which explains how to fill a PLOUGHSHARE of a managed bean.

    Would it be possible (and how) to create a reusable component (something to drag them to the design-time user interface) configurable with expressions of start/end of year?

    This would avoid as me to write the code to fill the SOC whenever I need one of them.

    Thank you

    Federico

    You can see this example ADF practice: component example declarative ADF which shows how to create a component declarative which shows a decimal lov.

    This Oracle magazine article Oracle ADF: Build Your Own is another example that will guide you throughout the process.

    Timo

  • How to create and apply a vc in jdev 12.2.1?

    Mr President

    How to create and apply a vc in jdev 12.2.1?

    I did like this, but do not know what my name of vc, it's VdetViewWhereCriteria.

    My name of vc is

    vc.png

    Concerning

    In the AppModule, you must select the view criteria.

    Open AppModule--> Data Model--> Select the VO (VdetView1)--> press the Edit button--> shuttle view criteria

    as:

  • [ADF, JDev12.1.3] How to create a new record in a table filling one filed with the IP address of the client?

    Hallo,

    I create a stubborn workflow that begins with a create operation on the table where a new record should be added.

    The recording fields must be filled in by the user, but before committing, I have to fill a field of the reocord with the address IP of the PC of the user.

    Could you kindly advice me which are the possible recommended approaches to achieve this?

    Thank you

    Federico

    Hello

    See this post: Blog of Zeeshan Baig: how to get the IP address of the customer in ADF merge request

    You can use a createWithParams operation and to fill in this field.

    Reference: Andrejus Baranovskis Blog: CreateWithParams operation for Oracle ADF 11g BC

    Kind regards

    Ruben.

  • How to create conn for bridge JDBC-ODBC for MS Access db in ADF APP?

    Mr President.

    How to create conn for bridge JDBC-ODBC for MS Access db in ADF APP?

    Concerning

    Hello everyone!

    I managed to get connect to access ms in adf application based in jdeveloper as below:

    First Control Panel tools admin and go to the data source (odbc) and create the dsn system as below picture

    Then, go to jdeveloper ide conn resources and then basic data and news database conn and then select jdbc-odbc briddge and then custom jdbc url gives as bellow pic

    See you soon

    Tanvir

  • Hi, can I get App demo on how to create the model &amp; components declarative in ADF?

    Hi, can I get App demo on how to create the model & components declarative in ADF?

    Hello

    You can get the demo at the following link

    Models in pages ADF and declarative elements

  • How to create a LOV the same table in the adf.

    Hi all

    I have a simple table of database with over any dependant on other tables. In my table one of my name of the column as "Gander".
    Since I have given in table mod "or F. What is my requirement in simple with table search page that I want to search with Gander field also with other areas.
    while I want to show that gender as LOV in the search panel.
    I tried with when we have a relationship with some other table.but how to create LOV to field when the field in the same table only.

    as M or F even use cases or not like.


    Concerning
    Siva

    Siva,

    What is your version of JDev? What technology you are using (BC4J?)?

    Assuming you are using BC for the model, you tried to create another object view based on query something like

    select distinct gender, gender from your table
    

    and then use this VO for LOV?

    Arun-

  • How to create graphic menus to context right click for ADF DVT?

    ADF DVT graphics supports right-click context menu?
    If so, how to create it for the ADF graphic DVT?

    What version of JDeveloper are you using?

    This feature is a new feature that is available only in JDeveloper 11 g R2 (the more recent)?

    Thank you
    Nini

Maybe you are looking for