What is this:
Link is not embedded in a form. Change component/tag 'Guardar' from
javax.faces.*/<h:tagName /> to
org.apache.myfaces.*/<t:tagName />, or embed it in a form. This is not a bug.
Please see: http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1.1.3
The path to this component is
{Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId:
/JSP/Mantenimientos/AgregarDiaFeriado.jsp][Class:
org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: null]
[Class: org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
_idJsp1][Class: javax.faces.component.html.
HtmlCommandLink,Id: Guardar]}. If you need to render a special form
and a JSF-form's attributes are not enough,
consider using the s:form tag of the MyFaces sandbox.
I have this, and is in a form:
<h:form id="formAgregarDiaFeriado">
<f:loadBundle basename="ccss.pass.siacAgenda.vc.common.recursos"
var="recursos"/>
<t:panelGrid columns="2" align="center">
<h:commandLink id="Guardar" action="refrescar"
actionListener="#{DiaFeriadoBean.agregarDiaFeriado}">
<t:graphicImage url="../../images/guardar.gif"
width="32px" height="32px" border="0" alt="Guardar"/>
</h:commandLink>
<h:commandLink id="Salir"
action="mostrarDiasFeriados">
<t:graphicImage url="../../images/salir.gif"
width="32px" height="32px" border="0" alt="Salir"/>
</h:commandLink>
</t:panelGrid>
I'm using myfaces, tomahawk-1.1.5-SNAPSHOT, what it could be?? thanks
Regards