Hi, Michael
I have tried many ways, such as:
1. replace jstl.jar and standard.jar (which is under version 1.0) and
relative tld files with the ones in j2-admin.
2. Copy total files of 1.1 version to my portlet application.
2. Copy total files of 1.0 version to my portlet application.
And in any way, such problems still remain:
1. when uri is http://java.sun.com/jsp/jstl/core, all tags doesn't work.
2. when uri is http://java.sun.com/jstl/core, it works with old problems:
display must with <c:out>, and the value can't be passed to <portlet:param>
I'm so puzzled. So if possible, could you send me a sample portlet with all
libs? Or please tell me where you have got the jstl libs. (Mine is got by
MyEclipse providing) I'm so eager to solve this problem.
My email is: [EMAIL PROTECTED]
Thanks a lot.
P.S. Scope couldn't be the problem, because in any other tag such as
<c:out>, it works, given that the uri is http://java.sun.com/jstl/core .
Bob
2007/5/15, Michael Binette <[EMAIL PROTECTED]>:
Song Chao,
I have no problem with this. Here is an example of what I am using in
my JSP:
<portlet:actionURL var="changeComponentUrl">
<portlet:param name="componentIndex"
value="${componentListStatus.index}"/>
<portlet:param name="componentId" value="${component.id}"/>
</portlet:actionURL>
My taglib definition is:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
What scope is your item object in? That could be the problem?
--
Michael Binette
Song Chao wrote:
> Hi, all
> I found that it doesn't work when I pass values by EL to <portlet
> param >,
> such as
>
> <portlet:actionURL var="action_add_url">
> <portlet:param name="id" value="${item.id}" />
> </portlet:actionURL>
>
>
> How to solve this problem? Please show me some examples.
>
> Thanks.
>
> Bob Song
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]