2012-08-31 2 views
0

내가 원하는 CommandLink는 jsf2 PrimeFaces을 비활성화 : <p:commandLink id="buttonchoix" value="choisir" disabled="#{editCommandController.result < car.stock}" />조건이 조건으로 장애인에 CommandLink는을

하지만 나를 위해 (프랑스어)이 오류 발생 :

오류 구문 분석/vues_admin/editCommand합니다. XHTML : 오류를 추적 [선 : 88] 라 valeur 드 난 attribut '<' "널 (null)"네브라스카 작은 동전 싶어서 contenir 르 caractère 않은 유형 디부 요소 à "장애인"associé

어떻게 할 수 나는 이것을 성취합니까?

답변

2

사용 lt 대신

또한
<p:commandLink id="buttonchoix" value="choisir" disabled="#{editCommandController.result lt car.stock}" /> 

, Conditionally displaying JSF components

+0

감사합니다, 그것은 작동 여기에 다음 BalusC 대답을 살펴 (보다 작음) – begiPass