How to use two view Accessor's in a List of Values

Hi
I have one Transient VO , dragged on to .jsff page. One of the attribute of the transient VO has list of values.
I have two View Accesors, First View Accesor consists of only ID's and Second View Accesor consists of Description value associated to each ID in the first View Accesor, Now I have to use these both View Accesor in such a way , Values are from First View Accesor and Description is from the second View Accesor as a drop down on my jsff page.
The source for these both View Accesors are different. There is no relation ship between the two View Accesors. Is it possible to have these two View Accesors to a single drop down list ?

Hi..
yes ..on the same line i was getting ERROR.I got it resolved by rebinding it to the perticular column again.below is my code..
<af:inputListOfValues id="valueId"
popupTitle="Search and Select: #{bindings.Value.hints.label}"
value="#{bindings.Value.inputValue}"
model="#{bindings.Value.listOfValuesModel}"
required="#{bindings.Value.hints.mandatory}"
columns="#{bindings.Value.hints.displayWidth}"
shortDesc="#{bindings.Value.hints.tooltip}"
label="#{bindings.Value.hints.label}"
inlineStyle="size:small;">
<f:validator binding="#{bindings.Value.validator}"/>
But i had to edit the value and validator parameter to make it row binding as shown below.I dont understand even after i bind the perticular datacontrol to the ADF table..it was still showing as
value="#{bindings.Value.inputValue} not as value="#{row.bindings.Value.inputValue},because of this it was not able to function properly..
<af:inputListOfValues id="valueId"
popupTitle="Search and Select: #{bindings.Value.hints.label}"
value="#{row.bindings.Value.inputValue}" model="#{bindings.Value.listOfValuesModel}"
required="#{bindings.Value.hints.mandatory}"
columns="#{bindings.Value.hints.displayWidth}"
shortDesc="#{bindings.Value.hints.tooltip}"
label="#{bindings.Value.hints.label}"
inlineStyle="size:small;">
<f:validator binding="#{row.bindings.Value.validator}"/>
~Harish
Edited by: 886523 on Sep 28, 2011 2:52 AM

Similar Messages

  • How to compare two views/tabels from two systems via RFC

    Hello
    How to compare two views/tabels from two systems via RFC. I know there is a transactio or program but which

    Hi Tina,
    You can use a trnasactions like SCMP, SADJ or SCU0 - all tools to do comparison of customizing objects across clients/systems using RFC.
    Details of these tools, their usage and functionalities are available in the Help Portal -
    [http://help.sap.com/saphelp_47x200/helpdata/en/70/1accb7fab511d18e0f0000e8a48612/frameset.htm]
    Best Regards,
    Rekha

  • How to use Two main windows with in a page in script ?

    Hi any body explain me...
    How to use Two main windows with in a page in script ?
    with  header data in one main window,
    & Item data in other main window.

    HI..,
    u need to go for <b>SPLITTING THE MAIN WINDOW</b> !!!
    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
    Here is the procedure !!
    -->Create a page window and assign it to a page.
    Choose <b>Edit --> Main windows</b>.
    A dialog box appears.
    -->Enter values in the fields <b>Area width</b> and A<b>rea height</b> in accordance with the input guidelines for main windows.
    -->Enter values in the fields <b>Spacing</b> and Number in the <b>Horizontal group</b> if you want to use multiple columns. You can ignore the fields in the Vertical group.
    Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the <b>Horizontal and Vertical groups</b>.
    -->The value in the field Left margin varies from main window to main window if multiple columns are used. The following applies:
    <b>
    Left margin of current column + Window width + Horizontal spacing = Left margin of next column</b>
    In label printing, the field Upper margin also varies from main window to main window:
    <b>
      Upper margin of current main window +  Window height + Vertical spacing = Upper margin of next main window</b>
    -->Enter a value in the field Start position.
    This is a counter. Enter a starting value which is equal to or greater than 1.
    -->The main windows are added to the list.
    -->Save your form.
    reward if it helps u...
    sai ramesh

  • How to use two split this method in my code

    How to use two split this method in my code
    if i got one string line which like this
    ("aa!bb!cc~ab!bc!cd") a
    nd want to use two split to spare ! and ~ this seal for my spare point how that output
    has come diff ?
    public static void main(String[] args) {
        String str = "aa!bb!cc~ab!bc!cd";
        String strs[]= str.split("~");
        String strE[]= str.split("!");
        int count =0;
        for(int j=0; j < strs.length; j++){
          for (int i = 0; i < strE.length; i++){   
              System.out.println(count + " " + strE);
    count++;
    the output how can it be like this
    0 aa
    0 bb
    0 cc
    1 ab
    1 bc
    1 cd

    Move your second slit inside the first loop, so you are splitting the substring, not the entire string.

  • How to Use Transient View Objects to Store Session-level Global Variables

    hi
    Please consider section "40.8.5 How to Use Transient View Objects to Store Session-level Global Variables"
    at http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcstatemgmt.htm#ADFFD19610
    Based on this documentation I created the example application
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.01.zip
    It behaves as show in the screencast at http://screencast.com/t/qDvSQCgpvYdd
    Its Application Module has a Transient View Object instance "MyEmployeesContextVOVI", as master for the child View Object instance "EmpInCtxJobVI".
    On rollback the Transient View Object instance keeps its row and attribute values.
    Also when passivation and activation is forced (using jbo.ampool.doampooling=false ) the Transient View Object instance seems to keep its row and attribute values.
    questions:
    - (q1) Why does the expression #{bindings.MyEmployeesContextVOVIIterator.dataControl.transactionDirty} evaluate as true when a Transient View Object instance attribute value is changed (as shown in screencast at http://screencast.com/t/qDvSQCgpvYdd )?
    - (q2) What would be a robust approach to make a Transient View Object instance more self-contained, and manage itself to have only one single row (per instance) at all times (and as such removing the dependency on the Application Module prepareSession() as documented in "5. Create an empty row in the view object when a new user begins using the application module.")?
    many thanks
    Jan Vervecken

    Thanks for your reply Frank.
    q1) Does sample 90 help ? http://blogs.oracle.com/smuenchadf/examples/
    Yes, the sample from Steve Muench does help, "90. Avoiding Dirtying the ADF Model Transaction When Transient Attributes are Set [10.1.3] "
    at http://blogs.oracle.com/smuenchadf/examples/#90
    It does point out a difference in marking transactions dirty by different layers of the framework, "... When any attribute's value is changed through an ADFM binding, the ADFM-layer transaction is marked as dirty. ...".
    This can be illustrate with a small change in the example application
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.02.zip
    It now shows the result of both these expressions on the page ...
    #{bindings.MyEmployeesContextVOVIIterator.dataControl.transactionDirty}
    #{bindings.MyEmployeesContextVOVIIterator.dataControl.dataProvider.transaction.dirty}... where one can be true and the other false respectively.
    See also the screencast at http://screencast.com/t/k8vgNqdKgD
    Similar to the sample from Steve Muench, another modification to the example application introduces MyCustomADFBCDataControl
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.03.zip
    public class MyCustomADFBCDataControl
      extends JUApplication
      @Override
      public void setTransactionModified()
        ApplicationModule vApplicationModule = (ApplicationModule)getDataProvider();
        Transaction vTransaction = vApplicationModule.getTransaction();
        if (vTransaction.isDirty())
          super.setTransactionModified();
    }Resulting in what seems to be more consistent/expected transaction (dirty) information,
    see also the screencast at http://screencast.com/t/756yCs1L1
    Any feedback on why the ADF Model layer is so eager to mark a transaction dirty is always welcome.
    Currently, question (q2) remains.
    regards
    Jan

  • How to use two dimensional array in custom.pll

    HI
    How to use two dimensional arrays in custom.pll
    I tried by the following way .
    type ship_array is table of number index by binary_integer;
    type vc_array is table of ship_array index by binary_integer;
    But I am getting the error as that
    A plsql table may not contain a table or a record with composite fields.
    Please tell me the way how to use them

    which forms version are you using? two dimensional arrays are available in >= 9i if memory serves.
    regards

  • How to use same view as editable and read only in ADF

    Hi,
    how to use same view as editable and read only in ADF ?? How can we achieve this in TF's ???
    -mrudul

    Hi,
    Steven Davelaar wrote a presentation about this "Building Highly Reusable Taskflows"
    Starting slide 14 is where your use case comes into play
    Frank

  • How to use Database views in XI

    Hi Folks,
    Any idea about how to use Database views for sending and receiving messages in XI ?
    Regards,

    Farooq,
    My doubt is do i have work in the same fashion as if i am working on a Database Table...?
    For Ex :
    Creating Source and Target Data structure for JDBC adapter in the same format....etc
    Regards.

  • How to use two tasks in Workflow

    Hi Everybody !
    Can Any one tell me, How to use two tasks in one activity step type of  Workflow CRM?
    My requirement is... I have to execute two tasks in single activity step in Workflow. Is it possible.if it is possible tell me the flow Please.
    Thanks in advance.
    Raghava Vakada.

    You can define one as a "Before" or "After" method if that is usable for you. (defined in tab Methods for Activity steps)
    Otherwise there is also the step flag "Advance with dialog" (tab Details on Activity steps, but the tab it is found on depends on your version) which allows one user to seamlessly execute two consecutive tasks.
    So depending on your real need there may be several options available. If all that is needed is that the same user can execute the two tasks then Advance with Dialog is perhaps the best choice. If the user then cancels execution of the second activity the work item is available for execution. If you define an After method and the user cancels execution the work item has still been completed since its (main) method has been completed.

  • How to use two accounts in ichat?

    How to use two accounts in ichat? Is it possible?
    Currently I am using an account of Gmail but I want to add another account [email protected] (it is also an account of Gmail).

    You can define one as a "Before" or "After" method if that is usable for you. (defined in tab Methods for Activity steps)
    Otherwise there is also the step flag "Advance with dialog" (tab Details on Activity steps, but the tab it is found on depends on your version) which allows one user to seamlessly execute two consecutive tasks.
    So depending on your real need there may be several options available. If all that is needed is that the same user can execute the two tasks then Advance with Dialog is perhaps the best choice. If the user then cancels execution of the second activity the work item is available for execution. If you define an After method and the user cancels execution the work item has still been completed since its (main) method has been completed.

  • How to call a procdure that will return me list of values(JSF,ADF BC)

    hi all,
    any one can help me how to call a procedure that will return me list of value with using adf and jsf

    I did this with a LoginModule that returned a list of user roles. Below is the Java call
    stmt = conn.prepareCall(authquery);
            stmt.registerOutParameter(1, OracleTypes.CURSOR);
            stmt.setString(2,username);
            stmt.setString(3,new String(password));
            // realm is null if not set
            stmt.setString(4,_application_realm);
            stmt.execute();
            rolesResultSet = (ResultSet)stmt.getObject(1); 
            stmt.close();authquery is the name of a procedure that returned a ref Cursor
    CREATE OR REPLACE PACKAGE "DBPROCLM" IS
      TYPE principal_ref IS REF CURSOR;
      function get_user_authentication(p_username in varchar2, p_password in varchar2, p_realm varchar2) return principal_ref;
    END;
    CREATE OR REPLACE PACKAGE BODY "DBPROCLM" IS
      FUNCTION get_user_authentication (p_username in varchar2, p_password in varchar2, p_realm varchar2)
      RETURN principal_ref
      AS
        var_username varchar2(100);
        var_userid number(10);
        var_password varchar2(100);
        role_cursor principal_ref;
        FAILED_AUTHENTICATION exception;
      BEGIN
        select userid, username, password into var_userid, var_username, var_password from sec_users where username = p_username;
        if (var_password = p_password) then
          begin
            if (p_realm is null) then
              open role_cursor for
                select rolename from user_roles_view where userid = var_userid;
            else
              open role_cursor for
                select rolename from user_roles_view where userid = var_userid and realm=p_realm;
            end if; -- p_realm check
          end;
          -- if password doesn't match, raise Excpetion for LM to
          -- abort the authentication process
        else raise FAILED_AUTHENTICATION;
        end if;
        RETURN role_cursor;
      END get_user_authentication;
    END;You only ned to expose the call to teh procedure in a method (e.g. on ADF BC Application Module) and create a method binding for it.
    Frank

  • How to use two BAPIs in webdynpro Applicaiton?

    Hi All,
    I'm developing one webdynpro application which is using BAPI_FLIGHT_GETLIST for gettting list of flights and then using an other bapi BAPI_FLIGHT_GETDETAIL for getting details of particular flight which is selected from getlist bapi.
    how can use these two BAPI in single application? How to get the flight details after selecting the one row in getlist view?
    please provide me the procedure.
    Regards
    Srikanth

    hi
    First create two models Bapi_flight_getlist, Bapi_flight_getDetails.
    Add these models in your component.
    Do the model binding on Component Controller.
    Comp.Controller>apply template>servicecontroller>flightlist>choose
    Airlineid
    Maxrows
    Expand Output node.
    select Flight_List node.
    ServiceController will automatically generate the method,choose ok.
    Repeat the same for second bapi also.
    choose
    Airlineid
    Connectionid
    Flightdate
    and select Flightdata
    (you can find it by expanding output node).
    after completion of all these steps u will have Getdetilas and getlist bapi details in comp.Controller.
    To avoid overloading in selecting particular node specify different name for node.(eg:output-->output1)
    Contextmapping.
    you do the contextmapping between Comp.Controller and view by choosing appropriate details from comp.controller.
    now you will have GetDetail and GetList nodes data.
    do the view binding.
    Apply template-->select Airlineid
    Maxrows from getlist node.
    again do the
    Apply template-->select Flightdata from getdetailnode.
    onleadselect of table you call the execute methods from comp.controller generated by service Controller.
    Layouttab>table>properties-->onleadselect Event
    create action for it.
    in onleadselect<actionname>
    wdThis.wdGetFirstCompController().executeBapi_Flight_Getdetail_Input();
    wdThis.wdGetFirstCompController().executeBapi_Flight_Getlistl_Input();
    in the output Getlist table will be displayed.
    by clicking on table row,onLeadselectaction will be called.
    you will get the flightdetails.
    i hope this will solve your problem.
    Regards
    sowmya

  • How to use two types of fonts in a richtextdocument

    hello,
           i want to print a barcode and some text into  a richtextdocument
    example:
    this.richTextBox1.AppendText("\n");
    Font f1 = new Font("3 of 9 Barcode", 50);
    this.richTextBox1.Font = f1;
    this.richTextBox1.AppendText("*1234554*");
    Font f2 = new Font("Arial", 20);
    this.richTextBox1.Font = f2;
    this.richTextBox1.AppendText("fooo");
    but it always uses the second one?
    how can i resolve this?
    i want to use two types of fonts in the same rich text document.
    thank you very much!!

    Select some text and then set the SelectionFont property for each selection, e.g.:
    this.richTextBox1.AppendText("\n");
    this.richTextBox1.AppendText("*1234554*");
    richTextBox1.SelectionStart = 1;
    richTextBox1.SelectionLength = 9; //End of first word
    richTextBox1.SelectionFont = new System.Drawing.Font("Tahoma", 10);
    this.richTextBox1.AppendText("fooo");
    richTextBox1.SelectionStart = 10;
    richTextBox1.SelectionLength = 4;
    richTextBox1.SelectionFont = new System.Drawing.Font("Arial", 20);
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

  • How to use two different network cards on RT?

    Hi everyone... I'm currently working on a project where I have to deal with the issue mentioned in the thread's topic: I have a PC with RT LabVIEW that has to be able to establish network connections using two different network cards. One will be used to connect via TCP/IP with a host computer that will show the data transmitted through shared variables; the other will communicate with another PC through Modbus protocol. The key is that each communication is done through a separate network card.
    So far I haven't been able to figure out how to configure both things to happen. Does anyone know how to do this? Any tips will help.
    For the RT communication I'm using a standard RT project, with the RT PC being given one of the IPs, and for the Modbus part, I created an I/O server with a master and a slave. Separately everything works fine, but when I get them together it simply won't work.
    Thanks for your help!
    Solved!
    Go to Solution.

    Sorry it took me so long to answer, I've been busy lately....I've found a solution to the problem I mentioned, and just in case anyone has similar problems in the future, I'll shortly describe what happened.
    As Caseyw suggested, it was necessary to enable both network cards through the Measurement and Automation Explorer. The cause of the connections malfunction was actually that I wasn't using the "right" protocol for the Modbus communication, which ran on the secondary adapter. The solution was to use the URL protocol with the correct path on the field, addressing the right IP address. To avoid making this post a mixture of topics, I won't elaborate futher, but I got the gist of it, so if anyone is having similar problems whether it is working with several network cards or with Modbus communication protocols, feel free to contact me, I'll be glad to help.
    Thanks

  • How to use two different versions of Firefox at the same time on Snow Leopard?

    I recently upgraded to Firefox 4.0 on my 27" iMac running Snow Leopard 10.6.7.
    Previously, I was using Google's "Page Speed" along with Firebug in Firefox 3.6.15 to optimize images in my web pages, and to find other areas to optimize.
    Page Speed is not yet compatible with Firefox 4.0. I wrote to Google about this some time ago -- no answer yet.
    If I run Firefox 3.6.15 in order to use Page Speed, I run into a few problems afterward when I start using Firefox 4.0 again, since they both use the same "Firefox" folder in my "Application Support" folder.
    How can I set it up so that I can have two separate "Firefox" folders in my "Application Support" folder?
    Or is there an easier way to use two different versions of Firefox simultaneously, even if one has extensions and/or plug-ins installed which are not compatible with the other version?
    Thanks for a great browser!

    Please disregard my question. I just conducted more web search and learned how to use Firefox's profile manager in order to make a separate profile for Firefox 3.6.15.
    You can find instructions on this page:
    http://support.mozilla.com/en-US/kb/Managing%20profiles#os=mac&browser=fx35
    '''A small tip:'''
    If your Firefox app is named anything other than "Firefox" -- say for example "Firefox 3.6.15" -- when you follow the instructions at the above link, make sure you escape the blank space that is before the version number by adding a backward slash before it, when you type the command string in the Terminal. In other words, in that string, you should use this:
    Firefox\ 3.6.15
    I hope that helps someone.
    WW

Maybe you are looking for

  • CS2 pretends to load on XP-Mode in W7Pro but nothing there

    We run CS4 on a Win 7 Pro 64 bit PC, and everything is fine for our contemporary work. However, we have a few older books written using ID-CS2 and from time to time, they need simple changes that should take about 30 seconds to do, and then export as

  • Error whil adding Header to the ALV grid using OO

    Hi Guys,              I want to display the Header for the ALV grid using Splitter . when i am doing like that .I am getting  a screen on the top of that screen I am getting a EMPTY screen .I don't know why likat. What i need is just to display a Gri

  • MacBook Crash and Apple Support

    Not sure if anyone else has had this experience. First, I am a brand new Mac user. Bought the new MacBook Pro i7 with 8GB of RAM as a switch from my PC laptops. Any other big crashes out there? Just wondering if there is a systemic hardware issue? I

  • How to deploy a JMF so it doesnt need any installation on the client?

    Hello Friends Im a working on media player applet and found out that it works fine on computers with the JMF installed, however I want to make it available so there is no need for anyone to download any extra packages. Using Netbeans 6 and thought in

  • PFD's and word docs sending as zipped, how to stop this?

    When I email docs to that were created in pages and then exported and saved as PDF's or word docs, the recipient gets them zipped and can't open them.  I have 'windows friendly docs' enabled.  Can anybody explain this please?