Hi everyone,

I'm very interested in implementing the displayTag - the component
looks very promising.  Unfortunately, I've hit a snag -trying to make
it work with Weblogic 8.1 SP5  and after a couple of days trying to
resolve it, I'm really hoping you guys could help.

According to the info I found online, the "id" parameter in the
display:table tag is supposed to make the object corresponding to the
given row available in the page context.  However, this feature does
not seem to work for me. The code below demonstrates it.

<%
String[] testArray = {"test1","test2","testIdo"};
request.setAttribute( "test", testArray);
%>

<P>DisplayTag test11:

<display:table name="test" id="testID">
 <display:column title="The Title 1">
   <% System.out.println("testID in the Request Scope =" +
pageContext.getAttribute ("testID",PageContext.REQUEST_SCOPE));%>
 </display:column>
</display:table>

This code prints:
testID in the Request Scope =null
testID in the Request Scope =null
testID in the Request Scope =null
It looks like it's iterating over the array just fine, but the page
context is not getting set.  If you guys can help, I'd really
appreciate it!

Thanks,
Dmitry


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to