Hi
I am not able to pass the dynamic parameter to taglib . I am using the weblogic 8.1 version .
<msg:listthreads displaytype ="threads" forumId="<%=request.getParameter("forumId")%>" />
The above statement is not working but if I hardcoded the forumId it is working
<msg:listthreads displaytype ="threads" forumId="1" />
My tld file is given below
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD
JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>msg</shortname>
<info>Discussion forum tags </info>
<tag>
<name>listforums</name>
<tagclass>com.forum.tag.ListForumTag</tagclass>
<info>Listing forums</info>
<attribute>
<name>displaytype</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>listthreads</name>
<tagclass>com.message.tag.ListThreadTag</tagclass>
<info>Listing threads</info>
<attribute>
<name>forumId</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>rootMsgId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>displaytype</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>listusers</name>
<tagclass>com.user.tag.UserTag</tagclass>
<info>List Users</info>
</tag>
</taglib>
The above code working with Sun One
Thanks
Suneesh