[ADF, JDev12.1.3] UI component: when link (to a variable of bean), its value and when to link UIC together?

Hallo,

in lots of examples that I have seen that sometimes the whole (through the Binding property) UI component is bound to a variable of bean and sometimes only the value property is bound to a variable of bean.

I understand that when it comes to the UIC connection on the Value property value is sufficient.

But I ask myself... which is the approach recommended in general?

And is there a situation in which the binding using the Binding property must avoid?

I have created a search custom form with the field (inputTexts, checkboxes,...) the values are handled in a bean. Which would be, in this case, the approach of linking advisable?

Thank you

Federico

But I ask myself... which is the approach recommended in general?

You should almost always use concrete goods (such as the ' value')

In some cases, you will need to update some components of the user interface programmatically (with AdfFacesContext.getCurrentInstance () .addPartialTarget (component)), and for this you need reference to any component.

But even in this case, you can use another approach to get the reference of the component instead of binding to the beans (but of course, "binding" attribute is the best way to get the reference of the component)

See also: that binds the JSF component? When it is best to use? -Stack overflow

And is there a situation in which the binding using the Binding property must avoid?

-If you do not need any component

-If you have scope of pageFlow/view/session bean

I have created a search custom form with the field (inputTexts, checkboxes,...) the values are handled in a bean. Which would be, in this case, the approach of linking advisable?

Probably the "value" property

Dario.

Tags: Java

Similar Questions

  • [ADF, JDev12.1.3] Validation happens when LOV "lens" is clicked. How to avoid this?

    Hallo,

    I created a form of a VO istance which some fields are required.

    In the form, there is a LOV.

    When I click on the 'lens' of LOV validation happens.

    I would like to avoid this behavior.

    The solution is simply to set the immediate property of the LOV to 'true '?

    Thank you

    Federico

    I created a form of a VO istance which some fields are required.

    In the form, there is a LOV.

    When I click on the 'lens' of LOV validation happens.

    This was probably not happen.

    So, do you have something specific in your code? (for example, LOV on part of primary key, partially initialized row, etc.?)

    Is autosubmit = true set on your lov component?

    Is there a difference, if you set ChangeEventPolicy = none to your iterator?

    The solution is simply to set the immediate property of the LOV to 'true '?

    If this will solve the problem, then Yes

    Dario

  • [ADF, JDev12.1.3] (1) creating a "select a Choiche" from a query 2-fields and 2) to get the key of the selected element?

    Hallo,

    I have a VO based query, that query is like that...

    Select field1 as keyField, Field2 as valueField

    table

    By dragging the VO istance in the page I want to create a Choiche a Select...

    The list should show only the values of valueFields.

    Moreover, in my bean I need to get the keyField to the selected line (not the valueField).

    You kindly could you tell me which is the right approach to create the list choiche and what code I use to get the keyField to the selected item in the list?

    Thank you very much

    Federico

    Google would be useful.

    https://tompeez.WordPress.com/tag/afselectonechoice/

  • [ADF, JDev12.1.3] When you use create/restoreSavepoint... Restore operation is still useful? And other doubts...

    Hallo,

    Dario and Timo advised me (in this thread Re: [ADF, JDev12.1.3] Master w/playback af:form only af:tables detail: how to handle insert and edit through forms?) I make a request using the functions create/restoreSavpoint to this fragment in my application.

    The tables are read-only, and the user can insert and modify records by a form of popup.

    Each table has its own pop-up that I created using a btf executed as diaolog (*).

    Before I open the popup, I create the backup point.

    BindingContext bctx = BindingContext.getCurrent();  
    DCDataControl dcDataControl = bctx.getDefaultDataControl();  
    String sph = (String) dcDataControl.createSavepoint();  
    AdfFacesContext.getCurrentInstance().getPageFlowScope().put("AdfmSavePoint", sph); 
    

    When the popup is closed, I restore the backup point if the Cancel button was clicked...

    Object confirmOrCancel = returnEvent.getReturnValue();  
    if (((String) confirmOrCancel).equals("cancel")) {  
      String sph = (String) AdfFacesContext.getCurrentInstance().getPageFlowScope().get("AdfmSavePoint");  
      BindingContext bctx = BindingContext.getCurrent();  
      DCDataControl dcDataControl = bctx.getDefaultDataControl();  
      dcDataControl.restoreSavepoint(sph);  
    } 
    

    I have these doubts:

    1. the button "CANCEL ALL" (so far) AM restore operation is still meaningful (is always useful) when you use the check points? Or can I avoid using the restore of the AM operation, creating a backup point before you enter the fragment and restore it if the user clicks on "RESTORE ALL"?
    2. for all tables: before opening the popup insert/change the backup point is implemented pageFlowScope under the same key 'AdfmSavePoint '. Is it OK or would it be better to use a different key for each table (for example 'AdfmSavePointTable1', 'AdfmSavePointTable2',...)?
    3. If the pageFlowScope already contains a checkpoint under the "AdfmSavePoint" key... What does if I give the floor to new .put ("AdfmSavePoint", sph)? Can I be sure that the old value is overwritten?
    4. is this safe with nested savepoint? For example in my case I want to create a backup before the fragment in the image point is displayed (and restore if the user leaves the fragment by clicking "RESTORE ALL"), then within the fragment, as I said above, I would manage other points of record when inserting/editing tables.
    5. I noticed that clicking on the button "RESTORE ALL" when it relates to the AM-restore operation causes this strange thing: when before displaying the fragment I call SetCurrentRowWithKey on the master istance VO... If I click on "ROLLBACK ALL" posted master VO Records changes and 1 minutes of the main of the VO table is displayed. Why the master istance VO is not reimain in the folder I've previously selected by SetCurrentRowWithKey?
    6. With reference to the expression (*) above. The BTF 'dialogue' I created contains only the page jspx with shape and a return to activity. I also tried a) create (and restore) the backup point, b) to call createInsert inside the "dialog box" operation BTF (see images below), but the createInsert on retail VO istance called inside the 'dialogue' BTF seems not to reflect on the table as when I call createInsert by calling btf. I have to make some adjustments in the 'dialogue' of BTF?

    Thank you

    Federico

    Federico,

    (1) Yes, what should happen if a user add or edit vo1 and click ok in the dialog box but decided that ask to work must be restored?

    (2) as long as you don't have that a dialog box is open, it should work.

    (3) the flowrate range of page is a map. You can put the same key more than once. If the key already exists, the value is replaced.

    (4) in fact, I don't know, but the sounds of complicated design. I guess you can record more points, but only in the order of creation. It's as if you try to rebuild the framework. BTF yo it even for you, when worn right. Please go to ADF Architecture Square and read and watch it task flow of related things.

    (5) this behavior is as expected. A restore resets all the iterators so thagetto point at the top of he. http://www.Oracle.com/technetwork/Developer-Tools/ADF/learnmore/OCT2010-OTN-Harvest-183714.pdf 'keep the line after cancellation' shows how to handle this situation.

    (6) I suppose have you refresh the table iterator, once you close the dialog box for the new data. But that's only a guess because it depends on how the btf share control of data and the your involved.

    Timo

  • [ADF, JDev12.1.3] How to set the value of an attribute of VO 'max (attribute) + 1' when creating a new record?

    Hallo,

    I have a VO that selects records from a table databace where FkId = < value >.

    For example: this is the database table...

    ID RowDetNumber OtherFields FkId

    1   3     1            ...

    2   3     2            ...

    3   3     3            ...

    4   3     4            ...

    5   4     1            ...         |

    6   4     2            ...         | -VO selects these records (where FkId = 4 for example)

    7   4     3            ...         |

    8   5     1            ...

    9   5     2            ...

    When a new record is created the field RowDetNumber must be calculated with the logic of the max (RowDetNumber) + 1.

    So for the example above, the calculated value should be 3 + 1 = 4.

    I would like to know how I can calculate the value and assign to the RowDetNumber attribute.

    I did some experiments using a Groovy expression as a default value for the field, but I got only errors.

    I'm a bit confused on how I can do so a few details / examples / tips are welcome

    In particular, a small example for every possible approach would be happy.

    Thank you

    Federico

    Federico, the solution mentioned in the block will work as it only generates unique numbers without guarantee that the generated numbers are without flaw. However, if you want to use max + 1 this normally means you want to have a sequence without gap. It is very very complicated in nature. It doesn't matter what application you're trying, there is almost always room for error, ending with duplicate numbers.

    The trigger also works as the DB supports triggers on MS SQL.

    If you don't need a number of gap-less for the attribute, you can use the groovy solution and just get a number of a sequence is is guaranteed unique and greater value, like the last number that you asked of the sequence. In this way, you can have the sorted records

    ID RowDetNumber OtherFields FkId

    1  3    1            ...

    2  3    7            ...

    3  3    9            ...

    4  3    10            ...

    5  4    3            ...        |

    6  4    5            ...        | -VO selects these records (where FkId = 4 for example)

    7  4    12            ...        |

    8  5    4            ...

    9  5    6            ...

    Timo

  • [ADF, JDev12.1.3] Which is the best way to define the properties of CIU/fragments of pages. Is the approach that I have used a good choice (for a beginner)?

    Hallo,

    in my app, that I have a lot of pages and fragments in which properties (for example rendered text, disabled, Selected,...), lots of user interface components must be set, before/when the page is displayed, depending on the session and pageFlow scope attributes.

    So far I have created for each page/one backingBean brought bean fragment in which I defined an attribute for each property defined (e.g. 2 properties for each UIC: UIC is 10...) "I have 20 attributes to manage in the bean).

    Then, I linked each attribute of the bean to the respective UIC property. You can see in this my thread (unfortunately without answers ) [ADF, JDev12.1.3] backingBean bean: a lot of properties to set for lots of CIU... is better by using the properties of the binding or access code (created by ID) UIC? a small example. I put the attributes the bean Builder (or in a function of 'action' if the APP properties must be set based on the interaction of the user).

    I would like to know:

    • If it is a good approach / recommended / safe or if there is a better way;
    • If the scope backingBean is OK, or if a larger scope would be better.

    As I asked in the thread in the link above, the situation can become difficult to manage if the PPP for which setting, properties are very different.

    So I'd like if there is no alternative that I can use to get the same result with less effort.

    For example, using the class ComponentReference or invokeOnComponentAPI could simplify my life? And their use could I always use backingBean brought beans?

    Thank you

    Federico

    Federico, please understand that this forum has no sla. I have other work to do, who pays my bills. I will do my best to help, but you can not expect the instant replay.

    (1) you must not use the bean to init your beans. You can delay load or init your beans instead.

    (2) as Frank and says you can use a bean to view range and use it to make your calculations as long as you know how their parameters go to the btf

    (3) you should always use the reference of the component if you bind a component to a bean. Make a habit of all scopes.

    As we do not know how you calculate the State and how often it changes while the Working Group is on the page, it is difficult to give further advice.

    Timo

  • [ADF, JDev12.1.3] How to resize and style default popup of the message of faces?

    Hallo,

    popups messages of faces that I take the floor in managed beans or auto-affichent by the application to show errors (e.g., https://dl.dropbox.com/s/hsje8m0meci2wai/FacesMessage.png?dl=0) do not adjust automatically based on the content.

    I would like to know how I can fix this problem and:

    Thank you

    Federico

    Well, for automatic resizing, you can use this workaround: https://agungor.wordpress.com/2014/05/14/handling-un-resizable-facesmessage-popup/

    Also, if I remember correctly, you can download the fix for this problem for Oracle Support(if you have support contract).

    Inline messages you must provide the id of the component when you create messages of faces.

    For global inline messages you need to af:messages component.

    As an alternative, you can use something like this: Awasthi (Jdev/ADF) Ashish Blog: better interface user-display the notification message of jQuery (for error, warning, info) to Oracle ADF

    Dario

  • [ADF, JDev12.1.3] How to add user interface components in a page before you display it or hide it?

    Hallo,

    I started to raise this issue with the rohanwalia type () in this thread Re: Re: [ADF, JDev 12.1.3] how to hide menu items based on the logged-on user but maybe it's better to make the question in a separate thread.

    I have a page home.jspx with some user interface components (menus bars, text entry, buttons,...).

    Unbounded workflow

    loginPage.jspx - loginSuccess-> home.jspx

    Based on the logged in user, I programmatically to hide (for example some buttons and menu items) or to add UI components on the page home.jspx.

    Thus, in the managed bean (request scope, right?), associated with the page I want to write a method that before appear the home.jspx makes the task above.

    {initPage()}

    Here, I call an AM method for each component that says that if

    -According to the user - it should be visible or not.

    This information is stored in a Boolean vars, one for each component.

    IT1.setVisible (it1visible);

    IT2.setVisible (it2visible);

    B1.setVisible (b1visible);

    ...

    }

    How can I do to make this method runs automatically when the page is rendered?

    Thank you

    Federico

    Hi Federico

    you use links to visible false, but before pageload links are not accessible at the bean so when you call after the page load button works but before pageLoad, it won't

    so rather than use binding use variables of bean to the value true or false and provide references to the visible property of inputField

    Suppose that to create a Boolean variable and getter setter now is the button click set a value false

    Thank you

  • [ADF, JDev12.1.3] How to display a gif of loading during the loading of the af: table (through the ExecuteWithParams method call)?

    Hallo,

    in the fragment of my page, I created an af:table you drag an instance of VO for the data control; I also have a search button by dragging the operation ExecuteWithParams of the same instance of VO.

    I double clicked on the serach button to create the searchButton_action method in the bean calling the ExecuteWithParams operation after you have made a few operations.

    Next to the button, I put a table whose source is a gif of "load".

    I would like to make visible the gif while research is underway and make it invisible when the search is complete.


    In the beginning, I followed this approach.

    In the searchButton_action, I wrote the code to set the visible of the image property.

    But it did not work because the gif never appears. I also tried to set the property PartialTriggers of the image with the ID of the button table and search.

      public String searchButton_action() {
        RichActiveImage imgSearch = (RichActiveImage) FacesUtils.findComponent("ImgSearch");
        imgSearch.setVisible(true);
        AdfFacesContext.getCurrentInstance().addPartialTarget(imgSearch);
        // ...
        OperationBinding operationBinding = BindingsUtils.getBindings().getOperationBinding("MyVOInstanceExecuteWithParams");
        // ...
        imgSearch.setVisible(false);
        AdfFacesContext.getCurrentInstance().addPartialTarget(imgSearch);
        // ...
      }
    

    Then I tried with another approach which is to set the Visible property using the value off of the search button which is #{! links.} MyVOInstanceExecuteWithParams.enabled}

    But also, this approach has not worked.

    I also tried to set the property PartialTriggers of the image with the ID of the button table and search.

    What's not in my efforts? You could you kindly help me to solve the problem?

    Thank you

    Federico

    PS

    FacesUtils.findComponent is a method that retrieves the item passed as param. It works well since I used it several more times in my application.

    Your approach may not work add there is only a single thread of UI work. Your trigger reached the component when the execute with Péan has finished its work.

    For your use case there are a few solutions combining JavaScript and client-server events showing a window as long as the operation is running. Read https://blogs.oracle.com/groundside/entry/notification_during_long_running_transactions for all the info.

    Timo

  • Oracle ADF: Problem with display with component LOV selectManyChoice/CheckBox values

    Hi all

    I use Oracle JDeveloper 11.1.1.7. I want to use the selectManyChoice component in my requirement. When you use the same thing, I have observed that selectMany components as a component of selectManyChoice/selectManyCheckBox are not filling LOV VO values in drop-down list. Instead it displays the value VO destination attribute values.

    For example,.

    I have EmpVO and DeptVO. Now, I want to join LOV "DepartmentId" attribute of EmpVO using DeptVO as sourceVO. After this operation, if I drag and attribute DepartmentId of Drop EmpVO as consisting of selectOneChoice , when running, we will be able to see DepartmentName from drop down list I chose DepartmentName as attribute and departmentId as ListAttribute in LOV.

    To create the SelectManyChoice link, if I drag and drop the EmpVO instance to the page, we can find SelectManyChoice option under the "Multiple Sélection" option. As soon as the SelectManyChoice option, we will be able to see the window of EditListingBinding as shown below where we are asked to map baseAttr and displayattribute for this component. This means that he has not considered LOV which we show you. To view Department name in the drop-down list, we can select departmentVO instance 'Source database', while in the Base and display attribute we can map the DepartmentId and departmentName. By doing this, we can achieve my schenario for display in the menu dropdown. The problem is that this element of will will bind with DepartmentVOIterator and no matter what I select component selectMany, I take and wherever I need to set the value on the target attribute programmatically.

    ListBinding.png

    Is there a declarative way to display the selectMany component that uses LOV as a source in the view of value in drop-down list? Please suggest.

    Thanks in advance.

    Praveen.

    Hi William,.

    Thank you for your response. one who shared is related to the display of values such as MultiSelect component. But my requirement is to have combination of InputText and SelectManyChoice so that the user will have two entry key in place. So whenever we enter the code value in InputText, the corresponding value in the SelectManyChoice box should be checked [some]. This combination both annd InputText SelectManyChoice I need to create a component.

    I created the component as described below.

    I created DeclarativeComponent which is having an InputText and component SelectManyChoice. Component of SelectManyChoice I'm filling ViewObject value programmatically. On the selection of any value in the drop-down list SelectManyChoice value changeListener I get selected value and conversion Stringg and affecting InputText to show the selected value. Also in reverse ie. case, whenever I enter the correct value in the InputText, valueChangeEvent, I am taking and convert these values to the list and setting the value property of SelectManyChoice in order to make the selection.

    And to make this component as a single component, I used contentStyle = ' width: 0px "to hide the box InputText of SelectManyChoice as shown below.

    Thank you, regards,

    Praveen.

  • [ADF, JDev12.1.3] Mastering the form with detail tables: questions about Insertion/deletion, commit / rollback, primary key, handling,...

    Hallo,

    I have a panelTabbed with 4 tabs. In the 1st tab, there is a master form while each of the other tabs, there is a secondary table. Each tab "reads" vo.

    Please see here http://digilander.libero.it/flattit82/OTN_FILES/VoInTabs.png

    I created the graphichs/layout and now it's time to take care of the management of the transaction.

    In the master tab / form

    1)

    Here, I would put a button to remove the master record.

    When I delete a record in the primary table an automatism in the database (MS SQL Server) will automatically delete any registration which are linked to it in the detail tables.

    Could the automated system as this causes problems?

    In the Details tabs / tables

    2)

    I would put a button in each row to delete the line delivering. Can I just drag-and - drop, like button, af line: table the operation "Delete" of the VO istance detail used to create the af: table?

    3)

    If Yes, by clicking on the button performs the default delete operation. But if need to perform some actions before you run the deletion (or, in General, any other operation), how can I do?

    4)

    To create a folder that I use Create or CreateInsert? And what are the differences between them?

    5)

    When I create a new record I need set the value of a field of the VO on which is based the af: table. He filed, let's call it RowDetNumber, is not displayed in the af: table, because it doesn't have be filled in by the user. Mut value is calculated and set "secretly" before posting the new line to the database table. In particular, its value must be calculated as

    Select max (RowDetNumber) + 1

    of table_on_which_VO_is_based

    where some_conditions_on_fields_of_the_same_VO


    For example

    The VO selects all of the records that have FkId =: value. If value = 3, VO selection records:

    ID RowDetNumber OtherFields FkId

    1   3     1             ...

    2   3     2             ...

    3   3     3             ...

    4   3     4             ...

    The new record must be RowDetNumber = 5.

    I would like to know how permorm this.

    In general

    6)

    If the database tables have 1 or more triggers I have to take care of something?

    7)

    On the book "development of Web Applications with Oracle ADF Essentials - Sten E. Vesterli", I have read it could be problems when you use tables of database non-Oracle with auto-increment fields.

    The advice of author uncheck the 'Required' box in the model.

    All tables in my database have a primary keys that are auto-increment... so I uncheck the "mandatory"?

    8)

    In general how do I set these fields? I have to put in OT, VO or both?

    Thank you

    Federico

    Hello

    (1) you will need to re - question child iterators so that they do not look stale data

    (2) Yes. Ensure that the table is PPRed after deleting the line (should happen automatically if ChangeEventPolicy on iterator is set to ppr)

    (3) double click on the button and it creates a bean managed for you. It allows you to check a box to generate the code he would run to remove the line. Everything you put in front of the generated code is your code before

    (4) in the case of tables, use createInsert as it adds the new line to the rowset (transaction)

    (5) suggest to do this use a database trigger and the data attribute value DBSequence VO type

    (6) do not 'drop table' issue in SQL (sorry, couldn't resist ;-))

    (7) If you follow the advice of the author, Yes. What it does, I have it does not throw an exception if a value is missing in the validation of the line

    (8) usually you set whatever it is at the level of the OS and put only things on VO if you want to override the default value for a specific behavior


    Frank

  • [ADF, JDev12.1.3] How to get the column headers, request of VO and VO bind vars used by an af:table?

    Hallo,

    I want to create a method that takes as a parameter the id of an af:table (used to display the search results) and returns:

    • the column headings of the af: table
    • Visible property (true/false) of the columns af:table
    • the actual query of the VO instance used to create the af: table
    • the values of real bind variables passed to the query of the instance of VO

    I would like to create a servlet which takes the parameters reruns the query and returns a report Excel/PDF file that contains exactly the same columns and same of the af records: table.

    I'm a little confused on who use the code to achieve this... you kindly help me?

    I did a similar qustion here Re: [ADF, JDev12.1.3] how to export an af:table to Excel in an ADF Essentials application? but then I guessed that it was preferable to create a new thread.

    Thank you

    Federico

    For this, you can use this type of code

    Context LocaleContext = _adfTableBinding.getLocaleContext ();

    for (attr AttributeDef: attributeDef) {}

    Label As String = attr.getUIHelper () .getLabel (context);

    _logger.info ("Attritbute name:" + attr.getName () + "column name:" + attr.getColumnName () + "Col4Query name:" + attr.getColumnNameForQuery () +)

    "Name:"+ label);

    }

    which produces this output

    Timo

  • [ADF, JDev12.1.3] Session time-out: is it possible to perform a rederict to a URL to be composed on the basis of a model session ARVS?

    Hallo,

    using this tutorial Fortune Minds - Oracle ADF: how to redirect to a custom page each time the session of delay in the application of the ADF? I implemented a simple redirect when the session expires.

    The real URL 'redirect' should be composed according to the value stored in a var to a managed bean sessionScope, but the problem it is that... the afterPhase listener is run after the session has already expired.

    Could you kindly advice me a wokaround or a different approach to achieve this goal?

    Thank you

    Federico

    Cannot use a variable of bean in any scope as the info is gone. You can store the information in a cookie and read the form here.

    Or you use a different method like adventures of the man of Oracle ADF: heroic alternatives to avoid the annoying Popups SessionTimout ADF

    Timo

  • [ADF, JDev12.1.3] Plating of workflow that can function as 'serch &amp; open' and 'create '? How to build?

    Hallo,

    in a stubborn workflow, I have a fragment of Details as you can see here...

    And it is the working group...

    Then dynamic region is contained within the page that has a menu.

    Each menu item has action = "#{viewScope.mainDynamicRegion.startBoundedTaskFlowX}". "

    The bean maniDynamicRegion I have a lot of functions, each for each menu item, like this:

    public String startBoundedTaskFlowX() {}

    taskFlowId = "/WEB-INF/btf-X.xml#btf-X";

    Returns a null value.

    }

    End of details

    I would like to have 2 menu items for the btf above: one as 'research and details open' and onoter like 'create new details '.

    When I click on "search...". "a search form should appear, the user selects a folder, then click on 'Open' and finally appears my fragment 'details' showing the desired folder.

    Of course I have now that I'll have to add a new snippet to search for the folder desired to open

    When I click "create...". "my fragment displays the master desired folder should appear. Af: form in the 1st tab must be ready to be filled.

    You kindly could help me to complete the stubborn workflow? What components do I use?

    How can I let know the stubborn workflow what mode should work (research & open or create)?

    Is there something in particular, I have to take care of?

    Thank you very much

    Federico

    Hi Federico

    You can do this by using a BTF or two

    So, using only a BTF you can do the following:

    1. create an inputPram in your BTF who receives a value if the application is called from the search menu or create (set its value to S (Search) and C (Create))

    2 use a router to check if BTF is called from the search menu, then he should go to the search page

    3. and if it is called in Menu create then they should goto createPage drirectly and in the range of the router and createPage createInsert (for the first tab) operating as a method in taskFlow, so it will show a folder created in the first tab

    See -task using flow router in Oracle ADF - YouTube activity

    Thank you

  • [ADF, JDev12.1.3] Fragment with a lot of buttons that call "search &amp; fill" pop-up window them pop up. How...?

    Hallo,

    I need to create a page fragment with a form in which there are a lot of areas that need to be filled in this way:

    (1) the user clicks on the button next to the inputText

    (2) a pop up window will appear: it contains a panel with table request form

    (3) the search for the user and select the desired folder

    (4) when he clicks on the OK button in the pop window, the value of a column from the selected record should be used to fill the inputText

    This simple image should help understand my purpose http://digilander.libero.it/flattit82/OTN_FILES/searchNFillButton.png

    How can I achieve this?

    The form in the page fragment will contain much inputTexts with "search & fill" button so the page fragment will use many different windows pop up (a pop-up specific for each inputText).

    Thank you

    Federico

    Looks like a list of input values to me. Check out my blog JDeveloper 11.1.1.6.0: af:inputText with self made look-up, is not using LOV | Goodies JDev ADF & which shows the list of input values and a self made one.

    Timo

Maybe you are looking for