I am using myfaces-api-1.1.4-SNAPSHOT.jar, myfaces-impl-1.1.4-SNAPSHOT.jar, and
tomahawk-1.1.2.jar
or tomahawk-1.1.4-SNAPSHOT.jar.
If I use the tomahawk.jar that comes with the simple application, the
commandLinkworks fine.
If I substitute tomahawk-1.1.4-SNAPSHOT.jar into the simple.war app, the
commandLinks in that app
fail. I also get an erro on startup: java.lang.NoClassDefFoundError:
org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper
I think there is a bug.
Mike
--- Murray Brandon <[EMAIL PROTECTED]> wrote:
> Do you have a properly resolved processAction method on your bean? If
> you don't have this properly resolving, you will not get a commandLink
> rendering, (just text? cant remember).
>
> I find it difficult to believe commandLink has a bug all of a sudden.
> It's such a simple component and it works fine on my Tomcat 5.5.15
> (which I use for testing cos it's so blindingly fast). Which version of
> Myfaces? The latest? Are you using a nightly build?
>
> Let me know what you find.
>
> Your bean must implement:
> ie. public void processAction(ActionEvent e) throws
> AbortProcessingException
>
> An example of my commandLink is below (am using the superb facelets too,
> but you get the gist):
>
> <h:commandLink actionListener="#{mybean.processAction}"
> disabled="#{disabled}" type="submit" rendered="#{rendered}">
> <c:if test="${not empty imageUrl and empty
> mouseoverImageUrl}">
> <t:graphicImage value="${imageUrl}"
> styleClass="noborder" />
> </c:if>
> <c:if test="${not empty imageUrl and not empty
> mouseoverImageUrl}">
> <t:graphicImage value="${imageUrl}"
> styleClass="noborder"
>
> onmouseover="auiChangeImage(this,'${mouseoverImageUrl}')"
> onmouseout="auiChangeImage(this,'${imageUrl}')" />
> </c:if>
> <c:if test="${not empty text}">
> <h:outputText value="${text}" />
> </c:if>
> </h:commandLink>
>
> Mike Duffy wrote:
> > This did not work for me. The fact that the command link does not work is
> > a SERIOUS BUG in
> > MyFaces. Any suggestions on the best way to report this bug?
> >
> > Mike
> >
> >
> > --- Garner Shawn <[EMAIL PROTECTED]> wrote:
> >
> >
> >> I got my commandLinks to work by adding the JSP-API.jar that came with
> >> facelets to my /web-inf/lib directory instead of the one in the
> >> tomcat/commons/lib directory.
> >> However this gives me another problem where my JSP forward isn't working.
> >> Seems to be some incompatibilty somewhere.
> >> I'm getting fed up and am going to back to Struts real soon.
> >>
> >> Shawn
> >>
> >>
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com