Thanks Yannick. Actually the title will contains a dropdown box in which the dropdown box select option need to be pulled from database. That is why I called it dynamic title.
I tried your suggestion but with no luck. It still prints ${myTitle} literally. Did I miss something? Thanks a lot! Helen -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yannick Haudry Sent: Wednesday, June 20, 2007 3:06 PM To: displaytag-user@lists.sourceforge.net Subject: Re: [displaytag-user] Embedded jsp variable in displaytag column You may try to put your java variable in scope to access it with EL expression. <% String dynamicTitleString="something"; pageContext.setAttribute("myTitle", dynamicTitleString); %> <display:column property="category" sortable="true" title="${myTitle}" /> (by the way, I didn't really get where is the dynamic logic here ;-) ) Hope this helps, Yannick On 6/20/07, Bahae Eddine EL GHALI <[EMAIL PROTECTED]> wrote: > > > try this but in this way u must have a jstl jar in your project application > and specially the c.tld between ure files > > <% > String dynamicTitleString="something"; > %> > > <display:column property="category" sortable="true" title="<c:out > value="${dynamicTitleString}"/>" > </display:column> > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, copy, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user