Adf advanced listView

any expert adf java web Develop could help .. this list view is returned programmatically from a list , not default collection in a model . when add any button or any action adf component or any panel , it doesn't work . how can i make ot works to make button action works(b1 inside list item) and display popup ?????

       <af:button text="button 5" id="b5" action="#{bean2.bttttttttttttest5}" immediate="true"/>

       <af:listView value="#{bean2.filteredDataList}" var="item" shortDesc="wlmwqd"
                    emptyText=""
                    fetchSize="5" id="lv1" >
           <af:listItem id="li1">
               <af:panelGroupLayout id="pgl1">
                   <af:outputFormatted value="#{item.hotelName}" id="of1"/>


                   <af:outputFormatted value="#{item.price}" id="of2"/>
                   <af:panelGroupLayout id="pgl2">

                       <af:button text="button 6" id="b1">
                           <af:showPopupBehavior popupId="p1" triggerType="action"/>
                       </af:button>


                       <af:popup childCreation="deferred" autoCancel="disabled" id="p1">
                           <af:noteWindow id="nw1">
                               <af:button text="button 2" id="b2"/>
                               <af:button text="button 3" id="b3"/>
                               <af:button text="button 4" id="b4"/>
                           </af:noteWindow>
                       </af:popup>
                   </af:panelGroupLayout>
               </af:panelGroupLayout>
           </af:listItem>
       </af:listView>
   </af:form>

and in .java file code of button that get listview from a list :

public String bttttttttttttest5() {
    List<Hotel>t=ami.getMaxHotelPrice(200);
    filteredDataList=t;

    return null;
}
  • Matlab: Using webread/webwrite to access website that is protected by ddos service

    I am trying to let Matlab automatically screen for new coin removal posts on a specific website: https://support.bittrex.com/hc/en-us (or more specifically: https://support.bittrex.com/hc/en-us/sections/200560334-Coin-Removals). However, whenever I use the respective matlab functions urlread or webread. This is the code I use to retrieve the data:

    url = 'https://support.bittrex.com/hc/en-us/sections/200560334-Coin-Removals';
    data = webwrite(url);
    

    When I execute this code, the following error is returned:

    Error using readContentFromWebService (line 45)
    The server returned the status 503 with message "Service Temporarily Unavailable" in response to the request to URL
    https://support.bittrex.com/hc/en-us/sections/200560334-Coin-Removals.
    Error in webread (line 122)
    [varargout{1:nargout}] = readContentFromWebService(connection, options);
    

    When I access the webpage with my browser, sometimes a pre-loading page appears where it says "checking your browser ..." or something like that which I believe is related to some sort of DDoS protection deployed by the host of the website. After a few seconds, you then have access to the actual website. The following works just fine:

    url = 'https://support.bittrex.com/hc/en-us/sections/200560334-Coin-Removals';
    web(url);
    

    The matlab browser openes the website as you would expect. Does anyone have an idea on how to retrieve the data from this website like webread would usually do (hence the simply html-text)?

    Thanks!

  • How to assign a transient value as a default value to another attribute in View Object - ADF

    I am new to adf and I am trying to provide a default value based on an sql statement to another attribute. For instance I have a table called Employee(emp_id,emp_version,emp_name...), which has a column emp_version and i want to provide a default value to emp_version with the following sql statement:

      select count(emp_id)+1
        from employees
    

    In order to do this I tried to create a transient field(testEmpversionTransient) and provide an sql statement as shown below: enter image description here

    However I am not able to assign the value from the testEmpversionTransient attribute to emp_version attribute, any idea how it can be acheived please?

    Thanks in advance

  • How to hide Match All and Any radio option in af:query panel in adf

    We are calling DC method directly, please check the highlighted portion in snapshot attached

  • ADF Expression Builder, how to compare two values using "OR"

    I need to make a field mandatory if a certain value is selected from a drop down list. In the drop down list I have VAT, NBT and OTHER as the three values.

    I need to make the next field mandatory if and only if VAT or NBT is selected from the above drop down list. I used the following EL to do this.

    #{bindings.typeId1.inputValue eq 'NBT' or 'VAT'}
    

    But in this way mandatory validation occurs only when NBT is selected. I do feel that this is a problem with the way I have used 'OR' but I couldn't find it.

    If there is a way to overcome this please let me know.