How to iterate the webservice Data control result set?

Hi all,
How to iterate the webservice Data control result set? I have an jsff page where I am displaying the single UserDetails by webservice DataContol. As per my design requirement I should iterate the DataControl resultSet to get the user details and push the same in to Managed bean. Please help me how to do this, any sample code please to iterate the resultset and get the data from it.
   <?xml version='1.0' encoding='UTF-8'?>
   <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:c="http://java.sun.com/jsp/jstl/core">
   <c:set var="uiBundle" value="#{adfBundle['edu.syr.oim.uiBundle']}"/>
   <af:pageTemplate viewId="/templates/jsffTemplate.jspx">
    <f:facet name="fTop"/>
    <f:facet name="fCenter">
      <af:panelGroupLayout layout="scroll" inlineStyle="width:100.0%;">
   <af:panelTabbed id="pt1">
    <af:showDetailItem text="#{uiBundle.PRIVACYFLAGS}" id="sdi4">
            <af:panelGroupLayout id="pgl4" layout="scroll">
              <af:spacer width="10" height="10" id="s3"/>
              <af:panelFormLayout id="pfl6">
                <af:panelLabelAndMessage label="#{uiBundle.STUDENTEMAIL}"
                                         id="plam35">
                  <af:outputText value="#{bindings.stuEmail.inputValue}"
                                 id="ot42"/>
                </af:panelLabelAndMessage>
                <af:panelLabelAndMessage label="#{uiBundle.STUDENTHOMEADDRESS}"
                                         id="plam39">
                  <af:outputText value="#{bindings.stuPermAddr.inputValue}"
                                 id="ot35"/>
                </af:panelLabelAndMessage>
                <af:panelLabelAndMessage label="#{uiBundle.STUDENTHOMEPHONE}"
                                         id="plam40">
                  <af:outputText value="#{bindings.stuPermPhn.inputValue}"
                                 id="ot37"/>
                </af:panelLabelAndMessage>
                <af:panelLabelAndMessage label="#{uiBundle.STUDENTCURRENTPHONE}"
                                         id="plam42">
                  <af:outputText value="#{bindings.stuCurrAddr.inputValue}"
                                 id="ot40"/>
                </af:panelLabelAndMessage>
                <af:panelLabelAndMessage label="#{uiBundle.STUDENTCURRENTPHONE}"
                                         id="plam36">
                  <af:outputText value="#{bindings.stuCurrPhn.inputValue}"
                                 id="ot38"/>
                </af:panelLabelAndMessage>
                <af:panelLabelAndMessage label="#{uiBundle.STUDENTACAINFO}"
                                         id="plam41">
                  <af:outputText value="#{bindings.stuAcad.inputValue}"
                                 id="ot36"/>
                </af:panelLabelAndMessage>
                <af:panelLabelAndMessage label="#{uiBundle.EMPHOMEADDRESS}"
                                         id="plam38">
                  <af:outputText value="#{bindings.empPermAddr.inputValue}"
                                 id="ot39"/>
                </af:panelLabelAndMessage>
                <af:panelLabelAndMessage label="#{uiBundle.EMPHOMEPHONE}"
                                         id="plam37">
                  <af:outputText value="#{bindings.empPermPhn.inputValue}"
                                 id="ot41"/>
                </af:panelLabelAndMessage>
              </af:panelFormLayout>
            </af:panelGroupLayout>
          </af:showDetailItem>
   </af:panelTabbed> Above is my jsff code. Here how/where to add the phase listener to paopulate the managed bean while page render. Do I need to iterate the DC to get and push the each parameter in to ManagedBean or is there any easy way to do this by EL mapping directly at jsff. Please clarify.
Thanks
kln

That is what exactly I am trying right now. I am binding each of my page fragment outputText item in to backing bean and by that way trying to populate the values.
But the issue here is, the backing bean method doesn't getting any value until I hit any of the link or the button in the fragment. While loading the page the bean set and get is null. If i hit any link or button it is filled up with the vaule. As per my design, I would like to populate the bean method along with page load before any user action. But cant able to do this!! :(
Below is my sample code what I am trying right now
        <af:panelLabelAndMessage label="#{uiBundle.NETID}" id="plam13">
                  <af:outputText value="#{bindings.netid.inputValue}" id="ot4" binding="#{UserDataBean.netId}"/>
       </af:panelLabelAndMessage>
backing bean ex:
private RichOutputText netId;
static String netidVal;
    public void setNetId(RichOutputText netId) {
       netidVal= netId.getValue() == null? "":netId.getValue().toString();
       this.netId = netId;
    public RichOutputText getNetId() {
       return netId;
    public String getNetIdVal() {
       return netidVal;
    }Thanks
kln

Similar Messages

  • Issue with webservice data control while invokin bpel process from ADF side

    Hello Experts,
    we are creating webservice data control to invoke bpel process from ADF side.
    When I run the application and inovoke the bpel every thing is working fine.
    But when we are changeing the instances from DEV to SIT the bpel url(hostname and port) will change.
    So we just edited DataControls.dcx file and we just replaced the wsdl url and trying to run the applicaiton.
    This time the applicaiton is not invoking the bpel process.
    If I remove the webservice data control and recreate it with new WSDL url then it is working fine.
    Can any one tell us what the exact issue is. Is there any other files do i need to modify or etc.
    Thanks & Regards
    Gayaz

    DataControls.dcx & connections.xml (.adf/META-INF)

  • Issues with result data display on ADF page from a Webservice data control

    Hi,
    I created a Webservice Data control and created a JSF to display the webservice response to the screen.
    I dragged and dropped the input paramater to the JSF form.Also i did the same for the output result also.i drag & drop the result tag to the JSF(selected the read only form).
    This webservice is a complex input and output params.
    After supplying the input param to the jsf and clicked on submit, the request is going and hitting the webservice and getting proper result set also.
    But the issue is , the result is not displayed on the JSF screen.
    Is there any configuration needed to diaply the content on ths screen?
    Version - JDev 11.1.1.4.0
    Regards,
    JJ

    Dear Vinod,
    Thanks for the reply.
    How to refresh the data container ..just to press the refresh button(F5) or is there any configuration needed to auto refresh the data container?
    The following is my table definition
    <af:table rows="#{bindings.LookListRow.rangeSize}"
    fetchSize="#{bindings.LookListRow.rangeSize}"
    emptyText="#{bindings.LookListRow.viewable ? 'No data to display.' : 'Access Denied.'}"
    var="row"
    value="#{bindings.LookListRow.collectionModel}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.LookListRow.collectionModel.selectedRow}"
    selectionListener="#{bindings.LookListRow.collectionModel.makeCurrent}"
    rowSelection="single"
    binding="#{backingBeanScope.backing_lkUp.t1}"
    id="t1" columnSelection="single">
    <af:column headerText="#{bindings.LookListRow.hints.rowAction.label}"
    sortProperty="rowAction" sortable="false"
    id="c5">
    <af:outputText value="#{row.rowAction}" id="ot4"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.FieldValue.label}"
    sortProperty="FieldValue" sortable="false"
    id="c8">
    <af:outputText value="#{row.FieldValue}" id="ot8"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.FieldName.label}"
    sortProperty="FieldName" sortable="false"
    id="c2">
    <af:outputText value="#{row.FieldName}" id="ot7"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.Description.label}"
    sortProperty="Description" sortable="false"
    id="c1">
    <af:outputText value="#{row.Description}" id="ot2"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.StatusasofEffectiveDate.label}"
    sortProperty="StatusasofEffectiveDate"
    sortable="false" id="c4">
    <af:outputText value="#{row.StatusasofEffectiveDate}"
    id="ot5"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.LanguageCode.label}"
    sortProperty="LanguageCode" sortable="false"
    id="c6">
    <af:outputText value="#{row.LanguageCode}" id="ot6"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.Version.label}"
    sortProperty="Version" sortable="false" id="c3">
    <af:outputText value="#{row.Version}" id="ot3">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.LookListRow.hints.Version.format}"/>
    </af:outputText>
    </af:column>
    Regards,
    -JJ
    Edited by: user13117752 on Jun 14, 2011 11:20 PM

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • How to access the Custom Data type variable given in Expression edit control To and From LabVIEW

    Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
    Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
    VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
    Channel1: Number and
    Channel2: Number
    I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
    I would like to know how to get the values of this custom data type to LabVIEW?
    Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
    how do i need to set this cluster to the Custom Data type variable in TestStand?
    Thanks and Regards
    Prakash 

    Hi,
    TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
     LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
    Hope this helps
    .......^___________________^
    ....../ '---_BOT ____________ ]
    ...../_==O;;;;;;;;_______.:/
    Attachments:
    1.JPG ‏187 KB

  • How to change the default date in Person assignment tab?

    Hi experts,
    Does anyone know how to change the default date in person assignment tab in cj20n? Currently, the system always take the scheduled finish date to the date of the person assignment tab. Can I change it to the start date?
    Thanks and rgs,
    Michelle

    Hi Michelle,
    Goto SPRO->Project system->Dates->Scheduling->Specify Parameters for Network Scheduling, Here you can control the workforce planning dates.
    Hope this is useful...
    Regards
    Aatish

  • How to change the size of control´s prompt?

    No matter the size of data to be displayed in the view suface prompt, the controls have the same size.
    Does anyone here know how to change the size of control in surface prompt?

    HI,
    In order to change the size of a radio button... one way you may consider is to Customise the Radio Button.
    Place a Radio Button (RB) on the FP of a VI, Right-Click the RB > Advanced > Customise...
    Click the Mode Button (most Left button) for Edit Mode
    Right-click the radio button (the round image) now, you will see a list of actions i.e. Copy to clipboard, import picture ...You will see Four images under the 'Picture Item', those are the images that you will need to replace.
    Prepare Four Images of the similar but larger expected size
    *** Copy the 1st new image to clipboard. Back to the Picture Item and select 1st image. Then, select Import Picture (to replace the existing image)
    Repeat *** for all four images.
    Once done, change the mode back to original. Save the *.ctl
    You are now ready to use the customised radio button!
    Quick sample attached (sorry for the poor images created )
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    IFK_RButton_Large.ctl ‏11 KB

  • How to find the month wise Overall result

    Hi,
    calculating share percentage of order quantity  based on Overal result.
    if given the fiscal period range in the variable(for ex 001.2006 to 009.2006) Overall result considering sum of all Order quantity data between this range.
    But need to calculate share percentage based on month wise in this fiscal period range,for this regard should consider the sum of overal result in month wise.
    How to calculate the month wise overall result?
    regards,
    Hari.

    Hi Hari,
    You need to enable the results row for your Month char in the query. Then use a new formula with the function %CT to get the percentage share of individual values wrt to overall result of that month.
    Hope this helps...

  • How to iterate the opened pdf document?

    How to iterate the opened pdf document?

    Thanks for your response. Could you please advise me how to call a following "DocExistEnable" method.
    static ACCB1 ASBool ACCB2 DocExistEnable(void *data)
    if (AVAppGetNumDocs() <= 0)
    return false;
    else
    return true;

  • How to get the creation date of an event/meeting

    I need to implement some control rules on booking conference rooms depending on the creation date and start date.
    For example:
    - the booking cannot be accepted if the meeting start date is less than 2 hours ahead
    at 3:00 PM I can book the conference room for a meeting starting at 5:05PM
    but not for a meeting starting at 4:55PM
    - the booking cannot be accepted after 5:30PM for a meeting starting the next morning before 10:00AM
    at 5:45PM I can book the conference room for a meeting tomorrow at 11:00AM, but not for a meeting at 9:45AM

    Hi Michel,
    how to get the creation date of an event/meeting?When you use the calendar sdk to fetch a meeting there is an Icalendar(http://www.ietf.org/rfc/rfc2445.txt) property called CREATED with the creation time in UTC.
    For example:
    - the booking cannot be accepted if the meeting start
    date is less than 2 hours ahead
    at 3:00 PM I can book the conference room for a
    meeting starting at 5:05PM
    but not for a meeting starting at 4:55PM
    You would want to implement these rules with with the sdk? That would implie that users connecting to the calendar server with any other client than the calendar sdk could still book these resources whenever they want.
    Or you would want to go an validate all the meetings once they are already created?
    Cheers,
    Jean-Philippe

  • WebService data control data persistence issue

    Hi,
    We are using one Web Service data control on two jspx pages of application. The attributes from the data control are added on both the pages as data binding.
    Scenario:: We submit some data from Page1 using web service data control and move to Page2. Fill some data on Page2 and again submit the request to Web Service data control and after successful response move back to Page1. Same is repeated again and again for this scenario.
    Now the issue is, we submit some data from Page1, move to Page2, submit some data from Page2 and come back to Page1. If we repeat this process, then while submitting the data on Page1, the data that we submitted earlier on Page2 also get submitted, which is not expected. We only want to submit the data as per the binding on that page. Page1 is in unbounded taskflow and Page2 is in bounded taskflow.
    We have tried by setting possible values like :: CacheResults: false on iterator, Refresh condition: Ifneeded, UsePersistentStructure to false on data control. Also tried to reset and clear the data control using APIs and resetInputState on bindings. But nothing is working. The only method that is working is ClearForRecreate on Page1 iterator. But since its internal method this might not be good to use it. Also after using this we stated to receive intermittent error stating AttributeList$Itr can not be cast to String and some times argument is not an array exception.
    Please let me know, how i can ensure that correct data is sent to web service data control.
    Using JDev 11.1.1.6.
    Thanks

    Solved by removing the Share Data control option in taskflow.
    Thanks

  • In the Alarm & Event Query VI how to show the alarm data

    In the Alarm & Event Query VI how to show the alarm data in the front pannel using the table or multicolumn listbox .thank you very much!!!

    Hi,
    Most likely there is something wrong with your specific database or your LabVIEW DSC installation. I just used the Alarm & Event Query.vi in my machine and it seems to work fine, I can see all the alarms as well as events containned in the database.
    You may considerer generate another database (change the logging directory) and see if the behavior goes away. Also, make sure you have alarms and events on that database.
    I could run the Alarm & Query.vi by just openning its front panel and placing the correct database in the appropriated control.

  • How to Lock the master data. R/3 Conflict ESS

    Dear Gurus,
    Please guide me how to lock the master data for a nos of days(say 7 days).
    Recently we had encountered an issue, related to ESS. While Uploading the Time data through t-code: PT60, our core team encountered a problem, that such and such employee number is locked.
    While checking, they identified it, system shown error against those employees, who are accessing their ESS. We check and came to know they are accessing the master data by changing their personal record i.e. address.
    Do we have any other provision to lock the master data without setting the control record to release for payroll.
    Please help .

    Create a custom transaction involving a custom views of table T7XSSSERSRV  with the following field for each service
    "V_T7XSSSERSRV-ISDISABLED"
    when HR wants to lock it, the will enter this table and check this field.
    this will disable the servcies in the front end.
    Once the 7 days are over, HR will uncheck this field. this will re-enable the services in the froint end.
    Hope this helps.

  • How to define the Webservices in except through WebDynpro.

    Hi friends,
                     Can anyone tell me about how to create the webservices?[ except in Webdynpro.].
      We want to give the input data as userdefined way, not in a file. can u tell me how to proceed ?

    Hi,
    Creation of webservice in XI
    Step 1:
    Create the DT,MT & MI(Synch/Asynch-outbound/Inbound)
    step2
    Create webservice for sender ( Integration Directory ->tools ->define webservice.
    It will generate the webservice and save it as .wsl file.
    " Award points if helpful"
    Regards,
    Jayasimha Jangam

  • How to View the Loaded Data

    Hi,
    I have loaded the data into an ODS from an External Flat file and executed the job. Can anyone guide me how to view the loaded data in the ODS ?
    Thanks

    Hi Madhu,
    You can simply Goto Transaction LISTCUBE and give the ODS name -> Execute.
    Regards
    Hemant

Maybe you are looking for