JSF 1.2에서 Richfaces 3.3에서 4로 업그레이드 중입니다. JSF2 (2.02, 2.06 등)의 다양한 버전을 사용해 보았습니다. 모두 같은 오류가 발생합니다.'xxxxxx'속성이 org.richfaces.component.UIRepeat 유형에 없습니다.
몇 시간 동안 내 머리를 아프게하고있는 다음과 같은 오류가 나타납니다.
SEVERE: Error Rendering View[/my-testfile.xhtml]
javax.el.PropertyNotFoundException: /templates/components-navigation.xhtml @31,54 rendered="#{component.allowed}": Property 'allowed' not found on type org.richfaces.component.UIRepeat
/templates/components-navigation.xhtml
<a4j:outputPanel rendered="#{loginBean.loggedIn}">
<a4j:repeat var="menugroup" value="#{componentNavigator.groups}">
<a4j:region rendered="#{menugroup.itemCount > 0}">
<div class="panel_menu">
<table class="title" border="0" width="100%">
<tr>
<td>
<h:outputText class="text" value="#{messages[menugroup.id]}" />
</td>
</tr>
</table>
<table class="links" border="0" width="100%">
<tbody>
<a4j:repeat var="component" value="#{componentNavigator.components}">
<a4j:region rendered="#{component.allowed}">
<a4j:region rendered="#{component.groupId == menugroup.id}">
<tr class="#{component.current?'active':'unactive'}">
<td> </td>
<td class="text" width="100%">
<h:commandLink action="#{component.getCommandAction}" actionListener="#{componentNavigator.initControllerBean}">
<span style="display:block;">
#{messages[component.id]}
</span>
<f:attribute name="controllerBean" value="#{component.controllerBean}" />
<f:setPropertyActionListener target="#{componentNavigator.currentComponent}" value="#{component}" />
</h:commandLink>
</td>
</tr>
</a4j:region>
</a4j:region>
</a4j:repeat>
</tbody>
</table>
</div>
</a4j:region>
</a4j:repeat>
</a4j:outputPanel>
라인 (31)은 다음과 같습니다
<a4j:region rendered="#{component.allowed}">
어떤 아이디어 속성이 발견되지 않는 이유 ? 반복 구성 요소에 대해 알려진 문제가 있습니까?
나는 이미 내 빈에서 내 게터/세터, 모든 것이 아니오 (JSF1.2에서 완벽하게 작동있어 콩에 대한 변경 사항). 그것은 내 var로 '구성 요소'라는 단어를 사용하는 것과 관련이있을 것 같습니다. –