Re: [appfuse-user] Calling action method with parameters from JSP

2008-01-22 Thread Rob Hills
Hi Sarat, sarat.pediredla wrote: So would I use I tried it but doesnt seem to make a difference. Even tried Not sure how much difference it makes, but when I've done this (successfully), I've done the following: - used the full name of the method (in your case, "getCommentCount"

Re: [appfuse-user] Calling action method with parameters from JSP

2008-01-22 Thread sarat.pediredla
So would I use I tried it but doesnt seem to make a difference. Even tried mraible wrote: > > You'll need to use a Struts Tag (with OGNL) to call a method with > parameters. JSP's EL doesn't support calling methods with arguments. > > Matt > > On Jan 22, 2008, at 1:34 PM, sarat.

Re: [appfuse-user] Calling action method with parameters from JSP

2008-01-22 Thread Matt Raible
You'll need to use a Struts Tag (with OGNL) to call a method with parameters. JSP's EL doesn't support calling methods with arguments. Matt On Jan 22, 2008, at 1:34 PM, sarat.pediredla wrote: Hello, My action has a method like below public int getCommentCount(BlogPost post) { ... } I

[appfuse-user] Calling action method with parameters from JSP

2008-01-22 Thread sarat.pediredla
Hello, My action has a method like below public int getCommentCount(BlogPost post) { ... } In my JSP, I iterate through a list of objects as follows .. How do I call the getCommentCount method inside the s:iterator passing an instance of the current post? ${commentCount(pos