Getting Context within logic:iterate/
Hi, So I think I have a better way to ask my question ;-) Given something like this block of tags: logic:iterate id=download name=Downloads bean:write name=download property=displayName/br / bean:write name=download property=description/ /logic:iterate How can I do something like this inside the logic:iterate/: %@ page import=com.oe.wa.cal.bean.DownloadBean % % DownloadBean db = (DownloadBean) request.getAttribute(download); out.print(db.getSomeProperty()); % Note that I want to do this with a scriptlet and not with tags. Thanks! Jon - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Getting Context within logic:iterate/
Something like the following should work (double-check the syntax though!): %@ page import=com.oe.wa.cal.bean.DownloadBean % % for (DownloadBean db: (ListDownloadBean) request.getAttribute(downloadList).iterator()) { out.print(db.getSomeProperty()); } % -Brian
Re: Getting Context within logic:iterate/
Yupthanks! On Nov 18, 2009, at 8:30 AM, Brian Thompson wrote: Something like the following should work (double-check the syntax though!): %@ page import=com.oe.wa.cal.bean.DownloadBean % % for (DownloadBean db: (ListDownloadBean) request.getAttribute(downloadList).iterator()) { out.print(db.getSomeProperty()); } % -Brian - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org