[ http://issues.apache.org/jira/browse/MYFACES-836?page=all ] Bruno Aranda closed MYFACES-836: -------------------------------- Resolution: Invalid h:graphicImage does not have the attribute 'border' [1] (it was a bug in the 1.0.9 version). Use the extended t:graphicImage instead. Neither h:inputText, nor the extended version, accept the escape component [2]. It make no sense to me... [1] http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/tlddocs/h/graphicImage.html [2] http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/tlddocs/h/inputText.html Regards, Bruno > ESCAPE_ATTR for <h:inputText > ---------------------------- > > Key: MYFACES-836 > URL: http://issues.apache.org/jira/browse/MYFACES-836 > Project: MyFaces > Type: Bug > Components: General > Versions: 1.1.1 > Environment: jdk1.5.0_03 > JBoss-4.0.2 > Windows 2000 > Reporter: Ketan Khimani > > When using border attribute in <h:graphicImage its giving following exception > javax.servlet.ServletException: ServletException in '/common/header.jsp': /common/header.jsp(16,16) Attribute border invalid for tag graphicImage according to TLD > Similarly for escape attribute in <h:inputeText its throwing similar exception > javax.servlet.ServletException: ServletException in '/XYZ.jsp': /ABC.jsp(37,22) Attribute escape invalid for tag inputText according to TLD > When I have cecked the HtmlImageRenderer.java ,in that HTML.IMG_PASSTHROUGH_ATTRIBUTES, in which BORDER_ATTR is there in both of the version (1.0.9 and 1.1.1) of Java Classes but in tld border attribute is not defined. > Similar thing applies to HtmlTextRendererBase.java, ESCAPE_ATTR which is there in renderer but not in tld. > For boder we can use CSS, but for escape attribute what is the alternate? > Because I am prepopulating value ,and value is an ascii character , so when I use escape =false, it shows that properly, otherwise it dont. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira