A
alexjaquet
Hi,
I'm currently doing some test with custom taglib and I didn't
understand why I'm getting the following error message :
javax.servlet.ServletException: /WEB-INF/tags/buttons.tag(4,0) D'après
la TLD, l'attribut value n'accepte aucune expression
here is my tag :
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<h:commandButton id="btnIndex" action="goIndex"
value="${pageScope.aValue}" />
and here my taglib :
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>A custom tag library</description>
<display-name>custom</display-name>
<tlib-version>1.0</tlib-version>
<short-name>custom</short-name>
<uri>http://dummyLink/ebonus/tags</uri>
<tag-file>
<name>layout</name>
<path>/WEB-INF/tags/layout.tag</path>
</tag-file>
<tag-file>
<name>buttons</name>
<path>/WEB-INF/tags/buttons.tag</path>
<attribute>
<name>value</name>
<required>false</required>
<rtexpvalue>true</rtexpvalue>
</attribute>
</tag-file>
<tag-file>
<name>table</name>
<path>/WEB-INF/tags/table.tag</path>
</tag-file>
<tag-file>
<name>test</name>
<path>/WEB-INF/tags/test.tag</path>
</tag-file>
</taglib>
any explanation would be really appreciate
regards
I'm currently doing some test with custom taglib and I didn't
understand why I'm getting the following error message :
javax.servlet.ServletException: /WEB-INF/tags/buttons.tag(4,0) D'après
la TLD, l'attribut value n'accepte aucune expression
here is my tag :
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<h:commandButton id="btnIndex" action="goIndex"
value="${pageScope.aValue}" />
and here my taglib :
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>A custom tag library</description>
<display-name>custom</display-name>
<tlib-version>1.0</tlib-version>
<short-name>custom</short-name>
<uri>http://dummyLink/ebonus/tags</uri>
<tag-file>
<name>layout</name>
<path>/WEB-INF/tags/layout.tag</path>
</tag-file>
<tag-file>
<name>buttons</name>
<path>/WEB-INF/tags/buttons.tag</path>
<attribute>
<name>value</name>
<required>false</required>
<rtexpvalue>true</rtexpvalue>
</attribute>
</tag-file>
<tag-file>
<name>table</name>
<path>/WEB-INF/tags/table.tag</path>
</tag-file>
<tag-file>
<name>test</name>
<path>/WEB-INF/tags/test.tag</path>
</tag-file>
</taglib>
any explanation would be really appreciate
regards