DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13523>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13523

problem using JSTL fmt:setLocale with Tomcat 4.1.9

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW



------- Additional Comments From [EMAIL PROTECTED]  2003-02-04 05:04 
-------
When I try to use fmt:setLocale, supplying a scope attribute, the server throws 
a RuntimeException.

Example:
    <fmt:setLocale value="ja" scope="session" />
Error message:
    Illegal scope attribute without var in "fmt:setLocale" tag
Exception:
    java.lang.RuntimeException: org.apache.jasper.JasperException: 
<h3>Validation error messages from tag library fmt</h3>Illegal scope attribute 
without var in "fmt:setLocale" tag.

The JSTL spec (version 1.0) for fmt:setLocale is:
   <fmt:setLocale value="locale"
      [variant="variant"]
      [scope="{page|request|session|application}"]/>

therefore I cannot supply a var attribute, nor would it make much sense to do 
so.

Is there another way to set the Locale at the session scope for use with the 
other fmt tags?

This was tested on standard taglib release 1.0.2, servlet engine: JBoss v3.0.4

Regards,
Brad.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to