<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>users@myfaces.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/myfaces-users/"/>
<id>http://mail-archives.apache.org/mod_mbox/myfaces-users/</id>
<updated>2009-12-06T03:27:32Z</updated>
<entry>
<title>Does myfaces ExtensionsFilter change page encoding?</title>
<author><name>mgb &lt;marcosbeirigo@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c26635896.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26635896-post@talk-nabble-com%3e</id>
<updated>2009-12-04T14:19:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

two days ago i started using tomahawk ExtensionsFilter components im my jsf
application. i noticed that all javascript alerts were not displaying
special characters (ç, ã, ó ô), it displays things like #231 instead. When i
remove ExtensionsFilter from my web.xml file, javascript displays allright.
Anybody had this issue before?
thanks ins advance
-- 
View this message in context: http://old.nabble.com/Does-myfaces-ExtensionsFilter-change-page-encoding--tp26635896p26635896.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>[TOBAGO] TobagoMultipartFormdataFilter and Orchestra conversation	context parameter ?conversationContext=n</title>
<author><name>news.kj@googlemail.com</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cd26e48a90912040208r16dab1cma71a44a83775d0ff@mail.gmail.com%3e"/>
<id>urn:uuid:%3cd26e48a90912040208r16dab1cma71a44a83775d0ff@mail-gmail-com%3e</id>
<updated>2009-12-04T10:08:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello community,

Tobago and Orchestra is pretty cool. But i think the
TobagoMultipartFormdataFilter cuts the Orchestra conversation context
parameter "?conversationContext=n" .

Is there something wrong with the MultipartFormdataFilter or its a general
problem to parse parameters in multipart form data requests?

To adjust the behavior use Tobago with Spring and Orchestra and submit a
form with one &lt;tc:file value="..."/&gt; input field. Without &lt;tc:file
value="..."/&gt; everything works fine.
The conversation is gone and the backend creates new controller instances.

Thanks, kai.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Trouble creating a Cancel button</title>
<author><name>Anton Gavazuk &lt;antongavazuk@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cb82b8560912031406y18e4ac63u5b09aa410d3c6ee4@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb82b8560912031406y18e4ac63u5b09aa410d3c6ee4@mail-gmail-com%3e</id>
<updated>2009-12-03T22:06:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
add attribute
 immediate="true"

Dave, by the way - do you know what is google? search?

2009/12/3 laredotornado &lt;laredotornado@gmail.com&gt;

&gt;
&gt; Hi,
&gt;
&gt; I'm using MyFaces 1.1.6.  I have this commandButton on my page, within a
&gt; form
&gt;
&gt; &lt;h:commandButton id="cancelButton" value="Cancel"
&gt;                         action="#{myController.cancelTourRequests}" /&gt;
&gt;
&gt; I would like that if a user clicks this button, they are automatically
&gt; redirected to another page.  Despite the fact I have set up the
&gt; navigation-rule in faces-config.xml, when I click the button, JSF attempts
&gt; to validate the form (which makes sense) and I'll get form validation
&gt; errors
&gt; instead of redirecting.  How would I create this button such that the user
&gt; is automatically redirected to another page without any type of form
&gt; validation?
&gt;
&gt; Thanks, - Dave
&gt; --
&gt; View this message in context:
&gt; http://old.nabble.com/Trouble-creating-a-Cancel-button-tp26633404p26633404.html
&gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Trouble creating a Cancel button</title>
<author><name>laredotornado &lt;laredotornado@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c26633404.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26633404-post@talk-nabble-com%3e</id>
<updated>2009-12-03T21:22:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I'm using MyFaces 1.1.6.  I have this commandButton on my page, within a
form

&lt;h:commandButton id="cancelButton" value="Cancel" 
                         action="#{myController.cancelTourRequests}" /&gt;

I would like that if a user clicks this button, they are automatically
redirected to another page.  Despite the fact I have set up the
navigation-rule in faces-config.xml, when I click the button, JSF attempts
to validate the form (which makes sense) and I'll get form validation errors
instead of redirecting.  How would I create this button such that the user
is automatically redirected to another page without any type of form
validation?

Thanks, - Dave
-- 
View this message in context: http://old.nabble.com/Trouble-creating-a-Cancel-button-tp26633404p26633404.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Problem with number of views in session..urgent !!</title>
<author><name>Shasi Mitra Yarram &lt;shasimitra@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c631734.38559.qm@web45712.mail.sp1.yahoo.com%3e"/>
<id>urn:uuid:%3c631734-38559-qm@web45712-mail-sp1-yahoo-com%3e</id>
<updated>2009-12-03T17:39:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
All - Please let me know if this issue is caused because of any misconfiguration..

--- On Tue, 1/12/09, Shasi Mitra Yarram &lt;shasimitra@yahoo.com&gt; wrote:

From: Shasi Mitra Yarram &lt;shasimitra@yahoo.com&gt;
Subject: Problem with number of views in session
To: "MyFaces Discussion" &lt;users@myfaces.apache.org&gt;
Date: Tuesday, 1 December, 2009, 5:01 PM

Hi all,I had gone thru &lt;http://wiki.apache.org/myfaces/Performance&gt; and updatedorg.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
to "4" to have less session usage. Now the problem is I have a link on a page, on click of
which a new window opens. After going through more than 4 screens in the child window, none
of the links in the parent window work. The page simply refreshes. Can anyone suggest solution
for this? It works if I put more number of views in session. But I wanna know if there is
any other alternative..
Thanks,Shasi


   The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

</pre>
</div>
</content>
</entry>
<entry>
<title>Re: org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser</title>
<author><name>Jakob Korherr &lt;jakob.korherr@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cfd49e8160912030307q2ff12af1vaa1725b513705d4b@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfd49e8160912030307q2ff12af1vaa1725b513705d4b@mail-gmail-com%3e</id>
<updated>2009-12-03T11:07:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
 I once ran into such a problem (although with JasperReports), so it is
possible!


2009/12/3 Anton Gavazuk &lt;antongavazuk@gmail.com&gt;

&gt; I suspect lack of internet connection  shouldnt be a problem for DTD...
&gt;
&gt; 2009/12/3 Jakob Korherr &lt;jakob.korherr@gmail.com&gt;
&gt;
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; Also: Does your AS have internet access? I think it might be a problem,
&gt; &gt; because it can not obtain the schema information (or DTDs) for web.xml,
&gt; for
&gt; &gt; example http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd.
&gt; &gt;
&gt; &gt; Regards
&gt; &gt;
&gt; &gt; Jakob Korherr
&gt; &gt;
&gt; &gt; 2009/12/3 Jakob Korherr &lt;jakob.korherr@gmail.com&gt;
&gt; &gt;
&gt; &gt; &gt; Hi,
&gt; &gt; &gt;
&gt; &gt; &gt; did you try it on an other machine (e.g. JBoss) also and did you get
&gt; the
&gt; &gt; &gt; same error?
&gt; &gt; &gt;
&gt; &gt; &gt; Regards,
&gt; &gt; &gt;
&gt; &gt; &gt; Jakob Korherr
&gt; &gt; &gt;
&gt; &gt; &gt; 2009/12/3 viswam k &lt;viswamy2k@gmail.com&gt;
&gt; &gt; &gt;
&gt; &gt; &gt; Hi,
&gt; &gt; &gt;&gt; this im getting when i deploy my webapplication on AIX,WAS7 box
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser parse Unable
&gt; &gt; to
&gt; &gt; &gt;&gt; parse web.xml
&gt; &gt; &gt;&gt; java.net.ConnectException: A remote host did not respond within the
&gt; &gt; &gt;&gt; timeout
&gt; &gt; &gt;&gt; period.
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; thanks
&gt; &gt; &gt;&gt; -viswam
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: pop up for delete confirmation</title>
<author><name>Anton Gavazuk &lt;antongavazuk@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cb82b8560912030302v7972b385rcfbad0deed652765@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb82b8560912030302v7972b385rcfbad0deed652765@mail-gmail-com%3e</id>
<updated>2009-12-03T11:02:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm using the basic javascript...

2009/11/30 &lt;pbreen@johnson.ca&gt;

&gt; I am using the Tomahawk set of tags for this project.  I need a pop to
&gt; confirm the deletion of a record.  There doesn't seem to be any concept of
&gt; a popup in JSF or Tomahawk.  I can use a basic javascript cofirm popup and
&gt; functionaly it works perfect but the color scheme doesn't match my
&gt; application and it doesn't look good.  Just wondering what everyone else
&gt; does to confirm a delete?
&gt;
&gt; Pat


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser</title>
<author><name>Anton Gavazuk &lt;antongavazuk@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cb82b8560912030301m19b86569w430b80cab673580b@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb82b8560912030301m19b86569w430b80cab673580b@mail-gmail-com%3e</id>
<updated>2009-12-03T11:01:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I suspect lack of internet connection  shouldnt be a problem for DTD...

2009/12/3 Jakob Korherr &lt;jakob.korherr@gmail.com&gt;

&gt; Hi,
&gt;
&gt; Also: Does your AS have internet access? I think it might be a problem,
&gt; because it can not obtain the schema information (or DTDs) for web.xml, for
&gt; example http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd.
&gt;
&gt; Regards
&gt;
&gt; Jakob Korherr
&gt;
&gt; 2009/12/3 Jakob Korherr &lt;jakob.korherr@gmail.com&gt;
&gt;
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; did you try it on an other machine (e.g. JBoss) also and did you get the
&gt; &gt; same error?
&gt; &gt;
&gt; &gt; Regards,
&gt; &gt;
&gt; &gt; Jakob Korherr
&gt; &gt;
&gt; &gt; 2009/12/3 viswam k &lt;viswamy2k@gmail.com&gt;
&gt; &gt;
&gt; &gt; Hi,
&gt; &gt;&gt; this im getting when i deploy my webapplication on AIX,WAS7 box
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser parse Unable
&gt; to
&gt; &gt;&gt; parse web.xml
&gt; &gt;&gt; java.net.ConnectException: A remote host did not respond within the
&gt; &gt;&gt; timeout
&gt; &gt;&gt; period.
&gt; &gt;&gt;
&gt; &gt;&gt; thanks
&gt; &gt;&gt; -viswam
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [TRINIDAD] Alternative for tr:selectOneChoice</title>
<author><name>Carsten Pieper &lt;carsten.pieper@continentale.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c26624170.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26624170-post@talk-nabble-com%3e</id>
<updated>2009-12-03T11:00:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


Andrew Robinson-5 wrote:
&gt; 
&gt; tr:selectOneRadio and optionally put it in a popup?
&gt; 

Well, that would offer a similar functionality but wouldn't look as much
like a 
combobox as our guidelines require... 

Anyhow, as I mentioned IE6' z-index bug, I found out that a neat little
jQuery plugin
called bgiframe can be used to easily work around that bug (and as we're
already
making use of jQuery, that eases our pain a lot...). If anyone's interested:
http://plugins.jquery.com/project/bgiframe
http://plugins.jquery.com/project/bgiframe 

Thanks, Carsten
-- 
View this message in context: http://old.nabble.com/-TRINIDAD--Alternative-for-tr%3AselectOneChoice-tp26525141p26624170.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser</title>
<author><name>Jakob Korherr &lt;jakob.korherr@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cfd49e8160912030255s79d621p212575876fee2731@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfd49e8160912030255s79d621p212575876fee2731@mail-gmail-com%3e</id>
<updated>2009-12-03T10:55:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Also: Does your AS have internet access? I think it might be a problem,
because it can not obtain the schema information (or DTDs) for web.xml, for
example http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd.

Regards

Jakob Korherr

2009/12/3 Jakob Korherr &lt;jakob.korherr@gmail.com&gt;

&gt; Hi,
&gt;
&gt; did you try it on an other machine (e.g. JBoss) also and did you get the
&gt; same error?
&gt;
&gt; Regards,
&gt;
&gt; Jakob Korherr
&gt;
&gt; 2009/12/3 viswam k &lt;viswamy2k@gmail.com&gt;
&gt;
&gt; Hi,
&gt;&gt; this im getting when i deploy my webapplication on AIX,WAS7 box
&gt;&gt;
&gt;&gt;
&gt;&gt; org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser parse Unable to
&gt;&gt; parse web.xml
&gt;&gt; java.net.ConnectException: A remote host did not respond within the
&gt;&gt; timeout
&gt;&gt; period.
&gt;&gt;
&gt;&gt; thanks
&gt;&gt; -viswam
&gt;&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser</title>
<author><name>Jakob Korherr &lt;jakob.korherr@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cfd49e8160912030241g7fe0dbd9vc0ce30e53114d6c5@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfd49e8160912030241g7fe0dbd9vc0ce30e53114d6c5@mail-gmail-com%3e</id>
<updated>2009-12-03T10:41:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

did you try it on an other machine (e.g. JBoss) also and did you get the
same error?

Regards,

Jakob Korherr

2009/12/3 viswam k &lt;viswamy2k@gmail.com&gt;

&gt; Hi,
&gt; this im getting when i deploy my webapplication on AIX,WAS7 box
&gt;
&gt;
&gt; org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser parse Unable to
&gt; parse web.xml
&gt; java.net.ConnectException: A remote host did not respond within the timeout
&gt; period.
&gt;
&gt; thanks
&gt; -viswam
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser</title>
<author><name>viswam k &lt;viswamy2k@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cec7b8a400912022332i2f8521afo2b28287350886a7f@mail.gmail.com%3e"/>
<id>urn:uuid:%3cec7b8a400912022332i2f8521afo2b28287350886a7f@mail-gmail-com%3e</id>
<updated>2009-12-03T07:32:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,
this im getting when i deploy my webapplication on AIX,WAS7 box


org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser parse Unable to
parse web.xml
java.net.ConnectException: A remote host did not respond within the timeout
period.

thanks
-viswam


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: AW: AW: Any way to customize this validate number message?</title>
<author><name>Jakob Korherr &lt;jakob.korherr@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cfd49e8160912021110o288b18d1m9184d7ceda6c1fc3@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfd49e8160912021110o288b18d1m9184d7ceda6c1fc3@mail-gmail-com%3e</id>
<updated>2009-12-02T19:10:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

You can obtain the label from a managed bean (e.g. #{bean.label}) and check
FacesContext.getCurrentInstance().getRenderResponse().

If true, it is the value for the label.
If false, it is the value for the FacesMessage.

I hope this works in your version. I only did a short (and a bit different)
test in myfaces 1.2, but that worked well.

Regards

Jakob Korherr

2009/12/2 laredotornado &lt;laredotornado@gmail.com&gt;

&gt;
&gt; Ah, I see.  In that case I have one last question.  I want the validation
&gt; error message to contain a slightly different value than what the label
&gt; contains in its "value" field.  As such, is a custom phase listener my only
&gt; option?
&gt;
&gt; Thanks, -
&gt;
&gt;
&gt;
&gt; Rene Guenther wrote:
&gt; &gt;
&gt; &gt; Hi Dave,
&gt; &gt;
&gt; &gt; I just looked it up, it is
&gt; &gt; &lt;h:outputLabel ...&gt;
&gt; &gt;
&gt; &gt; Eg.:
&gt; &gt;
&gt; &gt; &lt;h:outputLabel for="status" value="#{text['entity.gos.status']}"/&gt;
&gt; &gt; &lt;t:inputText forceId="true" value="#{documentData.documentStatus}"
&gt; &gt; id="status"
&gt; &gt;                                    required="true"/&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; That way the ... is required message included the value of the label for
&gt; &gt; us.
&gt; &gt;
&gt; &gt; Cheers
&gt; &gt; Rene
&gt; &gt;
&gt; &gt;
&gt; &gt; -----Ursprüngliche Nachricht-----
&gt; &gt; Von: laredotornado [mailto:laredotornado@gmail.com]
&gt; &gt; Gesendet: Mittwoch, 2. Dezember 2009 19:10
&gt; &gt; An: users@myfaces.apache.org
&gt; &gt; Betreff: Re: AW: Any way to customize this validate number message?
&gt; &gt;
&gt; &gt;
&gt; &gt; Hi Rene,
&gt; &gt;
&gt; &gt; I changed the input ... is this what you meant because I still get the
&gt; &gt; same
&gt; &gt; error ...
&gt; &gt;
&gt; &gt;                 &lt;label id="Dome Tour, Number of Adults"
&gt; &gt; for="domeTourNumber_of_Adults"&gt;
&gt; &gt;                   *
&gt; &gt;                   &lt;strong&gt;Number of Adults:&lt;/strong&gt;
&gt; &gt;                 &lt;/label&gt;
&gt; &gt;                 &lt;t:inputText forceId="true" id="domeTourNumber_of_Adults"
&gt; &gt; value="#{domeTour.numAdults}"
&gt; &gt;                                             required="false"
&gt; &gt;                                             size="60"
&gt; &gt;                                             maxlength="60"
&gt; &gt;                                             styleClass="textFields
&gt; &gt; numAdultsField"&gt;
&gt; &gt;                 &lt;f:validator validatorId="TourRequiredIfCheckedValidator"
&gt; &gt; /&gt;
&gt; &gt;                       &lt;f:validator validatorId="TourTotalPeopleValidator"
&gt; /&gt;
&gt; &gt;                       &lt;f:validator
&gt; validatorId="TourAdultChildRatioValidator" /&gt;
&gt; &gt;                &lt;/t:inputText&gt;
&gt; &gt;
&gt; &gt; The error that appears is
&gt; &gt;
&gt; &gt; domeTourNumber_of_Adults: 'bbb' must be a number between -2147483648 and
&gt; &gt; 2147483647 Example: 9346
&gt; &gt;
&gt; &gt; Any ideas what I might be doing wrong?  Thanks, - Dave
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; Rene Guenther wrote:
&gt; &gt;&gt;
&gt; &gt;&gt; Hi Dave,
&gt; &gt;&gt;
&gt; &gt;&gt; If I remember correctly, if you use a label and use t:inputText instead
&gt; &gt;&gt; of
&gt; &gt;&gt; h:inputText together with forceId="true" in the message
&gt; &gt;&gt; tourType:domeTourNumber_of_Adults: will be replaced with the name of the
&gt; &gt;&gt; label.
&gt; &gt;&gt;
&gt; &gt;&gt; There is also a key relating to MyFaces applicationResources.properties
&gt; &gt;&gt; file
&gt; &gt;&gt; which contains the message. If you find the key you could use that key
&gt; &gt;&gt; along
&gt; &gt;&gt; with your customized message into your applicationResources file which
&gt; &gt;&gt; takes
&gt; &gt;&gt; precedence over MyFaces one. You might find the message key eg. by
&gt; &gt;&gt; looking
&gt; &gt;&gt; up the file in the MyFaces sources.
&gt; &gt;&gt;
&gt; &gt;&gt; If you need different parameters than the default one you'd probably
&gt; have
&gt; &gt;&gt; to
&gt; &gt;&gt; write your own validator.
&gt; &gt;&gt;
&gt; &gt;&gt; Cheers
&gt; &gt;&gt; Rene
&gt; &gt;&gt;
&gt; &gt;&gt; -----Ursprüngliche Nachricht-----
&gt; &gt;&gt; Von: laredotornado [mailto:laredotornado@gmail.com]
&gt; &gt;&gt; Gesendet: Mittwoch, 2. Dezember 2009 18:10
&gt; &gt;&gt; An: users@myfaces.apache.org
&gt; &gt;&gt; Betreff: Any way to customize this validate number message?
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Hi,
&gt; &gt;&gt;
&gt; &gt;&gt; I'm using MyFaces 1.1.6.  I have this ...
&gt; &gt;&gt;
&gt; &gt;&gt;                 &lt;h:inputText id="domeTourNumber_of_Adults"
&gt; &gt;&gt; value="#{domeTour.numAdults}"
&gt; &gt;&gt;                                             required="false"
&gt; &gt;&gt;                                             size="60"
&gt; &gt;&gt;                                             maxlength="60"
&gt; &gt;&gt;                                             styleClass="textFields
&gt; &gt;&gt; numAdultsField"&gt;
&gt; &gt;&gt;                 &lt;f:validator
&gt; validatorId="TourRequiredIfCheckedValidator"
&gt; &gt;&gt; /&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;                      &lt;f:validator validatorId="TourTotalPeopleValidator"
&gt; /&gt;
&gt; &gt;&gt;                      &lt;f:validator
&gt; validatorId="TourAdultChildRatioValidator"
&gt; &gt;&gt; /&gt;
&gt; &gt;&gt;                &lt;/h:inputText&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; in which the bean's set and get type is an int.  So if I enter a value
&gt; &gt;&gt; like
&gt; &gt;&gt; "aaa" into the field, I get a message like
&gt; &gt;&gt;
&gt; &gt;&gt; tourType:domeTourNumber_of_Adults: 'aaa' must be a number between
&gt; &gt;&gt; -2147483648 and 2147483647 Example: 9346
&gt; &gt;&gt;
&gt; &gt;&gt; I would like to customize this message.  Anyone know how I can do that?
&gt; &gt;&gt; Thanks, - Dave
&gt; &gt;&gt; --
&gt; &gt;&gt; View this message in context:
&gt; &gt;&gt;
&gt; http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp2
&gt; &gt;&gt; 6612567p26612567.html
&gt; &gt;&gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt; --
&gt; &gt; View this message in context:
&gt; &gt;
&gt; http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp26612567p26613605.html
&gt; &gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;
&gt; --
&gt; View this message in context:
&gt; http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp26612567p26614138.html
&gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: AW: AW: Any way to customize this validate number message?</title>
<author><name>laredotornado &lt;laredotornado@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c26614138.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26614138-post@talk-nabble-com%3e</id>
<updated>2009-12-02T18:43:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Ah, I see.  In that case I have one last question.  I want the validation
error message to contain a slightly different value than what the label
contains in its "value" field.  As such, is a custom phase listener my only
option?

Thanks, - 



Rene Guenther wrote:
&gt; 
&gt; Hi Dave,
&gt; 
&gt; I just looked it up, it is 
&gt; &lt;h:outputLabel ...&gt;
&gt; 
&gt; Eg.:
&gt; 
&gt; &lt;h:outputLabel for="status" value="#{text['entity.gos.status']}"/&gt;
&gt; &lt;t:inputText forceId="true" value="#{documentData.documentStatus}"
&gt; id="status"
&gt; 			             required="true"/&gt;
&gt; 
&gt; 
&gt; That way the ... is required message included the value of the label for
&gt; us. 
&gt; 
&gt; Cheers
&gt; Rene
&gt; 
&gt; 
&gt; -----Ursprüngliche Nachricht-----
&gt; Von: laredotornado [mailto:laredotornado@gmail.com] 
&gt; Gesendet: Mittwoch, 2. Dezember 2009 19:10
&gt; An: users@myfaces.apache.org
&gt; Betreff: Re: AW: Any way to customize this validate number message?
&gt; 
&gt; 
&gt; Hi Rene,
&gt; 
&gt; I changed the input ... is this what you meant because I still get the
&gt; same
&gt; error ...
&gt; 
&gt;                 &lt;label id="Dome Tour, Number of Adults"
&gt; for="domeTourNumber_of_Adults"&gt;
&gt;                   *
&gt;                   &lt;strong&gt;Number of Adults:&lt;/strong&gt;
&gt;                 &lt;/label&gt;
&gt;                 &lt;t:inputText forceId="true" id="domeTourNumber_of_Adults"
&gt; value="#{domeTour.numAdults}"
&gt;                                             required="false"
&gt;                                             size="60"
&gt;                                             maxlength="60"
&gt;                                             styleClass="textFields
&gt; numAdultsField"&gt;
&gt;                 &lt;f:validator validatorId="TourRequiredIfCheckedValidator"
&gt; /&gt;                            
&gt;                	&lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
&gt;                	&lt;f:validator validatorId="TourAdultChildRatioValidator" /&gt;
&gt;                &lt;/t:inputText&gt;
&gt; 
&gt; The error that appears is 
&gt; 
&gt; domeTourNumber_of_Adults: 'bbb' must be a number between -2147483648 and
&gt; 2147483647 Example: 9346
&gt; 
&gt; Any ideas what I might be doing wrong?  Thanks, - Dave
&gt; 
&gt; 
&gt; 
&gt; Rene Guenther wrote:
&gt;&gt; 
&gt;&gt; Hi Dave,
&gt;&gt; 
&gt;&gt; If I remember correctly, if you use a label and use t:inputText instead
&gt;&gt; of
&gt;&gt; h:inputText together with forceId="true" in the message
&gt;&gt; tourType:domeTourNumber_of_Adults: will be replaced with the name of the
&gt;&gt; label.
&gt;&gt; 
&gt;&gt; There is also a key relating to MyFaces applicationResources.properties
&gt;&gt; file
&gt;&gt; which contains the message. If you find the key you could use that key
&gt;&gt; along
&gt;&gt; with your customized message into your applicationResources file which
&gt;&gt; takes
&gt;&gt; precedence over MyFaces one. You might find the message key eg. by
&gt;&gt; looking
&gt;&gt; up the file in the MyFaces sources.
&gt;&gt; 
&gt;&gt; If you need different parameters than the default one you'd probably have
&gt;&gt; to
&gt;&gt; write your own validator.
&gt;&gt; 
&gt;&gt; Cheers
&gt;&gt; Rene
&gt;&gt; 
&gt;&gt; -----Ursprüngliche Nachricht-----
&gt;&gt; Von: laredotornado [mailto:laredotornado@gmail.com] 
&gt;&gt; Gesendet: Mittwoch, 2. Dezember 2009 18:10
&gt;&gt; An: users@myfaces.apache.org
&gt;&gt; Betreff: Any way to customize this validate number message?
&gt;&gt; 
&gt;&gt; 
&gt;&gt; Hi,
&gt;&gt; 
&gt;&gt; I'm using MyFaces 1.1.6.  I have this ...
&gt;&gt; 
&gt;&gt;                 &lt;h:inputText id="domeTourNumber_of_Adults"
&gt;&gt; value="#{domeTour.numAdults}"
&gt;&gt;                                             required="false"
&gt;&gt;                                             size="60"
&gt;&gt;                                             maxlength="60"
&gt;&gt;                                             styleClass="textFields
&gt;&gt; numAdultsField"&gt;
&gt;&gt;                 &lt;f:validator validatorId="TourRequiredIfCheckedValidator"
&gt;&gt; /&gt;
&gt;&gt; 
&gt;&gt;                	&lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
&gt;&gt;                	&lt;f:validator validatorId="TourAdultChildRatioValidator"
&gt;&gt; /&gt;
&gt;&gt;                &lt;/h:inputText&gt;
&gt;&gt; 
&gt;&gt; in which the bean's set and get type is an int.  So if I enter a value
&gt;&gt; like
&gt;&gt; "aaa" into the field, I get a message like
&gt;&gt; 
&gt;&gt; tourType:domeTourNumber_of_Adults: 'aaa' must be a number between
&gt;&gt; -2147483648 and 2147483647 Example: 9346
&gt;&gt; 
&gt;&gt; I would like to customize this message.  Anyone know how I can do that? 
&gt;&gt; Thanks, - Dave
&gt;&gt; -- 
&gt;&gt; View this message in context:
&gt;&gt; http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp2
&gt;&gt; 6612567p26612567.html
&gt;&gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt; 
&gt; -- 
&gt; View this message in context:
&gt; http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp26612567p26613605.html
&gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp26612567p26614138.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>AW: AW: Any way to customize this validate number message?</title>
<author><name>=?UTF-8?Q?=22G=C3=BCnther=2C_Rene_-_Innflow_AG=22?= &lt;rene.guenther@innflow.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c008001ca737c$800dd6d0$80298470$@guenther@innflow.com%3e"/>
<id>urn:uuid:%3c008001ca737c$800dd6d0$80298470$@guenther@innflow-com%3e</id>
<updated>2009-12-02T18:23:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Btw. the file where are the messages are located is 

myfaces-impl-x.x.x.jar!/javax.faces/MessagesXXX.properties 



-----Ursprüngliche Nachricht-----
Von: laredotornado [mailto:laredotornado@gmail.com] 
Gesendet: Mittwoch, 2. Dezember 2009 19:10
An: users@myfaces.apache.org
Betreff: Re: AW: Any way to customize this validate number message?


Hi Rene,

I changed the input ... is this what you meant because I still get the same
error ...

                &lt;label id="Dome Tour, Number of Adults"
for="domeTourNumber_of_Adults"&gt;
                  *
                  &lt;strong&gt;Number of Adults:&lt;/strong&gt;
                &lt;/label&gt;
                &lt;t:inputText forceId="true" id="domeTourNumber_of_Adults"
value="#{domeTour.numAdults}"
                                            required="false"
                                            size="60"
                                            maxlength="60"
                                            styleClass="textFields
numAdultsField"&gt;
                &lt;f:validator validatorId="TourRequiredIfCheckedValidator" /&gt;       
                    
               	&lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
               	&lt;f:validator validatorId="TourAdultChildRatioValidator" /&gt;
               &lt;/t:inputText&gt;

The error that appears is 

domeTourNumber_of_Adults: 'bbb' must be a number between -2147483648 and
2147483647 Example: 9346

Any ideas what I might be doing wrong?  Thanks, - Dave



Rene Guenther wrote:
&gt; 
&gt; Hi Dave,
&gt; 
&gt; If I remember correctly, if you use a label and use t:inputText instead of
&gt; h:inputText together with forceId="true" in the message
&gt; tourType:domeTourNumber_of_Adults: will be replaced with the name of the
&gt; label.
&gt; 
&gt; There is also a key relating to MyFaces applicationResources.properties
&gt; file
&gt; which contains the message. If you find the key you could use that key
&gt; along
&gt; with your customized message into your applicationResources file which
&gt; takes
&gt; precedence over MyFaces one. You might find the message key eg. by looking
&gt; up the file in the MyFaces sources.
&gt; 
&gt; If you need different parameters than the default one you'd probably have
&gt; to
&gt; write your own validator.
&gt; 
&gt; Cheers
&gt; Rene
&gt; 
&gt; -----Ursprüngliche Nachricht-----
&gt; Von: laredotornado [mailto:laredotornado@gmail.com] 
&gt; Gesendet: Mittwoch, 2. Dezember 2009 18:10
&gt; An: users@myfaces.apache.org
&gt; Betreff: Any way to customize this validate number message?
&gt; 
&gt; 
&gt; Hi,
&gt; 
&gt; I'm using MyFaces 1.1.6.  I have this ...
&gt; 
&gt;                 &lt;h:inputText id="domeTourNumber_of_Adults"
&gt; value="#{domeTour.numAdults}"
&gt;                                             required="false"
&gt;                                             size="60"
&gt;                                             maxlength="60"
&gt;                                             styleClass="textFields
&gt; numAdultsField"&gt;
&gt;                 &lt;f:validator validatorId="TourRequiredIfCheckedValidator"
&gt; /&gt;
&gt; 
&gt;                	&lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
&gt;                	&lt;f:validator validatorId="TourAdultChildRatioValidator" /&gt;
&gt;                &lt;/h:inputText&gt;
&gt; 
&gt; in which the bean's set and get type is an int.  So if I enter a value
&gt; like
&gt; "aaa" into the field, I get a message like
&gt; 
&gt; tourType:domeTourNumber_of_Adults: 'aaa' must be a number between
&gt; -2147483648 and 2147483647 Example: 9346
&gt; 
&gt; I would like to customize this message.  Anyone know how I can do that? 
&gt; Thanks, - Dave
&gt; -- 
&gt; View this message in context:
&gt; http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp2
&gt; 6612567p26612567.html
&gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp26612567p26613605.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>AW: AW: Any way to customize this validate number message?</title>
<author><name>=?UTF-8?Q?=22G=C3=BCnther=2C_Rene_-_Innflow_AG=22?= &lt;rene.guenther@innflow.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c007f01ca737b$183c0a00$48b41e00$@guenther@innflow.com%3e"/>
<id>urn:uuid:%3c007f01ca737b$183c0a00$48b41e00$@guenther@innflow-com%3e</id>
<updated>2009-12-02T18:13:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Dave,

I just looked it up, it is 
&lt;h:outputLabel ...&gt;

Eg.:

&lt;h:outputLabel for="status" value="#{text['entity.gos.status']}"/&gt;
&lt;t:inputText forceId="true" value="#{documentData.documentStatus}" id="status"
			             required="true"/&gt;


That way the ... is required message included the value of the label for us. 

Cheers
Rene


-----Ursprüngliche Nachricht-----
Von: laredotornado [mailto:laredotornado@gmail.com] 
Gesendet: Mittwoch, 2. Dezember 2009 19:10
An: users@myfaces.apache.org
Betreff: Re: AW: Any way to customize this validate number message?


Hi Rene,

I changed the input ... is this what you meant because I still get the same
error ...

                &lt;label id="Dome Tour, Number of Adults"
for="domeTourNumber_of_Adults"&gt;
                  *
                  &lt;strong&gt;Number of Adults:&lt;/strong&gt;
                &lt;/label&gt;
                &lt;t:inputText forceId="true" id="domeTourNumber_of_Adults"
value="#{domeTour.numAdults}"
                                            required="false"
                                            size="60"
                                            maxlength="60"
                                            styleClass="textFields
numAdultsField"&gt;
                &lt;f:validator validatorId="TourRequiredIfCheckedValidator" /&gt;       
                    
               	&lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
               	&lt;f:validator validatorId="TourAdultChildRatioValidator" /&gt;
               &lt;/t:inputText&gt;

The error that appears is 

domeTourNumber_of_Adults: 'bbb' must be a number between -2147483648 and
2147483647 Example: 9346

Any ideas what I might be doing wrong?  Thanks, - Dave



Rene Guenther wrote:
&gt; 
&gt; Hi Dave,
&gt; 
&gt; If I remember correctly, if you use a label and use t:inputText instead of
&gt; h:inputText together with forceId="true" in the message
&gt; tourType:domeTourNumber_of_Adults: will be replaced with the name of the
&gt; label.
&gt; 
&gt; There is also a key relating to MyFaces applicationResources.properties
&gt; file
&gt; which contains the message. If you find the key you could use that key
&gt; along
&gt; with your customized message into your applicationResources file which
&gt; takes
&gt; precedence over MyFaces one. You might find the message key eg. by looking
&gt; up the file in the MyFaces sources.
&gt; 
&gt; If you need different parameters than the default one you'd probably have
&gt; to
&gt; write your own validator.
&gt; 
&gt; Cheers
&gt; Rene
&gt; 
&gt; -----Ursprüngliche Nachricht-----
&gt; Von: laredotornado [mailto:laredotornado@gmail.com] 
&gt; Gesendet: Mittwoch, 2. Dezember 2009 18:10
&gt; An: users@myfaces.apache.org
&gt; Betreff: Any way to customize this validate number message?
&gt; 
&gt; 
&gt; Hi,
&gt; 
&gt; I'm using MyFaces 1.1.6.  I have this ...
&gt; 
&gt;                 &lt;h:inputText id="domeTourNumber_of_Adults"
&gt; value="#{domeTour.numAdults}"
&gt;                                             required="false"
&gt;                                             size="60"
&gt;                                             maxlength="60"
&gt;                                             styleClass="textFields
&gt; numAdultsField"&gt;
&gt;                 &lt;f:validator validatorId="TourRequiredIfCheckedValidator"
&gt; /&gt;
&gt; 
&gt;                	&lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
&gt;                	&lt;f:validator validatorId="TourAdultChildRatioValidator" /&gt;
&gt;                &lt;/h:inputText&gt;
&gt; 
&gt; in which the bean's set and get type is an int.  So if I enter a value
&gt; like
&gt; "aaa" into the field, I get a message like
&gt; 
&gt; tourType:domeTourNumber_of_Adults: 'aaa' must be a number between
&gt; -2147483648 and 2147483647 Example: 9346
&gt; 
&gt; I would like to customize this message.  Anyone know how I can do that? 
&gt; Thanks, - Dave
&gt; -- 
&gt; View this message in context:
&gt; http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp2
&gt; 6612567p26612567.html
&gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp26612567p26613605.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: AW: Any way to customize this validate number message?</title>
<author><name>laredotornado &lt;laredotornado@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c26613605.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26613605-post@talk-nabble-com%3e</id>
<updated>2009-12-02T18:09:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi Rene,

I changed the input ... is this what you meant because I still get the same
error ...

                &lt;label id="Dome Tour, Number of Adults"
for="domeTourNumber_of_Adults"&gt;
                  *
                  &lt;strong&gt;Number of Adults:&lt;/strong&gt;
                &lt;/label&gt;
                &lt;t:inputText forceId="true" id="domeTourNumber_of_Adults"
value="#{domeTour.numAdults}"
                                            required="false"
                                            size="60"
                                            maxlength="60"
                                            styleClass="textFields
numAdultsField"&gt;
                &lt;f:validator validatorId="TourRequiredIfCheckedValidator" /&gt;       
                    
               	&lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
               	&lt;f:validator validatorId="TourAdultChildRatioValidator" /&gt;
               &lt;/t:inputText&gt;

The error that appears is 

domeTourNumber_of_Adults: 'bbb' must be a number between -2147483648 and
2147483647 Example: 9346

Any ideas what I might be doing wrong?  Thanks, - Dave



Rene Guenther wrote:
&gt; 
&gt; Hi Dave,
&gt; 
&gt; If I remember correctly, if you use a label and use t:inputText instead of
&gt; h:inputText together with forceId="true" in the message
&gt; tourType:domeTourNumber_of_Adults: will be replaced with the name of the
&gt; label.
&gt; 
&gt; There is also a key relating to MyFaces applicationResources.properties
&gt; file
&gt; which contains the message. If you find the key you could use that key
&gt; along
&gt; with your customized message into your applicationResources file which
&gt; takes
&gt; precedence over MyFaces one. You might find the message key eg. by looking
&gt; up the file in the MyFaces sources.
&gt; 
&gt; If you need different parameters than the default one you'd probably have
&gt; to
&gt; write your own validator.
&gt; 
&gt; Cheers
&gt; Rene
&gt; 
&gt; -----Ursprüngliche Nachricht-----
&gt; Von: laredotornado [mailto:laredotornado@gmail.com] 
&gt; Gesendet: Mittwoch, 2. Dezember 2009 18:10
&gt; An: users@myfaces.apache.org
&gt; Betreff: Any way to customize this validate number message?
&gt; 
&gt; 
&gt; Hi,
&gt; 
&gt; I'm using MyFaces 1.1.6.  I have this ...
&gt; 
&gt;                 &lt;h:inputText id="domeTourNumber_of_Adults"
&gt; value="#{domeTour.numAdults}"
&gt;                                             required="false"
&gt;                                             size="60"
&gt;                                             maxlength="60"
&gt;                                             styleClass="textFields
&gt; numAdultsField"&gt;
&gt;                 &lt;f:validator validatorId="TourRequiredIfCheckedValidator"
&gt; /&gt;
&gt; 
&gt;                	&lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
&gt;                	&lt;f:validator validatorId="TourAdultChildRatioValidator" /&gt;
&gt;                &lt;/h:inputText&gt;
&gt; 
&gt; in which the bean's set and get type is an int.  So if I enter a value
&gt; like
&gt; "aaa" into the field, I get a message like
&gt; 
&gt; tourType:domeTourNumber_of_Adults: 'aaa' must be a number between
&gt; -2147483648 and 2147483647 Example: 9346
&gt; 
&gt; I would like to customize this message.  Anyone know how I can do that? 
&gt; Thanks, - Dave
&gt; -- 
&gt; View this message in context:
&gt; http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp2
&gt; 6612567p26612567.html
&gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp26612567p26613605.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>AW: Any way to customize this validate number message?</title>
<author><name>=?iso-8859-1?Q?=22G=FCnther=2C_Rene_-_Innflow_AG=22?= &lt;rene.guenther@innflow.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c007e01ca7377$a9852c20$fc8f8460$@guenther@innflow.com%3e"/>
<id>urn:uuid:%3c007e01ca7377$a9852c20$fc8f8460$@guenther@innflow-com%3e</id>
<updated>2009-12-02T17:48:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Dave,

If I remember correctly, if you use a label and use t:inputText instead of
h:inputText together with forceId="true" in the message
tourType:domeTourNumber_of_Adults: will be replaced with the name of the
label.

There is also a key relating to MyFaces applicationResources.properties file
which contains the message. If you find the key you could use that key along
with your customized message into your applicationResources file which takes
precedence over MyFaces one. You might find the message key eg. by looking
up the file in the MyFaces sources.

If you need different parameters than the default one you'd probably have to
write your own validator.

Cheers
Rene

-----Ursprngliche Nachricht-----
Von: laredotornado [mailto:laredotornado@gmail.com] 
Gesendet: Mittwoch, 2. Dezember 2009 18:10
An: users@myfaces.apache.org
Betreff: Any way to customize this validate number message?


Hi,

I'm using MyFaces 1.1.6.  I have this ...

                &lt;h:inputText id="domeTourNumber_of_Adults"
value="#{domeTour.numAdults}"
                                            required="false"
                                            size="60"
                                            maxlength="60"
                                            styleClass="textFields
numAdultsField"&gt;
                &lt;f:validator validatorId="TourRequiredIfCheckedValidator" /&gt;

               	&lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
               	&lt;f:validator validatorId="TourAdultChildRatioValidator" /&gt;
               &lt;/h:inputText&gt;

in which the bean's set and get type is an int.  So if I enter a value like
"aaa" into the field, I get a message like

tourType:domeTourNumber_of_Adults: 'aaa' must be a number between
-2147483648 and 2147483647 Example: 9346

I would like to customize this message.  Anyone know how I can do that? 
Thanks, - Dave
-- 
View this message in context:
http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp2
6612567p26612567.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Any way to customize this validate number message?</title>
<author><name>=?ISO-8859-1?Q?Juli=E1n_Osorio_Amaya?= &lt;julian.osorio@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c29e49a770912020924s63776621u914e63d6c8699cdb@mail.gmail.com%3e"/>
<id>urn:uuid:%3c29e49a770912020924s63776621u914e63d6c8699cdb@mail-gmail-com%3e</id>
<updated>2009-12-02T17:24:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Greetings!!!

You can use javascript to validate this field or you can build your own
validator

On Wed, Dec 2, 2009 at 12:10 PM, laredotornado &lt;laredotornado@gmail.com&gt;wrote:

&gt;
&gt; Hi,
&gt;
&gt; I'm using MyFaces 1.1.6.  I have this ...
&gt;
&gt;                &lt;h:inputText id="domeTourNumber_of_Adults"
&gt; value="#{domeTour.numAdults}"
&gt;                                            required="false"
&gt;                                            size="60"
&gt;                                            maxlength="60"
&gt;                                            styleClass="textFields
&gt; numAdultsField"&gt;
&gt;                &lt;f:validator validatorId="TourRequiredIfCheckedValidator" /&gt;
&gt;                &lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
&gt;                &lt;f:validator validatorId="TourAdultChildRatioValidator" /&gt;
&gt;               &lt;/h:inputText&gt;
&gt;
&gt; in which the bean's set and get type is an int.  So if I enter a value like
&gt; "aaa" into the field, I get a message like
&gt;
&gt; tourType:domeTourNumber_of_Adults: 'aaa' must be a number between
&gt; -2147483648 and 2147483647 Example: 9346
&gt;
&gt; I would like to customize this message.  Anyone know how I can do that?
&gt; Thanks, - Dave
&gt; --
&gt; View this message in context:
&gt; http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp26612567p26612567.html
&gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt;
&gt;


-- 
Julin Osorio Amaya.


</pre>
</div>
</content>
</entry>
<entry>
<title>Any way to customize this validate number message?</title>
<author><name>laredotornado &lt;laredotornado@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c26612567.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26612567-post@talk-nabble-com%3e</id>
<updated>2009-12-02T17:10:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I'm using MyFaces 1.1.6.  I have this ...

                &lt;h:inputText id="domeTourNumber_of_Adults"
value="#{domeTour.numAdults}"
                                            required="false"
                                            size="60"
                                            maxlength="60"
                                            styleClass="textFields
numAdultsField"&gt;
                &lt;f:validator validatorId="TourRequiredIfCheckedValidator" /&gt;       
                    
               	&lt;f:validator validatorId="TourTotalPeopleValidator" /&gt;
               	&lt;f:validator validatorId="TourAdultChildRatioValidator" /&gt;
               &lt;/h:inputText&gt;

in which the bean's set and get type is an int.  So if I enter a value like
"aaa" into the field, I get a message like

tourType:domeTourNumber_of_Adults: 'aaa' must be a number between
-2147483648 and 2147483647 Example: 9346

I would like to customize this message.  Anyone know how I can do that? 
Thanks, - Dave
-- 
View this message in context: http://old.nabble.com/Any-way-to-customize-this-validate-number-message--tp26612567p26612567.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>AW: [EXTVal] Validators wihtout implicit required validations</title>
<author><name>&quot;Dreher, Markus&quot; &lt;M.Dreher@dzbw.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c99E58D5AC1BE6D4CBF492AF72B942C3D028298BE@dzstus010.dzbw.de%3e"/>
<id>urn:uuid:%3c99E58D5AC1BE6D4CBF492AF72B942C3D028298BE@dzstus010-dzbw-de%3e</id>
<updated>2009-12-02T08:50:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Gerhard,

thanks for your answers. I checked out the trunk and it's working as i expect it.
I forgot to mention that i'm using facelets and trinidad, but the component support handles
this great.


Regards,

Markus

-----Ursprngliche Nachricht-----
Von: Gerhard Petracek [mailto:gerhard.petracek@gmail.com] 
Gesendet: Dienstag, 1. Dezember 2009 21:45
An: MyFaces Discussion
Betreff: Re: [EXTVal] Validators wihtout implicit required validations

hi markus,

i introduced marker annotations [1] so that you can easily mark validation
strategies which are aware of empty- and null-values.
i committed the changes as well as test-cases. there will be a new
(milestone) version quite soon.

regards,
gerhard

[1] http://issues.apache.org/jira/browse/EXTVAL-74

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2009/11/30 Gerhard Petracek &lt;gerhard.petracek@gmail.com&gt;

&gt; short addition:
&gt;
&gt; i see your point and i'll change that.
&gt; for now: my previous post contains a list of simple solutions you can use.
&gt;
&gt; regards,
&gt; gerhard
&gt;
&gt;
&gt; http://www.irian.at
&gt;
&gt; Your JSF powerhouse -
&gt; JSF Consulting, Development and
&gt; Courses in English and German
&gt;
&gt; Professional Support for Apache MyFaces
&gt;
&gt;
&gt; 2009/11/30 Gerhard Petracek &lt;gerhard.petracek@gmail.com&gt;
&gt;
&gt; hi,
&gt;&gt;
&gt;&gt; it's a bit different.
&gt;&gt; the parameter mentioned by jakob is a jsf 2.0 parameter especially for the
&gt;&gt; jsr 303 integration.
&gt;&gt; if you set it to true, the not-null constraint will be interpreted like
&gt;&gt; required (= true).
&gt;&gt; extval uses it in an abstract class in a similar way. that means: you just
&gt;&gt; have to use it to explicitly deactivate the behavior described above.
&gt;&gt; it's automatically available for custom validation interceptors. an
&gt;&gt; internal example is the validation interceptor of the bean-validation module
&gt;&gt; (which allows to use jsr 303 with all jsf versions).
&gt;&gt;
&gt;&gt; the property validation module of the next release (as well as the
&gt;&gt; available milestone) overrides this new default behavior so that an empty
&gt;&gt; field doesn't lead to a null value for validation (due to backward
&gt;&gt; compatibility reasons). however, you can easily customize this behavior.
&gt;&gt;
&gt;&gt; back to the original question:
&gt;&gt;
&gt;&gt; extval just delegates to the (configured) jsf length validator. so
&gt;&gt; basically the behavior depends on the implementation you are using in your
&gt;&gt; application.
&gt;&gt;
&gt;&gt; in this case the default implementation throws an exception because it
&gt;&gt; isn't aware of empty values. to change this behavior you can:
&gt;&gt; - register your custom jsf-length-validator implementation (see:
&gt;&gt; javax.faces.Length) which handles it as you expect it (that's plain jsf)
&gt;&gt; or
&gt;&gt; - replace the default extval validation strategy for @Length to ignore
&gt;&gt; empty values
&gt;&gt; or
&gt;&gt; - implement your custom extval annotation
&gt;&gt;
&gt;&gt; all 3 possibilities are quite easy.
&gt;&gt;
&gt;&gt; regards,
&gt;&gt; gerhard
&gt;&gt;
&gt;&gt; http://www.irian.at
&gt;&gt;
&gt;&gt; Your JSF powerhouse -
&gt;&gt; JSF Consulting, Development and
&gt;&gt; Courses in English and German
&gt;&gt;
&gt;&gt; Professional Support for Apache MyFaces
&gt;&gt;
&gt;&gt;
&gt;&gt; 2009/11/30 Jakob Korherr &lt;jakob.korherr@gmail.com&gt;
&gt;&gt;
&gt;&gt; Hi Markus,
&gt;&gt;&gt;
&gt;&gt;&gt; Take a look at the
&gt;&gt;&gt; javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL
&gt;&gt;&gt; config parameter in web.xml.
&gt;&gt;&gt;
&gt;&gt;&gt; Setting this to true will cause that your property "input" will be null,
&gt;&gt;&gt; if
&gt;&gt;&gt; the user submits an empty field and thus @Length will not be processed.
&gt;&gt;&gt;
&gt;&gt;&gt; Also take a look at http://jsfatwork.irian.at/semistatic/jsf.html,
&gt;&gt;&gt; chapter
&gt;&gt;&gt; 2.12 Validierung fur further information. It's written in german, but I
&gt;&gt;&gt; assume you're from Germany...
&gt;&gt;&gt;
&gt;&gt;&gt; Regards
&gt;&gt;&gt;
&gt;&gt;&gt; Jakob Korherr
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; 2009/11/30 Dreher, Markus &lt;M.Dreher@dzbw.de&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &gt; Hi all,
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; i want to validate a field only when the user filled it out.
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; It's not a reuqired field, but when it is filled out, the input should
&gt;&gt;&gt; &gt; be at least for example 3 digits.
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;    @Length(minimum=3, maximum = 60)
&gt;&gt;&gt; &gt;    private String input;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; With @Length this leads to a required field.
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; Do i miss something?
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; Regards,
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; Markus
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Implement tomahawk-sandbox with tomahawk-1.1.9</title>
<author><name>=?ISO-8859-1?Q?Juli=E1n_Osorio_Amaya_EuphoriaIT?= &lt;josorio@euphoriait.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c4B15A098.10206@euphoriait.com%3e"/>
<id>urn:uuid:%3c4B15A098-10206@euphoriait-com%3e</id>
<updated>2009-12-01T23:02:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Greetings!!!

Leonardo, you're right. I've used the same libraries (tomahawk 1.1.9 and 
tomahawk-sandbox-1.1.9) in Netbeans 6.7.1 and the web app runs.
Maybe there's a bug in this JDeveloper version.

Thanks.

Leonardo Uribe escribi:
&gt; Hi
&gt;
&gt; This could be related to your IDE. Try run your app using other IDE to check
&gt; if there is a problem there.
&gt;
&gt; regards,
&gt;
&gt; Leonardo Uribe
&gt;
&gt; 2009/11/30 Julin Osorio Amaya EuphoriaIT &lt;josorio@euphoriait.com&gt;
&gt;
&gt;   
&gt;&gt; Greetings!!!
&gt;&gt;
&gt;&gt; I'm working on a JSF web app using tomahawk 1.1.9 but now I want to
&gt;&gt; implement Sandbox to use the inputSuggestAjax tag.
&gt;&gt; Actually I'm using JDeveloper 10.3.3.1 but after adding the
&gt;&gt; tomahawk-sandbox-1.1.9-SNAPSHOT.jar to the project's library
&gt;&gt; the app doesn't run.
&gt;&gt;
&gt;&gt; How can I solve this issue?
&gt;&gt;
&gt;&gt; Thanks for your help.
&gt;&gt;
&gt;&gt;     
&gt;
&gt;
&gt;
&gt; __________ Informacin de NOD32, revisin 2277 (20070518) __________
&gt;
&gt; Este mensaje ha sido analizado con NOD32 antivirus system
&gt; http://www.nod32.com
&gt;
&gt;   



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Implement tomahawk-sandbox with tomahawk-1.1.9</title>
<author><name>Leonardo Uribe &lt;lu4242@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cf6c92360912011456h7482ab07wd0f02fc0cf89dc12@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf6c92360912011456h7482ab07wd0f02fc0cf89dc12@mail-gmail-com%3e</id>
<updated>2009-12-01T22:56:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi

This could be related to your IDE. Try run your app using other IDE to check
if there is a problem there.

regards,

Leonardo Uribe

2009/11/30 Julin Osorio Amaya EuphoriaIT &lt;josorio@euphoriait.com&gt;

&gt; Greetings!!!
&gt;
&gt; I'm working on a JSF web app using tomahawk 1.1.9 but now I want to
&gt; implement Sandbox to use the inputSuggestAjax tag.
&gt; Actually I'm using JDeveloper 10.3.3.1 but after adding the
&gt; tomahawk-sandbox-1.1.9-SNAPSHOT.jar to the project's library
&gt; the app doesn't run.
&gt;
&gt; How can I solve this issue?
&gt;
&gt; Thanks for your help.
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [TRINIDAD] Alternative for tr:selectOneChoice</title>
<author><name>Andrew Robinson &lt;andrew.rw.robinson@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cbc36a6210912011445v62969e07ldf333e7df237c07e@mail.gmail.com%3e"/>
<id>urn:uuid:%3cbc36a6210912011445v62969e07ldf333e7df237c07e@mail-gmail-com%3e</id>
<updated>2009-12-01T22:45:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
tr:selectOneRadio and optionally put it in a popup?

-Andrew

On Thu, Nov 26, 2009 at 12:09 AM, Carsten Pieper
&lt;carsten.pieper@continentale.de&gt; wrote:
&gt;
&gt; Hi there,
&gt;
&gt; as our applications still have to be compatible to IE6 we're quite unhappy
&gt; with
&gt; the tr:selectOneChoice as is makes use of the HTML select component which
&gt; is a pain in IE6 (IE6 being the culprit, not the select, of course; e.g. the
&gt; good
&gt; old z-index bug...).
&gt;
&gt; So, here's my question: Does anyone know of an alternative to the
&gt; tr:selectOneChoice
&gt; that doesn't make use of the HTML select and that can easily be plugged into
&gt; an
&gt; existing Trinidad based application?
&gt;
&gt; Thanks, Carsten
&gt; --
&gt; View this message in context: http://old.nabble.com/-TRINIDAD--Alternative-for-tr%3AselectOneChoice-tp26525141p26525141.html
&gt; Sent from the MyFaces - Users mailing list archive at Nabble.com.
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [EXTVal] Validators wihtout implicit required validations</title>
<author><name>Gerhard Petracek &lt;gerhard.petracek@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c2332f63b0912011244x28f64fbfoe9865af20476298d@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2332f63b0912011244x28f64fbfoe9865af20476298d@mail-gmail-com%3e</id>
<updated>2009-12-01T20:44:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
hi markus,

i introduced marker annotations [1] so that you can easily mark validation
strategies which are aware of empty- and null-values.
i committed the changes as well as test-cases. there will be a new
(milestone) version quite soon.

regards,
gerhard

[1] http://issues.apache.org/jira/browse/EXTVAL-74

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2009/11/30 Gerhard Petracek &lt;gerhard.petracek@gmail.com&gt;

&gt; short addition:
&gt;
&gt; i see your point and ill change that.
&gt; for now: my previous post contains a list of simple solutions you can use.
&gt;
&gt; regards,
&gt; gerhard
&gt;
&gt;
&gt; http://www.irian.at
&gt;
&gt; Your JSF powerhouse -
&gt; JSF Consulting, Development and
&gt; Courses in English and German
&gt;
&gt; Professional Support for Apache MyFaces
&gt;
&gt;
&gt; 2009/11/30 Gerhard Petracek &lt;gerhard.petracek@gmail.com&gt;
&gt;
&gt; hi,
&gt;&gt;
&gt;&gt; it's a bit different.
&gt;&gt; the parameter mentioned by jakob is a jsf 2.0 parameter especially for the
&gt;&gt; jsr 303 integration.
&gt;&gt; if you set it to true, the not-null constraint will be interpreted like
&gt;&gt; required (= true).
&gt;&gt; extval uses it in an abstract class in a similar way. that means: you just
&gt;&gt; have to use it to explicitly deactivate the behavior described above.
&gt;&gt; it's automatically available for custom validation interceptors. an
&gt;&gt; internal example is the validation interceptor of the bean-validation module
&gt;&gt; (which allows to use jsr 303 with all jsf versions).
&gt;&gt;
&gt;&gt; the property validation module of the next release (as well as the
&gt;&gt; available milestone) overrides this new default behavior so that an empty
&gt;&gt; field doesn't lead to a null value for validation (due to backward
&gt;&gt; compatibility reasons). however, you can easily customize this behavior.
&gt;&gt;
&gt;&gt; back to the original question:
&gt;&gt;
&gt;&gt; extval just delegates to the (configured) jsf length validator. so
&gt;&gt; basically the behavior depends on the implementation you are using in your
&gt;&gt; application.
&gt;&gt;
&gt;&gt; in this case the default implementation throws an exception because it
&gt;&gt; isn't aware of empty values. to change this behavior you can:
&gt;&gt; - register your custom jsf-length-validator implementation (see:
&gt;&gt; javax.faces.Length) which handles it as you expect it (that's plain jsf)
&gt;&gt; or
&gt;&gt; - replace the default extval validation strategy for @Length to ignore
&gt;&gt; empty values
&gt;&gt; or
&gt;&gt; - implement your custom extval annotation
&gt;&gt;
&gt;&gt; all 3 possibilities are quite easy.
&gt;&gt;
&gt;&gt; regards,
&gt;&gt; gerhard
&gt;&gt;
&gt;&gt; http://www.irian.at
&gt;&gt;
&gt;&gt; Your JSF powerhouse -
&gt;&gt; JSF Consulting, Development and
&gt;&gt; Courses in English and German
&gt;&gt;
&gt;&gt; Professional Support for Apache MyFaces
&gt;&gt;
&gt;&gt;
&gt;&gt; 2009/11/30 Jakob Korherr &lt;jakob.korherr@gmail.com&gt;
&gt;&gt;
&gt;&gt; Hi Markus,
&gt;&gt;&gt;
&gt;&gt;&gt; Take a look at the
&gt;&gt;&gt; javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL
&gt;&gt;&gt; config parameter in web.xml.
&gt;&gt;&gt;
&gt;&gt;&gt; Setting this to true will cause that your property "input" will be null,
&gt;&gt;&gt; if
&gt;&gt;&gt; the user submits an empty field and thus @Length will not be processed.
&gt;&gt;&gt;
&gt;&gt;&gt; Also take a look at http://jsfatwork.irian.at/semistatic/jsf.html,
&gt;&gt;&gt; chapter
&gt;&gt;&gt; 2.12 Validierung fur further information. It's written in german, but I
&gt;&gt;&gt; assume you're from Germany...
&gt;&gt;&gt;
&gt;&gt;&gt; Regards
&gt;&gt;&gt;
&gt;&gt;&gt; Jakob Korherr
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; 2009/11/30 Dreher, Markus &lt;M.Dreher@dzbw.de&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; &gt; Hi all,
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; i want to validate a field only when the user filled it out.
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; It's not a reuqired field, but when it is filled out, the input should
&gt;&gt;&gt; &gt; be at least for example 3 digits.
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;    @Length(minimum=3, maximum = 60)
&gt;&gt;&gt; &gt;    private String input;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; With @Length this leads to a required field.
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; Do i miss something?
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; Regards,
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; Markus
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Problem with number of views in session</title>
<author><name>Shasi Mitra Yarram &lt;shasimitra@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3c46709.56217.qm@web45714.mail.sp1.yahoo.com%3e"/>
<id>urn:uuid:%3c46709-56217-qm@web45714-mail-sp1-yahoo-com%3e</id>
<updated>2009-12-01T17:01:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,I had gone thru &lt;http://wiki.apache.org/myfaces/Performance&gt; and updatedorg.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
to "4" to have less session usage. Now the problem is I have a link on a page, on click of
which a new window opens. After going through more than 4 screens in the child window, none
of the links in the parent window work. The page simply refreshes. Can anyone suggest solution
for this? It works if I put more number of views in session. But I wanna know if there is
any other alternative..
Thanks,Shasi


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [ANNOUNCE] MyFaces Core v2.0.0-alpha Release</title>
<author><name>Leonardo Uribe &lt;lu4242@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cf6c92360911301925n5d35d495gbac452626054d1a2@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf6c92360911301925n5d35d495gbac452626054d1a2@mail-gmail-com%3e</id>
<updated>2009-12-01T03:25:26Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi

Myfaces Core 2.0.0-alpha still not pass all TCK tests, but working hard to
get things done. The idea of doing an alpha release is give the people
interested the oportunity to try it and report any bugs that could appear.
Note this jsf version has a lot of changes and feedback is most welcome.

regards,

Leonardo Uribe

2009/11/30 Delos &lt;daition@gmail.com&gt;

&gt; Hi,
&gt;
&gt; Just want to know if MyFaces Core 2.0.0 has passed the TCK?  If not , is
&gt; there any plan for it?
&gt;
&gt; Thanks!
&gt;
&gt; 2009/12/1 Leonardo Uribe &lt;lu4242@apache.org&gt;
&gt;
&gt; &gt; The Apache MyFaces team is pleased to announce the release of MyFaces
&gt; Core
&gt; &gt; 2.0.0-alpha.
&gt; &gt;
&gt; &gt; MyFaces Core is a JavaServer(tm) Faces 2.0 implementation as specified by
&gt; &gt; JSR-314.
&gt; &gt;
&gt; &gt; MyFaces Core 2.0.0-alpha is available in both binary and source
&gt; &gt; distributions.
&gt; &gt;
&gt; &gt;   * http://myfaces.apache.org/download.html
&gt; &gt;
&gt; &gt; MyFaces Core is also available in the central Maven repository under
&gt; Group
&gt; &gt; ID "org.apache.myfaces.core".
&gt; &gt;
&gt; &gt; Release Notes - MyFaces Core - Version 2.0.0-alpha
&gt; &gt;
&gt; &gt; Sub-task
&gt; &gt;
&gt; &gt;   * [MYFACES-2174] - MyFaces 2.0 AJAX API extension proposal
&gt; &gt;   * [MYFACES-2191] - Move the myfaces params into the context
&gt; &gt;   * [MYFACES-2195] - rename xhrcore_xxx to xhrcore._xxx
&gt; &gt;   * [MYFACES-2200] - Send events and errors at the various xhr stages
&gt; &gt;   * [MYFACES-2223] - switch viewstate replacement from id to name
&gt; &gt;   * [MYFACES-2238] - offer extension point for AJAX Javascript
&gt; &gt;   * [MYFACES-2240] - typo in javascript build script and target folder
&gt; &gt; doesn't fit the spec
&gt; &gt;   * [MYFACES-2257] - trigger external scripts after AJAX reload
&gt; &gt;   * [MYFACES-2311] - Implement &lt;composite:actionSource&gt; tag handler
&gt; &gt;   * [MYFACES-2312] - Implement &lt;composite:attribute&gt; tag handler
&gt; &gt;   * [MYFACES-2313] - Implement &lt;composite:editableValueHolder&gt; tag
&gt; handler
&gt; &gt;   * [MYFACES-2314] - Implement &lt;composite:extension&gt; tag handler
&gt; &gt;   * [MYFACES-2315] - Implement &lt;composite:facet&gt; tag handler
&gt; &gt;   * [MYFACES-2316] - Implement &lt;composite:implementation&gt; tag handler
&gt; &gt;   * [MYFACES-2317] - Implement &lt;composite:insertChildren&gt; tag handler
&gt; &gt;   * [MYFACES-2318] - Implement &lt;composite:insertFacet&gt; tag handler
&gt; &gt;   * [MYFACES-2319] - Implement &lt;composite:interface&gt; tag handler
&gt; &gt;   * [MYFACES-2320] - Implement &lt;composite:renderFacet&gt; tag handler
&gt; &gt;   * [MYFACES-2324] - Add ViewDeclarationLanguage.retargetAttachedObjects
&gt; &gt; and ViewDeclarationLanguage.retargetMethodExpressions
&gt; &gt;   * [MYFACES-2325] - Add Composite Renderer class
&gt; &gt;   * [MYFACES-2331] - Implement Composite Component Attributes ELResolver
&gt; &gt; (jsf 2.0 spec section 5.6.2.2) and add implicit object "cc" and
&gt; "component"
&gt; &gt;   * [MYFACES-2362] - Move default validator registration from
&gt; &gt; UIInput.validateValue to ComponentTagHandlerDelegate
&gt; &gt;
&gt; &gt; Bug
&gt; &gt;
&gt; &gt;   * [MYFACES-2083] - FacesContext contains several unnecessary methods
&gt; &gt;   * [MYFACES-2131] - Import to internal Sun class
&gt; &gt;   * [MYFACES-2146] - Bug in UIViewRoot causes Exception in
&gt; &gt; popComponentFromEL()
&gt; &gt;   * [MYFACES-2147] - NoSuchMethodException when instantiating SystemEvent
&gt; &gt; objects
&gt; &gt;   * [MYFACES-2287] - getting the myfaces 1.2 simple example app running
&gt; on
&gt; &gt; 2.0 impl
&gt; &gt;   * [MYFACES-2296] - Annotation scanning bugs
&gt; &gt;   * [MYFACES-2357] - currency validation does not fall through to the
&gt; &gt; default JVM local when a default locale is not specified in faces-config
&gt; &gt;   * [MYFACES-2358] - System event system not working
&gt; &gt;   * [MYFACES-2359] - ComponentSystemEvents are not globally dispatched
&gt; &gt;   * [MYFACES-2360] - Facelets JSTL escapeXML function not escaping '&gt;'
&gt; &gt;   * [MYFACES-2381] - Broken link: "Core JSF-2.0"
&gt; &gt;   * [MYFACES-2384] - @FacesBehavior not handled correctly
&gt; &gt;   * [MYFACES-2386] - Refactor Bean Validation "constants" to
&gt; &gt; package-private class
&gt; &gt;   * [MYFACES-2387] - component state not being restored when
&gt; &gt; ValueChangeListener is attached
&gt; &gt;   * [MYFACES-2390] - h:graphic image doesn't handle library attribue
&gt; &gt;   * [MYFACES-2391] - classpath resources not checking for valid version
&gt; &gt; pattern
&gt; &gt;   * [MYFACES-2393] - graphicImage tag does not handle resource EL
&gt; &gt; expressions properly
&gt; &gt;   * [MYFACES-2394] - ResourceDependency annotations not being handled
&gt; &gt; properly if target attribute is set
&gt; &gt;   * [MYFACES-2397] - f:ajax attributes execute and render should take
&gt; space
&gt; &gt; delimited clientIds
&gt; &gt;   * [MYFACES-2398] - no spaces in html-output of f:ajax with render and
&gt; &gt; execute attributes with more than one target
&gt; &gt;   * [MYFACES-2402] - Fix conditional navigation
&gt; &gt;   * [MYFACES-2404] - JspViewDeclarationLanguageStrategy is always the
&gt; &gt; default strategy, so it should always return true on handles() method
&gt; &gt;   * [MYFACES-2405] - f:ajax renderer not handling multiple IDs properly
&gt; &gt;   * [MYFACES-2406] - Create a view with viewId is null should be possible
&gt; &gt;   * [MYFACES-2408] - UIComponent.subscribeToEvent and unsubscribeToEvent
&gt; &gt; should throw NullPointerException when eventClass or componentListener is
&gt; &gt; null
&gt; &gt;   * [MYFACES-2415] - EnumConverter should only conver to String valid
&gt; enum
&gt; &gt; values
&gt; &gt;   * [MYFACES-2416] - h:outputLabel does not handle escape property
&gt; &gt;
&gt; &gt; Improvement
&gt; &gt;
&gt; &gt;   * [MYFACES-1910] - Add resetValue() to EditableValueHolder interface
&gt; &gt; (this is a JSF 2.0 related issue)
&gt; &gt;   * [MYFACES-2010] - Implement JSF 2.0 - Comment in the class
&gt; &gt;   * [MYFACES-2036] - Comment on javax.faces.application.FacesMessage
&gt; Class
&gt; &gt;   * [MYFACES-2235] - ProjectStage extension
&gt; &gt;   * [MYFACES-2354] - update javax.faces.component classes which utilize
&gt; the
&gt; &gt; context classloader to handle java2 security
&gt; &gt;   * [MYFACES-2389] - clean up the UIComponentBase.setParent()
&gt; &gt;
&gt; &gt; New Feature
&gt; &gt;
&gt; &gt;   * [MYFACES-2133] - The implementation of ResourceHandler must be
&gt; &gt; thread-safe
&gt; &gt;   * [MYFACES-2140] - Add annotation processing logic
&gt; &gt;   * [MYFACES-2162] - Default RenderKitId should be HTML_BASIC when using
&gt; &gt; annotations
&gt; &gt;   * [MYFACES-2173] - JSF 2.0 AJAX library
&gt; &gt;   * [MYFACES-2372] - h:commandButton should render UIParameter children
&gt; &gt;
&gt; &gt; Task
&gt; &gt;
&gt; &gt;   * [MYFACES-1911] - Implement JSF 2.0 logic at TODO #1
&gt; &gt;   * [MYFACES-1912] - Implement JSF 2.0 logic at TODO #2
&gt; &gt;   * [MYFACES-1913] - Implement JSF 2.0 logic at TODO #3
&gt; &gt;   * [MYFACES-1914] - Implement JSF 2.0 logic at TODO #4
&gt; &gt;   * [MYFACES-1915] - Implement JSF 2.0 logic at TODO #5
&gt; &gt;   * [MYFACES-1916] - Implement JSF 2.0 logic at TODO #6
&gt; &gt;   * [MYFACES-1917] - Implement JSF 2.0 logic at TODO #7
&gt; &gt;   * [MYFACES-1918] - Implement JSF 2.0 logic at TODO #8
&gt; &gt;   * [MYFACES-1919] - Implement JSF 2.0 logic at TODO #9
&gt; &gt;   * [MYFACES-1920] - Implement JSF 2.0 logic at TODO #10
&gt; &gt;   * [MYFACES-1921] - Implement JSF 2.0 logic at TODO #16
&gt; &gt;   * [MYFACES-1922] - Implement JSF 2.0 logic at TODO #17
&gt; &gt;   * [MYFACES-1923] - Implement JSF 2.0 logic at TODO #11
&gt; &gt;   * [MYFACES-1924] - Implement JSF 2.0 logic at TODO #18
&gt; &gt;   * [MYFACES-1925] - Implement JSF 2.0 logic at TODO #19
&gt; &gt;   * [MYFACES-1926] - Implement JSF 2.0 logic at TODO #20
&gt; &gt;   * [MYFACES-1927] - Implement JSF 2.0 logic at TODO #21
&gt; &gt;   * [MYFACES-1928] - Implement JSF 2.0 logic at TODO #22
&gt; &gt;   * [MYFACES-1929] - Implement JSF 2.0 logic at TODO #23
&gt; &gt;   * [MYFACES-1930] - Implement JSF 2.0 logic at TODO #22
&gt; &gt;   * [MYFACES-1931] - Implement JSF 2.0 logic at TODO #35
&gt; &gt;   * [MYFACES-1932] - Implement JSF 2.0 logic at TODO #24
&gt; &gt;   * [MYFACES-1933] - Implement JSF 2.0 logic at TODO #24
&gt; &gt;   * [MYFACES-1934] - Implement JSF 2.0 logic at TODO #25
&gt; &gt;   * [MYFACES-1935] - Implement JSF 2.0 logic at TODO #34
&gt; &gt;   * [MYFACES-1936] - Implement JSF 2.0 logic at TODO #26
&gt; &gt;   * [MYFACES-1938] - Implement JSF 2.0 logic at TODO #28
&gt; &gt;   * [MYFACES-1939] - Implement JSF 2.0 logic at TODO #33
&gt; &gt;   * [MYFACES-1940] - Implement JSF 2.0 logic at TODO #29
&gt; &gt;   * [MYFACES-1941] - Implement JSF 2.0 logic at TODO #30
&gt; &gt;   * [MYFACES-1942] - Implement JSF 2.0 logic at TODO #32
&gt; &gt;   * [MYFACES-1943] - Implement JSF 2.0 logic at TODO #12
&gt; &gt;   * [MYFACES-1944] - Implement JSF 2.0 logic at TODO #13
&gt; &gt;   * [MYFACES-1945] - Implement JSF 2.0 logic at TODO #14
&gt; &gt;   * [MYFACES-1946] - Implement JSF 2.0 logic at TODO #31
&gt; &gt;   * [MYFACES-1947] - Implement JSF 2.0 logic at TODO #15
&gt; &gt;   * [MYFACES-1948] - Implement JSF 2.0 logic at TODO #27
&gt; &gt;   * [MYFACES-1950] - Implement JSF 2.0 - ExternalContext is missing some
&gt; &gt; methods
&gt; &gt;   * [MYFACES-1951] - Update UIInput.validate()
&gt; &gt;   * [MYFACES-1958] - Implement AfterAddToParentEvent
&gt; &gt;   * [MYFACES-1959] - Add missing javax.faces.event Classes &amp; Interfaces
&gt; &gt;   * [MYFACES-1968] - Implement JSF 2.0 logic at TODO #35
&gt; &gt;   * [MYFACES-1969] - Implement JSF 2.0 logic at TODO #36
&gt; &gt;   * [MYFACES-1970] - Implement JSF 2.0 logic at TODO #37
&gt; &gt;   * [MYFACES-1971] - Implement JSF 2.0 logic at TODO #38
&gt; &gt;   * [MYFACES-1972] - Implement JSF 2.0 logic at TODO #39
&gt; &gt;   * [MYFACES-1973] - Implement JSF 2.0 logic at TODO #40
&gt; &gt;   * [MYFACES-1974] - Apply Java 5 specific features to the code, mainly
&gt; &gt; generics and enhanced for
&gt; &gt;   * [MYFACES-1977] - add to FacesServlet.service call to ResourceHandler
&gt; &gt; and update digester code
&gt; &gt;   * [MYFACES-1978] - Remove org.apache.myfaces.portlet from JSF 2.0
&gt; branch,
&gt; &gt; because it has no use anymore
&gt; &gt;   * [MYFACES-1980] - Implement JSF 2.0 logic at TODO #41
&gt; &gt;   * [MYFACES-1983] - Implement JSF 2.0 logic at TODO #42
&gt; &gt;   * [MYFACES-1984] - Implement JSF 2.0 logic at TODO #43
&gt; &gt;   * [MYFACES-1985] - Implement JSF 2.0 logic at TODO #44
&gt; &gt;   * [MYFACES-1986] - Implement JSF 2.0 logic at TODO #45
&gt; &gt;   * [MYFACES-1987] - Implement JSF 2.0 logic at TODO #46
&gt; &gt;   * [MYFACES-1998] - Implement JSF 2.0 logic at TODO #57
&gt; &gt;   * [MYFACES-2003] - Implement JSF 2.0 logic at TODO #58
&gt; &gt;   * [MYFACES-2014] - Implement
&gt; &gt; ResponseStateManager.getViewState(FacesContext, Object) and update state
&gt; &gt; saving field on client when ajax response is processed
&gt; &gt;   * [MYFACES-2015] - Implements AJAX lifecycle on UIViewRoot
&gt; &gt;   * [MYFACES-2018] - Implement @ResourceDependency support for
&gt; setConverter
&gt; &gt; and addValidator
&gt; &gt;   * [MYFACES-2019] - Implement iterator() on DataModel
&gt; &gt;   * [MYFACES-2020] - Implement changes to RenderKit
&gt; &gt;   * [MYFACES-2021] - Add EDR2 part of error handling to FacesServlet
&gt; &gt;   * [MYFACES-2022] - Add setSubmitted(false) in UIForm.saveState
&gt; &gt;   * [MYFACES-2032] - Implement
&gt; &gt; javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE config
&gt; &gt; param
&gt; &gt;   * [MYFACES-2040] - Implement tag c:catch
&gt; &gt;   * [MYFACES-2041] - Implement tag c:choose
&gt; &gt;   * [MYFACES-2042] - Implement tag c:forEach
&gt; &gt;   * [MYFACES-2043] - Implement tag c:if
&gt; &gt;   * [MYFACES-2044] - Implement tag c:otherwise
&gt; &gt;   * [MYFACES-2045] - Implement tag c:set
&gt; &gt;   * [MYFACES-2046] - Implement tag c:when
&gt; &gt;   * [MYFACES-2047] - Implement tag composite:actionSource
&gt; &gt;   * [MYFACES-2048] - Implement tag composite:attribute
&gt; &gt;   * [MYFACES-2049] - Implement tag composite:editableValueHolder
&gt; &gt;   * [MYFACES-2050] - Implement tag composite:facet
&gt; &gt;   * [MYFACES-2051] - Implement tag composite:implementation
&gt; &gt;   * [MYFACES-2052] - Implement tag composite:insertChildren
&gt; &gt;   * [MYFACES-2053] - Implement tag composite:insertFacet
&gt; &gt;   * [MYFACES-2054] - Implement tag composite:interface
&gt; &gt;   * [MYFACES-2055] - Implement tag composite:valueHolder
&gt; &gt;   * [MYFACES-2056] - Implement tag fn:contains()
&gt; &gt;   * [MYFACES-2057] - Implement tag fn:containsIgnoreCase()
&gt; &gt;   * [MYFACES-2058] - Implement tag fn:endsWith()
&gt; &gt;   * [MYFACES-2059] - Implement tag fn:escapeXml()
&gt; &gt;   * [MYFACES-2060] - Implement tag fn:indexOf()
&gt; &gt;   * [MYFACES-2061] - Implement tag fn:join()
&gt; &gt;   * [MYFACES-2062] - Implement tag fn:length()
&gt; &gt;   * [MYFACES-2063] - Implement tag fn:replace()
&gt; &gt;   * [MYFACES-2064] - Implement tag fn:split()
&gt; &gt;   * [MYFACES-2065] - Implement tag fn:startsWith()
&gt; &gt;   * [MYFACES-2066] - Implement tag fn:substring()
&gt; &gt;   * [MYFACES-2067] - Implement tag fn:substringAfter()
&gt; &gt;   * [MYFACES-2068] - Implement tag fn:substringBefore()
&gt; &gt;   * [MYFACES-2069] - Implement tag fn:toLowerCase()
&gt; &gt;   * [MYFACES-2070] - Implement tag fn:toUpperCase()
&gt; &gt;   * [MYFACES-2071] - Implement tag fn:trim()
&gt; &gt;   * [MYFACES-2072] - Implement tag ui:component
&gt; &gt;   * [MYFACES-2073] - Implement tag ui:composition
&gt; &gt;   * [MYFACES-2074] - Implement tag ui:debug
&gt; &gt;   * [MYFACES-2075] - Implement tag ui:decorate
&gt; &gt;   * [MYFACES-2076] - Implement tag ui:define
&gt; &gt;   * [MYFACES-2077] - Implement tag ui:fragment
&gt; &gt;   * [MYFACES-2078] - Implement tag ui:include
&gt; &gt;   * [MYFACES-2079] - Implement tag ui:insert
&gt; &gt;   * [MYFACES-2080] - Implement tag ui:param
&gt; &gt;   * [MYFACES-2081] - Implement tag ui:repeat
&gt; &gt;   * [MYFACES-2085] - Add ApplicationWrapper class
&gt; &gt;   * [MYFACES-2086] - Add DiscoveryHandler class
&gt; &gt;   * [MYFACES-2088] - Add ExceptionHandler class
&gt; &gt;   * [MYFACES-2093] - Add ExceptionEvent class
&gt; &gt;   * [MYFACES-2096] - Make DataModel types generic
&gt; &gt;   * [MYFACES-2098] - Add RegexValidator class
&gt; &gt;   * [MYFACES-2101] - Javadoc update for method Object getFactory(String
&gt; &gt; factoryName) of FactoryFinder class
&gt; &gt;   * [MYFACES-2102] - Implement JSF 2.0 logic for UIComponent
&gt; &gt; createComponent(FacesContext context,Resource componentResource) TODO #60
&gt; &gt;   * [MYFACES-2105] - Implement JSF 2.0 logic for UIComponent
&gt; &gt; createComponent(final String componentType)
&gt; &gt;   * [MYFACES-2106] - add Exception handler factory to FactoryFinder and
&gt; &gt; update getFactory method
&gt; &gt;   * [MYFACES-2108] - implement ExceptionHandler contract on myfaces-impl
&gt; &gt;   * [MYFACES-2123] - Add javax.faces.webapp.pdl.facelets.* API classes
&gt; &gt;   * [MYFACES-2125] - Add UIComponent.doTreeTraversal method
&gt; &gt;   * [MYFACES-2136] - UISelectMany
&gt; &gt;   * [MYFACES-2151] - Make test work using shale test (changes in jsf 2.0
&gt; &gt; make it fail)
&gt; &gt;   * [MYFACES-2163] - Add RequiredValidator
&gt; &gt;   * [MYFACES-2166] - Some Resources contains ValueExpressions that must
&gt; be
&gt; &gt; evaluated
&gt; &gt;   * [MYFACES-2171] - Add Config Ordering feature
&gt; &gt;   * [MYFACES-2178] - Implement IMPL - method addResponseHeader of
&gt; &gt; ExternalContext
&gt; &gt;   * [MYFACES-2179] - Implement IMPL - method getRequestContentLength of
&gt; &gt; ExternalContext
&gt; &gt;   * [MYFACES-2180] - Implement IMPL - method getResponseBufferSize of
&gt; &gt; ExternalContext
&gt; &gt;   * [MYFACES-2181] - Implement IMPL - method getResponseOutputWriter of
&gt; &gt; ExternalContext
&gt; &gt;   * [MYFACES-2182] - Implement IMPL - method isResponseCommitted of
&gt; &gt; ExternalContext
&gt; &gt;   * [MYFACES-2184] - Implement IMPL - all TODO methods of ExternalContext
&gt; &gt;   * [MYFACES-2187] - Implement encodeBookmarkableURL and
&gt; encodeRedirectURL
&gt; &gt; in ExternalContext
&gt; &gt;   * [MYFACES-2189] - Implement ApplicationImpl TODO's for Behavior
&gt; &gt;   * [MYFACES-2197] - ExceptionQueuedEventContext todos
&gt; &gt;   * [MYFACES-2198] - remaining FacesContext/FacesContextImpl TODOs.
&gt; &gt;   * [MYFACES-2205] - Update UIViewRoot to latest spec draft
&gt; &gt;   * [MYFACES-2215] - Handle RenderKit TODOs for JSF 2.0
&gt; &gt;   * [MYFACES-2219] - ViewHandler TODOs for JSF 2.0
&gt; &gt;   * [MYFACES-2220] - FacesConfigurator should scan application config
&gt; &gt; resources(files on META-INF/) ending with .faces-config.xml
&gt; &gt;   * [MYFACES-2222] - ViewHandler.DEFAULT_SUFFIX could contain several
&gt; &gt; suffixes
&gt; &gt;   * [MYFACES-2225] - Implement PostAddToViewEvent and
&gt; &gt; PreRemoveFromViewEvent thrown conditions
&gt; &gt;   * [MYFACES-2226] - Add support for remaining 2.0 faces-config.xml
&gt; &gt; elements
&gt; &gt;   * [MYFACES-2227] - Update ResponseWriter/ResponseWriterWrapper to
&gt; latest
&gt; &gt; spec
&gt; &gt;   * [MYFACES-2228] - Add h:head, h:body, h:outputScript and
&gt; &gt; h:outputStylesheet renderers
&gt; &gt;   * [MYFACES-2229] - update viewid calculation to new algorithm
&gt; &gt;   * [MYFACES-2230] - FaceletViewDeclarationLanguage TODOs
&gt; &gt;   * [MYFACES-2231] - Handle the TODOs for JSPViewDeclarationLanguage
&gt; &gt;   * [MYFACES-2254] - Finish ExceptionHandler support
&gt; &gt;   * [MYFACES-2255] - Create UIOutcomeTarget API class
&gt; &gt;   * [MYFACES-2258] - Add support for &lt;if&gt; navigation
&gt; &gt;   * [MYFACES-2259] - Implement Partial State Saving feature
&gt; &gt;   * [MYFACES-2262] - implement outcomtarget renderers
&gt; &gt;   * [MYFACES-2263] - Create Composite component EL resolver
&gt; &gt;   * [MYFACES-2264] - Behavior registration
&gt; &gt;   * [MYFACES-2266] - Implement Flash object and EL resolver
&gt; &gt;   * [MYFACES-2267] - handle TODOs for UIComponentBase
&gt; &gt;   * [MYFACES-2268] - Add support for registering client behavior
&gt; renderers
&gt; &gt;   * [MYFACES-2270] - Add FacesContext param to Application.publishEvent
&gt; &gt;   * [MYFACES-2271] - Call FacesMessage.rendered on message renderers
&gt; &gt;   * [MYFACES-2272] - Apply changes related to UIInput.validateValue and
&gt; &gt; UIInput.VALIDATE_EMPTY_FIELDS_PARAM_NAME
&gt; &gt;   * [MYFACES-2273] - ClientBehaviorRenderer/ClientbehaviorBase TODOs
&gt; &gt;   * [MYFACES-2274] - Implement UIMessage.isRedisplay and
&gt; &gt; UIMessages.isRedisplay
&gt; &gt;   * [MYFACES-2275] - UIMessages.getFor (Filter messages of a selected
&gt; &gt; component)
&gt; &gt;   * [MYFACES-2276] - Update renderers that receive UIParameter to deal
&gt; with
&gt; &gt; "disable" param.
&gt; &gt;   * [MYFACES-2277] - UISelectItem.isNoSelectionOption (deal with it on
&gt; &gt; UISelectOne.validateValue and UISelectMany.validateValue)
&gt; &gt;   * [MYFACES-2278] - Render columns with th instead td, according to
&gt; &gt; HtmlColumn.isRowHeader
&gt; &gt;   * [MYFACES-2279] - TODOs for javax.faces.application.NavigationCase
&gt; &gt;   * [MYFACES-2280] - ValidatorException should support collections of
&gt; &gt; messages.
&gt; &gt;   * [MYFACES-2281] - Implement ViewListeners-Events api on UIViewRoot
&gt; &gt;   * [MYFACES-2282] - h:dataTable and h:panelGrid should implement
&gt; bodyrows
&gt; &gt; behavior (tbody encapsulation)
&gt; &gt;   * [MYFACES-2283] - Apply selected/unselected css class to
&gt; &gt; h:selectManyCheckbox
&gt; &gt;   * [MYFACES-2284] - Allow h:outputLink "fragment" property to append
&gt; text
&gt; &gt; to url after '#'
&gt; &gt;   * [MYFACES-2285] - Add ExternalContextFactory Implementation
&gt; &gt;   * [MYFACES-2286] - javax.faces.view.facelets TODOs
&gt; &gt;   * [MYFACES-2291] - Components implementing ClientBehaviorHolder should
&gt; &gt; override getEventNames() and getDefaultEventName()
&gt; &gt;   * [MYFACES-2292] - update NavigationHandlerImpl to extend
&gt; &gt; ConfigurableNavigationHandler
&gt; &gt;   * [MYFACES-2293] - ui:composition, ui:define and ui:insert component
&gt; tag
&gt; &gt; handlers does not work as expected
&gt; &gt;   * [MYFACES-2294] - Sync API with final 2.0 spec
&gt; &gt;   * [MYFACES-2297] - Add TagHandlerDelegateFactory implementation
&gt; &gt;   * [MYFACES-2298] - Apply algorithm described on
&gt; &gt; javax.faces.view.facelets.ComponentHandler in implementation
&gt; &gt;   * [MYFACES-2299] - Add AttachedObjectHandler implementation when it is
&gt; &gt; necessary
&gt; &gt;   * [MYFACES-2300] - binding property on facelets tag handlers should be
&gt; &gt; retrieved from javax.faces.view.facelets.DelegatingMetaTagHandler
&gt; &gt;   * [MYFACES-2302] - Get simple 2.0 app working
&gt; &gt;   * [MYFACES-2304] - Annotate facelets stuff adding @JSFFaceletTag and
&gt; &gt; @JSFFaceletAttribute to myfaces-builder-plugin
&gt; &gt;   * [MYFACES-2307] - Generate HtmlHead and HtmlBody
&gt; &gt;   * [MYFACES-2309] - Add new attributes to f:selectItems
&gt; &gt;   * [MYFACES-2310] - Implement Composite Component feature
&gt; &gt;   * [MYFACES-2322] - Implement &lt;f:metadata&gt; tag handler
&gt; &gt;   * [MYFACES-2327] - Move facelets test code to myfaces
&gt; &gt;   * [MYFACES-2330] - Get "basic-ajax" 2.0 sample app working
&gt; &gt;   * [MYFACES-2337] - Implement UniqueIdVendor.createUniqueId method and
&gt; &gt; review all related code to UniqueIdVendor
&gt; &gt;   * [MYFACES-2340] - Get "basic-ezcomp" 2.0 sample working
&gt; &gt;   * [MYFACES-2341] - facelet tag lib parser includes &lt;behavior&gt; section
&gt; &gt;   * [MYFACES-2345] - Add View Parameters feature
&gt; &gt;   * [MYFACES-2349] - h:commandButton allows type="button" on jsf 2.0
&gt; &gt;   * [MYFACES-2364] - PostRestoreStateEvent should be called from
&gt; &gt; DefaultRestoreViewSupport.processComponentBinding
&gt; &gt;   * [MYFACES-2365] - DefaultRestoreViewSupport.calculateViewId should not
&gt; &gt; call ViewHandler.deriveViewId, it should be called later from
&gt; &gt; ViewHandler.createView and ViewHandler.restoreView
&gt; &gt;   * [MYFACES-2366] - RestoreViewExecutor should check also if the server
&gt; is
&gt; &gt; showing an error page when check for postback
&gt; &gt;   * [MYFACES-2367] - FacesContext.isProcessingEvents should be called
&gt; from
&gt; &gt; Application.publishEvent
&gt; &gt;   * [MYFACES-2375] - &lt;managed-bean-scope&gt; could also be an EL expression,
&gt; &gt; to allow easy implementation of new scopes
&gt; &gt;   * [MYFACES-2376] - h:outputScript should force type="text/javascript"
&gt; &gt;   * [MYFACES-2378] - Use java util logging on 2.0.x branch
&gt; &gt;   * [MYFACES-2379] - Create site for core 2.0.x
&gt; &gt;   * [MYFACES-2399] - ManagedBeanResolver does not handle view scope
&gt; &gt;   * [MYFACES-2403] - Myfaces core 2.0 uses jdk 6, but it should be jdk 5
&gt; &gt;   * [MYFACES-2407] - _ComponentChildrenList does not implement all List
&gt; &gt; methods
&gt; &gt;   * [MYFACES-2411] - Update api to match latest signature
&gt; &gt;   * [MYFACES-2413] - @ResourceDependency annotations should be scanned
&gt; when
&gt; &gt; Application.createConverter(String) and
&gt; Application.createValidator(String)
&gt; &gt; is called
&gt; &gt;   * [MYFACES-2414] - ResourceHandlerImpl should scan first with locale
&gt; &gt; prefix and then without it
&gt; &gt;   * [MYFACES-2419] - NavigationHandler does not deal with no outcome &amp; no
&gt; &gt; action &amp; no if case
&gt; &gt;   * [MYFACES-2422] - Change package name to org.apache.myfaces.test in
&gt; &gt; myfaces-test project
&gt; &gt;   * [MYFACES-2424] - c namespace changed to
&gt; &gt; http://java.sun.com/jsp/jstl/core
&gt; &gt;
&gt; &gt; regards
&gt; &gt;
&gt; &gt; Leonardo Uribe
&gt; &gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Best Regards,
&gt;
&gt; Delos
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [ANNOUNCE] MyFaces Core v2.0.0-alpha Release</title>
<author><name>Delos &lt;daition@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200912.mbox/%3cb5d96910911301746w22200b18i96861759f670de1e@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb5d96910911301746w22200b18i96861759f670de1e@mail-gmail-com%3e</id>
<updated>2009-12-01T01:46:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Just want to know if MyFaces Core 2.0.0 has passed the TCK?  If not , is
there any plan for it?

Thanks!

2009/12/1 Leonardo Uribe &lt;lu4242@apache.org&gt;

&gt; The Apache MyFaces team is pleased to announce the release of MyFaces Core
&gt; 2.0.0-alpha.
&gt;
&gt; MyFaces Core is a JavaServer(tm) Faces 2.0 implementation as specified by
&gt; JSR-314.
&gt;
&gt; MyFaces Core 2.0.0-alpha is available in both binary and source
&gt; distributions.
&gt;
&gt;   * http://myfaces.apache.org/download.html
&gt;
&gt; MyFaces Core is also available in the central Maven repository under Group
&gt; ID "org.apache.myfaces.core".
&gt;
&gt; Release Notes - MyFaces Core - Version 2.0.0-alpha
&gt;
&gt; Sub-task
&gt;
&gt;   * [MYFACES-2174] - MyFaces 2.0 AJAX API extension proposal
&gt;   * [MYFACES-2191] - Move the myfaces params into the context
&gt;   * [MYFACES-2195] - rename xhrcore_xxx to xhrcore._xxx
&gt;   * [MYFACES-2200] - Send events and errors at the various xhr stages
&gt;   * [MYFACES-2223] - switch viewstate replacement from id to name
&gt;   * [MYFACES-2238] - offer extension point for AJAX Javascript
&gt;   * [MYFACES-2240] - typo in javascript build script and target folder
&gt; doesn't fit the spec
&gt;   * [MYFACES-2257] - trigger external scripts after AJAX reload
&gt;   * [MYFACES-2311] - Implement &lt;composite:actionSource&gt; tag handler
&gt;   * [MYFACES-2312] - Implement &lt;composite:attribute&gt; tag handler
&gt;   * [MYFACES-2313] - Implement &lt;composite:editableValueHolder&gt; tag handler
&gt;   * [MYFACES-2314] - Implement &lt;composite:extension&gt; tag handler
&gt;   * [MYFACES-2315] - Implement &lt;composite:facet&gt; tag handler
&gt;   * [MYFACES-2316] - Implement &lt;composite:implementation&gt; tag handler
&gt;   * [MYFACES-2317] - Implement &lt;composite:insertChildren&gt; tag handler
&gt;   * [MYFACES-2318] - Implement &lt;composite:insertFacet&gt; tag handler
&gt;   * [MYFACES-2319] - Implement &lt;composite:interface&gt; tag handler
&gt;   * [MYFACES-2320] - Implement &lt;composite:renderFacet&gt; tag handler
&gt;   * [MYFACES-2324] - Add ViewDeclarationLanguage.retargetAttachedObjects
&gt; and ViewDeclarationLanguage.retargetMethodExpressions
&gt;   * [MYFACES-2325] - Add Composite Renderer class
&gt;   * [MYFACES-2331] - Implement Composite Component Attributes ELResolver
&gt; (jsf 2.0 spec section 5.6.2.2) and add implicit object "cc" and "component"
&gt;   * [MYFACES-2362] - Move default validator registration from
&gt; UIInput.validateValue to ComponentTagHandlerDelegate
&gt;
&gt; Bug
&gt;
&gt;   * [MYFACES-2083] - FacesContext contains several unnecessary methods
&gt;   * [MYFACES-2131] - Import to internal Sun class
&gt;   * [MYFACES-2146] - Bug in UIViewRoot causes Exception in
&gt; popComponentFromEL()
&gt;   * [MYFACES-2147] - NoSuchMethodException when instantiating SystemEvent
&gt; objects
&gt;   * [MYFACES-2287] - getting the myfaces 1.2 simple example app running on
&gt; 2.0 impl
&gt;   * [MYFACES-2296] - Annotation scanning bugs
&gt;   * [MYFACES-2357] - currency validation does not fall through to the
&gt; default JVM local when a default locale is not specified in faces-config
&gt;   * [MYFACES-2358] - System event system not working
&gt;   * [MYFACES-2359] - ComponentSystemEvents are not globally dispatched
&gt;   * [MYFACES-2360] - Facelets JSTL escapeXML function not escaping '&gt;'
&gt;   * [MYFACES-2381] - Broken link: "Core JSF-2.0"
&gt;   * [MYFACES-2384] - @FacesBehavior not handled correctly
&gt;   * [MYFACES-2386] - Refactor Bean Validation "constants" to
&gt; package-private class
&gt;   * [MYFACES-2387] - component state not being restored when
&gt; ValueChangeListener is attached
&gt;   * [MYFACES-2390] - h:graphic image doesn't handle library attribue
&gt;   * [MYFACES-2391] - classpath resources not checking for valid version
&gt; pattern
&gt;   * [MYFACES-2393] - graphicImage tag does not handle resource EL
&gt; expressions properly
&gt;   * [MYFACES-2394] - ResourceDependency annotations not being handled
&gt; properly if target attribute is set
&gt;   * [MYFACES-2397] - f:ajax attributes execute and render should take space
&gt; delimited clientIds
&gt;   * [MYFACES-2398] - no spaces in html-output of f:ajax with render and
&gt; execute attributes with more than one target
&gt;   * [MYFACES-2402] - Fix conditional navigation
&gt;   * [MYFACES-2404] - JspViewDeclarationLanguageStrategy is always the
&gt; default strategy, so it should always return true on handles() method
&gt;   * [MYFACES-2405] - f:ajax renderer not handling multiple IDs properly
&gt;   * [MYFACES-2406] - Create a view with viewId is null should be possible
&gt;   * [MYFACES-2408] - UIComponent.subscribeToEvent and unsubscribeToEvent
&gt; should throw NullPointerException when eventClass or componentListener is
&gt; null
&gt;   * [MYFACES-2415] - EnumConverter should only conver to String valid enum
&gt; values
&gt;   * [MYFACES-2416] - h:outputLabel does not handle escape property
&gt;
&gt; Improvement
&gt;
&gt;   * [MYFACES-1910] - Add resetValue() to EditableValueHolder interface
&gt; (this is a JSF 2.0 related issue)
&gt;   * [MYFACES-2010] - Implement JSF 2.0 - Comment in the class
&gt;   * [MYFACES-2036] - Comment on javax.faces.application.FacesMessage Class
&gt;   * [MYFACES-2235] - ProjectStage extension
&gt;   * [MYFACES-2354] - update javax.faces.component classes which utilize the
&gt; context classloader to handle java2 security
&gt;   * [MYFACES-2389] - clean up the UIComponentBase.setParent()
&gt;
&gt; New Feature
&gt;
&gt;   * [MYFACES-2133] - The implementation of ResourceHandler must be
&gt; thread-safe
&gt;   * [MYFACES-2140] - Add annotation processing logic
&gt;   * [MYFACES-2162] - Default RenderKitId should be HTML_BASIC when using
&gt; annotations
&gt;   * [MYFACES-2173] - JSF 2.0 AJAX library
&gt;   * [MYFACES-2372] - h:commandButton should render UIParameter children
&gt;
&gt; Task
&gt;
&gt;   * [MYFACES-1911] - Implement JSF 2.0 logic at TODO #1
&gt;   * [MYFACES-1912] - Implement JSF 2.0 logic at TODO #2
&gt;   * [MYFACES-1913] - Implement JSF 2.0 logic at TODO #3
&gt;   * [MYFACES-1914] - Implement JSF 2.0 logic at TODO #4
&gt;   * [MYFACES-1915] - Implement JSF 2.0 logic at TODO #5
&gt;   * [MYFACES-1916] - Implement JSF 2.0 logic at TODO #6
&gt;   * [MYFACES-1917] - Implement JSF 2.0 logic at TODO #7
&gt;   * [MYFACES-1918] - Implement JSF 2.0 logic at TODO #8
&gt;   * [MYFACES-1919] - Implement JSF 2.0 logic at TODO #9
&gt;   * [MYFACES-1920] - Implement JSF 2.0 logic at TODO #10
&gt;   * [MYFACES-1921] - Implement JSF 2.0 logic at TODO #16
&gt;   * [MYFACES-1922] - Implement JSF 2.0 logic at TODO #17
&gt;   * [MYFACES-1923] - Implement JSF 2.0 logic at TODO #11
&gt;   * [MYFACES-1924] - Implement JSF 2.0 logic at TODO #18
&gt;   * [MYFACES-1925] - Implement JSF 2.0 logic at TODO #19
&gt;   * [MYFACES-1926] - Implement JSF 2.0 logic at TODO #20
&gt;   * [MYFACES-1927] - Implement JSF 2.0 logic at TODO #21
&gt;   * [MYFACES-1928] - Implement JSF 2.0 logic at TODO #22
&gt;   * [MYFACES-1929] - Implement JSF 2.0 logic at TODO #23
&gt;   * [MYFACES-1930] - Implement JSF 2.0 logic at TODO #22
&gt;   * [MYFACES-1931] - Implement JSF 2.0 logic at TODO #35
&gt;   * [MYFACES-1932] - Implement JSF 2.0 logic at TODO #24
&gt;   * [MYFACES-1933] - Implement JSF 2.0 logic at TODO #24
&gt;   * [MYFACES-1934] - Implement JSF 2.0 logic at TODO #25
&gt;   * [MYFACES-1935] - Implement JSF 2.0 logic at TODO #34
&gt;   * [MYFACES-1936] - Implement JSF 2.0 logic at TODO #26
&gt;   * [MYFACES-1938] - Implement JSF 2.0 logic at TODO #28
&gt;   * [MYFACES-1939] - Implement JSF 2.0 logic at TODO #33
&gt;   * [MYFACES-1940] - Implement JSF 2.0 logic at TODO #29
&gt;   * [MYFACES-1941] - Implement JSF 2.0 logic at TODO #30
&gt;   * [MYFACES-1942] - Implement JSF 2.0 logic at TODO #32
&gt;   * [MYFACES-1943] - Implement JSF 2.0 logic at TODO #12
&gt;   * [MYFACES-1944] - Implement JSF 2.0 logic at TODO #13
&gt;   * [MYFACES-1945] - Implement JSF 2.0 logic at TODO #14
&gt;   * [MYFACES-1946] - Implement JSF 2.0 logic at TODO #31
&gt;   * [MYFACES-1947] - Implement JSF 2.0 logic at TODO #15
&gt;   * [MYFACES-1948] - Implement JSF 2.0 logic at TODO #27
&gt;   * [MYFACES-1950] - Implement JSF 2.0 - ExternalContext is missing some
&gt; methods
&gt;   * [MYFACES-1951] - Update UIInput.validate()
&gt;   * [MYFACES-1958] - Implement AfterAddToParentEvent
&gt;   * [MYFACES-1959] - Add missing javax.faces.event Classes &amp; Interfaces
&gt;   * [MYFACES-1968] - Implement JSF 2.0 logic at TODO #35
&gt;   * [MYFACES-1969] - Implement JSF 2.0 logic at TODO #36
&gt;   * [MYFACES-1970] - Implement JSF 2.0 logic at TODO #37
&gt;   * [MYFACES-1971] - Implement JSF 2.0 logic at TODO #38
&gt;   * [MYFACES-1972] - Implement JSF 2.0 logic at TODO #39
&gt;   * [MYFACES-1973] - Implement JSF 2.0 logic at TODO #40
&gt;   * [MYFACES-1974] - Apply Java 5 specific features to the code, mainly
&gt; generics and enhanced for
&gt;   * [MYFACES-1977] - add to FacesServlet.service call to ResourceHandler
&gt; and update digester code
&gt;   * [MYFACES-1978] - Remove org.apache.myfaces.portlet from JSF 2.0 branch,
&gt; because it has no use anymore
&gt;   * [MYFACES-1980] - Implement JSF 2.0 logic at TODO #41
&gt;   * [MYFACES-1983] - Implement JSF 2.0 logic at TODO #42
&gt;   * [MYFACES-1984] - Implement JSF 2.0 logic at TODO #43
&gt;   * [MYFACES-1985] - Implement JSF 2.0 logic at TODO #44
&gt;   * [MYFACES-1986] - Implement JSF 2.0 logic at TODO #45
&gt;   * [MYFACES-1987] - Implement JSF 2.0 logic at TODO #46
&gt;   * [MYFACES-1998] - Implement JSF 2.0 logic at TODO #57
&gt;   * [MYFACES-2003] - Implement JSF 2.0 logic at TODO #58
&gt;   * [MYFACES-2014] - Implement
&gt; ResponseStateManager.getViewState(FacesContext, Object) and update state
&gt; saving field on client when ajax response is processed
&gt;   * [MYFACES-2015] - Implements AJAX lifecycle on UIViewRoot
&gt;   * [MYFACES-2018] - Implement @ResourceDependency support for setConverter
&gt; and addValidator
&gt;   * [MYFACES-2019] - Implement iterator() on DataModel
&gt;   * [MYFACES-2020] - Implement changes to RenderKit
&gt;   * [MYFACES-2021] - Add EDR2 part of error handling to FacesServlet
&gt;   * [MYFACES-2022] - Add setSubmitted(false) in UIForm.saveState
&gt;   * [MYFACES-2032] - Implement
&gt; javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE config
&gt; param
&gt;   * [MYFACES-2040] - Implement tag c:catch
&gt;   * [MYFACES-2041] - Implement tag c:choose
&gt;   * [MYFACES-2042] - Implement tag c:forEach
&gt;   * [MYFACES-2043] - Implement tag c:if
&gt;   * [MYFACES-2044] - Implement tag c:otherwise
&gt;   * [MYFACES-2045] - Implement tag c:set
&gt;   * [MYFACES-2046] - Implement tag c:when
&gt;   * [MYFACES-2047] - Implement tag composite:actionSource
&gt;   * [MYFACES-2048] - Implement tag composite:attribute
&gt;   * [MYFACES-2049] - Implement tag composite:editableValueHolder
&gt;   * [MYFACES-2050] - Implement tag composite:facet
&gt;   * [MYFACES-2051] - Implement tag composite:implementation
&gt;   * [MYFACES-2052] - Implement tag composite:insertChildren
&gt;   * [MYFACES-2053] - Implement tag composite:insertFacet
&gt;   * [MYFACES-2054] - Implement tag composite:interface
&gt;   * [MYFACES-2055] - Implement tag composite:valueHolder
&gt;   * [MYFACES-2056] - Implement tag fn:contains()
&gt;   * [MYFACES-2057] - Implement tag fn:containsIgnoreCase()
&gt;   * [MYFACES-2058] - Implement tag fn:endsWith()
&gt;   * [MYFACES-2059] - Implement tag fn:escapeXml()
&gt;   * [MYFACES-2060] - Implement tag fn:indexOf()
&gt;   * [MYFACES-2061] - Implement tag fn:join()
&gt;   * [MYFACES-2062] - Implement tag fn:length()
&gt;   * [MYFACES-2063] - Implement tag fn:replace()
&gt;   * [MYFACES-2064] - Implement tag fn:split()
&gt;   * [MYFACES-2065] - Implement tag fn:startsWith()
&gt;   * [MYFACES-2066] - Implement tag fn:substring()
&gt;   * [MYFACES-2067] - Implement tag fn:substringAfter()
&gt;   * [MYFACES-2068] - Implement tag fn:substringBefore()
&gt;   * [MYFACES-2069] - Implement tag fn:toLowerCase()
&gt;   * [MYFACES-2070] - Implement tag fn:toUpperCase()
&gt;   * [MYFACES-2071] - Implement tag fn:trim()
&gt;   * [MYFACES-2072] - Implement tag ui:component
&gt;   * [MYFACES-2073] - Implement tag ui:composition
&gt;   * [MYFACES-2074] - Implement tag ui:debug
&gt;   * [MYFACES-2075] - Implement tag ui:decorate
&gt;   * [MYFACES-2076] - Implement tag ui:define
&gt;   * [MYFACES-2077] - Implement tag ui:fragment
&gt;   * [MYFACES-2078] - Implement tag ui:include
&gt;   * [MYFACES-2079] - Implement tag ui:insert
&gt;   * [MYFACES-2080] - Implement tag ui:param
&gt;   * [MYFACES-2081] - Implement tag ui:repeat
&gt;   * [MYFACES-2085] - Add ApplicationWrapper class
&gt;   * [MYFACES-2086] - Add DiscoveryHandler class
&gt;   * [MYFACES-2088] - Add ExceptionHandler class
&gt;   * [MYFACES-2093] - Add ExceptionEvent class
&gt;   * [MYFACES-2096] - Make DataModel types generic
&gt;   * [MYFACES-2098] - Add RegexValidator class
&gt;   * [MYFACES-2101] - Javadoc update for method Object getFactory(String
&gt; factoryName) of FactoryFinder class
&gt;   * [MYFACES-2102] - Implement JSF 2.0 logic for UIComponent
&gt; createComponent(FacesContext context,Resource componentResource) TODO #60
&gt;   * [MYFACES-2105] - Implement JSF 2.0 logic for UIComponent
&gt; createComponent(final String componentType)
&gt;   * [MYFACES-2106] - add Exception handler factory to FactoryFinder and
&gt; update getFactory method
&gt;   * [MYFACES-2108] - implement ExceptionHandler contract on myfaces-impl
&gt;   * [MYFACES-2123] - Add javax.faces.webapp.pdl.facelets.* API classes
&gt;   * [MYFACES-2125] - Add UIComponent.doTreeTraversal method
&gt;   * [MYFACES-2136] - UISelectMany
&gt;   * [MYFACES-2151] - Make test work using shale test (changes in jsf 2.0
&gt; make it fail)
&gt;   * [MYFACES-2163] - Add RequiredValidator
&gt;   * [MYFACES-2166] - Some Resources contains ValueExpressions that must be
&gt; evaluated
&gt;   * [MYFACES-2171] - Add Config Ordering feature
&gt;   * [MYFACES-2178] - Implement IMPL - method addResponseHeader of
&gt; ExternalContext
&gt;   * [MYFACES-2179] - Implement IMPL - method getRequestContentLength of
&gt; ExternalContext
&gt;   * [MYFACES-2180] - Implement IMPL - method getResponseBufferSize of
&gt; ExternalContext
&gt;   * [MYFACES-2181] - Implement IMPL - method getResponseOutputWriter of
&gt; ExternalContext
&gt;   * [MYFACES-2182] - Implement IMPL - method isResponseCommitted of
&gt; ExternalContext
&gt;   * [MYFACES-2184] - Implement IMPL - all TODO methods of ExternalContext
&gt;   * [MYFACES-2187] - Implement encodeBookmarkableURL and encodeRedirectURL
&gt; in ExternalContext
&gt;   * [MYFACES-2189] - Implement ApplicationImpl TODO's for Behavior
&gt;   * [MYFACES-2197] - ExceptionQueuedEventContext todos
&gt;   * [MYFACES-2198] - remaining FacesContext/FacesContextImpl TODOs.
&gt;   * [MYFACES-2205] - Update UIViewRoot to latest spec draft
&gt;   * [MYFACES-2215] - Handle RenderKit TODOs for JSF 2.0
&gt;   * [MYFACES-2219] - ViewHandler TODOs for JSF 2.0
&gt;   * [MYFACES-2220] - FacesConfigurator should scan application config
&gt; resources(files on META-INF/) ending with .faces-config.xml
&gt;   * [MYFACES-2222] - ViewHandler.DEFAULT_SUFFIX could contain several
&gt; suffixes
&gt;   * [MYFACES-2225] - Implement PostAddToViewEvent and
&gt; PreRemoveFromViewEvent thrown conditions
&gt;   * [MYFACES-2226] - Add support for remaining 2.0 faces-config.xml
&gt; elements
&gt;   * [MYFACES-2227] - Update ResponseWriter/ResponseWriterWrapper to latest
&gt; spec
&gt;   * [MYFACES-2228] - Add h:head, h:body, h:outputScript and
&gt; h:outputStylesheet renderers
&gt;   * [MYFACES-2229] - update viewid calculation to new algorithm
&gt;   * [MYFACES-2230] - FaceletViewDeclarationLanguage TODOs
&gt;   * [MYFACES-2231] - Handle the TODOs for JSPViewDeclarationLanguage
&gt;   * [MYFACES-2254] - Finish ExceptionHandler support
&gt;   * [MYFACES-2255] - Create UIOutcomeTarget API class
&gt;   * [MYFACES-2258] - Add support for &lt;if&gt; navigation
&gt;   * [MYFACES-2259] - Implement Partial State Saving feature
&gt;   * [MYFACES-2262] - implement outcomtarget renderers
&gt;   * [MYFACES-2263] - Create Composite component EL resolver
&gt;   * [MYFACES-2264] - Behavior registration
&gt;   * [MYFACES-2266] - Implement Flash object and EL resolver
&gt;   * [MYFACES-2267] - handle TODOs for UIComponentBase
&gt;   * [MYFACES-2268] - Add support for registering client behavior renderers
&gt;   * [MYFACES-2270] - Add FacesContext param to Application.publishEvent
&gt;   * [MYFACES-2271] - Call FacesMessage.rendered on message renderers
&gt;   * [MYFACES-2272] - Apply changes related to UIInput.validateValue and
&gt; UIInput.VALIDATE_EMPTY_FIELDS_PARAM_NAME
&gt;   * [MYFACES-2273] - ClientBehaviorRenderer/ClientbehaviorBase TODOs
&gt;   * [MYFACES-2274] - Implement UIMessage.isRedisplay and
&gt; UIMessages.isRedisplay
&gt;   * [MYFACES-2275] - UIMessages.getFor (Filter messages of a selected
&gt; component)
&gt;   * [MYFACES-2276] - Update renderers that receive UIParameter to deal with
&gt; "disable" param.
&gt;   * [MYFACES-2277] - UISelectItem.isNoSelectionOption (deal with it on
&gt; UISelectOne.validateValue and UISelectMany.validateValue)
&gt;   * [MYFACES-2278] - Render columns with th instead td, according to
&gt; HtmlColumn.isRowHeader
&gt;   * [MYFACES-2279] - TODOs for javax.faces.application.NavigationCase
&gt;   * [MYFACES-2280] - ValidatorException should support collections of
&gt; messages.
&gt;   * [MYFACES-2281] - Implement ViewListeners-Events api on UIViewRoot
&gt;   * [MYFACES-2282] - h:dataTable and h:panelGrid should implement bodyrows
&gt; behavior (tbody encapsulation)
&gt;   * [MYFACES-2283] - Apply selected/unselected css class to
&gt; h:selectManyCheckbox
&gt;   * [MYFACES-2284] - Allow h:outputLink "fragment" property to append text
&gt; to url after '#'
&gt;   * [MYFACES-2285] - Add ExternalContextFactory Implementation
&gt;   * [MYFACES-2286] - javax.faces.view.facelets TODOs
&gt;   * [MYFACES-2291] - Components implementing ClientBehaviorHolder should
&gt; override getEventNames() and getDefaultEventName()
&gt;   * [MYFACES-2292] - update NavigationHandlerImpl to extend
&gt; ConfigurableNavigationHandler
&gt;   * [MYFACES-2293] - ui:composition, ui:define and ui:insert component tag
&gt; handlers does not work as expected
&gt;   * [MYFACES-2294] - Sync API with final 2.0 spec
&gt;   * [MYFACES-2297] - Add TagHandlerDelegateFactory implementation
&gt;   * [MYFACES-2298] - Apply algorithm described on
&gt; javax.faces.view.facelets.ComponentHandler in implementation
&gt;   * [MYFACES-2299] - Add AttachedObjectHandler implementation when it is
&gt; necessary
&gt;   * [MYFACES-2300] - binding property on facelets tag handlers should be
&gt; retrieved from javax.faces.view.facelets.DelegatingMetaTagHandler
&gt;   * [MYFACES-2302] - Get simple 2.0 app working
&gt;   * [MYFACES-2304] - Annotate facelets stuff adding @JSFFaceletTag and
&gt; @JSFFaceletAttribute to myfaces-builder-plugin
&gt;   * [MYFACES-2307] - Generate HtmlHead and HtmlBody
&gt;   * [MYFACES-2309] - Add new attributes to f:selectItems
&gt;   * [MYFACES-2310] - Implement Composite Component feature
&gt;   * [MYFACES-2322] - Implement &lt;f:metadata&gt; tag handler
&gt;   * [MYFACES-2327] - Move facelets test code to myfaces
&gt;   * [MYFACES-2330] - Get "basic-ajax" 2.0 sample app working
&gt;   * [MYFACES-2337] - Implement UniqueIdVendor.createUniqueId method and
&gt; review all related code to UniqueIdVendor
&gt;   * [MYFACES-2340] - Get "basic-ezcomp" 2.0 sample working
&gt;   * [MYFACES-2341] - facelet tag lib parser includes &lt;behavior&gt; section
&gt;   * [MYFACES-2345] - Add View Parameters feature
&gt;   * [MYFACES-2349] - h:commandButton allows type="button" on jsf 2.0
&gt;   * [MYFACES-2364] - PostRestoreStateEvent should be called from
&gt; DefaultRestoreViewSupport.processComponentBinding
&gt;   * [MYFACES-2365] - DefaultRestoreViewSupport.calculateViewId should not
&gt; call ViewHandler.deriveViewId, it should be called later from
&gt; ViewHandler.createView and ViewHandler.restoreView
&gt;   * [MYFACES-2366] - RestoreViewExecutor should check also if the server is
&gt; showing an error page when check for postback
&gt;   * [MYFACES-2367] - FacesContext.isProcessingEvents should be called from
&gt; Application.publishEvent
&gt;   * [MYFACES-2375] - &lt;managed-bean-scope&gt; could also be an EL expression,
&gt; to allow easy implementation of new scopes
&gt;   * [MYFACES-2376] - h:outputScript should force type="text/javascript"
&gt;   * [MYFACES-2378] - Use java util logging on 2.0.x branch
&gt;   * [MYFACES-2379] - Create site for core 2.0.x
&gt;   * [MYFACES-2399] - ManagedBeanResolver does not handle view scope
&gt;   * [MYFACES-2403] - Myfaces core 2.0 uses jdk 6, but it should be jdk 5
&gt;   * [MYFACES-2407] - _ComponentChildrenList does not implement all List
&gt; methods
&gt;   * [MYFACES-2411] - Update api to match latest signature
&gt;   * [MYFACES-2413] - @ResourceDependency annotations should be scanned when
&gt; Application.createConverter(String) and Application.createValidator(String)
&gt; is called
&gt;   * [MYFACES-2414] - ResourceHandlerImpl should scan first with locale
&gt; prefix and then without it
&gt;   * [MYFACES-2419] - NavigationHandler does not deal with no outcome &amp; no
&gt; action &amp; no if case
&gt;   * [MYFACES-2422] - Change package name to org.apache.myfaces.test in
&gt; myfaces-test project
&gt;   * [MYFACES-2424] - c namespace changed to
&gt; http://java.sun.com/jsp/jstl/core
&gt;
&gt; regards
&gt;
&gt; Leonardo Uribe
&gt;



-- 
Best Regards,

Delos


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [EXTVal] Validators wihtout implicit required validations</title>
<author><name>Gerhard Petracek &lt;gerhard.petracek@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3c2332f63b0911301125o7f607fa1lefb6fba1764d5ddd@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2332f63b0911301125o7f607fa1lefb6fba1764d5ddd@mail-gmail-com%3e</id>
<updated>2009-11-30T19:25:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
short addition:

i see your point and ill change that.
for now: my previous post contains a list of simple solutions you can use.

regards,
gerhard


http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2009/11/30 Gerhard Petracek &lt;gerhard.petracek@gmail.com&gt;

&gt; hi,
&gt;
&gt; it's a bit different.
&gt; the parameter mentioned by jakob is a jsf 2.0 parameter especially for the
&gt; jsr 303 integration.
&gt; if you set it to true, the not-null constraint will be interpreted like
&gt; required (= true).
&gt; extval uses it in an abstract class in a similar way. that means: you just
&gt; have to use it to explicitly deactivate the behavior described above.
&gt; it's automatically available for custom validation interceptors. an
&gt; internal example is the validation interceptor of the bean-validation module
&gt; (which allows to use jsr 303 with all jsf versions).
&gt;
&gt; the property validation module of the next release (as well as the
&gt; available milestone) overrides this new default behavior so that an empty
&gt; field doesn't lead to a null value for validation (due to backward
&gt; compatibility reasons). however, you can easily customize this behavior.
&gt;
&gt; back to the original question:
&gt;
&gt; extval just delegates to the (configured) jsf length validator. so
&gt; basically the behavior depends on the implementation you are using in your
&gt; application.
&gt;
&gt; in this case the default implementation throws an exception because it
&gt; isn't aware of empty values. to change this behavior you can:
&gt; - register your custom jsf-length-validator implementation (see:
&gt; javax.faces.Length) which handles it as you expect it (that's plain jsf)
&gt; or
&gt; - replace the default extval validation strategy for @Length to ignore
&gt; empty values
&gt; or
&gt; - implement your custom extval annotation
&gt;
&gt; all 3 possibilities are quite easy.
&gt;
&gt; regards,
&gt; gerhard
&gt;
&gt; http://www.irian.at
&gt;
&gt; Your JSF powerhouse -
&gt; JSF Consulting, Development and
&gt; Courses in English and German
&gt;
&gt; Professional Support for Apache MyFaces
&gt;
&gt;
&gt; 2009/11/30 Jakob Korherr &lt;jakob.korherr@gmail.com&gt;
&gt;
&gt; Hi Markus,
&gt;&gt;
&gt;&gt; Take a look at the
&gt;&gt; javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL
&gt;&gt; config parameter in web.xml.
&gt;&gt;
&gt;&gt; Setting this to true will cause that your property "input" will be null,
&gt;&gt; if
&gt;&gt; the user submits an empty field and thus @Length will not be processed.
&gt;&gt;
&gt;&gt; Also take a look at http://jsfatwork.irian.at/semistatic/jsf.html,
&gt;&gt; chapter
&gt;&gt; 2.12 Validierung fur further information. It's written in german, but I
&gt;&gt; assume you're from Germany...
&gt;&gt;
&gt;&gt; Regards
&gt;&gt;
&gt;&gt; Jakob Korherr
&gt;&gt;
&gt;&gt;
&gt;&gt; 2009/11/30 Dreher, Markus &lt;M.Dreher@dzbw.de&gt;
&gt;&gt;
&gt;&gt; &gt; Hi all,
&gt;&gt; &gt;
&gt;&gt; &gt; i want to validate a field only when the user filled it out.
&gt;&gt; &gt;
&gt;&gt; &gt; It's not a reuqired field, but when it is filled out, the input should
&gt;&gt; &gt; be at least for example 3 digits.
&gt;&gt; &gt;
&gt;&gt; &gt;    @Length(minimum=3, maximum = 60)
&gt;&gt; &gt;    private String input;
&gt;&gt; &gt;
&gt;&gt; &gt; With @Length this leads to a required field.
&gt;&gt; &gt;
&gt;&gt; &gt; Do i miss something?
&gt;&gt; &gt;
&gt;&gt; &gt; Regards,
&gt;&gt; &gt;
&gt;&gt; &gt; Markus
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Implement tomahawk-sandbox with tomahawk-1.1.9</title>
<author><name>=?ISO-8859-1?Q?Juli=E1n_Osorio_Amaya_EuphoriaIT?= &lt;josorio@euphoriait.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3c4B1413F9.5030108@euphoriait.com%3e"/>
<id>urn:uuid:%3c4B1413F9-5030108@euphoriait-com%3e</id>
<updated>2009-11-30T18:50:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Greetings!!!

I'm working on a JSF web app using tomahawk 1.1.9 but now I want to 
implement Sandbox to use the inputSuggestAjax tag.
Actually I'm using JDeveloper 10.3.3.1 but after adding the 
tomahawk-sandbox-1.1.9-SNAPSHOT.jar to the project's library
the app doesn't run.

How can I solve this issue?

Thanks for your help.


</pre>
</div>
</content>
</entry>
<entry>
<title>[ANNOUNCE] MyFaces Core v2.0.0-alpha Release</title>
<author><name>Leonardo Uribe &lt;lu4242@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3c4B141168.80503@apache.org%3e"/>
<id>urn:uuid:%3c4B141168-80503@apache-org%3e</id>
<updated>2009-11-30T18:39:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The Apache MyFaces team is pleased to announce the release of MyFaces 
Core 2.0.0-alpha.

MyFaces Core is a JavaServer(tm) Faces 2.0 implementation as specified 
by JSR-314.

MyFaces Core 2.0.0-alpha is available in both binary and source 
distributions.

    * http://myfaces.apache.org/download.html

MyFaces Core is also available in the central Maven repository under 
Group ID "org.apache.myfaces.core".

Release Notes - MyFaces Core - Version 2.0.0-alpha

Sub-task

    * [MYFACES-2174] - MyFaces 2.0 AJAX API extension proposal
    * [MYFACES-2191] - Move the myfaces params into the context
    * [MYFACES-2195] - rename xhrcore_xxx to xhrcore._xxx
    * [MYFACES-2200] - Send events and errors at the various xhr stages
    * [MYFACES-2223] - switch viewstate replacement from id to name
    * [MYFACES-2238] - offer extension point for AJAX Javascript
    * [MYFACES-2240] - typo in javascript build script and target folder 
doesn't fit the spec
    * [MYFACES-2257] - trigger external scripts after AJAX reload
    * [MYFACES-2311] - Implement &lt;composite:actionSource&gt; tag handler
    * [MYFACES-2312] - Implement &lt;composite:attribute&gt; tag handler
    * [MYFACES-2313] - Implement &lt;composite:editableValueHolder&gt; tag handler
    * [MYFACES-2314] - Implement &lt;composite:extension&gt; tag handler
    * [MYFACES-2315] - Implement &lt;composite:facet&gt; tag handler
    * [MYFACES-2316] - Implement &lt;composite:implementation&gt; tag handler
    * [MYFACES-2317] - Implement &lt;composite:insertChildren&gt; tag handler
    * [MYFACES-2318] - Implement &lt;composite:insertFacet&gt; tag handler
    * [MYFACES-2319] - Implement &lt;composite:interface&gt; tag handler
    * [MYFACES-2320] - Implement &lt;composite:renderFacet&gt; tag handler
    * [MYFACES-2324] - Add 
ViewDeclarationLanguage.retargetAttachedObjects and 
ViewDeclarationLanguage.retargetMethodExpressions
    * [MYFACES-2325] - Add Composite Renderer class
    * [MYFACES-2331] - Implement Composite Component Attributes 
ELResolver (jsf 2.0 spec section 5.6.2.2) and add implicit object "cc" 
and "component"
    * [MYFACES-2362] - Move default validator registration from 
UIInput.validateValue to ComponentTagHandlerDelegate

Bug

    * [MYFACES-2083] - FacesContext contains several unnecessary methods
    * [MYFACES-2131] - Import to internal Sun class
    * [MYFACES-2146] - Bug in UIViewRoot causes Exception in 
popComponentFromEL()
    * [MYFACES-2147] - NoSuchMethodException when instantiating 
SystemEvent objects
    * [MYFACES-2287] - getting the myfaces 1.2 simple example app 
running on 2.0 impl
    * [MYFACES-2296] - Annotation scanning bugs
    * [MYFACES-2357] - currency validation does not fall through to the 
default JVM local when a default locale is not specified in faces-config
    * [MYFACES-2358] - System event system not working
    * [MYFACES-2359] - ComponentSystemEvents are not globally dispatched
    * [MYFACES-2360] - Facelets JSTL escapeXML function not escaping '&gt;'
    * [MYFACES-2381] - Broken link: "Core JSF-2.0"
    * [MYFACES-2384] - @FacesBehavior not handled correctly
    * [MYFACES-2386] - Refactor Bean Validation "constants" to 
package-private class
    * [MYFACES-2387] - component state not being restored when 
ValueChangeListener is attached
    * [MYFACES-2390] - h:graphic image doesn't handle library attribue
    * [MYFACES-2391] - classpath resources not checking for valid 
version pattern
    * [MYFACES-2393] - graphicImage tag does not handle resource EL 
expressions properly
    * [MYFACES-2394] - ResourceDependency annotations not being handled 
properly if target attribute is set
    * [MYFACES-2397] - f:ajax attributes execute and render should take 
space delimited clientIds
    * [MYFACES-2398] - no spaces in html-output of f:ajax with render 
and execute attributes with more than one target
    * [MYFACES-2402] - Fix conditional navigation
    * [MYFACES-2404] - JspViewDeclarationLanguageStrategy is always the 
default strategy, so it should always return true on handles() method
    * [MYFACES-2405] - f:ajax renderer not handling multiple IDs properly
    * [MYFACES-2406] - Create a view with viewId is null should be possible
    * [MYFACES-2408] - UIComponent.subscribeToEvent and 
unsubscribeToEvent should throw NullPointerException when eventClass or 
componentListener is null
    * [MYFACES-2415] - EnumConverter should only conver to String valid 
enum values
    * [MYFACES-2416] - h:outputLabel does not handle escape property

Improvement

    * [MYFACES-1910] - Add resetValue() to EditableValueHolder interface 
(this is a JSF 2.0 related issue)
    * [MYFACES-2010] - Implement JSF 2.0 - Comment in the class
    * [MYFACES-2036] - Comment on javax.faces.application.FacesMessage Class
    * [MYFACES-2235] - ProjectStage extension
    * [MYFACES-2354] - update javax.faces.component classes which 
utilize the context classloader to handle java2 security
    * [MYFACES-2389] - clean up the UIComponentBase.setParent()

New Feature

    * [MYFACES-2133] - The implementation of ResourceHandler must be 
thread-safe
    * [MYFACES-2140] - Add annotation processing logic
    * [MYFACES-2162] - Default RenderKitId should be HTML_BASIC when 
using annotations
    * [MYFACES-2173] - JSF 2.0 AJAX library
    * [MYFACES-2372] - h:commandButton should render UIParameter children

Task

    * [MYFACES-1911] - Implement JSF 2.0 logic at TODO #1
    * [MYFACES-1912] - Implement JSF 2.0 logic at TODO #2
    * [MYFACES-1913] - Implement JSF 2.0 logic at TODO #3
    * [MYFACES-1914] - Implement JSF 2.0 logic at TODO #4
    * [MYFACES-1915] - Implement JSF 2.0 logic at TODO #5
    * [MYFACES-1916] - Implement JSF 2.0 logic at TODO #6
    * [MYFACES-1917] - Implement JSF 2.0 logic at TODO #7
    * [MYFACES-1918] - Implement JSF 2.0 logic at TODO #8
    * [MYFACES-1919] - Implement JSF 2.0 logic at TODO #9
    * [MYFACES-1920] - Implement JSF 2.0 logic at TODO #10
    * [MYFACES-1921] - Implement JSF 2.0 logic at TODO #16
    * [MYFACES-1922] - Implement JSF 2.0 logic at TODO #17
    * [MYFACES-1923] - Implement JSF 2.0 logic at TODO #11
    * [MYFACES-1924] - Implement JSF 2.0 logic at TODO #18
    * [MYFACES-1925] - Implement JSF 2.0 logic at TODO #19
    * [MYFACES-1926] - Implement JSF 2.0 logic at TODO #20
    * [MYFACES-1927] - Implement JSF 2.0 logic at TODO #21
    * [MYFACES-1928] - Implement JSF 2.0 logic at TODO #22
    * [MYFACES-1929] - Implement JSF 2.0 logic at TODO #23
    * [MYFACES-1930] - Implement JSF 2.0 logic at TODO #22
    * [MYFACES-1931] - Implement JSF 2.0 logic at TODO #35
    * [MYFACES-1932] - Implement JSF 2.0 logic at TODO #24
    * [MYFACES-1933] - Implement JSF 2.0 logic at TODO #24
    * [MYFACES-1934] - Implement JSF 2.0 logic at TODO #25
    * [MYFACES-1935] - Implement JSF 2.0 logic at TODO #34
    * [MYFACES-1936] - Implement JSF 2.0 logic at TODO #26
    * [MYFACES-1938] - Implement JSF 2.0 logic at TODO #28
    * [MYFACES-1939] - Implement JSF 2.0 logic at TODO #33
    * [MYFACES-1940] - Implement JSF 2.0 logic at TODO #29
    * [MYFACES-1941] - Implement JSF 2.0 logic at TODO #30
    * [MYFACES-1942] - Implement JSF 2.0 logic at TODO #32
    * [MYFACES-1943] - Implement JSF 2.0 logic at TODO #12
    * [MYFACES-1944] - Implement JSF 2.0 logic at TODO #13
    * [MYFACES-1945] - Implement JSF 2.0 logic at TODO #14
    * [MYFACES-1946] - Implement JSF 2.0 logic at TODO #31
    * [MYFACES-1947] - Implement JSF 2.0 logic at TODO #15
    * [MYFACES-1948] - Implement JSF 2.0 logic at TODO #27
    * [MYFACES-1950] - Implement JSF 2.0 - ExternalContext is missing 
some methods
    * [MYFACES-1951] - Update UIInput.validate()
    * [MYFACES-1958] - Implement AfterAddToParentEvent
    * [MYFACES-1959] - Add missing javax.faces.event Classes &amp; Interfaces
    * [MYFACES-1968] - Implement JSF 2.0 logic at TODO #35
    * [MYFACES-1969] - Implement JSF 2.0 logic at TODO #36
    * [MYFACES-1970] - Implement JSF 2.0 logic at TODO #37
    * [MYFACES-1971] - Implement JSF 2.0 logic at TODO #38
    * [MYFACES-1972] - Implement JSF 2.0 logic at TODO #39
    * [MYFACES-1973] - Implement JSF 2.0 logic at TODO #40
    * [MYFACES-1974] - Apply Java 5 specific features to the code, 
mainly generics and enhanced for
    * [MYFACES-1977] - add to FacesServlet.service call to 
ResourceHandler and update digester code
    * [MYFACES-1978] - Remove org.apache.myfaces.portlet from JSF 2.0 
branch, because it has no use anymore
    * [MYFACES-1980] - Implement JSF 2.0 logic at TODO #41
    * [MYFACES-1983] - Implement JSF 2.0 logic at TODO #42
    * [MYFACES-1984] - Implement JSF 2.0 logic at TODO #43
    * [MYFACES-1985] - Implement JSF 2.0 logic at TODO #44
    * [MYFACES-1986] - Implement JSF 2.0 logic at TODO #45
    * [MYFACES-1987] - Implement JSF 2.0 logic at TODO #46
    * [MYFACES-1998] - Implement JSF 2.0 logic at TODO #57
    * [MYFACES-2003] - Implement JSF 2.0 logic at TODO #58
    * [MYFACES-2014] - Implement 
ResponseStateManager.getViewState(FacesContext, Object) and update state 
saving field on client when ajax response is processed
    * [MYFACES-2015] - Implements AJAX lifecycle on UIViewRoot
    * [MYFACES-2018] - Implement @ResourceDependency support for 
setConverter and addValidator
    * [MYFACES-2019] - Implement iterator() on DataModel
    * [MYFACES-2020] - Implement changes to RenderKit
    * [MYFACES-2021] - Add EDR2 part of error handling to FacesServlet
    * [MYFACES-2022] - Add setSubmitted(false) in UIForm.saveState
    * [MYFACES-2032] - Implement 
javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE config 
param
    * [MYFACES-2040] - Implement tag c:catch
    * [MYFACES-2041] - Implement tag c:choose
    * [MYFACES-2042] - Implement tag c:forEach
    * [MYFACES-2043] - Implement tag c:if
    * [MYFACES-2044] - Implement tag c:otherwise
    * [MYFACES-2045] - Implement tag c:set
    * [MYFACES-2046] - Implement tag c:when
    * [MYFACES-2047] - Implement tag composite:actionSource
    * [MYFACES-2048] - Implement tag composite:attribute
    * [MYFACES-2049] - Implement tag composite:editableValueHolder
    * [MYFACES-2050] - Implement tag composite:facet
    * [MYFACES-2051] - Implement tag composite:implementation
    * [MYFACES-2052] - Implement tag composite:insertChildren
    * [MYFACES-2053] - Implement tag composite:insertFacet
    * [MYFACES-2054] - Implement tag composite:interface
    * [MYFACES-2055] - Implement tag composite:valueHolder
    * [MYFACES-2056] - Implement tag fn:contains()
    * [MYFACES-2057] - Implement tag fn:containsIgnoreCase()
    * [MYFACES-2058] - Implement tag fn:endsWith()
    * [MYFACES-2059] - Implement tag fn:escapeXml()
    * [MYFACES-2060] - Implement tag fn:indexOf()
    * [MYFACES-2061] - Implement tag fn:join()
    * [MYFACES-2062] - Implement tag fn:length()
    * [MYFACES-2063] - Implement tag fn:replace()
    * [MYFACES-2064] - Implement tag fn:split()
    * [MYFACES-2065] - Implement tag fn:startsWith()
    * [MYFACES-2066] - Implement tag fn:substring()
    * [MYFACES-2067] - Implement tag fn:substringAfter()
    * [MYFACES-2068] - Implement tag fn:substringBefore()
    * [MYFACES-2069] - Implement tag fn:toLowerCase()
    * [MYFACES-2070] - Implement tag fn:toUpperCase()
    * [MYFACES-2071] - Implement tag fn:trim()
    * [MYFACES-2072] - Implement tag ui:component
    * [MYFACES-2073] - Implement tag ui:composition
    * [MYFACES-2074] - Implement tag ui:debug
    * [MYFACES-2075] - Implement tag ui:decorate
    * [MYFACES-2076] - Implement tag ui:define
    * [MYFACES-2077] - Implement tag ui:fragment
    * [MYFACES-2078] - Implement tag ui:include
    * [MYFACES-2079] - Implement tag ui:insert
    * [MYFACES-2080] - Implement tag ui:param
    * [MYFACES-2081] - Implement tag ui:repeat
    * [MYFACES-2085] - Add ApplicationWrapper class
    * [MYFACES-2086] - Add DiscoveryHandler class
    * [MYFACES-2088] - Add ExceptionHandler class
    * [MYFACES-2093] - Add ExceptionEvent class
    * [MYFACES-2096] - Make DataModel types generic
    * [MYFACES-2098] - Add RegexValidator class
    * [MYFACES-2101] - Javadoc update for method Object 
getFactory(String factoryName) of FactoryFinder class
    * [MYFACES-2102] - Implement JSF 2.0 logic for UIComponent 
createComponent(FacesContext context,Resource componentResource) TODO #60
    * [MYFACES-2105] - Implement JSF 2.0 logic for UIComponent 
createComponent(final String componentType)
    * [MYFACES-2106] - add Exception handler factory to FactoryFinder 
and update getFactory method
    * [MYFACES-2108] - implement ExceptionHandler contract on myfaces-impl
    * [MYFACES-2123] - Add javax.faces.webapp.pdl.facelets.* API classes
    * [MYFACES-2125] - Add UIComponent.doTreeTraversal method
    * [MYFACES-2136] - UISelectMany
    * [MYFACES-2151] - Make test work using shale test (changes in jsf 
2.0 make it fail)
    * [MYFACES-2163] - Add RequiredValidator
    * [MYFACES-2166] - Some Resources contains ValueExpressions that 
must be evaluated
    * [MYFACES-2171] - Add Config Ordering feature
    * [MYFACES-2178] - Implement IMPL - method addResponseHeader of 
ExternalContext
    * [MYFACES-2179] - Implement IMPL - method getRequestContentLength 
of ExternalContext
    * [MYFACES-2180] - Implement IMPL - method getResponseBufferSize of 
ExternalContext
    * [MYFACES-2181] - Implement IMPL - method getResponseOutputWriter 
of ExternalContext
    * [MYFACES-2182] - Implement IMPL - method isResponseCommitted of 
ExternalContext
    * [MYFACES-2184] - Implement IMPL - all TODO methods of ExternalContext
    * [MYFACES-2187] - Implement encodeBookmarkableURL and 
encodeRedirectURL in ExternalContext
    * [MYFACES-2189] - Implement ApplicationImpl TODO's for Behavior
    * [MYFACES-2197] - ExceptionQueuedEventContext todos
    * [MYFACES-2198] - remaining FacesContext/FacesContextImpl TODOs.
    * [MYFACES-2205] - Update UIViewRoot to latest spec draft
    * [MYFACES-2215] - Handle RenderKit TODOs for JSF 2.0
    * [MYFACES-2219] - ViewHandler TODOs for JSF 2.0
    * [MYFACES-2220] - FacesConfigurator should scan application config 
resources(files on META-INF/) ending with .faces-config.xml
    * [MYFACES-2222] - ViewHandler.DEFAULT_SUFFIX could contain several 
suffixes
    * [MYFACES-2225] - Implement PostAddToViewEvent and 
PreRemoveFromViewEvent thrown conditions
    * [MYFACES-2226] - Add support for remaining 2.0 faces-config.xml 
elements
    * [MYFACES-2227] - Update ResponseWriter/ResponseWriterWrapper to 
latest spec
    * [MYFACES-2228] - Add h:head, h:body, h:outputScript and 
h:outputStylesheet renderers
    * [MYFACES-2229] - update viewid calculation to new algorithm
    * [MYFACES-2230] - FaceletViewDeclarationLanguage TODOs
    * [MYFACES-2231] - Handle the TODOs for JSPViewDeclarationLanguage
    * [MYFACES-2254] - Finish ExceptionHandler support
    * [MYFACES-2255] - Create UIOutcomeTarget API class
    * [MYFACES-2258] - Add support for &lt;if&gt; navigation
    * [MYFACES-2259] - Implement Partial State Saving feature
    * [MYFACES-2262] - implement outcomtarget renderers
    * [MYFACES-2263] - Create Composite component EL resolver
    * [MYFACES-2264] - Behavior registration
    * [MYFACES-2266] - Implement Flash object and EL resolver
    * [MYFACES-2267] - handle TODOs for UIComponentBase
    * [MYFACES-2268] - Add support for registering client behavior renderers
    * [MYFACES-2270] - Add FacesContext param to Application.publishEvent
    * [MYFACES-2271] - Call FacesMessage.rendered on message renderers
    * [MYFACES-2272] - Apply changes related to UIInput.validateValue 
and UIInput.VALIDATE_EMPTY_FIELDS_PARAM_NAME
    * [MYFACES-2273] - ClientBehaviorRenderer/ClientbehaviorBase TODOs
    * [MYFACES-2274] - Implement UIMessage.isRedisplay and 
UIMessages.isRedisplay
    * [MYFACES-2275] - UIMessages.getFor (Filter messages of a selected 
component)
    * [MYFACES-2276] - Update renderers that receive UIParameter to deal 
with "disable" param.
    * [MYFACES-2277] - UISelectItem.isNoSelectionOption (deal with it on 
UISelectOne.validateValue and UISelectMany.validateValue)
    * [MYFACES-2278] - Render columns with th instead td, according to 
HtmlColumn.isRowHeader
    * [MYFACES-2279] - TODOs for javax.faces.application.NavigationCase
    * [MYFACES-2280] - ValidatorException should support collections of 
messages.
    * [MYFACES-2281] - Implement ViewListeners-Events api on UIViewRoot
    * [MYFACES-2282] - h:dataTable and h:panelGrid should implement 
bodyrows behavior (tbody encapsulation)
    * [MYFACES-2283] - Apply selected/unselected css class to 
h:selectManyCheckbox
    * [MYFACES-2284] - Allow h:outputLink "fragment" property to append 
text to url after '#'
    * [MYFACES-2285] - Add ExternalContextFactory Implementation
    * [MYFACES-2286] - javax.faces.view.facelets TODOs
    * [MYFACES-2291] - Components implementing ClientBehaviorHolder 
should override getEventNames() and getDefaultEventName()
    * [MYFACES-2292] - update NavigationHandlerImpl to extend 
ConfigurableNavigationHandler
    * [MYFACES-2293] - ui:composition, ui:define and ui:insert component 
tag handlers does not work as expected
    * [MYFACES-2294] - Sync API with final 2.0 spec
    * [MYFACES-2297] - Add TagHandlerDelegateFactory implementation
    * [MYFACES-2298] - Apply algorithm described on 
javax.faces.view.facelets.ComponentHandler in implementation
    * [MYFACES-2299] - Add AttachedObjectHandler implementation when it 
is necessary
    * [MYFACES-2300] - binding property on facelets tag handlers should 
be retrieved from javax.faces.view.facelets.DelegatingMetaTagHandler
    * [MYFACES-2302] - Get simple 2.0 app working
    * [MYFACES-2304] - Annotate facelets stuff adding @JSFFaceletTag and 
@JSFFaceletAttribute to myfaces-builder-plugin
    * [MYFACES-2307] - Generate HtmlHead and HtmlBody
    * [MYFACES-2309] - Add new attributes to f:selectItems
    * [MYFACES-2310] - Implement Composite Component feature
    * [MYFACES-2322] - Implement &lt;f:metadata&gt; tag handler
    * [MYFACES-2327] - Move facelets test code to myfaces
    * [MYFACES-2330] - Get "basic-ajax" 2.0 sample app working
    * [MYFACES-2337] - Implement UniqueIdVendor.createUniqueId method 
and review all related code to UniqueIdVendor
    * [MYFACES-2340] - Get "basic-ezcomp" 2.0 sample working
    * [MYFACES-2341] - facelet tag lib parser includes &lt;behavior&gt; section
    * [MYFACES-2345] - Add View Parameters feature
    * [MYFACES-2349] - h:commandButton allows type="button" on jsf 2.0
    * [MYFACES-2364] - PostRestoreStateEvent should be called from 
DefaultRestoreViewSupport.processComponentBinding
    * [MYFACES-2365] - DefaultRestoreViewSupport.calculateViewId should 
not call ViewHandler.deriveViewId, it should be called later from 
ViewHandler.createView and ViewHandler.restoreView
    * [MYFACES-2366] - RestoreViewExecutor should check also if the 
server is showing an error page when check for postback
    * [MYFACES-2367] - FacesContext.isProcessingEvents should be called 
from Application.publishEvent
    * [MYFACES-2375] - &lt;managed-bean-scope&gt; could also be an EL 
expression, to allow easy implementation of new scopes
    * [MYFACES-2376] - h:outputScript should force type="text/javascript"
    * [MYFACES-2378] - Use java util logging on 2.0.x branch
    * [MYFACES-2379] - Create site for core 2.0.x
    * [MYFACES-2399] - ManagedBeanResolver does not handle view scope
    * [MYFACES-2403] - Myfaces core 2.0 uses jdk 6, but it should be jdk 5
    * [MYFACES-2407] - _ComponentChildrenList does not implement all 
List methods
    * [MYFACES-2411] - Update api to match latest signature
    * [MYFACES-2413] - @ResourceDependency annotations should be scanned 
when Application.createConverter(String) and 
Application.createValidator(String) is called
    * [MYFACES-2414] - ResourceHandlerImpl should scan first with locale 
prefix and then without it
    * [MYFACES-2419] - NavigationHandler does not deal with no outcome &amp; 
no action &amp; no if case
    * [MYFACES-2422] - Change package name to org.apache.myfaces.test in 
myfaces-test project
    * [MYFACES-2424] - c namespace changed to 
http://java.sun.com/jsp/jstl/core

regards

Leonardo Uribe


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [EXTVal] Validators wihtout implicit required validations</title>
<author><name>Gerhard Petracek &lt;gerhard.petracek@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3c2332f63b0911301039g51570c1anf2d6da555a93b7ad@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2332f63b0911301039g51570c1anf2d6da555a93b7ad@mail-gmail-com%3e</id>
<updated>2009-11-30T18:39:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
hi,

it's a bit different.
the parameter mentioned by jakob is a jsf 2.0 parameter especially for the
jsr 303 integration.
if you set it to true, the not-null constraint will be interpreted like
required (= true).
extval uses it in an abstract class in a similar way. that means: you just
have to use it to explicitly deactivate the behavior described above.
it's automatically available for custom validation interceptors. an internal
example is the validation interceptor of the bean-validation module (which
allows to use jsr 303 with all jsf versions).

the property validation module of the next release (as well as the available
milestone) overrides this new default behavior so that an empty field
doesn't lead to a null value for validation (due to backward compatibility
reasons). however, you can easily customize this behavior.

back to the original question:

extval just delegates to the (configured) jsf length validator. so basically
the behavior depends on the implementation you are using in your
application.

in this case the default implementation throws an exception because it isn't
aware of empty values. to change this behavior you can:
- register your custom jsf-length-validator implementation (see:
javax.faces.Length) which handles it as you expect it (that's plain jsf)
or
- replace the default extval validation strategy for @Length to ignore empty
values
or
- implement your custom extval annotation

all 3 possibilities are quite easy.

regards,
gerhard

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


2009/11/30 Jakob Korherr &lt;jakob.korherr@gmail.com&gt;

&gt; Hi Markus,
&gt;
&gt; Take a look at the
&gt; javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL
&gt; config parameter in web.xml.
&gt;
&gt; Setting this to true will cause that your property "input" will be null, if
&gt; the user submits an empty field and thus @Length will not be processed.
&gt;
&gt; Also take a look at http://jsfatwork.irian.at/semistatic/jsf.html, chapter
&gt; 2.12 Validierung fur further information. It's written in german, but I
&gt; assume you're from Germany...
&gt;
&gt; Regards
&gt;
&gt; Jakob Korherr
&gt;
&gt;
&gt; 2009/11/30 Dreher, Markus &lt;M.Dreher@dzbw.de&gt;
&gt;
&gt; &gt; Hi all,
&gt; &gt;
&gt; &gt; i want to validate a field only when the user filled it out.
&gt; &gt;
&gt; &gt; It's not a reuqired field, but when it is filled out, the input should
&gt; &gt; be at least for example 3 digits.
&gt; &gt;
&gt; &gt;    @Length(minimum=3, maximum = 60)
&gt; &gt;    private String input;
&gt; &gt;
&gt; &gt; With @Length this leads to a required field.
&gt; &gt;
&gt; &gt; Do i miss something?
&gt; &gt;
&gt; &gt; Regards,
&gt; &gt;
&gt; &gt; Markus
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [TRINIDAD] How do I use the selector af|train::join to draw a line between two statons?</title>
<author><name>Jeanne Waldman &lt;jeanne.waldman@oracle.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3c4B14079F.8050306@oracle.com%3e"/>
<id>urn:uuid:%3c4B14079F-8050306@oracle-com%3e</id>
<updated>2009-11-30T17:57:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
In the trinidad-demo, check out the suede.css file. It renders the train 
nicely.
I copied this from the file:
/*train */
af|train::stop:selected-icon {
  content:url('/skins/suede/images/trVisStop.png');
}
af|train::join:unvisited,
af|train::join:disabled,
af|train::join-overflow {
  background-image:url('/skins/suede/images/ctruj.gif');
 
}

af|train::stop:unvisited-icon {
  content:url('/skins/suede/images/trUnVisStop.png');
}

af|train::link {
  -tr-rule-ref:selector(".AFDefaultFont:alias");
  padding:0px 4px;
}
af|train::stop-content:selected a,
af|train::stop-content:read-only a,
af|train::overflow-end a {
  -tr-rule-ref:selector(".TextForegroundDarkBackground:alias");
}

af|train::overflow-end:unvisited-icon {
 content:url('/skins/suede/images/ctrumore.gif');
}

af|train {
  -tr-render-parent-train:true
}
af|train::join:Visited,
af|train::join-overflow:Visited {
  background-image:url('/skins/suede/images/trvj.gif');
}
af|train::stop:visited-icon {
  content:url('/skins/suede/images/trVisStopA.png');
}
af|train::overflow-end:visited-icon {
 content:url('/skins/suede/images/trvmore.gif');
}
af|train::overflow-start:visited-icon {
 content:url('/skins/suede/images/trprev.gif');
}
af|train::parent-start-icon {
  content:url('/skins/suede/images/trsubl.gif');
}

af|train::parent-end-icon {
  content:url('/skins/suede/images/trsubr.gif');
}

/*train */

Paul Spencer wrote, On 11/19/2009 8:25 AM PT:
&gt; I am using &lt;tr:train&gt; in Trinidad v1.2.12.  Per the documentation [1], 
&gt; the selector af|train::join defines the style between stop icons.  
&gt; Using the selector below, the appearance is different on Safari vs 
&gt; other browser, although none of the browsers display the expected 
&gt; result.  The differences are either the join image is NOT displayed, 
&gt; or it is displayed to many times.
&gt;
&gt;  Safari 4.0.4 - Displays the image 4 time between stations, with the 
&gt; middle two are stacked so the four dashes look like "-=-".
&gt;
&gt;  IE7, IE6, Firefox 3.5.5(Mac), Firefox 3.0.7 (Windows), Nokia E61i 
&gt; browser - The join image is not displayed.
&gt;
&gt; I expected to see the following for a train with three stations.
&gt;
&gt;    -selected----unvisited----unvisited-
&gt;
&gt; ***
&gt; * From the Style Sheet
&gt; ***
&gt; af|train::stop {
&gt;     text-align: center;
&gt; }
&gt;
&gt; af|train::join {
&gt;     content: url("/adf/images/tree-line-middle.gif");
&gt; }
&gt; af|train::stop-icon-cell {
&gt;     background-color: blue;
&gt; }
&gt;
&gt; af|train::stop:selected-icon {
&gt;     content:"selected";
&gt; }
&gt;
&gt; af|train::stop:unvisited-icon {
&gt;     content: "unvisited" ;
&gt; }
&gt;
&gt; af|train::stop:visited-icon {
&gt;     content: "visted");
&gt; }
&gt;
&gt; af|train::stop:read-only-icon {
&gt;     content: "read-only");
&gt; }
&gt;
&gt;
&gt; Paul Spencer
&gt;
&gt; [1] http://myfaces.apache.org/trinidad/skin-selectors.html
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>pop up for delete confirmation</title>
<author><name>pbreen@johnson.ca</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3cOF65C4DCA2.6353B0FF-ONA325767E.0051F2DB-A325767E.00525AB2@johnson.ca%3e"/>
<id>urn:uuid:%3cOF65C4DCA2-6353B0FF-ONA325767E-0051F2DB-A325767E-00525AB2@johnson-ca%3e</id>
<updated>2009-11-30T14:59:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am using the Tomahawk set of tags for this project.  I need a pop to 
confirm the deletion of a record.  There doesn't seem to be any concept of 
a popup in JSF or Tomahawk.  I can use a basic javascript cofirm popup and 
functionaly it works perfect but the color scheme doesn't match my 
application and it doesn't look good.  Just wondering what everyone else 
does to confirm a delete?

Pat

</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [EXTVal] Validators wihtout implicit required validations</title>
<author><name>Jakob Korherr &lt;jakob.korherr@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3cfd49e8160911300601j3d1f139cn7913820a030e561a@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfd49e8160911300601j3d1f139cn7913820a030e561a@mail-gmail-com%3e</id>
<updated>2009-11-30T14:01:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Markus,

Take a look at the javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL
config parameter in web.xml.

Setting this to true will cause that your property "input" will be null, if
the user submits an empty field and thus @Length will not be processed.

Also take a look at http://jsfatwork.irian.at/semistatic/jsf.html, chapter
2.12 Validierung fur further information. It's written in german, but I
assume you're from Germany...

Regards

Jakob Korherr


2009/11/30 Dreher, Markus &lt;M.Dreher@dzbw.de&gt;

&gt; Hi all,
&gt;
&gt; i want to validate a field only when the user filled it out.
&gt;
&gt; It's not a reuqired field, but when it is filled out, the input should
&gt; be at least for example 3 digits.
&gt;
&gt;    @Length(minimum=3, maximum = 60)
&gt;    private String input;
&gt;
&gt; With @Length this leads to a required field.
&gt;
&gt; Do i miss something?
&gt;
&gt; Regards,
&gt;
&gt; Markus
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>[EXTVal] Validators wihtout implicit required validations</title>
<author><name>&quot;Dreher, Markus&quot; &lt;M.Dreher@dzbw.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3c99E58D5AC1BE6D4CBF492AF72B942C3D028298BB@dzstus010.dzbw.de%3e"/>
<id>urn:uuid:%3c99E58D5AC1BE6D4CBF492AF72B942C3D028298BB@dzstus010-dzbw-de%3e</id>
<updated>2009-11-30T13:39:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,

i want to validate a field only when the user filled it out.

It's not a reuqired field, but when it is filled out, the input should
be at least for example 3 digits.

    @Length(minimum=3, maximum = 60)
    private String input;

With @Length this leads to a required field.

Do i miss something?

Regards,

Markus




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [Trinidad] ValueChangeListener issues</title>
<author><name>Jakob Korherr &lt;jakob.korherr@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3cfd49e8160911260857r6e22989bneedff1b80640d995@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfd49e8160911260857r6e22989bneedff1b80640d995@mail-gmail-com%3e</id>
<updated>2009-11-26T16:57:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Markus,

I wrote a small HTML file to test if the javascript events are triggered
correctly in the mentioned browsers, and they are. So it is not a javascript
event problem, but a trinidad (javascript) problem.

Unfortunately I am not that familiar with trinidad to determine why this
does not function properly, but I hope there is someone at the list, who can
help you.

Regards

Jakob Korherr


2009/11/26 Döring Markus &lt;Markus.Doering@tcc-products.de&gt;

&gt; Hi,
&gt;
&gt; have done some more test's:
&gt;
&gt; FireFox 3.5.5: as described below
&gt; Internet Explorer 7: same as FireFox
&gt; Opera 9.51: works correctly with both ValueChangeEvents in one Request, but
&gt; don't fires a ValueChangeEvent at all if only the InputText changes
&gt; Opera 10.10: same as 9.51
&gt; Google Chrome 3.0.195.33: same as FireFox and IE7
&gt; Apple Safari 3.1.1: same as Firefox, IE7 and Chrome
&gt;
&gt; Regards
&gt; Markus
&gt;
&gt; -----Ursprüngliche Nachricht-----
&gt; Von: sethfromaustria@gmail.com [mailto:sethfromaustria@gmail.com] Im
&gt; Auftrag von Jakob Korherr
&gt; Gesendet: Donnerstag, 26. November 2009 10:46
&gt; An: MyFaces Discussion
&gt; Betreff: Re: [Trinidad] ValueChangeListener issues
&gt;
&gt; Hi Markus,
&gt;
&gt; It would be great to know in which browsers you tested this, because it
&gt; looks like a javascript error to me.
&gt;
&gt; Regards
&gt;
&gt; Jakob Korherr
&gt;
&gt; 2009/11/26 Döring Markus &lt;Markus.Doering@tcc-products.de&gt;
&gt;
&gt; &gt;  Hi list,
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; I have found an issue with “multiple” value change events in one request.
&gt; &gt;
&gt; &gt; I have a simple test setup:
&gt; &gt;
&gt; &gt; One page with just a form, an InputText and an SelectBooleanCheckbox (see
&gt; &gt; file attached).
&gt; &gt;
&gt; &gt; Both inputs save their value in a HashMap in session (could also be a
&gt; &gt; managed bean but so less test code is needed).
&gt; &gt;
&gt; &gt; Both inputs have a ValueChangeListener and autoSubmit on true.
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; The InputText auto submits when it loose focus.
&gt; &gt;
&gt; &gt; The SelectBooleanCheckbox auto submits when it’s get clicked.
&gt; &gt;
&gt; &gt; But if I enter the page, enter some text and immediate click on the
&gt; &gt; checkbox without leaving the InputText before clicking only the text in
&gt; the
&gt; &gt; InputText is submitted and only the InputText ValueChangeListener is
&gt; called.
&gt; &gt;
&gt; &gt; The SelectBooleanCheckbox “looks” like checked, but if I reload the page
&gt; &gt; (without fire event, clicking button, ect.) the SelectBooleanCheckbox
&gt; get’s
&gt; &gt; deselected automatically because the value in the session never changed.
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; Any idea how to get around this?
&gt; &gt;
&gt; &gt; Should I fill a Jira?
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; Tested with
&gt; &gt;
&gt; &gt; jsf-facelets 1.1.13
&gt; &gt;
&gt; &gt; myfaces 1.1.5
&gt; &gt;
&gt; &gt; trinidad 1.0.11
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; (Sorry have not test setup for JSF 1.2 so can’t test with Trinidad 1.2,
&gt; but
&gt; &gt; the test setup is straight forward)
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; Regards
&gt; &gt;
&gt; &gt; Markus
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>AW: [Trinidad] ValueChangeListener issues</title>
<author><name>=?utf-8?B?RMO2cmluZyBNYXJrdXM=?= &lt;Markus.Doering@tcc-products.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3cACDD1AC6A3C65346A4E9B4F9F455B7C6011E7B26@moes0037%3e"/>
<id>urn:uuid:%3cACDD1AC6A3C65346A4E9B4F9F455B7C6011E7B26@moes0037%3e</id>
<updated>2009-11-26T14:42:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

have done some more test's:

FireFox 3.5.5: as described below
Internet Explorer 7: same as FireFox
Opera 9.51: works correctly with both ValueChangeEvents in one Request, but don't fires a
ValueChangeEvent at all if only the InputText changes
Opera 10.10: same as 9.51
Google Chrome 3.0.195.33: same as FireFox and IE7
Apple Safari 3.1.1: same as Firefox, IE7 and Chrome

Regards
Markus

-----Ursprüngliche Nachricht-----
Von: sethfromaustria@gmail.com [mailto:sethfromaustria@gmail.com] Im Auftrag von Jakob Korherr
Gesendet: Donnerstag, 26. November 2009 10:46
An: MyFaces Discussion
Betreff: Re: [Trinidad] ValueChangeListener issues

Hi Markus,

It would be great to know in which browsers you tested this, because it
looks like a javascript error to me.

Regards

Jakob Korherr

2009/11/26 Döring Markus &lt;Markus.Doering@tcc-products.de&gt;

&gt;  Hi list,
&gt;
&gt;
&gt;
&gt; I have found an issue with “multiple” value change events in one request.
&gt;
&gt; I have a simple test setup:
&gt;
&gt; One page with just a form, an InputText and an SelectBooleanCheckbox (see
&gt; file attached).
&gt;
&gt; Both inputs save their value in a HashMap in session (could also be a
&gt; managed bean but so less test code is needed).
&gt;
&gt; Both inputs have a ValueChangeListener and autoSubmit on true.
&gt;
&gt;
&gt;
&gt; The InputText auto submits when it loose focus.
&gt;
&gt; The SelectBooleanCheckbox auto submits when it’s get clicked.
&gt;
&gt; But if I enter the page, enter some text and immediate click on the
&gt; checkbox without leaving the InputText before clicking only the text in the
&gt; InputText is submitted and only the InputText ValueChangeListener is called.
&gt;
&gt; The SelectBooleanCheckbox “looks” like checked, but if I reload the page
&gt; (without fire event, clicking button, ect.) the SelectBooleanCheckbox get’s
&gt; deselected automatically because the value in the session never changed.
&gt;
&gt;
&gt;
&gt; Any idea how to get around this?
&gt;
&gt; Should I fill a Jira?
&gt;
&gt;
&gt;
&gt; Tested with
&gt;
&gt; jsf-facelets 1.1.13
&gt;
&gt; myfaces 1.1.5
&gt;
&gt; trinidad 1.0.11
&gt;
&gt;
&gt;
&gt; (Sorry have not test setup for JSF 1.2 so can’t test with Trinidad 1.2, but
&gt; the test setup is straight forward)
&gt;
&gt;
&gt;
&gt; Regards
&gt;
&gt; Markus
&gt;
&gt;
&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [Trinidad] ValueChangeListener issues</title>
<author><name>Jakob Korherr &lt;jakob.korherr@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3cfd49e8160911260146j345e6da3kce1e92dc1dfd83d7@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfd49e8160911260146j345e6da3kce1e92dc1dfd83d7@mail-gmail-com%3e</id>
<updated>2009-11-26T09:46:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Markus,

It would be great to know in which browsers you tested this, because it
looks like a javascript error to me.

Regards

Jakob Korherr

2009/11/26 Döring Markus &lt;Markus.Doering@tcc-products.de&gt;

&gt;  Hi list,
&gt;
&gt;
&gt;
&gt; I have found an issue with “multiple” value change events in one request.
&gt;
&gt; I have a simple test setup:
&gt;
&gt; One page with just a form, an InputText and an SelectBooleanCheckbox (see
&gt; file attached).
&gt;
&gt; Both inputs save their value in a HashMap in session (could also be a
&gt; managed bean but so less test code is needed).
&gt;
&gt; Both inputs have a ValueChangeListener and autoSubmit on true.
&gt;
&gt;
&gt;
&gt; The InputText auto submits when it loose focus.
&gt;
&gt; The SelectBooleanCheckbox auto submits when it’s get clicked.
&gt;
&gt; But if I enter the page, enter some text and immediate click on the
&gt; checkbox without leaving the InputText before clicking only the text in the
&gt; InputText is submitted and only the InputText ValueChangeListener is called.
&gt;
&gt; The SelectBooleanCheckbox “looks” like checked, but if I reload the page
&gt; (without fire event, clicking button, ect.) the SelectBooleanCheckbox get’s
&gt; deselected automatically because the value in the session never changed.
&gt;
&gt;
&gt;
&gt; Any idea how to get around this?
&gt;
&gt; Should I fill a Jira?
&gt;
&gt;
&gt;
&gt; Tested with
&gt;
&gt; jsf-facelets 1.1.13
&gt;
&gt; myfaces 1.1.5
&gt;
&gt; trinidad 1.0.11
&gt;
&gt;
&gt;
&gt; (Sorry have not test setup for JSF 1.2 so can’t test with Trinidad 1.2, but
&gt; the test setup is straight forward)
&gt;
&gt;
&gt;
&gt; Regards
&gt;
&gt; Markus
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>[Trinidad] ValueChangeListener issues</title>
<author><name>=?iso-8859-1?Q?D=F6ring_Markus?= &lt;Markus.Doering@tcc-products.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/myfaces-users/200911.mbox/%3cACDD1AC6A3C65346A4E9B4F9F455B7C6011E7B1E@moes0037%3e"/>
<id>urn:uuid:%3cACDD1AC6A3C65346A4E9B4F9F455B7C6011E7B1E@moes0037%3e</id>
<updated>2009-11-26T09:40:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi list,

 

I have found an issue with "multiple" value change events in one request.

I have a simple test setup:

One page with just a form, an InputText and an SelectBooleanCheckbox (see file attached).

Both inputs save their value in a HashMap in session (could also be a managed bean but so
less test code is needed).

Both inputs have a ValueChangeListener and autoSubmit on true.

 

The InputText auto submits when it loose focus.

The SelectBooleanCheckbox auto submits when it's get clicked.

But if I enter the page, enter some text and immediate click on the checkbox without leaving
the InputText before clicking only the text in the InputText is submitted and only the InputText
ValueChangeListener is called.

The SelectBooleanCheckbox "looks" like checked, but if I reload the page (without fire event,
clicking button, ect.) the SelectBooleanCheckbox get's deselected automatically because the
value in the session never changed.

 

Any idea how to get around this?

Should I fill a Jira?

 

Tested with

jsf-facelets 1.1.13

myfaces 1.1.5

trinidad 1.0.11

 

(Sorry have not test setup for JSF 1.2 so can't test with Trinidad 1.2, but the test setup
is straight forward)

 

Regards

Markus

 



</pre>
</div>
</content>
</entry>
</feed>
