<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=martiner" rel="nofollow">Martin Caslavsky</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6229?redirect=false" rel="nofollow">SPR-6229</a></strong> and commented</p>
<p dir="auto">Submitting form with radiobutton(s) tag:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;form:radiobuttons path=&quot;myenumproperty&quot;/&gt;"><pre class="notranslate"><code class="notranslate">&lt;form:radiobuttons path="myenumproperty"/&gt;
</code></pre></div>
<p dir="auto">fails with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Failed to convert property value of type java.lang.String[] to required type MyEnum for property myenumproperty; 
nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String[]] 
to required type [MyEnum] for property myenumproperty: no matching editors or conversion strategy found"><pre class="notranslate"><code class="notranslate">Failed to convert property value of type java.lang.String[] to required type MyEnum for property myenumproperty; 
nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String[]] 
to required type [MyEnum] for property myenumproperty: no matching editors or conversion strategy found
</code></pre></div>
<p dir="auto">Works well in M3</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0 RC1</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398098013" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10858" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10858/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10858">#10858</a> Binding Enum values to beans broken in Spring 3 RC1 (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=sgarlatm" rel="nofollow">Matthew Sgarlata</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-465?redirect=false" rel="nofollow">SPR-465</a></strong> and commented</p>
<p dir="auto">The spring:message tag does not work when using Struts as the web tier instead of Spring.  Basically, the MessageTag extends the RequestContextAwareTag, which delegates to RequestContextUtils.  RequestContextUtils looks up items stored in the request by the DispatcherServlet.  So, if you're coming from some other servlet (your own, Struts, etc) you are out of luck.</p>
<p dir="auto">I think the best solution would probably be to move some methods in RequestContextUtils to WebApplicationContext (e.g. - getLocaleResolver, getLocale).  This approach seems reasonable considering the WebApplicationContext interface already implements the ThemeSource interface.</p>
<p dir="auto">I was going to try to submit a patch but it looks like the needed changes are a little more involved than I initially supposed, and it looks like there are several potential implementation strategies.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 1.1.2</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398054222" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5350" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5350/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5350">#5350</a> spring:* tags are not usable outside a dispatcher servlet request (<em><strong>"duplicates"</strong></em>)</li>
</ul>