Hello Dirk, thanks for your answer.
how can I use JSTL in this way? Regards, Frank -----Ursprüngliche Nachricht----- Von: Dirk Markert [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 16. Oktober 2003 08:43 An: Struts Users Mailing List Betreff: Re: AW: display tag and struts Hello Frank, use something like: <bean:define id="label"> <bean:message key="column_header1"/> </bean:define> <display:column sort="true" property="my_property" title="<%= label %>"/> Or you can use JSTL. *************************************************************** OF> Hi, OF> I have asked this question in display-tag maillist, but I got no answer. OF> I think the i18n with display-tag is a "struts problem", because I read the mail from Nelson in display-tag maillist and he has the same problem. Struts can't parse nested tags. Mail of Nelson: OF> --------------------------------------------------------------------- OF> Von: Nelson Ferreira Jr [mailto:[EMAIL PROTECTED] OF> Gesendet: Mittwoch, 15. Oktober 2003 21:38 OF> An: [EMAIL PROTECTED] OF> Betreff: [displaytag-user] Display taglib and struts OF> internationalization OF> Hi, OF> I´d like to internationalize my table headers, reading the column title OF> from ApplicationResources. Something like this: OF> <display:column sort="true" property="my_property" title="<bean:message OF> key="column_header1"/>"/> OF> But it looks like Struts does not parse nested tags, and I just get a OF> blank title. Any ideas? OF> Thanks, OF> Nelson OF> ------------------------------------------------------------------------ OF> -----Ursprüngliche Nachricht----- OF> Von: Yansheng Lin [mailto:[EMAIL PROTECTED] OF> Gesendet: Mittwoch, 15. Oktober 2003 23:42 OF> An: 'Struts Users Mailing List' OF> Betreff: RE: display tag and struts OF> Hi Frank, you might want to ask this question on display-tag maillist. I OF> subscribed to that list a while ago, and as far as I can tell, there are quite a OF> few nice people on the list. OF> As to your sorting problem, I don't think it has anything to do with the scope. OF> I got it working with request scope.... Can you do paging? And what kind of OF> error message do you get? OF> -----Original Message----- OF> From: Otto, Frank [mailto:[EMAIL PROTECTED] OF> Sent: October 15, 2003 9:27 AM OF> To: Struts-User (E-Mail) OF> Subject: display tag and struts OF> Hello, OF> I have read something about diplay tag library and have test it. If I want to OF> sort the table by clicking on column, I will get an error, because my collection OF> is null. It isn't saved in the session, only in the request. An idea? OF> My other questions is: OF> - Can I use display tag with i18n and resource bundles? I need the column titles OF> in different languages. OF> Regards, OF> Frank OF> --------------------------------------------------------------------- OF> To unsubscribe, e-mail: [EMAIL PROTECTED] OF> For additional commands, e-mail: [EMAIL PROTECTED] OF> --------------------------------------------------------------------- OF> To unsubscribe, e-mail: [EMAIL PROTECTED] OF> For additional commands, e-mail: [EMAIL PROTECTED] Regards, Dirk +------- Quality leads ---------------------------------------+ | Dirk Markert [EMAIL PROTECTED] | | Dr. Markert Softwaretechnik AG | | Joseph-von-Fraunhofer-Str. 20 | | 44227 Dortmund | +---------------------------------->>>>>>> to success! <<<<<<-+ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]