Hi,

I have asked this question in display-tag maillist, but I got no answer.

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:

---------------------------------------------------------------------
Von: Nelson Ferreira Jr [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 15. Oktober 2003 21:38
An: [EMAIL PROTECTED]
Betreff: [displaytag-user] Display taglib and struts
internationalization


   Hi,

   I´d like to internationalize my table headers, reading the column title 
from ApplicationResources. Something like this:

<display:column sort="true"  property="my_property" title="<bean:message 
key="column_header1"/>"/>

   But it looks like Struts does not parse nested tags, and I just get a 
blank title. Any ideas?


                                                                   Thanks,

                                                                                  
Nelson 
------------------------------------------------------------------------




-----Ursprüngliche Nachricht-----
Von: Yansheng Lin [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 15. Oktober 2003 23:42
An: 'Struts Users Mailing List'
Betreff: RE: display tag and struts


Hi Frank, you might want to ask this question on display-tag maillist.  I
subscribed to that list a while ago, and as far as I can tell, there are quite a
few nice people on the list.

As to your sorting problem,  I don't think it has anything to do with the scope.
I got it working with request scope.... Can you do paging?  And what kind of
error message do you get?



-----Original Message-----
From: Otto, Frank [mailto:[EMAIL PROTECTED] 
Sent: October 15, 2003 9:27 AM
To: Struts-User (E-Mail)
Subject: display tag and struts


Hello,
 
I have read something about diplay tag library and have test it. If I want to
sort the table by clicking on column, I will get an error, because my collection
is null. It isn't saved in the session, only in the request. An idea?
 
My other questions is:
 
- Can I use display tag with i18n and resource bundles? I need the column titles
in different languages.
 
 
Regards,
 
Frank


---------------------------------------------------------------------
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]

Reply via email to