아래 코드 (jsf 페이지)에서 호텔 정보가 표시됩니다 (테이블 행은 있지만 메인 테이블의 열 중 하나에서 테이블로 룸 세부 정보를 채우고 싶습니다). 코드가 실제로 더 의미가 있습니다. 제목이 "Rooms"인 열에서 방 세부 정보가있는 테이블을 표시하려고합니다. 전체 테이블은 "suitableHotelsList"라는 목록을 사용합니다. 목록 내에서 열 속성의 세부 정보를 제공하는 몇 가지 mainVO가 있습니다. 또한 roomVO가 포함 된 roomList가 MainVO 내에 있습니다. 따라서 나는 아래에 새로운 테이블을 할 수 있어야하지만 "알 수없는 속성 'roomList'"이라고 말하면서 오류가 발생합니다. 호텔과 객실을 연관 짓기 위해 어떤 제안을 할 수 있습니까?디스플레이 사용 : 디스플레이 내 테이블 : 테이블 열?
<div class="Tbl" style="border-width: 2px; border-style: solid; margin: 2px; font-size: 20px; height: 442px; left: 22px; top: 46px; overflow: scroll; position: absolute; width: 1268px; z-index: 1">
<display:table class="its" id="hotelList" name="requestScope.DetailSelection.suitableHotelsList" style="border-width: 2px; border-style: solid;">
<display:setProperty name="basic.empty.showtable" value="false"/>
<display:setProperty
name="basic.msg.empty_list">Gösterilecek bir kayıt bulunamadı</display:setProperty>/>
<display:column
property="hotelName" style="font-size: 30px; width:200px; text-align:center;" title="Hotel Name"/>
<display:column property="hotelStars" style="font-size: 30px; width:100px; text-align:center;" title="Stars"/>
<display:column property="userRating" style="font-size: 30px; width:100px; text-align:center;" title="User Rating"/>
<display:column property="hotelSummary" style="font-size: 20px; width:500px; text-align:center;" title="Summary"/>
<display:column style="width:100px;" title="Hotel Details">
<a href="HotelDetailsPage.jsp?id=${hotelList.hotelID}&screenType='O'&initial='true'">
<ui:image style="height:80px; width:80px;" url="/resources/img2.JPG"/>
</a>
</display:column>
<display:column style="width:100px;" title="Rooms">
<display:table class="its" id="roomList" name="requestScope.DetailSelection.suitableHotelsList.roomList">
<display:column property="room_type" style="font-size: 10px; width:100px; text-align:center;" title="Room Type"/>
<display:column property="price_per_night" style="font-size: 10px; width:100px; text-align:center;" title="Price Per Night"/>
<display:column property="room_number" style="font-size: 10px; width:100px; text-align:center;" title="Room Number"/>
<display:column style="width:100px;" title="Hotel Details">
<a href="Reservations.jsp?id=${roomList.roomID}&screenType='O'&initial='true'">
<ui:image style="height:80px; width:80px;" url="/resources/img3.JPG"/>
</a>
</display:column>
</display:table>
</display:column>
</display:table>
</div>
매우 잘 작동 했으니, 고맙습니다. – mechanicum