diff --git a/src/main/webapp/WEB-INF/tags/form/fields/select.tagx b/src/main/webapp/WEB-INF/tags/form/fields/select.tagx
index c5e396350ae0acde0602aa08c3f400ebb186f2a4..12cbc8488ec8cac57bfbc26251531cde27a9980a 100644
--- a/src/main/webapp/WEB-INF/tags/form/fields/select.tagx
+++ b/src/main/webapp/WEB-INF/tags/form/fields/select.tagx
@@ -242,21 +242,18 @@
             	<c:if test="${disabled == false}">
             		<spring:url value="/resources/images/add.png" var="add_image_url" />
             		<spring:url value="/resources/images/delete.png" var="remove_image_url" />
-            		<c:set var="req" value="${pageContext.request}" />
-            		<c:set var="url">${req.requestURL}</c:set>
-            		<!-- <script type="text/javascript"> alert("${url}"); </script> -->
-            		<c:set var="url">${fn:substring(url, 0, fn:length(url) - fn:length('/WEB-INF/layouts/default.jspx'))}</c:set>
+            		<spring:url value="${path}" var="base_url" />
+
             		<!-- <input id="_${id}_add" style="background:url(${add_image_url}) no-repeat; width:19px;" type="submit" value="adicionar" formaction="${url}${path}/selecionar?tipo=${field}&amp;op=0"/> -->
-            		
             		 
-            		<a href="${url}${path}/selecionar?tipo=${field}&amp;op=0" id="_${id}_add">
+            		<a href="${base_url}/selecionar?tipo=${field}&amp;op=0" id="_${id}_add">
             			<img alt="${fn:escapeXml(add_label)}" class="image" src="${add_image_url}" title="Adicionar" />
             		</a>
 
             		
             		<!--<input id="_${id}_remove" style="background:url(${remove_image_url}) no-repeat; width:19px;" type="submit" value="remover" formaction="${url}${path}/selecionar?tipo=${field}&amp;op=1" /> -->
             		
-            		<a href="${url}${path}/selecionar?tipo=${field}&amp;op=1" id="_${id}_remove" >
+            		<a href="${base_url}/selecionar?tipo=${field}&amp;op=1" id="_${id}_remove" >
             			<img alt="${fn:escapeXml(remove_label)}" class="image" src="${remove_image_url}" title="Remover" />
             		</a>