but it's not the configuration.
They are the messages in displaytag.properties.

For example :

/basic.msg.empty_list=<span class="error">No result found, please do another search</span>
basic.msg.empty_list_row=<tr><td colspan="{0}"> No result found.</td></tr> paging.banner.no_items_found=<span class="pagebanner"> No result found, nothing to display. </span>
paging.banner.all_items_found=<span class="pagebanner"> {0} results, displaying all . </span>
paging.banner.some_items_found=<span class="pagebanner"> {0} results, displaying {2} to {3}. </span>
paging.banner.one_item_found=<span class="pagebanner"> 1 result found . </span>/


The struts adapter don't take these values.
I must write in the files displaytag_xxx.properties

Thanks,


Gareth Davis a écrit :

not up to me...but I very much doubt it's a good idea to localize configuration.

Gareth


On Fri, 21 Jan 2005 16:12:02 +0100, Julien Redondo <[EMAIL PROTECTED]> wrote:


and in the future, these options will be localizable with the struts files ?

Thanks,

Gareth Davis a écrit :



but these properties are not localisable messages...there configuration options.

or am I missing something?

You can override these is displaytag.properties if you need to.

Gareth




On Fri, 21 Jan 2005 15:49:25 +0100, Julien Redondo <[EMAIL PROTECTED]> wrote:




thanks for your reponse.

I even use a snapshot  (because i have a problem with the column sorting
with case sensitive).

I write the "locale.provider" and "locale.resolver".
It's ok for all values excepting the default keys of displaytag
(basic.show.properties, basic.empty.showtable,.....etc)

I read the code and i don't arrive to solve this problem. In this code,
the default keys  for displaytag (basic.show.properties,
basic.empty.showtable,.....etc) don't work.

How do you do ?

Thanks,

Gareth Davis a écrit :





shouldn't be to much of a problem assuming your using version 1.0

you need to configure the i18n provider...this can be done via a
displaytag.properties file or via the setProperty tag (i think)

add the following entry

locale.provider=org.displaytag.localization.I18nStrutsAdapter

And everything should magically get routed through the current structs
message resources.

Hope this helps.
Gareth

On Fri, 21 Jan 2005 15:34:22 +0100, Julien Redondo <[EMAIL PROTECTED]> wrote:






Hello,

I use the displaytag in my project, but i have a problem with the
localization of the default key (basic.show.properties,
basic.empty.showtable,.....etc).
I don't want use several displaytag_xx.properties. I always use the
struts framawork with these own localized files.

I want to use the same localized file for the displaytag.
All is ok with the column title but with the default values
(basic.show.properties, basic.empty.showtable,.....etc), i must the
localized files displaytag_xxx.properties.

Why ??
How to you do to solve this problem and used only the struts localized
files for all values.

Thanks,

REDONDO Julien
AAcom S.A.
France

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel







-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel







-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel





-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel





-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel





-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel





-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to