|
|
|
(In reply to comment #0)
> The html tag has a DIR parameter that you can set to dir="rtl" . This will have > the effect that the whole page flip from right to left. It is needed for > languages such as Arabic and Hebrew. > > The html:html tag should add the Dir="rtl" to the generated html tag when the > local is for a rtl language. arabic = windows1256 According to the HTML 4.01 spec, dir is part of the %i18n attribute set, which is used by virtually every HTML tag. It is not just needed for HTML, but in fact all tags in the struts-html tld. See google.com in a bidi language for an example of how this attribute is used to properly control the direction of a page. A solution for this bug you can fing in BUG#35396.
Cookbook update:
URL: http://svn.apache.org/viewvc?view=rev&rev=479243 Added dir and lang attributes to regular+nested taglibs URL: http://svn.apache.org/viewvc?view=rev&rev=479244 Unlike the initial comment's proposal, the enhancement does not magically alter the direction of the text based on the character encoding. The developer should know ahead of time, through some means, when it is appropriate to alter the direction of the text. This add the I18N attributes so individual elements may be modified when necessary.
Added missing dir and lang attributes to FormTag+OptionTag, and cleared the properties on release
http://svn.apache.org/viewvc?view=rev&rev=479633 Added dir and lang attributes to EL support library URL: http://svn.apache.org/viewvc?view=rev&rev=479635 Internationalization attributes are now fully implemented. Struts 1.2.2 put in the @lang attribute on the <html> tag to match the user's locale, and now 1.3.6 can override the language on all form elements.
|
|||||||||||||||||||||||||||||||||||||||||||||||||
.V