0
두 매크로가 있다고 가정 해 봅시다. 하나는 다른 매크로에 중첩되어 있습니다.Freemarker - 중첩 된 매크로에 param 전달
[#macro testNestingTOP id]
[#nested]
[/#macro]
[#macro testNesting]
id: ${id}
[/#macro]
사용 :
어떻게 testNesting 매크로에서 아이디 PARAM의 값을 검색 할 수 있습니까?
[@testNestingTOP id='SOME VALUE']
[@testNesting /]
[/@testNestingTOP]