<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for bringing this up Jose,<br>
<br>
The UIInputContainer component is indeed not useful as a result of
this JSF bug [1]. As I see it, there are three options for how Seam
Faces can deal with this problem:<br>
<br>
1) Do nothing. Wait until the issue is fixed upstream, with an
appropriate FAQ entry<br>
<br>
2) Modify the existing component to use facet's as per Jose's
suggestion. When upstream has been fixed, revert back to the less
verbose syntax without facets.<br>
<br>
3) Provide a new component that uses facets. When upstream has been
fixed, deprecate this component.<br>
<br>
Personally I think (3) is the best option, but we would love to hear
some feedback from the community on this. Or, if you have an
alternate solution even better!<br>
<br>
Thanks,<br>
Brian Leathem<br>
<br>
[1] <span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;"
lang="EN-US"></span><a moz-do-not-send="true"
href="http://java.net/jira/browse/JAVASERVERFACES-1991">http://java.net/jira/browse/JAVASERVERFACES-1991</a><br>
<br>
<br>
<br>
On 05/18/2011 12:14 PM, José Rodolfo Carrijo de Freitas wrote:
<blockquote
cite="mid:003e01cc158f$d9ca4440$8d5eccc0$@freitas@softplan.com.br"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;">Hello
guys,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;"
lang="EN-US">I’m working on the issue <a
moz-do-not-send="true"
href="https://issues.jboss.org/browse/SEAMFACES-93">https://issues.jboss.org/browse/SEAMFACES-93</a>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;"
lang="EN-US">I did some tests and it seems to be a problem
with mojarra implementation, there’s a registered issue
about that:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;"
lang="EN-US"><a moz-do-not-send="true"
href="http://java.net/jira/browse/JAVASERVERFACES-1991">http://java.net/jira/browse/JAVASERVERFACES-1991</a>
which is linked to <a moz-do-not-send="true"
href="http://java.net/jira/browse/JAVASERVERFACES-2040">http://java.net/jira/browse/JAVASERVERFACES-2040</a>
that has a patch<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;"
lang="EN-US">but was not applied yet.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;"
lang="EN-US">Brian suggested to use a workaround with facets
as suggested in 1991 JSF issue, at least until we have an
applied patch for that.<o:p></o:p></span></p>
<p><span style="font-size: 10pt; font-family:
"Arial","sans-serif";" lang="EN-US">I
made a preliminary test and it seems to work but it changes
(big change I'd say) the way one uses the component<o:p></o:p></span></p>
<p><span style="font-size: 10pt; font-family:
"Arial","sans-serif";" lang="EN-US">From
this:<o:p></o:p></span></p>
<p><span style="font-size: 10pt; font-family:
"Arial","sans-serif";" lang="EN-US"><sc:inputContainer
label="Name"
required="true"><br>
<h:inputText id="name" required="true" size="50"
maxlength="50" value="#{testBean.name}" label="Name"/><br>
</sc:inputContainer><o:p></o:p></span></p>
<p><span style="font-size: 10pt; font-family:
"Arial","sans-serif";" lang="EN-US">To
this:<o:p></o:p></span></p>
<p><span style="font-size: 10pt; font-family:
"Arial","sans-serif";" lang="EN-US"><sc:inputContainer
label="Name"
required="true"><br>
<f:facet name="inputContainerFacet"><br>
<h:inputText id="name" required="true" size="50"
maxlength="50" value="#{testBean.name}" label="Name"/><br>
</f:facet> <br>
</sc:inputContainer><br>
<br>
<br>
<o:p></o:p></span></p>
<p><span style="font-size: 10pt; font-family:
"Arial","sans-serif";" lang="EN-US">Do
you have any others suggestions or if you don´t have a
suggestion, what do you think about changing the component
usage?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">José Freitas<o:p></o:p></span></p>
</div>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
seam-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>