you need to associate your ActionListener with a button take a look at this jsp
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<header...>
<body..>
<form..>
<h:command_button id="submit" action="success"
    label="Submit" commandName="submit" >
      <f:action_listener
        type="foo.bar.FlightSearchActionListener"/>
  </h:command_button>

HTH
Martin-
----- Original Message ----- From: "struts lover" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, October 06, 2005 3:10 PM
Subject: Struts JSF integration problem


Hello Everyone,

I just downloaded the struts-faces nightly build and
tried to integrate in my existing struts application.

I get the following error.

/virtual/addMember.jsp(10): Error in using tag library
uri='/WEB-INF/struts-faces.tld' prefix='s': The Tag
class 'org.apache.struts.faces.taglib.CommandLinkTag'
has no setter method corresponding to TLD declared
attribute 'actionListener', (JSP 1.1 spec, 5.4.1)
probably occurred due to an error in
/virtual/ForgotPassword.jsp line 10:
<%@ taglib prefix="s" uri="/WEB-INF/struts-faces.tld"
%>

I will appreciate any help.

Thanks.



---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to