Aí Galera,
Estou tentando testar o exemplo de exttld que eles têm lá no site, mas está dando um erro que não estou conseguindo resolver.
Meu cod. é esse ai:
<?xml version="1.0" encoding="utf-8" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="utf-8"%>
<%@ taglib tagdir="/WEB-INF/tags/ext" prefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>ExtTLD test</title>
</head>
<body>
<ext:body>
<ext:window title="Window example" width="300" height="240" id="window1">
<ext:toolbar>
<ext:toolbar.button text="Button 1" />
<ext:toolbar.button text="Button 2" />
<ext:toolbar.button cls="x-btn-icon" icon="img/list-items.gif" tooltip="Icon button test" />
</ext:toolbar>
<div style="padding:5px">Ext is not just a tool kit or another pretty face - it is genius! To be able to get access to a set of tools and advanced design patterns in working form (not some book) is amazing. At the cost of a few development hour per developer - we can all have genius websites. There is no better tool and no better ROI. Thanks Jack for sharing your genius. ? Joseph Francis, Core Lan Corporation</div>
<ext:button onClick="window1.close();">Close</ext:button>
</ext:window>
</ext:body>
<ext:onReady>
window1.show();
</ext:onReady>
</body>
</html>
O erro que está dando é o seguinte:
org.apache.jasper.JasperException: /WEB-INF/tags/ext/body.tag(105,4) PWC6038: "${empty(extLocation)?"js/ext-2.0":extLocation}" contains invalid expression(s): javax.el.ELException: Error Parsing: ${empty(extLocation)?"js/ext-2.0":extLocation}
Será que alguem poderia dar uma ajuda?
Vlw
//Graveyard