Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to not make a table reload/refresh/blink when selecting a row

GingerHeadJun 13 2017 — edited Jun 15 2017

I have the following adf table:

Whenever I select a row the table reloads,

Could anyone please give an insight how to make the table not reload,

                      <af:table value="#{bindings.MyViewObjectVO11.collectionModel}"

                                var="row"

                                immediate="false"

                                summary="Persons"

                                selectionListener="#{bindings.MyViewObjectVO11.collectionModel.makeCurrent}"

                                selectedRowKeys="#{bindings.MyViewObjectVO11.collectionModel.selectedRow}"

                                rows="#{bindings.MyViewObjectVO11.rangeSize}"

                                emptyText="#{bindings.MyViewObjectVO11.viewable ? 'There is no data.' : 'Access Denied.'}"

                                fetchSize="#{bindings.MyViewObjectVO11.rangeSize}"

                                rowBandingInterval="0" id="resId1" width="98%"

                                filterVisible="true" varStatus="vs"

                                partialTriggers="cil55"

                                rowSelection="single">

                               

                        <af:column id="c53" width="15">

                          <af:commandImageLink id="cil53" icon="/resources/images/see.jpg"

                                               disabled="#{!bindings.setCurrentRowWithKeyValue.enabled}"

                                               actionListener="#{myPageBackingBean.controlPersonRelation}"

                                               partialSubmit="true"

                                               immediate="true"/>

                        </af:column>

                       <af:column id="c51" width="15" visible="false">

                          <af:commandImageLink id="cil51" icon="/resources/images/see.jpg"

                                               actionListener="#{bindings.setCurrentRowWithKeyValue.execute}"

                                               disabled="#{!bindings.setCurrentRowWithKeyValue.enabled}"

                                               action="personDetail"/>

                        </af:column>

                        <af:column sortProperty="PersonFullName"

                                   sortable="true"

                                   headerText="#{bindings.MyViewObjectVO11.hints.PersonFullName.label}"

                                   id="resId1c1" minimumWidth="12" width="155"

                                   displayIndex="-1">

                          <af:outputText id="ot9"

                                         value="#{row.PersonFullName}"

                                         inlineStyle="color:#{(row.EndDate ne null?'Red':'')}"/>

                        </af:column>

                        <af:column sortProperty="PersonTypeName" sortable="true"

                                   headerText="#{bindings.MyViewObjectVO11.hints.PersonTypeName.label}"

                                   id="c13" width="95">

                          <af:outputText value="#{row.PersonTypeName}" id="ot3"

                                         inlineStyle="color:#{(row.EndDate ne null?'Red':'')}"/>

                        </af:column>

                        <af:column sortProperty="PersonIDNumber"

                                   sortable="true"

                                   headerText="#{bindings.MyViewObjectVO11.hints.PersonIDNumber.label}"

                                   id="c6" width="110">

                          <af:outputText value="#{row.PersonIDNumber}"

                                         id="ot53"

                                         inlineStyle="color:#{(row.EndDate ne null?'Red':'')}"/>

                        </af:column>

                        <af:column sortProperty="PersonTribNumber"

                                   sortable="true"

                                   headerText="#{bindings.MyViewObjectVO11.hints.PersonTribNumber.label}"

                                   id="resId1c2" width="130">

                          <af:panelGroupLayout layout="horizontal" id="pgl4">

                          <af:spacer height="10px" width="10px" id="sp22"/>

                           <af:commandImageLink id="cil55" rendered="#{authorization.listRols.Num}"

                                                immediate="true"

                                                partialSubmit="true"

                                                icon="/resources/images/Modify.gif"

                                                actionListener="#{myPageBackingBean.ChangeNumInputTextDefaultValueOrig}">

                             <af:showPopupBehavior popupId="p2" triggerType="click"/>

                         </af:commandImageLink>

                          <af:spacer height="10px" width="10px" id="sp212"/>

                          <af:outputText value="#{row.PersonTribNumber}"

                                         id="ot24"

                                         inlineStyle="color:#{(row.EndDate ne null?'Red':'')}"/>

                          </af:panelGroupLayout>

                           <af:popup id="p2" binding="#{myPageBackingBean.popupChangeNumOrig}" contentDelivery="lazyUncached"

                             eventContext="self">

                          <af:dialog id="d22"

                               binding="#{myPageBackingBean.changeNumDialogOrig}"

                               dialogListener="#{myPageBackingBean.onDialgoActionChangeNumOrig}"

                               title="Change Num">

                             <af:inputText label="Num" id="it21" value="#{viewScope.PersonTribNumber}"

                                    binding="#{myPageBackingBean.dialogChangeNumInputTextOrig}"/>

                             <af:spacer width="100" height="10" id="s22"/>

                          </af:dialog>

                       </af:popup>

                        </af:column>

                        <af:column sortProperty="PersonComNumber"

                                   sortable="true"

                                   headerText="#{bindings.MyViewObjectVO11.hints.PersonComNumber.label}"

                                   id="resId1c3" width="130">

                          <af:outputText value="#{row.PersonComNumber}"

                                         id="ot23"

                                         inlineStyle="color:#{(row.EndDate ne null?'Red':'')}"/>

                        </af:column>

                        <af:column sortProperty="idTypeNumber" sortable="true"

                                   headerText="#{bindings.MyViewObjectVO11.hints.idTypeNumber.label}"

                                   id="resId1c4" width="88" rendered="false">

                          <af:outputText value="#{row.idTypeNumber}" id="ot1"

                                         inlineStyle="color:#{(row.EndDate ne null?'Red':'')}"/>

                        </af:column>

                        <af:column sortProperty="PersonDocNumber"

                                   sortable="true"

                                   id="resId1c5"

                                   headerText="#{bindings.MyViewObjectVO11.hints.PersonDocNumber.label}"

                                   width="155">

                          <af:outputText value="#{row.PersonDocNumber}"

                                         id="ot11"

                                         inlineStyle="color:#{(row.EndDate ne null?'Red':'')}"/>

                        </af:column>

                        <af:column sortProperty="citizenName" sortable="true"

                                   headerText="#{bindings.MyViewObjectVO11.hints.citizenName.label}"

                                   id="resId1c10" width="90" rendered="false">

                          <af:outputText value="#{row.citizenName}" id="ot10"/>

                        </af:column>

                      </af:table>

My jdeveloper version is:

Studio Edition Version 11.1.1.6.0

Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1

Copyright © 1997, 2011 Oracle and/or its affiliates. All rights reserved.

This post has been answered by HARSHA PATEELU on Jun 14 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 13 2017
Added on Jun 13 2017
4 comments
832 views