How to read values of dynamic UI elements in a backing bean?

Hi, I have an ADF page where some of the UI elements (in this case, checkboxes) are dynamically rendered as such:
<af:forEach var="row" items="#{backing_testPage.userList}">
<af:selectBooleanCheckbox id="checkbox" value="#{row.id}"
text="#{row.name}" selected="#{row.userSelected}"/>
</af:forEach>
I am wondering how can I read the values of these checkboxes in my page's backing bean. It does not seem possible to specify a distinct binding value for the selectBooleanCheckbox elements in order to tie them to a CoreSelectBooleanCheckbox variable in my backing bean (so that I could check whether the checkbox is selected or not).
When the page gets rendered, I did see that the checkboxes get assigned distinct ids like checkbox_1, checkbox_2, checkbox_3, etc... Not sure if that would help with this.
Would appreciate any tips on this as I've been struggling with this for awhile. Thanks!

You probably would do better with a SelectManyCheckbox. Here's how:
In your backing bean you need:
private String[] usernames;
public String[] getUsernames () {
  return usernames;
public void setUsernames (String[] _usernames) {
  usernames = _usernames;
}In your page:
<af:selectManyCheckbox value="#{backing_testPage.usernames}">
  <f:selectItems value="#{backing_testPage.userList}"/>
</af:selectManyCheckbox>When the form is rendered any strings in the usernames array that are in the userList will be checked. When submitted, any checked items will be in the array.

Similar Messages

  • How to set values in a CoreTable programmatically from a backing bean

    Hi,
    One of the columns in my CoreTable is "af:inputText" field, I need to set the value of inputText field in each row from a backing bean.
    I have bound this table to a component in the bakcing bean and in the setMyCoreTable method I'm also preselecting certain rows. For all the preselected rows I need to set a value in the inputText field.
    Can someone point me to some code samples or give me some ideas to solve this.
    Thanks

    Thanks dvohra,
    I looked at the post you suggested yesterday, but I wasnt sure how I can implement that in my case.
    Since Im programatically preselecting certain rows in the setMyCoreTable method(which is the accessor method), I was hoping I could prepopulate the input text field as well in the same method.
    For your reference below is the code from jspx and the backing bean.
    <af:table value="#{bindings.ProgramComponentList.collectionModel}"
    var="row"
    rows="#{bindings.ProgramComponentList.rangeSize}"
    first="#{bindings.ProgramComponentList.rangeStart}"
    emptyText="#{bindings.ProgramComponentList.viewable ? 'No rows yet.' : 'Access Denied.'}"
    selectionState="#{bindings.ProgramComponentList.collectionModel.selectedRow}"
    selectionListener="#{bindings.ProgramComponentList.collectionModel.makeCurrent}"
    binding="#{backing_EditProgramBean.compsTableComponent}">
    <af:column sortProperty="Name" sortable="true"
    headerText="#{bindings.ProgramComponentList.labels.Name}">
    <af:outputText value="#{row.Name}"/>
    </af:column>
    <af:column sortProperty="Description" sortable="true"
    headerText="#{bindings.ProgramComponentList.labels.Description}">
    <af:inputText value="#{row.Description}" simple="true"
    required="true"
    columns="30"/>
    </af:column>
    <f:facet name="selection">
    <af:tableSelectMany id="tableSelectMany1"/>
    </f:facet>
    </af:table>
    CODE FROM BACKING BEAN ---------
    public void setCompsTableComponent(CoreTable compsTableComp) {
    ManageProgramsServiceImpl serviceImpl =
    (ManageProgramsServiceImpl)JSFUtils.get("#{bindings.ProgramDetailIterator.dataControl.dataProvider}");
    ViewObject searchProgramView = serviceImpl.findViewObject("SearchProgramView");
    Row currProgram = searchProgramView.getCurrentRow();
    ViewObject view = serviceImpl.findViewObject("ProgramComponents");
    view.setWhereClause("ProgramsComponents.PROGRAM_ID = " + currProgram.getAttribute("ProgramId"));
    view.executeQuery();
    view.setRangeSize(view.getRowCount());
    view.executeQuery();
    Row[] programComponents = view.getAllRowsInRange();
    RowKeySet rks = new RowKeySet();
    ViewObject compTypesView = serviceImpl.findViewObject("ProgramComponentList");
    compTypesView.setRangeSize(compTypesView.getRowCount());
    compTypesView.executeQuery();
    Row[] compTypes = compTypesView.getAllRowsInRange();
    for (int i = 0; i < compTypes.length; i++) {
    String code = compTypes.getAttribute("Code").toString();
    for(int j=0; j<programComponents.length; j++){
    String programCode = programComponents[j].getAttribute("ComponentType").toString();
    if(programCode.equalsIgnoreCase(code)){
    rks.getKeySet().add(compTypes[i].getKey());
    compsTableComp.setSelectionState(rks);
    List li = compsTableComp.getChildren();
    System.out.println("****** li : " + li.size());
    //System.out.println("****** row count : " + compsTableComp.getRowCount());
    //System.out.println("****** count : " + compsTableComp.getRows());
    this.compsTableComponent = compsTableComp;
    The table children size(li.size()) comes up as zero and [compsTableComp.getRowCount()] gives an exception. Can you please provide any help. Seems like Im off track with this whole thing.
    Thanks

  • How to read values from DMM4040

    Hi,
       I am using DMM4040, NI PXI 6509 device.
    I need to make some port pins high which i have already done and now i have to read value captured by DMM then i have to make my port pins low if my value is within limits.
    Can u suggest me how to read values from DMM and then by notification i ll make my port pins low.
    '' A professional is someone who can do his best work when he doesn't feel like it''...........

    What language are you using?  If using LabVIEW, you use the NI-DMM API to communicate with the 4040.  Just take your reading, do your limit comparison, and set your lines based on the comparison results.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can I receive the value of a selected item in the backing bean

    I have a table in a jspx file.
    When I go to the detail page I want to do something with the value of the currentrow.
    I want do a calculaction of the value of ClbId.
    How can I receive the value of the selected ClbId in my backing bean
    <af:table value="#{bindings.Searchteamlist.collectionModel}"
    var="row" rows="#{bindings.Searchteamlist.rangeSize}"
    first="#{bindings.Searchteamlist.rangeStart}"
    emptyText="#{bindings.Searchteamlist.viewable ? 'No rows yet.' : 'Access Denied.'}"
    selectionState="#{bindings.Searchteamlist.collectionModel.selectedRow}"
    selectionListener="#{bindings.Searchteamlist.collectionModel.makeCurrent}"
    rendered="#{backing_FirstFlag_Club_Club.searchFirstTimeClub_Club_AdresAndereClubs == false}">
    <af:column sortProperty="Matricule" sortable="true"
    headerText="#{bindings.Searchteamlist.labels.Matricule}">
    <af:outputText value="#{row.Matricule}"/>
    </af:column>
    <af:column sortProperty="ClbId" sortable="true"
    headerText="#{bindings.Searchteamlist.labels.ClbId}">
    <af:outputText value="#{row.ClbId}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.Searchteamlist.formats.ClbId}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="Nom" sortable="true"
    headerText="#{bindings.Searchteamlist.labels.Nom}">
    <af:outputText value="#{row.Nom}"/>
    </af:column>
    <f:facet name="selection">
    <af:tableSelectOne text="Select and">
    <af:commandButton text="Submit"
    action="club_AdresAndereClubsDetail">
    <af:setActionListener from="#{row}"
    to="#{processScope.row}"/>
    </af:commandButton>
    </af:tableSelectOne>
    </f:facet>
    </af:table>

    hi tde
    Using an Expression Language helper class like this one from Steve Muench ...
    http://radio.weblogs.com/0118231/stories/2006/12/18/sourceForMyFavoriteElHelperClass.html
    ... you could write something like this in your backing bean:
    Integer vClbId = (Integer)EL.get("#{row.ClbId}");(Make sure to cast it to the correct type.)
    success
    Jan Vervecken

  • Accessing a JSF element from a back bean method

    Hi,
    short question, can I access the JSF element from a back bean method?
    So, for example, if I have the following JSF code:
    <h:panelGroup id="test1" rendered="#{bean.someMethod}">...</h:panelGroup>
    <h:panelGroup id="test2" rendered="#{bean.someMethod}">...</h:panelGroup>
    <h:panelGroup id="test3" rendered="#{bean.someMethod}">...</h:panelGroup>
    Can I found out in some way, which element (esp. which ID) calls the someMethod-method?
    Kind regards
    Matthias

    There are more possibilities as well. If you depend it on for example the User's rights/groups, then you can also do for example:
    rendered="#{user.admin}" // getter = public boolean isAdmin()
    rendered="#{user.groupName == 'admin'}" // getter = public String getGroupName()
    rendered="#{user.groupId > 1}" // getter = public int getGroupId()
    rendered="#{fn:contains(user.groups, 'admin')}" // getter = public String[] getGroups() or public List<String> getGroups()
    etc..I think it's after all just a matter of learning about the capabilities of EL a bit more.

  • How to read value of OVS Input field on pressinf of F4

    In my case I have to read value from context node as I am skipping the phase 1 of  on OVS PHASE MODEL
    but not sure how to read the value from context element
    METHOD on_ovs .
      DATA: lo_nd TYPE REF TO if_wd_context_node,
            lo_el TYPE REF TO if_wd_context_element,
            lo_el_parent TYPE REF TO if_wd_context_element.
      lo_el = wdevent->get_context_element( name = 'OVS_CONTEXT_ELEMENT' ).
      lo_el_parent = lo_el->get_node( )->get_parent_element( ).
      DATA: criteria TYPE string.
      DATA text TYPE string.
      lo_el->get_attribute( EXPORTING name = 'ATTR_TEXT' IMPORTING value = text ).
      DATA: ls_search_input  TYPE cl_grac_feeder_role_search=>lty_stru_input,
            lt_select_list   TYPE STANDARD TABLE OF cl_grac_feeder_role_search=>lty_stru_list,
            ls_text          TYPE wdr_name_value,
            lt_label_texts   TYPE wdr_name_value_list,
            lt_column_texts  TYPE wdr_name_value_list,
            lv_window_title  TYPE string,
            lv_table_header  TYPE string.
      FIELD-SYMBOLS: <ls_query_params> TYPE cl_grac_feeder_role_search=>lty_stru_input,
                     <ls_selection>    TYPE cl_grac_feeder_role_search=>lty_stru_list.
      CASE ovs_callback_object->phase_indicator.
        WHEN if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
      in this phase you have the possibility to define the texts,
      if you do not want to use the defaults (DDIC-texts)
         lt_label_texts =  wd_this->get_ovs_label_texts( criteria ).
         lt_column_texts = wd_this->get_ovs_column_texts( criteria ).
         lv_window_title = wd_this->get_ovs_window_title( criteria ).
         lv_table_header = wd_this->get_ovs_table_header( criteria ).
         lv_window_title = wd_assist->get_text( `003` ).
         lv_table_header = wd_assist->get_text( `004` ).
          CASE text.
            WHEN 'SYSTEM'.
              ls_text-name = `CONNECTORID`.
              ls_text-value = `System`.
              INSERT ls_text INTO TABLE lt_label_texts.
              lv_window_title = ls_text-value.
              lv_table_header = ls_text-value.
              lt_column_texts = lt_label_texts.
            when 'PERMISSION' .
              return.
            when 'ACTION'.
              RETURN.
          ENDCASE.
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    window_title = lv_window_title
                    table_header = lv_table_header ).
        WHEN if_wd_ovs=>co_phase_1.  "set search structure and defaults
      In this phase you can set the structure and default values
      of the search structure. If this phase is omitted, the search
      fields will not be displayed, but the selection table is
      displayed directly.
      Read values of the original context (not necessary, but you
      may set these as the defaults). A reference to the context
      element is available in the callback object.
         ovs_callback_object->context_element->get_static_attributes(
             IMPORTING static_attributes = ls_search_input ).
        pass the values to the OVS component
         ovs_callback_object->set_input_structure(
             input = ls_search_input ).
          CASE text.
            WHEN 'SYSTEM'.
          DATA: l_conn TYPE grac_s_grfncgrpconlk.
              ovs_callback_object->set_input_structure( EXPORTING input = l_conn ).
          ENDCASE.
        WHEN if_wd_ovs=>co_phase_2.
      If phase 1 is implemented, use the field input for the
      selection of the table.
      If phase 1 is omitted, use values from your own context.
         IF ovs_callback_object->query_parameters IS NOT BOUND.
    TODO exception handling
         ENDIF.
         ASSIGN ovs_callback_object->query_parameters->*
                                 TO <ls_query_params>.
         IF NOT <ls_query_params> IS ASSIGNED.
    TODO exception handling
         ENDIF.
        call business logic for a table of possible values
        lt_select_list = ???
         DATA: l_data TYPE grac_t_bproc.
         DATA: ls_data TYPE REF TO data.
         DATA: l_stru TYPE REF TO cl_abap_tabledescr.
         l_stru ?= cl_abap_tabledescr=>describe_by_name( 'GRAC_T_BPROC' ).
         CREATE DATA ls_data TYPE HANDLE l_stru.
         wd_this->get_ovs_selection_list( EXPORTING iv_criteria = criteria IMPORTING rt_list = l_data ).
         "ASSIGN l_data->* to <lt_list>.
         ovs_callback_object->set_output_table( output = l_data ).
          "ovs_callback_object->set_output_table( output = lt_select_list ).
          FIELD-SYMBOLS: <fs_query_params> TYPE cl_grac_feeder_role_search=>lty_stru_input1,
          <fs_selection>    TYPE cl_grac_feeder_role_search=>lty_stru_list.
          DATA lv_connector_grp TYPE grfn_connectorgrp.
          IF ovs_callback_object->query_parameters IS NOT BOUND.
    TODO exception handling
          ENDIF.
          ASSIGN ovs_callback_object->query_parameters->*
          TO <fs_query_params>.
          IF NOT <fs_query_params> IS ASSIGNED.
    TODO exception handling
          ELSE.
            lv_connector_grp =  <fs_query_params>-field1.
          ENDIF.
         IF lv_connector_grp IS INITIAL.
           lv_connector_grp = '*'.
         ENDIF.
          CASE text.
            WHEN 'SYSTEM'.
              DATA: lt_system_list TYPE grac_t_grfncgrpconlk.
              FIELD-SYMBOLS: <ls_system> LIKE LINE OF lt_system_list.
              cl_grfn_cci_ts_configuration=>get_group_connectors(
                EXPORTING
                  iv_connector_grp    = lv_connector_grp
                 iv_no_authority_chk = ABAP_FALSE
                IMPORTING
                  rt_connectors       = lt_system_list
              ovs_callback_object->set_output_table( output = lt_system_list ).
              WHEN 'ACTION'.
                data lt_action_output TYPE TABLE OF cl_grac_feeder_role_search=>t_action_list.
                ovs_callback_object->set_output_table( output = lt_action_output ).
              WHEN 'PERMISSION'.
                DATA: lt_perm TYPE TABLE OF cl_grac_feeder_role_search=>t_permission_list.
          ovs_callback_object->set_output_table( OUTPUT = lt_perm ).
          ENDCASE.
        WHEN if_wd_ovs=>co_phase_3.
          FIELD-SYMBOLS <system> TYPE grac_s_grfncgrpconlk.
          CASE text.
            WHEN 'SYSTEM'.
              ASSIGN ovs_callback_object->selection->* TO <system>.
              IF <system> IS ASSIGNED.
                ovs_callback_object->context_element->set_attribute(
                name  = 'INPUT1_SYSTEM'
                value = <system>-connector ).
                wd_this->mv_connectorid = <system>-connector.
              ENDIF.
          ENDCASE.
      ENDCASE.
    ENDMETHOD.

    Hi,
    It depends how you are setting your parameter also as there are different types of parameters in portal. The best is to use the page level parameters..
    Please read the developers gide Section 8.3 for more details....
    The link is :-
    http://download-east.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_pdk_plsql.htm#CHDGAHCF
    Guneet

  • How to read data from dynamic work area.

    Hi guys,
                I have created dynamic table and work area for report.
    i have populated few values in dynamic work area.
    Now i want to read that data from work area again for calculation.
    i can not use local varialbes to store those values as i dont know how many such variables i need to read.
    that will be known only at run time.
    So as per my knowledge i have only 1 option...to read those all values from work area.
    Kindly help me .... how can i read data which is stored in dynamic work area.

    Hi Kiran,
    Following is not exact code, but exact solution to your problem:
      LOOP AT <dyn_table> ASSIGNING <dyn_wa>.
          l_tabix = sy-tabix.
          ASSIGN COMPONENT 'KOTAB' OF STRUCTURE <dyn_wa> TO <l_kotab>.
          IF <l_kotab> IS ASSIGNED AND <l_kotab> IS INITIAL.
            <l_kotab> = gt_tabs-kotab.
            MODIFY <dyn_table> FROM <dyn_wa> INDEX l_tabix.
          ENDIF.
        ENDLOOP.
    I am hardcoding KOTAB as I was sure about that being in the dynamic structure.
    You can loop on the field catalogue, which you used to create dyamic table,  to use the FIELDNAME to read all the fields of the work area (structure) of your dynamic table.
    thanks,
    Aabhas
    Edited by: Aabhas K Vishnoi on Sep 24, 2009 8:12 PM

  • How to Change Value set Dynamically for a Parameter in Apps?

    Hi All,
    I have a requirement where i need to change the value set dynamically for a given Parameter. This goes as, I have a Concurrent Program with 4 parameters. First Parameter is mandatory Business group.Second Parameter is Warehouse. Based up on the First parameter the second parameters LoV's are displayed, the third and fourth parameters value sets are dependent up on the Second parameter value. Parameter 2,3,4 Value sets are Table type. So i Used .$FLEX$.Value_setname to retrive the LOV's
    The Requirment now is that if the User doesn't enter the Parameter 2 than the Third Parameter field must be Open and he must be able to enter the Free text. In my case it is an Order Number. If the User enters the paramter 2 value than LOV's for ORder number pertaining to that Warehouse must get displayed. I've figured that this can be possible only if i change the Valuesets Dyanamically. I'm not sure if that is possible or not.
    I have tried :
    Using a Dummy Parameter with a new valueset(Transactable Independent) and giving Y and N based up on Warehouse parameter input.
    SELECT (DECODE ( :$FLEX$.WAREHOUSE_NAMES,NULL,'Y','N')) from dual;
    The default type was SQL.
    Then in the 3rd Parameter i have used Case function to differentiate Y or N. The third parameter being ORder number, is a table type and derived from Oe_order_headers_all.
    In the Query section i tried using dummy parameter value set to retreive the values. I was terribly Unsuccessful in doing so.
    Does the above Case exists or is Doable? Please, Help me out if somone had worked on Similar thing or have any idea of standard report/program using it in Oracle.
    Thanks alot for the Help!

    You will probably have better luck on the eBusinesSuite forum. This is more of a setup issue when defining your LOV and program parameters than it is a SQL or PL/SQL issue.
    http://forums.oracle.com/forums/category.jspa?categoryID=3
    Good luck - this is an aggravating issue to work with and I wish I did have the answer for you!

  • How to assign values to Dynamic VO.

    Hi All,
    I have created a Dynamic VO and i have created 2 attributes(name and age) for it.
    Can i create this dynamic VO in Process form request of one of the CO class?
    Please let me know how to assign values to it......and display it and the page.?
    Thanks,
    Sowmya.

    Mukul
    I am trying to achieve something like below:
    Creating a Dynamic VO in my extended controller's ProcessRequest() method and attaching it to a MessageChoiceBean. In ProcessFormRequest() method based on some condition i have to change my Dynaic VO's whereClauseParam and re-execute it so that it will show some different set of values. Below is the code which i used. But after re-executing it my LOV is still showing old set of values. I have posted a query regd. the same but dint get much help. Kindly let me know, if you have any comments. Also Please find the link to my earlier post.
    Link: Re: Re-executed dynamic VO not showing new values
    * CODE *
    ProcessRequest()
    ViewObject vo = (ViewObject)am.createViewObjectFromQueryStmt("dummyVO","SELECT MEANING AS VALUE FROM HR_LOOKUPS WHERE LOOKUP_TYPE = :1");
    vo.setMaxFetchSize(-1);
    vo.setWhereClauseParam(0,"input1");
    vo.executeQuery();
    OAMessageChoiceBean mesBean=(OAMessageChoiceBean)webBean.findIndexedChild(webBean,"DemoChoiceItem");
    mesBean.setPickListCacheEnabled(false);
    mesBean.setPickListViewObjectDefinitionName("dummyVO ");
    mesBean.setPickListViewUsageName("dummyVO ");
    mesBean.setListDisplayAttribute("VALUE");
    mesBean.setListValueAttribute("VALUE");
    ProcessFormRequest()
    If the event is fired
    S.O.P(....);
    ViewObject vo1 = (ViewObject)am.findViewObject("dummyVO");
    vo1.clearCache();
    vo1.reset();
    vo1.setWhereClause(null);
    vo1.setWhereClauseParams(null);
    vo1.setWhereClauseParam(0,"input2");
    vo1.executeQuery();
    S.O.P(....);
    Thanks

  • How to read values from the following XML?

    I have been using "extractValue" to get the values from a xmltype field and no problems until now.
    The xmltype now is like:
    <a>1</a>
    <b>2</b>
    <c>1221</c>
    <c>1412</c>
    <d>11111</d>
    <e>3333</e>
    I'm able to read values from 'a,b,d,e' but not from 'c'.
    Questions:
    1)- Is posible to read the values of field c?. How?
    2)- If is not posible to read the field values, Is posible to transfor the xmlfield to:
    Where I will be able to use xmltable columns and loop getting the values.
    <a>1</a>
    <b>2</b>
    <k>
    <c>1221</c>
    <c>1412</c>
    </k>
    <d>11111</d>
    <e>3333</e>
    Like always
    Thank you in advance for your help.
    Jose Galan

    SQL> with XML as
      2  (
      3   select xmltype(
      4  '<root>
      5    <a>1</a>
      6    <b>2</b>
      7    <c>1221</c>
      8    <c>1412</c>
      9    <d>11111</d>
    10    <e>3333</e>
    11  </root>'
    12  ) XMLDOC
    13    from dual
    14  )
    15  select a, b,c, d, e
    16    from XML,
    17         XMLTABLE
    18         (
    19            '/root'
    20            passing XMLDOC
    21            columns
    22            A number(5) path 'a',
    23            B number(5) path 'b',
    24            D number(5) path 'd',
    25            E number(5) path 'e',
    26            C_XML_FRAG xmltype path 'c'
    27         ),
    28         XMLTABLE
    29         (
    30           '/c'
    31           passing C_XML_FRAG
    32           columns
    33           C number(5) path '.'
    34         )
    35  /
             A          B          C          D          E
             1          2       1221      11111       3333
             1          2       1412      11111       3333
    SQL>

  • How to read value from gride

    dear all
    can you tell me how to read the value from the gride view coloum...
    when i double click on the RowsHeader then i need to pick the value for 2 coloum.
    thanks in advance...

    Hi Kishor,
    Try This......
    If pVal.FormUID = "test3" And pVal.ItemUID = "grid" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_DOUBLE_CLICK And pVal.BeforeAction = False Then
                oform = sbo_application.Forms.Item("test3")
                ogrid = oform.Items.Item("grid").Specific
                For i As Integer = 0 To ogrid.Rows.Count - 1
                    If ogrid.Rows.IsSelected(i) = True Then
                        MessageBox.Show(ogrid.DataTable.Columns.Item(0).Cells.Item(pVal.Row).Value)
                        MessageBox.Show(ogrid.DataTable.Columns.Item(1).Cells.Item(pVal.Row).Value)
                    End If
                Next
            End If
    Thanks
    Shafi

  • How to read value(entities) from disabled people editor control ?

    I am not able to read value from disabled people editor control. It is giving me count as zero. 
    As a workaround 
    I used :
    PeoplePicker.ShowButtons = false;
    PeoplePicker.AllowTypeIn = false;
    instead of
    PeoplePicker.Enabled=false :
    It stopped user from entering values in people editor but it is not controlling "BackSpace" i.e user can delete existing entities from people editor.
    NOTE : I have to achieve it through server side code or javascript only without using JQuery

    Hi,
    According to your post, my understanding is that you want to read value(entities) from disabled people editor control.
    Every time fill resolve is called
    FillClaimsForEntity is also called, you can use server side codeto get the value.
    Here is a similar thread for your reference:
    http://blog.krichie.com/2012/03/14/peopleeditor-resolvedentities-always-zero-when-control-is-disabled/
    In addition,  as a workaround, you can read the People Picker control value and added the value in a span and appended the span HTML into the ParentNode container for People Picker control, and hid the People Picker textbox, picker
    image and address book image.
    The article below use the JQuery to achieve it, you can also use JavaScript. Please refer to:
    http://www.c-sharpcorner.com/UploadFile/Ravish001/disable-people-picker-in-list-form-editform-aspx-using-jqu/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to get a value for Select One Choice in the backing bean

    Friends,
    Does any one have any idea, how to get the value of a selected item value from the Select One Choice component in the backing bean iin valueChangeListener method. Right now I am always getting the sequence of the selected item, instead the actual selected value. I tried using 'ValuePassTrhough=true' also.. but didn't help
    Below is the my code snippet
    <af:selectOneChoice value="#{bindings.country.inputValue}"
    required="#{bindings.country.hints.mandatory}"
    shortDesc="#{bindings.country.hints.tooltip}"
    id="soc1" autoSubmit="true" valuePassThru="true"
    valueChangeListener="#{pageFlowScope.Bean.onValueChange
    <f:selectItems value="#{bindings.country.items}" id="si2"/>
    </af:selectOneChoice>
    Thanks in advance.

    check my other post at Re: Pass data from a variable to another page

  • How would I insert custom HTML built in a managed Backing Bean into a page?

    I believe I could solve a project requirement if I could generate/build custom HTML in a managed Backing Bean and insert or place the output between f:verbatim elements.
    The custom HTML output would be similar to:
    <ul id="menu" class="view">
    <li>New Search</li>
    <li>Subscriber
    <ul>
    <li>Device List
    <ul>
    <li>New Device</li>
    <li>Device</li>
    </ul>
    </li>
    <li>Inbox List</li>
    <li>Resend</li>
    </ul>
    </li>
    </ul>Looking at the JSF 1.1_01 API, I don't believe there is a placeholder element?
    What is the best approach to do this?
    Thanks,

    This is exactly what you want:<h:outputText value="#{myBean.htmlString}" escape="false" />where getHtmlString() just returns a plain String object with the HTML in it.
    A custom component would be a more clever solution anyway.

  • How to call the Reset of af:query in a backing bean .

    Hi, Could some one help me to call the Reset function of af;query by a backing bean. Since i need to refresh the LOV's in the search panel, i need to call the reset operation in the custom code. . thanks.

    Here is the test case Frank.
    I'm having a af:query component and search fields are populated by choice-list LOV .... The VO populating the lov attribute is , is set with auto refresh . In case of new records in the DB, i want the lovs at the search fields of af:query getting updated automatically. Right now , if i click the Reset button then the lovs are getting updated. So i wanted to do the reset programmaticaly to update the lovs of af:query.

Maybe you are looking for

  • Error when running ethernet modbus slave demon in an executable - reoccurence

    Thought I'd solved this with the help of the mass compile function. However, it seems to have come back. Maybe it never went away. Brief summary  - I'm trying to create an exe of the MB Ethernet Slave example.vi in LV 2013. I can create the exe OK bu

  • Error with the upgrade to exiv2

    Hello, In the usual today upgrade, one of the pkg's that have been upgraded has been exiv2 (version 0.13). All the process went fine, but executing digikam, this error appears, and aborts the process: digikam: error while loading shared libraries: li

  • Agent Real Time Displays 1 hour ahead

    Greetings all, Agent Real time display are showing 1 ahead hour of clock system. Anyone have a suggestion if this is a bug or configuration issue ?? I have attached a screenshot to simplify UCCX: 7.0

  • How to get back "on my mac" in Notes?

    Had an "on my mac" account/section in the Folders List in Notes but deleted the only folder in it which caused "on my mac" to disappear altogether. But I want to have an "on my mac" account/section so that I can keep some notes only for the computer

  • Updation of persistent object

    Hi, I'm using objects persistence. I've created a persistent class and using this for storing data in an index cluster table to use the stored data afterwards. I've created methods for creating persistent object (using export to database), delete obj