<!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].&nbsp; As I see it, there are three options for how Seam
    Faces can deal with this problem:<br>
    <br>
    1) Do nothing.&nbsp; 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.&nbsp; When upstream has been fixed, revert back to the less
    verbose syntax without facets.<br>
    <br>
    3) Provide a new component that uses facets.&nbsp; 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.&nbsp; 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:
      &quot;Arial&quot;,&quot;sans-serif&quot;; 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&eacute; 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:
            &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">Hello

            guys,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;"
            lang="EN-US">I&#8217;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:
            &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;"
            lang="EN-US">I did some tests and it seems to be a problem
            with mojarra implementation, there&#8217;s a registered issue
            about that:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Arial&quot;,&quot;sans-serif&quot;; 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:
            &quot;Arial&quot;,&quot;sans-serif&quot;; 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:
            &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;"
            lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 10pt; font-family:
            &quot;Arial&quot;,&quot;sans-serif&quot;; 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:
            &quot;Arial&quot;,&quot;sans-serif&quot;;" 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:
            &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">From
            this:<o:p></o:p></span></p>
        <p><span style="font-size: 10pt; font-family:
            &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">&lt;sc:inputContainer
label="Name"

            required="true"&gt;<br>
            &lt;h:inputText id="name" required="true" size="50"
            maxlength="50" value="#{testBean.name}" label="Name"/&gt;<br>
            &lt;/sc:inputContainer&gt;<o:p></o:p></span></p>
        <p><span style="font-size: 10pt; font-family:
            &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">To
            this:<o:p></o:p></span></p>
        <p><span style="font-size: 10pt; font-family:
            &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">&lt;sc:inputContainer
label="Name"

            required="true"&gt;<br>
            &lt;f:facet name="inputContainerFacet"&gt;<br>
            &lt;h:inputText id="name" required="true" size="50"
            maxlength="50" value="#{testBean.name}" label="Name"/&gt;<br>
            &lt;/f:facet&gt; <br>
            &lt;/sc:inputContainer&gt;<br>
            <br>
            <br>
            <o:p></o:p></span></p>
        <p><span style="font-size: 10pt; font-family:
            &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">Do
            you have any others suggestions or if you don&acute;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:
            &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;"
            lang="EN-US"><o:p>&nbsp;</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&eacute; 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>