I want to make a data table area <div> scroll instead of my entire page
being scrollable. Is this possible with my data area alone looks like:



<af:table emptyText="" rows="25"
                         banding="row" width="100%"
                         id="resultTable" bandingInterval="1" value="#{
ProviderBacking.provider}"     var="provider"   varStatus="cnt"  > <!--
rendered="#{ProviderBacking.showTable}" > -->
                 <f:facet name="footer"/>

                 <f:facet name="selection" />

                 <af:column sortable="true" headerText="Plan"
                            gridVisible="true" width="3%" formatType="text"
                            separateRows="false"
                            id="planResultColumn"  inlineStyle="border :
solid black" >
                   <af:outputText value="#{provider.planCode}"

                                  id="outputText8"/>
                 </af:column >

                 <af:column sortable="false" headerText="Name" width="11%"
                            id="column15">
                   <af:outputText value="#{provider.lastName}, #{
provider.firstName} "
                                  />
                 </af:column>
                 <af:column sortable="false" headerText="Address"
                            headerNoWrap="false" noWrap="false" width="17%"

                            id="column18">

                           <!--    #{provider.state}  #{provider.zipCode} "
-->
                   <af:outputText value="#{provider.facilityName}"
truncateAt="0"

                                  id="outputText11"/>


                   <af:outputText value="#{provider.addressLine1}"
truncateAt="0"

                                  id="outputText121"/>


                   <af:outputText value="#{provider.addressLine2}"
truncateAt="0"

                                  id="outputText11323"/>
                       <af:outputText value="#{provider.city}, #{
provider.stateCode} #{provider.zipCode} " truncateAt="0"


id="outputText1132344"/>

                   </af:column>

                 <af:column sortable="false" headerText="Specialty"
width="7%"

                            id="column19"  >
                            <af:outputText value="#{
provider.specialtyDescription}"

                                  />
                 </af:column>



                 <af:column sortable="false" headerText="Tax ID" width="5%"

                            id="column20">
                   <af:outputText value="#{provider.taxIdentifier}"

                                  id="outputText13"/>
                 </af:column>
                 <af:column sortable="false" headerText="Base License"
                            width="5%"
                            id="column21">
                   <af:outputText value="#{provider.baseLicenseNumber}"

                                  id="outputText14"/>
                 </af:column>
                 <af:column sortable="false" headerText="System ID"
width="6%"

                            id="column22">
                     <af:outputText value="#{provider.systemIdentifier}"
                                    id="outputText15"/>
                   </af:column>
                 <af:column sortable="false"
                            headerText="National Provider Identifier"
                            rowHeader="false"

                            id="column23"  >
                   <af:column sortable="false" headerText="Business"
width="6%"

                              id="column24">


                     <h:inputText title="Business Identifier" value="#{
provider.businessIdentifier}"  maxlength="10"  readonly="true" size="10"
                                   id="businessNPI"

style="font-size:inherit;background-color: #D3D3D3;"  rendered="#{
provider.busIdntRO}"

                                   >


                       </h:inputText>
                           <h:inputText value="#{
provider.businessIdentifier}"   maxlength="10"   size="10"
                                   title="Business Identifier"
                                   id="OfficeNPINotReadOnly"
                                   style="font-size:inherit;"  rendered="#{
provider.busIdntNRO}" onkeyup="checkNPIVal(this)"

                                  >
                      </h:inputText>

                   <af:outputText  value="#{msg.busNotCorrect}"
rendered="false"  />
                   </af:column>
                   <af:column sortable="false" headerText="Office"
width="6%"

                              id="column25">
                     <h:inputText value="#{provider.officeIdentifier}"
maxlength="10"  readonly="true" size="10"
                                   title="Office
Identifier"
                                   id="OfficeNPI"  rendered="#{
provider.offIdntRO}"

style="font-size:inherit;background-color: #D3D3D3;"
                                   onkeyup="checkNPIVal(this)"
                                   >
                                   <!-- <f:validateLongRange minimum="0"
maximum="2999999999"/> -->
                        </h:inputText>
                        <h:inputText title="Office Identifier" value="#{
provider.officeIdentifier}"   maxlength="10"   size="10"
                                     id="inputText1"
                                   style="font-size:inherit;;"
rendered="#{provider.offIdntNRO}"
                                   onkeyup="checkNPIVal(this)"
                                  >
                            <!-- <f:validateLongRange minimum="0"
maximum="2999999999"/>  -->

                       </h:inputText>

                      <h:outputText  value="#{msg.offNotCorrect}"
rendered="false"  />
                   </af:column>

                   <af:column sortable="false" headerText="Individual"
                              width="6%"
                              id="column26">
                       <h:inputText value="#{provider.individualIdentifier}"
maxlength="10"  readonly="true" size="10"
                                   title="Individual Identifier"
                                   id="individualNPI"

style="font-size:inherit;background-color: #D3D3D3;color:black;"
rendered="#{provider.indIdntRO}"  validator="#{ProviderBacking.validateDigit
}"
                                   onkeyup="checkNPIVal(this)"
                                  >

                            <!--      <f:validateLongRange minimum="0"
maximum="2999999999"       />  -->

                      </h:inputText>

                       <h:inputText value="#{provider.individualIdentifier}"
maxlength="10"   size="10"
                                   title="Individual Identifier"
                                   id="individualNPINotReadOnly"
onkeyup="checkNPIVal(this)"
                                   style="font-size:inherit;;"
rendered="#{provider.indIdntNRO}" validator="#{ProviderBacking.validateDigit
}"
                                               >
                         <!-- <f:validateLongRange minimum="0"
maximum="2999999999"/>  -->
                         </h:inputText>
                   <af:outputText  value="#{msg.indNotCorrect}"
rendered="false"  />
                   </af:column>
                 </af:column>
                 <af:column sortable="true" headerText="Update"
                            gridVisible="true" width="5%" formatType="text"
                            separateRows="false"
                                        id="updateCol"  >
                   <h:commandButton    title="To Enable NPI fields"
value="Update"
                                      onclick="setIdentifier('#{
provider.providerIdentifier}')"
                                      action="#{ProviderBacking.showEnabled}"

                                     disabled="#{LogonBacking.readAccess
}"/>


                   </af:column >

               </af:table>



--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

Reply via email to