I'm using commandLinks in TC 5.5 right now. Try deploying the simple
examples to a default TC 5.5 install. You will find that the
commandLinks work (at least some of them.)
Sean
On 6/6/06, 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
>
>