2012-08-22 3 views
0

Tomcat을이 행을 삼키는 방법은 무엇입니까 ?? 나는 모든 인용 조합을 시도했다!JSP에서 네 번째 중첩 된 인용

<liferay-ui:search-container-column-text name="howstheweather" 
    value="<liferay-ui:message key='<%=("Sun").equals(timeBean.today())?"sunny-day-msg":"take-umbrella-msg"%>'/>" 
/> 

가 어떤 해결책 평가 다른 JSP 태그의 값에 EL 및 JSLT

답변

1

넌 JSP 태그를 사용할 수를 변경하지 묻는. 그러나 <liferay-ui:search-container-column-text .../> -Tag에는 translate 속성이 있습니다. 귀하를위한 솔루션 :

<liferay-ui:search-container-column-text name="howstheweather" 
    value='<%=("Sun").equals(timeBean.today())?"sunny-day-msg":"take-umbrella-msg"%>' 
    translate='true' 
/> 
관련 문제