<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'>This looks really interesting. Will the JSR support EL integration as well?<br><br><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"George Gastaldi" <gegastaldi@gmail.com><br><b>To: </b>"Adrian Gonzalez" <adr_gonzalez@yahoo.fr><br><b>Cc: </b>"Seam Mailing List" <seam-dev@lists.jboss.org><br><b>Sent: </b>Thursday, June 30, 2011 10:18:51 AM<br><b>Subject: </b>Re: [seam-dev] Conversion API<br><br><div>Nice, I found that on Spring docs also. Thanks for the code.<br><br>Em 30/06/2011, às 10:14, Adrian Gonzalez <<a href="mailto:adr_gonzalez@yahoo.fr" target="_blank">adr_gonzalez@yahoo.fr</a>> escreveu:<br>
<br></div><div></div><blockquote><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div><span>Hello,</span></div><div><br><span></span></div><div><span>Just looked at </span><font face="Arial" size="2">2011-06-29 </font><span>meeting.</span></div>
<div><span><br></span></div><div><span>If it can help, Spring has a conversion API.</span></div><div><span>Here are some links :<br></span></div><div><span> * <a href="http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/validation.html#core-convert" target="_blank"></a><a href="http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/validation.html#core-convert" target="_blank">http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/validation.html#core-convert</a></span></div>
<div><span> * <a href="http://static.springsource.org/spring/docs/3.1.0.M2/javadoc-api/org/springframework/core/convert/package-frame.html" target="_blank"></a><a href="http://static.springsource.org/spring/docs/3.1.0.M2/javadoc-api/org/springframework/core/convert/package-frame.html" target="_blank">http://static.springsource.org/spring/docs/3.1.0.M2/javadoc-api/org/springframework/core/convert/package-frame.html</a></span></div>
<div><span> * <a href="http://www.developer.com/java/web/article.php/10935_3861826_2/The-New-Spring-30-Features-You-Need-to-Know.htm" target="_blank"></a><a href="http://www.developer.com/java/web/article.php/10935_3861826_2/The-New-Spring-30-Features-You-Need-to-Know.htm" target="_blank">http://www.developer.com/java/web/article.php/10935_3861826_2/The-New-Spring-30-Features-You-Need-to-Know.htm</a><br>
</span></div><div><br></div><div>Here's a usage sample (taken from spring doc) :</div><pre class="programlisting">@Service
<span class="hl-keyword">public</span> <span class="hl-keyword">class</span> MyService {
@Autowired
<span class="hl-keyword">public</span> MyService(ConversionService conversionService) {
<span class="hl-keyword">this</span>.conversionService = conversionService;
}
<span class="hl-keyword">public</span> <span class="hl-keyword">void</span> doIt() {
<span class="hl-keyword">this</span>.conversionService.convert(...)
}
}<br><br></pre><div><br><span></span></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Adriàn<br></div></div></div></blockquote><blockquote><div><span>_______________________________________________</span><br>
<span>seam-dev mailing list</span><br><span><a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a></span><br>
</div></blockquote><br>_______________________________________________<br>seam-dev mailing list<br>seam-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/seam-dev<br></blockquote><br></div></body></html>