You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dan Adams <da...@ifactory.com> on 2005/10/17 21:19:11 UTC
listener problem with jetty/tomcat
Okay, I use jetty for testing and tomcat for staging server. On jetty my
listener works fine but when I launch in tomcat and click a link I get
the following. I'm not sure why it thinks that it has 2 listener
parameters. Again, this is tested and working under jetty.
No listener method named 'selectAction' suitable for 2 listener
parameters found
here's the html:
<span jwcid="@DirectLink" listener="listener:selectAction"
parameters="ognl:row.id"><span jwcid="@Insert"
value="ognl:row.name" /></span>
and the listener:
public void selectAction(IRequestCycle cycle, Integer id) {
...
Any ideas?
--
Dan Adams
Software Engineer
Interactive Factory
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: listener problem with jetty/tomcat
Posted by Patrick Casey <pa...@adelphia.net>.
Do you have cookies off? You might be defaulting to URL rewriting
which would add a second parameter (your session id) to the GET request.
-- Pat
> -----Original Message-----
> From: Dan Adams [mailto:dan@ifactory.com]
> Sent: Monday, October 17, 2005 12:19 PM
> To: Tapestry users
> Subject: listener problem with jetty/tomcat
>
> Okay, I use jetty for testing and tomcat for staging server. On jetty my
> listener works fine but when I launch in tomcat and click a link I get
> the following. I'm not sure why it thinks that it has 2 listener
> parameters. Again, this is tested and working under jetty.
>
> No listener method named 'selectAction' suitable for 2 listener
> parameters found
>
> here's the html:
>
> <span jwcid="@DirectLink" listener="listener:selectAction"
> parameters="ognl:row.id"><span jwcid="@Insert"
> value="ognl:row.name" /></span>
>
> and the listener:
>
> public void selectAction(IRequestCycle cycle, Integer id) {
> ...
>
> Any ideas?
>
> --
> Dan Adams
> Software Engineer
> Interactive Factory
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org