2013-03-22 2 views

답변

2

이되지 않습니다, see jelly tags documentation :

This was originally added to allow plugins to load their stylesheets, but the use of thie 
attribute is discouraged now. plugins should now do so by inserting <style> elements 
and/or <script> elements in <l:header/> tag. 

대신 인라인 CSS 태그를 사용하십시오 (code example).

1

장소

에서 CSS 파일 (들)

/SRC/웹 애플리케이션/CSS를

등을 참조 ..

"HREF ="$ {rootURL} /plugin//css/layout.css "

1

<link> 요소 위에서 언급 한 $ rootURL이 나와 함께 일했습니다. 중요한 점은 <l:layout> 뒤에 <link> 요소를 배치해야한다는 것입니다. 원래는 <j:jelly> 태그 바로 뒤에 있었고 $ {rootURL}을 렌더링 할 수 없었습니다.

<link> 태그는 인라인 스타일링보다 훨씬 깨끗합니다.