Взаимодействие <jsp:include> и <facet name="detailStamp">
От: LittlePrince Россия  
Дата: 01.04.14 07:03
Оценка:
Всем привет. Столкнулся со следующей проблемой. При попытке установить в фасет detailStamp элемента <af:table>
таг <jsp:include page="xxx"/>, adf начинает вести себя странно, а именно — содержимое подключаемой страницы, переданной в include
вываливается за пределы таблицы.
В официальной документации по данному фасету информации мало и ничего дельного не нашел.
По <jsp:include page="xxx"/> информации, которая могла бы помочь, тоже не нашел.
Может кто сталкивался? Есть какие-нибудь мысли, в какую сторону копать?
код страничек:
<af:table columnStretching="column:sb_55_6" fetchSize="75" var="item" rowBandingInterval="1" contentDelivery="lazy" horizontalGridVisible="false" summary="Перечень объектов" value="#{pageFlowScope.dict_mugiso_MugisoLand_dc.bag}" visible="#{pageFlowScope.dict_mugiso_MugisoLand_vb.pageShown}" rowSelection="single" verticalGridVisible="false" binding="#{pageFlowScope.dict_mugiso_MugisoLand_vb.structureList}" id="sb_55_7" selectionListener="#{pageFlowScope.dict_mugiso_MugisoLand_vb.objectSelect}">
     <af:column visible="#{geo:getSavedAttribute('sb_55_8', 'visible', true).value}" headerText="Кадастровый номер" displayIndex="#{geo:getSavedAttribute('sb_55_8', 'displayIndex', 0).value}" rowHeader="unstyled" width="#{geo:getSavedAttribute('sb_55_8', 'width', 150).value}" id="sb_55_8">                        
         <af:panelGroupLayout layout="horizontal" id="sb_55_10">
              <af:image source="#{item.iconClaim}" shortDesc="#{item.descriptionClaim}" rendered="#{item.notifyDocClaimActual}" id="sb_55_11"/>
              <af:image source="#{item.iconClaim}" shortDesc="#{item.descriptionClaim}" rendered="#{item.notifyDocClaimDateExpired}" id="sb_55_12"/>
              <af:image source="#{item.iconDocCreation}" shortDesc="#{item.descriptionDocCreation}" rendered="#{item.notifyDocRegRequired}" id="sb_55_13"/>
              <af:image source="#{item.iconDocCreation}" shortDesc="#{item.descriptionDocCreation}" rendered="#{item.notifyDocRegOuterDate}" id="sb_55_14"/>
              <af:image source="#{item.iconDocCreation}" shortDesc="#{item.descriptionDocCreation}" rendered="#{item.notifyDocDateExpired}" id="sb_55_15"/>
              <af:image source="#{item.iconDocCreation}" shortDesc="#{item.descriptionDocCreation}" rendered="#{item.notifyDocCreation}" id="sb_55_16"/>
              <af:outputText styleClass="#{pageFlowScope.dict_mugiso_MugisoLand_dc.searchBacklight[item]}" value="#{item.cadNumString}" id="sb_55_17"/>
         </af:panelGroupLayout>
     </af:column>
     <f:facet name="detailStamp">
        <af:panelBox text="Header" background="light">
            <af:outputText value="#{item.cadNum}"/>
    </af:panelBox>
     </f:facet>
</af:table>

<?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:geo="http://geo.components"
          xmlns:trh="http://myfaces.apache.org/trinidad/html">
    <jsp:directive.page contentType="text/html;charset=utf-8" pageEncoding="utf-8"/>
    <af:panelGroupLayout layout="vertical" styleClass="AFStretchWidth">
        <af:panelBox text="Header" background="light">
        <af:outputText value="#{item.cadNum}"/>
        <af:outputText value="123"/>
        </af:panelBox>
    </af:panelGroupLayout>
</jsp:root>
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.