myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek" <martin.marinsc...@gmail.com>
Subject Re: Link is not embedded in a form
Date Sun, 12 Aug 2007 11:55:22 GMT
Hi Daniel,

I wonder how you get this component-path:


{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]}

from the JSP-snippet you posted. There is a form in the snippet, but
not in the component-path. Could it be that you need to clean
caches/temp/work directory of your container, redeploy your app?

regards,

Martin

On 8/9/07, daniel ccss <danielccss2@gmail.com> wrote:
> Anybody??
>
>
> On 8/9/07, daniel ccss <danielccss2@gmail.com> wrote:
> > 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
> >
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message