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"
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.
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
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