You would do something like: request.setAttribute("attributeName", objectValue);
The DisplayTag library generates the URLs internally, if you need to generate URLs you should use the portlet tag library the JSR-168 specification provides.
-Eric Bengt-erik wrote:
Thanks. I've read this page over and over. Let me be very concrete: I have a displaytag.properties file in classpath with the prescribed text entry. Quote from page: "To provide these objects it is recommended they be bound as request attributes using these names." How do I do this, say from a Spring controller? And how does the fact that these objects are bound to the page context under prescribed names help me to generate a usable portlet url?
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user