3 回答
TA贡献1812条经验 获得超5个赞
<h:outputStyleSheet>FacesServlet/javax.faces.resource/*<link>
url()#{resource['library:location']}
.c2 {
background: url("/resources/images/smiley.jpg"); }.c2 {
background: url("#{resource['images/smiley.jpg']}"); }playgroundFacesServlet*.xhtml
.c2 {
background: url("/playground/javax.faces.resource/images/smiley.jpg.xhtml");}:primefaces-start
.c2 {
background: url("#{resource['primefaces-start:images/ui-bg_gloss-wave_50_6eac2c_500x100.png']}"); }.c2 {
background: url("/playground/javax.faces.resource/images/ui-bg_gloss-wave_50_6eac2c_500x100.png.xhtml?ln=primefaces-start");}另见:
不相干librarylibrarylibrary<h:outputStylesheet>#{resource}.
<h:outputStylesheet name="css/style.css" />
另见:
TA贡献1815条经验 获得超13个赞
<input type="submit" name="j_idt15" value="" class="c2"><input type="image" src="/demoapp/resources/images/smiley.jpg" name="j_idt14">
添加回答
举报
