<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
I agree with label parameter for validation message, because for some
languages the best place of label would be not in front of message (
that is true for Russian messages, for example ).<br>
But lookup for label component seems overhaul, it could get us impact
on performance due to additional lookups in the components tree (
implementation should walk though whole tree because input component
has no direct reference for label ).<br>
<br>
On 09/14/2009 10:08 AM, Dan Allen wrote:
<blockquote
 cite="mid:19758da0909141008t1f23008ah360febd37e4ee749@mail.gmail.com"
 type="cite">Any votes? Once some votes come in, we can convert this
into a feature request in the Issue Tracker. Counter proposals are also
welcome.<br>
  <br>
-Dan<br>
  <br>
  <div class="gmail_quote">On Mon, Sep 14, 2009 at 1:03 PM, <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:damien.gouyette@gmail.com">damien.gouyette@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#FFFFFF">
    <div>i think that could be a good enhancement. </div>
    <div><br>
Le 14 sept. 2009 à 18:39, Dan Allen &lt;<a moz-do-not-send="true"
 href="mailto:dan.j.allen@gmail.com" target="_blank">dan.j.allen@gmail.com</a>&gt;
a écrit :<br>
    <br>
    </div>
    <div>
    <div class="h5">
    <blockquote type="cite">
      <div>I've run into the same problem every time I get to polishing
a JSF application. My thought is that there should be a new positional
replacement value in message templates that allows you to plug in the
value of the correlated output label. (If there are multiple, the first
would be selected).<br>
      <br>
In general, the position replacements are:<br>
      <br>
0 = invalid value<br>
1 = example value (sometimes this applicable, in which case the
positional parameters shift)<br>
2 = client id<br>
      <br>
We could add<br>
      <br>
3 = label value<br>
      <br>
It's debatable whether the HTML should be stripped from the value.<br>
      <br>
javax.faces.converter.DateTimeConverter.DATE={3}: ''{0}'' could not be
understood as a date. Example: {1}<br>
      <br>
-Dan<br>
      <br>
      <div class="gmail_quote">On Sat, Sep 12, 2009 at 9:24 AM, Damien
Gouyette <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:damien.gouyette@gmail.com" target="_blank">damien.gouyette@gmail.com</a>&gt;</span>
wrote:<br>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
        <div>Hello,
        <div><br>
        </div>
        <div>I have a lot of forms to do and i don't understand a point</div>
        <div><br>
        </div>
        <div>&lt;h:outputLabel value="<b>client's birthdate</b>"
for="birthDateField"/&gt;</div>
        <div><br>
        </div>
        <div>&lt;h:inputText id="birthDateField" label="client's
birthdate"/&gt;</div>
        <div><br>
        </div>
        <div>&lt;h:message for="birthDateField"/&gt;</div>
        <div><br>
        </div>
        <div>if i don't set label on inputText, i have an error message
like :</div>
        <div><br>
        </div>
        <div><span><i>formNew:birthDate: 'a' could not be understood as
a date. Example: 12/09/2009 instead of </i></span></div>
        <div><br>
        </div>
        <div>
        <div><span><b>client's birthdate </b>: 'a' could not be
understood as a date. Example: 12/09/2009</span></div>
        <div><br>
        </div>
        <div>Can you reuse outputLabel value if exists ?</div>
        <div><br>
        </div>
        <div>Just for information, this message is the french error
message when i set a dateConverter on my inputText. (little bug)</div>
        <div><br>
        </div>
        <font color="#888888">
        <div><br>
        </div>
        <div>Damien GOUYETTE</div>
        </font></div>
        </div>
      </blockquote>
      </div>
      <br>
-- <br>
Dan Allen<br>
Senior Software Engineer, Red Hat | Author of Seam in Action<br>
Registered Linux User #231597<br>
      <br>
      <a moz-do-not-send="true" href="http://mojavelinux.com"
 target="_blank">http://mojavelinux.com</a><br>
      <a moz-do-not-send="true"
 href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br>
      <a moz-do-not-send="true"
 href="http://www.google.com/profiles/dan.j.allen" target="_blank">http://www.google.com/profiles/dan.j.allen</a><br>
      </div>
    </blockquote>
    </div>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Dan Allen<br>
Senior Software Engineer, Red Hat | Author of Seam in Action<br>
Registered Linux User #231597<br>
  <br>
  <a moz-do-not-send="true" href="http://mojavelinux.com">http://mojavelinux.com</a><br>
  <a moz-do-not-send="true" href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br>
  <a moz-do-not-send="true" href="http://in.relation.to/Bloggers/Dan">http://in.relation.to/Bloggers/Dan</a><br>
</blockquote>
</body>
</html>