ADF Table with CheckBox - Select/deselect issue

I have seen couple of threads and blogs for ADF table with check box . but none of them exactly matching with my requirement . My Database table does not have any field for check box .
Here is my DB Table
tableA_
A_Id
A_Name
tableB*
B_Id
Requirements :*
1. Display the above tables data with Checkbox . ( if A_Id = B_Id then the checkbox will be checked , else unchecked ) .
2. Select / deselect the check box and save the data . Saving the data , will update only tableB . i,e when a new check box is selected then A_Id value will be inserted to tableB . Similarly , deselecting a checked in data will remove the entry from tableB.
Development :
1. Created a VO where tableB has marked as updateable .
2. Created a transient Boolean variable for checkBox . and modified the getter method of checkbox for returning true/false based on the below condition in the ViewRowImpl Class .
if ( A_Id = B_Id )
return true;
else false ;
3. I have not modified the setter method .
Using the above concept i can view the data with selected checkbox . but the problem is to save the data . because , when I select a checkbox the above coding in the getter method will return false .
Therefore , though i am selecting the checkbox but value of the checkbox has been set as false .
While saving the Data , I am iterating through the VOIterator and observed that a newly selected checkbox value is false . and realized its because of the getter method condition .
Can you please suggest how can I overcome this issue or shall I need to take any other approach ?
Jdev version 11.1.1.5
Regards,
Amitava
Edited by: Amitava on Mar 17, 2012 3:48 PM

You need to go through the ADF page life cycle concepts. In simple words the boolean value in the model is not set while in valueChangeListener. Try adding valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance()); on top in your listener method and see the effect.
Reference:
http://docs.oracle.com/cd/E15051_01/web.1111/b31974/adf_lifecycle.htm

Similar Messages

  • Issue in retrieving all the records from ADF Table with multiple row

    Hi,
    As per my requirement, I need to fill the table with multi selected LOV values and when user clicks on commit, I need to save them to database.
    I am using ADF 11g, Multi select table. Using the below ADD method, I am able to add the records but if user clicks on cancel, I need to remove those from view and clear the table as well.
    But the Issue I am facing is, in my cancel method, always I am getting half of the records. Lets assume table contains 100 records but in my cancel method, I am getting only 50 records.
    Please let me know what is the issue in my source code.
    ADD Method:
    public void insertRecInCMProcessParamVal(String commType, String processType, Number seqNumber){       
    try{
    Row row = this.getCmProcessParamValueView1().createRow();
    row.setAttribute("ParamValue7", commType);
    row.setAttribute("ProcessType", processType);
    row.setAttribute("CreationDate", new Date());
    row.setAttribute("CreatedBy", uid);
    row.setAttribute("ParamValueSeqNum", seqNumber);
    row.setAttribute("ProcessedFlag", "N");
    this.getCmProcessParamValueView1().insertRow(row);
    }catch(Exception e){           
    e.printStackTrace();
    Table Code:
    <af:table value="#{bindings.CmProcessParamValueView11.collectionModel}"
    var="row"
    rows="#{bindings.CmProcessParamValueView11.rangeSize}"
    emptyText="#{bindings.CmProcessParamValueView11.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.CmProcessParamValueView11.rangeSize}"
    rowBandingInterval="1"
    selectedRowKeys="#{bindings.CmProcessParamValueView11.collectionModel.selectedRow}"
    selectionListener="#{bindings.CmProcessParamValueView11.collectionModel.makeCurrent}"
    rowSelection="multiple"
    binding="#{backingBeanScope.backing_app_RunCalcPage.t1}"
    id="t1" width="100%" inlineStyle="height:100px;" >
    <af:column sortProperty="ParamValue6"
    sortable="true"
    headerText="#{bindings.CmProcessParamValueView11.hints.ParamValue6.label}"
    id="c1" visible="false">
    <af:inputText value="#{row.bindings.ParamValue6.inputValue}"
    label="#{bindings.CmProcessParamValueView11.hints.ParamValue6.label}"
    required="#{bindings.CmProcessParamValueView11.hints.ParamValue6.mandatory}"
    columns="#{bindings.CmProcessParamValueView11.hints.ParamValue6.displayWidth}"
    maximumLength="#{bindings.CmProcessParamValueView11.hints.ParamValue6.precision}"
    shortDesc="#{bindings.CmProcessParamValueView11.hints.ParamValue6.tooltip}"
    id="it3">
    <f:validator binding="#{row.bindings.ParamValue6.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ParamValue7"
    sortable="true"
    headerText="Comm Type"
    id="c2">
    <af:inputText value="#{row.bindings.ParamValue7.inputValue}"
    label="#{bindings.CmProcessParamValueView11.hints.ParamValue7.label}"
    required="#{bindings.CmProcessParamValueView11.hints.ParamValue7.mandatory}"
    columns="#{bindings.CmProcessParamValueView11.hints.ParamValue7.displayWidth}"
    maximumLength="#{bindings.CmProcessParamValueView11.hints.ParamValue7.precision}"
    shortDesc="#{bindings.CmProcessParamValueView11.hints.ParamValue7.tooltip}"
    id="it4">
    <f:validator binding="#{row.bindings.ParamValue7.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ParamValue8"
    sortable="true"
    headerText="#{bindings.CmProcessParamValueView11.hints.ParamValue8.label}"
    id="c3" visible="false">
    <af:inputText value="#{row.bindings.ParamValue8.inputValue}"
    label="#{bindings.CmProcessParamValueView11.hints.ParamValue8.label}"
    required="#{bindings.CmProcessParamValueView11.hints.ParamValue8.mandatory}"
    columns="#{bindings.CmProcessParamValueView11.hints.ParamValue8.displayWidth}"
    maximumLength="#{bindings.CmProcessParamValueView11.hints.ParamValue8.precision}"
    shortDesc="#{bindings.CmProcessParamValueView11.hints.ParamValue8.tooltip}"
    id="it2">
    <f:validator binding="#{row.bindings.ParamValue8.validator}"/>
    </af:inputText>
    </af:column>
    </af:table>
    Backing Bean Code:
    DCBindingContainer dcBindings=(DCBindingContainer)getBindings();
    DCIteratorBinding dcIterator=dcBindings.findIteratorBinding("CmProcessParamValueView1Iterator");
    RowSetIterator rs = dcIterator.getRowSetIterator();
    System.out.println("In Cancel Row Count is : "+ rs.getRowCount());
    if (rs.getRowCount() > 0) {
    Row row = rs.first();
    row.refresh(Row.REFRESH_UNDO_CHANGES);
    row.remove();
    while (rs.hasNext()) {
    int count = rs.getRowCount();
    System.out.println("Count is : "+ count);
    Row row = rs.next();
    System.out.println("Row === "+ row);
    if(row != null){                   
    row.refresh(Row.REFRESH_UNDO_CHANGES);
    row.remove();
    Thanks.

    Issue resolved.
    remove selectionListener and selectedRowKeys....
    code to get all the selectedRows.
    RowSetIterator rs = dcIterator.getRowSetIterator();
    RowKeySet rks = this.t1.getSelectedRowKeys();
    Iterator rksIter = rks.iterator();
    while (rksIter.hasNext()) {
    List l = (List) rksIter.next();
    Key key = (Key)l.get(0);
    Row row = rs.getRow(key);
    Thanks.

  • Problem in using MultiSelect ADF table with view Object

    I have a requirement of displaying a table with multi select option. On page load table will be displayed with all columns as output text except last column as input text. User can update the last column of the selected row and only checked rows should get updated in the DB Table.
    Is there any document or Tutorial available?

    Hi,
    this is an individual implementation. Tutorials are written for common usecases. However, the way to implement this is to set the read-only property on the last column's text field (turn it into a textinput field) based on whether or not the row is selected. Make sure that the row selection PPRs the table
    for a code example download
    http://thepeninsulasedge.com/frank_nimphius/wp-content/uploads/2008/05/OldAndLostBlogBusterTips.zip
    and look at page 272 "ADF Faces: Conditional table row manipulation on table row select"
    Frank

  • How to create a table with multiple select on???

    Hi all,
            I am  new to webdynpro and my requirement is to create a  table with multiple selection on.I have to add abt 10 rows in the table but only 5 rows should be visible and moreover a verticalscroll should be available to view other rows.Can anybody explain me in detail how to do that.Please reply as if you are explaining  to a newcomer.Reply ASAP as i have to do it today.
                                                                           Thanxs

    Hi,
    1. Create a value node in your context name Table and set its cardinality to 0:n
    2. Create 2 value attributes within the Table node name value1 and value2
    3. Goto Outline view> Right click on TransparentUIContainer>Apply Template> Select Table>mark the node Table and it's attributes.
    you have created a table and binded its value to context
    Table UI properties
    4.Set Selection Mode to Multi
    5.Set Visible Row Count to 5
    6.ScrollableColCount to 5
    In your implemetaion, you can add values to table as follow:
    IPrivate<viewname>.ITableElement ele = wdContext.nodeTable().createTableElement();
    ele.setValue1(<value>);
    ele.setValue2(<value>);
    wdContext.nodeTable().addElement(ele);
    The above code will allow you to add elements to your table node.
    Regards,
    Murtuza

  • How to bind ADF table with a collection of elements using backing bean.

    Hi Experts,
    My JDev version is 11.1.1.6.0.
    I need to bind ADF table with a collection of elements using backing bean.
    My backing bean consists of 6 lists of strings, where each list represents a column of table. How can I populate the entries of table with these lists.
    Thanks
    Gopi

    Hi,
    Create an object representing the row (setter/getter). Then have a list of these objects. Drag and drop the table and point its value to the list and the type to the row object
    Frank

  • ADF Table with check box on each row  - First time selection gets unchecked

    Hi,
        The ADF Table has a check box in each, whenever a select box is clicked for the first time , it gets unselected automatically.
    Also if I select a row / click on a row and then select the check box, it is properly getting selected. I see there is some kind of autosubmit happens. Is there a way to handle this scenerio?
    Regards,
    Dhamo

    I had this same issue happen in 11.1.1.6.x  This is a bug involving an autosubmit when the checkbox is selected.
    After migrating to 11.1.1.7.0 on J Developer and Weblogic, the problem was fixed.
    One thing to check is to make sure you are using the jars from ADF 11.1.1.7.0.
    Hope that helps

  • Adf Table with selection as set to NONE

    Hi,
    I having a scenario as explained below:
    I am populating records in to the adf Table
    After that I am using checkbox for selecting multiple records in the table and delete them.
    So I set selection property to None for the table. Because I want user to edit only that record which is checked.
    My multiple delete is working fine.
    Now if i selected one checkbox and and click on edit(which I have placed in the panal collection toolbar) it should show me the record in the which I have selected by check box. But it is showing me the first row.
    Can anybody help me to set the current row of the adf table manually which is having selection property as none. so that I can populate in popup.
    If some other way is available please explain.
    I am using jdeveloper 11.1.2.1
    Thanks,
    Sandeep.

    I don't see why you can't set selection property to "single"? (and don't forget to restore table SelectionListener property - if deleted)
    This will set current row when you click on it.
    If you programmatically iterate through RowSet to find rows with selected checkbox, this will work regardless of value in "selection" property.
    Dario
    Edited by: kdario on Nov 7, 2012 5:20 AM
    Edited by: kdario on Nov 7, 2012 5:22 AM

  • ADF table with select onechoice

    Hi,my scenario is:
    I have adf form and adf table on jspx page by vo(A).In table here there is need for select one choice populated from another vo(B).
    To acheive this i have created a transien attribue in vo(A) and bind to vo(B ) as select one choice.
    Now on value selected in selected one choice of adf table i want to filter value in another select one choice which is part of adf form on page.
    Please help me out.
    Thanks

    Hi,
    As I understand your requirement is how to build dependent LOV/selectOneChoice in ADF.
    Check this http://www.google.co.in/search?q=dependent+selectOneChoice+%2B+adf&btnG=Search&hl=en&source=hp&gbv=2&gs_sm=e&gs_upl=5656l8531l0l8687l10l9l0l2l0l0l360l1549l2-1.4l5l0&safe=active&oq=dependent+selectOneChoice+%2B+adf&aq=f&aqi=&aql=
    ~Abhijit

  • Adf table with detail stamp , not able to close the detail stamp

    Hi
    i'm using 11g adf jdeveloper.
    I'm using adf table to display records of XXXVO.In table i have used detail stamp, in which i have drag XXXVO read-only form and used a ADD button which call a pop-up with createInsert of the XXXVO form with submit button.In pop i have used a drop downlist of other YYYVO. I have used another button Edit which call the same pop-up, using show pop-up.
    Issue is when i run the application i can open the detail stamp and close but i couldn't get the selected record on the table in edit mode pop up. if i give partial trigger in pop-up of table id . den i'm getting the selected record in edit pop up. but detail stamp is not working .
    Here is the code .......
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:pageTemplate viewId="/XBBaseTemplate.jspx"
    value="#{bindings.pageTemplateBinding}" id="pt1">
    <f:facet name="body">
    <af:panelBox text="AMC Charges" id="pb1">
    <f:facet name="toolbar"/>
    <af:panelGroupLayout layout="scroll" id="pgl1">
    <af:panelCollection id="pc1"
    inlineStyle="width:1105px; height:336px;">
    <f:facet name="menus">
    <af:menu text="Export Excel" id="m2">
    <af:commandMenuItem text="Excel" id="cmi1">
    <af:exportCollectionActionListener exportedId="resId1"
    type="excelHTML"/>
    </af:commandMenuItem>
    </af:menu>
    </f:facet>
    <f:facet name="toolbar">
    <af:toolbar id="t1">
    <af:commandToolbarButton id="ctb1"
    icon="/Images/browse.gif"
    shortDesc="Search"
    partialTriggers="resId1"
    disabled="#{UsapProgramPrivilege.query}">
    <af:showPopupBehavior popupId=":::p2"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton id="ctb_add"
    icon="/Images/addsymbol.png"
    shortDesc="Add"
    action="#{MasterManagedBean.createRecord}"
    useWindow="true"
    windowModalityType="applicationModal"
    windowHeight="300"
    windowWidth="300"
    disabled="#{UsapProgramPrivilege.insert}"/>
    <af:commandToolbarButton
    id="ctb2"
    partialTriggers="resId1"
    icon="/Images/update_ena.png">
    <af:showPopupBehavior popupId=":::p_edit"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton id="ctb_delete"
    icon="/Images/delete_ena.png"
    shortDesc="Delete"
    partialTriggers="resId1"
    actionListener="#{bindings.Delete.execute}"
    disabled="#{UsapProgramPrivilege.delete}"/>
    <af:commandToolbarButton id="ctb3"
    icon="/Images/filesave.png"
    shortDesc="Save"
    partialTriggers="resId1 ctb_add ctb_delete :::cb1"
    actionListener="#{bindings.Commit.execute}"
    disabled="#{!bindings.Commit.enabled}"/>
    <af:commandToolbarButton id="ctb5" icon="/Images/undo.png"
    actionListener="#{bindings.Rollback.execute}"
    disabled="#{!bindings.Rollback.enabled}"
    immediate="true">
    <af:resetActionListener/>
    </af:commandToolbarButton>
    <af:commandToolbarButton id="ctb4"
    icon="/Images/eraser-4.gif"
    shortDesc="Clear"
    action="#{MasterManagedBean.onClearTableSearchFields}"/>
    <af:outputText value="CmmAmcRatesVO1Iterator"
    id="ot_amciterator"
    binding="#{MasterManagedBean.iteratorName}"
    visible="false"/>
    </af:toolbar>
    </f:facet>
    <f:facet name="statusbar"/>
    <af:table value="#{bindings.CmmAmcRatesVO1.collectionModel}"
    var="row"
    rows="#{bindings.CmmAmcRatesVO1.rangeSize}"
    emptyText="#{bindings.CmmAmcRatesVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.CmmAmcRatesVO1.rangeSize}"
    rowBandingInterval="0"
    filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.CmmAmcRatesVO1.collectionModel.selectedRow}"
    selectionListener="#{bindings.CmmAmcRatesVO1.collectionModel.makeCurrent}"
    rowSelection="single" id="resId1"
    binding="#{MasterManagedBean.masterTable}"
    styleClass="hieght:100% width:100%"
    columnSelection="multiple" width="1099"
    rowDisclosureListener="#{MasterManagedBean.onRowDiscloseureEvent}"
    partialTriggers="::ctb_add ::ctb_delete ::::cb1">
    <af:column sortProperty="AmrtPrdId" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtPrdId.label}"
    id="resId1c1">
    <af:outputText value="#{row.AmrtPrdId}" id="ot8"/>
    </af:column>
    <af:column sortProperty="AmrtFeeId" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtFeeId.label}"
    id="resId1c2">
    <af:outputText value="#{row.AmrtFeeId}" id="ot7"/>
    </af:column>
    <af:column sortProperty="AmrtRateTyp" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtRateTyp.label}"
    id="resId1c3">
    <af:outputText value="#{row.AmrtRateTyp}" id="ot11"/>
    </af:column>
    <af:column sortProperty="AmrtFxdAmt" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtFxdAmt.label}"
    id="resId1c4">
    <af:outputText value="#{row.AmrtFxdAmt}" id="ot3">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtFxdAmt.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="AmrtPerc" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtPerc.label}"
    id="resId1c5">
    <af:outputText value="#{row.AmrtPerc}" id="ot4">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtPerc.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="AmrtMinAmt" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtMinAmt.label}"
    id="resId1c6">
    <af:outputText value="#{row.AmrtMinAmt}" id="ot2">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtMinAmt.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="AmrtMaxAmt" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtMaxAmt.label}"
    id="resId1c7">
    <af:outputText value="#{row.AmrtMaxAmt}" id="ot9">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtMaxAmt.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="AmrtFolioId" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtFolioId.label}"
    id="resId1c8">
    <af:outputText value="#{row.AmrtFolioId}" id="ot1"/>
    </af:column>
    <af:column sortProperty="AmrtCurrId" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtCurrId.label}"
    id="resId1c9">
    <af:outputText value="#{row.AmrtCurrId}" id="ot10"/>
    </af:column>
    <af:column sortProperty="AmrtRndMthd" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtRndMthd.label}"
    id="resId1c10">
    <af:outputText value="#{row.AmrtRndMthd}" id="ot14"/>
    </af:column>
    <af:column sortProperty="AmrtDecPlc" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtDecPlc.label}"
    id="resId1c11">
    <af:outputText value="#{row.AmrtDecPlc}" id="ot5">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtDecPlc.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="AmrtActiveYn" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtActiveYn.label}"
    id="resId1c12">
    <af:outputText value="#{row.AmrtActiveYn}" id="ot13"/>
    </af:column>
    <af:column sortProperty="AmrtHoldYn" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtHoldYn.label}"
    id="resId1c13">
    <af:outputText value="#{row.AmrtHoldYn}" id="ot12"/>
    </af:column>
    <af:column sortProperty="AmrtEffFdate" filterable="true"
    sortable="true"
    headerText="#{bindings.CmmAmcRatesVO1.hints.AmrtEffFdate.label}"
    id="resId1c14">
    <f:facet name="filter">
    <af:inputDate value="#{vs.filterCriteria.AmrtEffFdate}"
    id="id1"/>
    </f:facet>
    <af:outputText value="#{row.AmrtEffFdate}" id="ot6">
    <af:convertDateTime pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtEffFdate.format}"/>
    </af:outputText>
    </af:column>
    <f:facet name="detailStamp">
    <af:panelFormLayout id="pfl2" rows="9">
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtPrdId.label}"
    id="plam10">
    <af:outputText value="#{row.AmrtPrdId}" id="ot31"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtFeeId.label}"
    id="plam17">
    <af:outputText value="#{row.AmrtFeeId}" id="ot20"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtRateTyp.label}"
    id="plam11">
    <af:outputText value="#{row.AmrtRateTyp}" id="ot28"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtFxdAmt.label}"
    id="plam18">
    <af:outputText value="#{row.AmrtFxdAmt}" id="ot16">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtFxdAmt.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtPerc.label}"
    id="plam14">
    <af:outputText value="#{row.AmrtPerc}" id="ot30">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtPerc.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtMinAmt.label}"
    id="plam1">
    <af:outputText value="#{row.AmrtMinAmt}" id="ot22">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtMinAmt.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtMaxAmt.label}"
    id="plam13">
    <af:outputText value="#{row.AmrtMaxAmt}" id="ot18">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtMaxAmt.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtFolioId.label}"
    id="plam7">
    <af:outputText value="#{row.AmrtFolioId}" id="ot27"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtCurrId.label}"
    id="plam4">
    <af:outputText value="#{row.AmrtCurrId}" id="ot26"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtRndMthd.label}"
    id="plam6">
    <af:outputText value="#{row.AmrtRndMthd}" id="ot25"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtDecPlc.label}"
    id="plam12">
    <af:outputText value="#{row.AmrtDecPlc}" id="ot21">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtDecPlc.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtActiveYn.label}"
    id="plam2">
    <af:outputText value="#{row.AmrtActiveYn}" id="ot32">
    <f:converter converterId="CharYNAsString"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtHoldYn.label}"
    id="plam8">
    <af:outputText value="#{row.AmrtHoldYn}" id="ot24">
    <f:converter converterId="CharYNAsString"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.AmrtEffFdate.label}"
    id="plam15">
    <af:outputText value="#{row.AmrtEffFdate}" id="ot23">
    <af:convertDateTime pattern="#{bindings.CmmAmcRatesVO1.hints.AmrtEffFdate.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.FeeDescription.label}"
    id="plam16">
    <af:outputText value="#{row.FeeDescription}"
    id="ot29"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.FolioDescription.label}"
    id="plam9">
    <af:outputText value="#{row.FolioDescription}"
    id="ot17"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.ProductDescription.label}"
    id="plam3">
    <af:outputText value="#{row.ProductDescription}"
    id="ot19"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.CmmAmcRatesVO1.hints.CurrencyDescription.label}"
    id="plam5">
    <af:outputText value="#{row.CurrencyDescription}"
    id="ot15"/>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </f:facet>
    </af:table>
    </af:panelCollection>
    </af:panelGroupLayout>
    </af:panelBox>
    </f:facet>
    <f:facet name="first">
    <af:panelStretchLayout id="psl3" startWidth="39px">
    <f:facet name="bottom"/>
    <f:facet name="center"/>
    <f:facet name="start"/>
    <f:facet name="end"/>
    <f:facet name="top"/>
    </af:panelStretchLayout>
    </f:facet>
    <f:facet name="top"/>
    <f:facet name="Bticker"/>
    </af:pageTemplate>
    <af:popup id="p2">
    <af:panelWindow id="pw1">
    <af:panelGroupLayout id="pgl2">
    <af:panelHeader text="AMC Rates" id="ph1">
    <af:query id="qryId1" headerText="Search" disclosed="true"
    value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
    model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
    resultComponentId="::pt1:pc1:resId1"
    displayMode="compact"
    />
    </af:panelHeader>
    </af:panelGroupLayout>
    </af:panelWindow>
    </af:popup>
    <af:popup id="p_edit" popupCanceledListener="#{MasterManagedBean.resetPopTitle}"
    partialTriggers="pt1:pc1:resId1">
    <af:panelWindow id="pw2" inlineStyle="width:600px; height:600.0px;"
    title="Edit"
    binding="#{MasterManagedBean.masterPenalWindow}">
    <af:panelGroupLayout id="pgl3">
    <af:panelFormLayout id="pfl4" rows="2" maxColumns="2">
    <af:inputListOfValues id="amrtFeeIdId"
    popupTitle="Search and Select: #{bindings.AmrtFeeId.hints.label}"
    value="#{bindings.AmrtFeeId.inputValue}"
    label="#{bindings.AmrtFeeId.hints.label}"
    model="#{bindings.AmrtFeeId.listOfValuesModel}"
    required="#{bindings.AmrtFeeId.hints.mandatory}"
    columns="#{bindings.AmrtFeeId.hints.displayWidth}"
    shortDesc="#{bindings.AmrtFeeId.hints.tooltip}">
    <f:validator binding="#{bindings.AmrtFeeId.validator}"/>
    </af:inputListOfValues>
    <af:inputListOfValues id="amrtPrdIdId"
    popupTitle="Search and Select: #{bindings.AmrtPrdId.hints.label}"
    value="#{bindings.AmrtPrdId.inputValue}"
    label="#{bindings.AmrtPrdId.hints.label}"
    model="#{bindings.AmrtPrdId.listOfValuesModel}"
    required="#{bindings.AmrtPrdId.hints.mandatory}"
    columns="#{bindings.AmrtPrdId.hints.displayWidth}"
    shortDesc="#{bindings.AmrtPrdId.hints.tooltip}">
    <f:validator binding="#{bindings.AmrtPrdId.validator}"/>
    </af:inputListOfValues>
    <af:inputText value="#{bindings.FeeDescription.inputValue}"
    required="#{bindings.FeeDescription.hints.mandatory}"
    columns="#{bindings.FeeDescription.hints.displayWidth}"
    maximumLength="#{bindings.FeeDescription.hints.precision}"
    shortDesc="#{bindings.FeeDescription.hints.tooltip}"
    partialTriggers="amrtFeeIdId" id="it10"
    readOnly="true">
    <f:validator binding="#{bindings.FeeDescription.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.ProductDescription.inputValue}"
    required="#{bindings.ProductDescription.hints.mandatory}"
    columns="#{bindings.ProductDescription.hints.displayWidth}"
    maximumLength="#{bindings.ProductDescription.hints.precision}"
    shortDesc="#{bindings.ProductDescription.hints.tooltip}"
    partialTriggers="amrtPrdIdId" id="it7"
    readOnly="true">
    <f:validator binding="#{bindings.ProductDescription.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    <af:panelFormLayout id="pfl6" rows="2" maxColumns="2">
    <af:inputListOfValues id="amrtFolioIdId"
    popupTitle="Search and Select: #{bindings.AmrtFolioId.hints.label}"
    value="#{bindings.AmrtFolioId.inputValue}"
    label="#{bindings.AmrtFolioId.hints.label}"
    model="#{bindings.AmrtFolioId.listOfValuesModel}"
    required="#{bindings.AmrtFolioId.hints.mandatory}"
    columns="#{bindings.AmrtFolioId.hints.displayWidth}"
    shortDesc="#{bindings.AmrtFolioId.hints.tooltip}">
    <f:validator binding="#{bindings.AmrtFolioId.validator}"/>
    </af:inputListOfValues>
    <af:inputListOfValues id="amrtCurrIdId"
    popupTitle="Search and Select: #{bindings.AmrtCurrId.hints.label}"
    value="#{bindings.AmrtCurrId.inputValue}"
    label="#{bindings.AmrtCurrId.hints.label}"
    model="#{bindings.AmrtCurrId.listOfValuesModel}"
    required="#{bindings.AmrtCurrId.hints.mandatory}"
    columns="#{bindings.AmrtCurrId.hints.displayWidth}"
    shortDesc="#{bindings.AmrtCurrId.hints.tooltip}">
    <f:validator binding="#{bindings.AmrtCurrId.validator}"/>
    </af:inputListOfValues>
    <af:inputText value="#{bindings.FolioDescription.inputValue}"
    required="#{bindings.FolioDescription.hints.mandatory}"
    columns="#{bindings.FolioDescription.hints.displayWidth}"
    maximumLength="#{bindings.FolioDescription.hints.precision}"
    shortDesc="#{bindings.FolioDescription.hints.tooltip}"
    partialTriggers="amrtFolioIdId" id="it9"
    readOnly="true">
    <f:validator binding="#{bindings.FolioDescription.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.CurrencyDescription.inputValue}"
    required="#{bindings.CurrencyDescription.hints.mandatory}"
    columns="#{bindings.CurrencyDescription.hints.displayWidth}"
    maximumLength="#{bindings.CurrencyDescription.hints.precision}"
    shortDesc="#{bindings.CurrencyDescription.hints.tooltip}"
    partialTriggers="amrtCurrIdId" id="it3"
    readOnly="true">
    <f:validator binding="#{bindings.CurrencyDescription.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    <af:panelFormLayout id="pfl1" rows="5" fieldWidth="150">
    <af:selectOneChoice value="#{bindings.AmrtRateTyp.inputValue}"
    label="#{bindings.AmrtRateTyp.label}"
    required="#{bindings.AmrtRateTyp.hints.mandatory}"
    shortDesc="#{bindings.AmrtRateTyp.hints.tooltip}"
    id="soc1">
    <f:selectItems value="#{bindings.AmrtRateTyp.items}"
    id="si1"/>
    </af:selectOneChoice>
    <af:inputText value="#{bindings.AmrtFxdAmt.inputValue}"
    label="#{bindings.AmrtFxdAmt.hints.label}"
    required="#{bindings.AmrtFxdAmt.hints.mandatory}"
    columns="#{bindings.AmrtFxdAmt.hints.displayWidth}"

    See if this helps:
    http://blogs.oracle.com/shay/2010/03/popup_details_for_a_table_reco.html

  • Problem with checkbox selection in Tableview

    Hi All
    I am using table view with 8 columns - in the last 4 columns i have checkboxes for user input - i have a strange problem - when the table has multiple entries - for the last column i can only select the checkbox on line 1 - and i cannot select the checkbox on the remaining entries below - but for the other colums with checkboxes this is not the case
    The selection mode for the table is no line selection - since the table is already displayed with input enabled fields - this is to reduce the no of clicks for user
    Can anyone point out what is going wrong - how can i fix this - what i am doing wrong ?
    Thanks
    Sen

    Hi
    When i click on the checkbox for the 2nd or 3rd rows of the last column - nothing happens - the checkox is still active but nothing happens -
    this is the tableview code
    <htmlb:tableView id              = "Detail"
                     design          = "ALTERNATING"
                     headerText      = "Header Text"
                     onNavigate      = "onMyNavigate"
                     emptyTableText  = "test"
                     onRowSelection  = "onMyRowSelection"
                     fillUpEmptyRows = "false"
                     footerVisible   = "true"
                     visibleRowCount = "5"
                     table           = "<%= DETAILTAB %>"
                     iterator        = "<%= iterator %>" >
    and this is the code for the last column
    <htmlb:tableViewColumn columnName         = "OBSOFLGICON"
                               width               = "3"
                               type                = "user"
                               horizontalAlignment = "CENTER"
                               title               = "Obs" >
          <htmlb:checkbox />
        </htmlb:tableViewColumn>
    Thanks
    Sen

  • ADF Table sorting on Select One choice column display value

    Hi Team,
    We are using an ADF with EJB application.
    I have an ADF table, which has a select one choice in it. (The Select one Choice list elements are populated from a java bean).
    Presetnly, when we perform the sorting on this SOC column, the table is getting sorted based on SOC value not on the Label.
    How to sort this column based on the SOC Lable filed.
    Please help us.
    Thank you,
    Keshav Ch

    Hi Frank,
    I took a transient column in the Entity and populated this column with the LOV label value.
    In the ADF added this coulmn to the table and set it is rendered false.
    Set the sortable property of the lov column to the new trasient column.
    Now the sort will work with the label filed (Transient Column)
    Thank you,
    Keshav ch

  • [Solved]Problem in showing ADF tables with 50,000 Records and more in TP4

    Hi,
    When I tried to view readonly ADF table in TP4, it loaded perfectly, but when i tried to run the vertical scrollbar to bottom record, it showed Fetching Data .... for few minutes and finally it showed a message. java.lang.OutOfMemoryError: Java heap space.
    When I tried to view normal ADF table in TP4, it loaded perfectly, but when i selected one row a popup Error message came and reported all the columns in the table with java.lang.NullPointerException.
    Similar functionality works beautifully in JDeveloper 10g version. Seems to be a serious problem in handling cached rows.
    Regards,
    Santhosh
    I am also getting a warning in OC4J console as given below:
    WARNING: Application loader current-workspace-app.web.SRApplication-ViewController-webapp:0.0.0 may not use /D:/Appl/jdevstudio1111/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\Appl\jdevstudio1111\j2ee\home\oc4j.jar)
    Message was edited by:
    Santhosh1234
    Message was edited by:
    Santhosh1234

    Hi!
    You have two ways:
    1. build your own table CollectionModel that will use TopLink paged data source access (see Pedja's thread here Paging of large data sets - SOLUTION
    2. use new Paged EJB finders that started to appear with TP4 when you use wizard to generate SessionBeans (named something like "query<Entity>FindAllByRange") . I posted already question about this new paged finders here How to use new "query<Entity>FindAllByRange" EJB finders? but no answers from devs yet :)
    Personally, I opt for no. 2 (paged finders) as it looks more platform-supported that writing custom CollectionModels for each finder... But until devs enlighten us with details how the paged finders are to be used (the af:table is not [yet?] supportive for drag-and-drop of paged finders), we are stuck with 1. option.
    Regards,
    Pavle

  • Adf Tree with checkboxes beside..

    Hi All....
    I have a requirement to make an application in adf (in j dev) where in i want a tree structure, beside each node in my tree,there should be 6 coloumns with checkboxes(the checked or unchecked values should get reflected in a DB table).Is it possible?and if yes,can u tell me any tutorial or a direction,as to how to proceed?
    I could make a tree structure,but that doesnt serve my need.:(
    Please help....
    Waiting for your posts...
    Thank you!!!!:)

    Check out SRDemo, there is an example of something similar there.

  • Table with checkbox

    Hi Experts,
                 I have one table and 4  column. i need
                  1. one check box for selection
                  2. if i click the check box entire row will be selected.
             how to give checkbox?
             its very urgent?
    Regards,
    P.Manivannan.

    Hi Manivannan,
    Is your scenario like this?
    You have a table with 4 columns
    Near to the table , you need a checkbox, for selecting entire   rows of the table
    In your View Context   add 1  value attribute, say 'checkVar' of type boolean.
    Then in your view layout insert a  check box.
    Then go to the properties of checkbox.
    select the property 'checked' , bind it to your boolean attribute 'checkVar'.
    Then in checkbox's  properties itself , select the event 'onToggle'.
    create an action for this.
    In that action write the coding
           boolean chk=wdContext.currentContextElement().getCheckVar();
             if(chk)
                  for(int i=0;i<wdContext.node<youtTableValueNode>().size();i++)
                        wdContext.node<youtTableValueNode>().setSelected(i,true);
             else
                   wdContext.node<youtTableValueNode>().clearSelection();
    Also note : set the table's property 'selection mode' to 'multi'

  • ADF Table with browser zoom not working properly

    Hi All,
    I am using ADF Table to show data from database. I am using JDeveloper 11.1.1.4.0.
    When user uses browser zoom functions (i.e. Ctrl + or Ctrl -) for zoom in or zoom out, The UI of Table disturbed and columns are not in line.
    Here is the snapshot of disturbed table image http://i.imgur.com/07YfB.jpg
    I have tested it with Firefox and Internet Explorer and in both the cases if you zoom in the columns are not in line anymore.
    I have added *<accessibility-profile>large-fonts</accessibility-profile> into trinidad-config.xml* and
    tried but it gives me the same result.( Reference Oracle Docs http://docs.oracle.com/cd/E16162_01/web.1112/e16181/af_access.htm#BEIDFIIB )
    Can anyone suggest solution for how to solve this problem so that the columns will be is line when uses browser's zoom?
    Thanks in advance,
    Viral

    Hi,
    I am not using any kind of css for table.
    It is default skin and defalut table properties that ADF provides.
    - Viral

Maybe you are looking for