![](/img/trans.png)
[英]How to override <struts:text name=“…”/> (Struts 2 Text jsp tag) to print out the name attribute in an HTML comment?
[英]Struts html text tag color attribute
我想為下面的行專門添加顏色或樣式屬性,但我一直遇到TLD問題
<html:text property="xxxx" readonly="true" color="#C0C0C0"/>
堆棧跟蹤:
org.apache.jasper.JasperException: /jsp/FinanceFee.jsp(617,22) Attribute color invalid for tag text according to TLD
使用CSS樣式替代
<html:text property="xxxx" readonly="true" style="color:#C0C0C0;"/>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.