On Mon, Feb 16, 2009 at 2:48 PM, Simon Kitching
skitch...@apache.orgmailto:skitch...@apache.org wrote:
Madhav Bhargava schrieb:
Hi All,
I have a requirement wherein I have to disable UI components based on
whether there are any error messages in the Message Queue (t:messages).
On Thu, 2009-02-19 at 11:16 +0530, Madhav Bhargava wrote:
On Mon, Feb 16, 2009 at 2:48 PM, Simon Kitching skitch...@apache.org
wrote:
Madhav Bhargava schrieb:
Hi All,
I have a requirement wherein I have to disable UI components based
on
whether there are any error messages in
Hi All,
I have a requirement wherein I have to disable UI components based on whether
there are any error messages in the Message Queue (t:messages).
facesContext is an implicit object so I thought of using it like -
#{facesContext.getMessages.hasNext} However when it was not working because
Madhav Bhargava schrieb:
Hi All,
I have a requirement wherein I have to disable UI components based on
whether there are any error messages in the Message Queue (t:messages).
facesContext is an implicit object so I thought of using it like -
#{facesContext.getMessages.hasNext}
It looks to me you can use #{not empty facesContext.messages} in this
case.
Walter Mourão
http://waltermourao.com.br
http://arcadian.com.br
http://oriens.com.br
On Mon, Feb 16, 2009 at 6:18 AM, Simon Kitching skitch...@apache.orgwrote:
Madhav Bhargava schrieb:
Hi All,
I have a
FYI
http://blogs.sun.com/kchung/entry/jsr_245_mr_part_i
On Mon, Feb 16, 2009 at 9:47 AM, Madhav Bhargava
madhav_bharg...@infosys.com wrote:
Hi All,
I have a requirement wherein I have to disable UI components based on
whether there are any error messages in the Message Queue (t:messages).
You will not be able to use faceContext.messages because messages is not a
property in FacesContextImpl class. I am using Sun JSF RI and i cannot find
any property named messages/message and therefore when you invoke
facesContext.messages then it will throw a PropertyNotFoundException.
THanks,
On Mon, Feb 16, 2009 at 2:48 PM, Simon Kitching skitch...@apache.orgwrote:
Madhav Bhargava schrieb:
Hi All,
I have a requirement wherein I have to disable UI components based on
whether there are any error messages in the Message Queue (t:messages).
facesContext is an implicit
8 matches
Mail list logo