JSF EL does not allow method calls

2009-02-16 Thread Madhav Bhargava
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

Re: JSF EL does not allow method calls

2009-02-16 Thread Simon Kitching
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}

unsubscribe

2009-02-16 Thread Goda, Sunil
From: Leonardo Uribe [mailto:lu4...@gmail.com] Sent: Saturday, January 31, 2009 9:40 AM To: annou...@myfaces.apache.org Cc: MyFaces Development; MyFaces Discussion Subject: [ANNOUNCE] MyFaces Core v1.2.6 Release The Apache MyFaces team is pleased to announce the release of MyFaces Core

Value not converter

2009-02-16 Thread Guy Bashan
Hi All, I am trying to understand if the following scenario is a proper behavior of JSF: I have 2 components: h:selectOneRadio id=source converter=CampaignSourceConverter value=#{cmp_new.cmpCampaign.source} onclick=switchSource(getSelectedSource()); disabled=#{not empty

Re: JSF EL does not allow method calls

2009-02-16 Thread Walter Mourão
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

Two question about t:schedule (tomahawk).

2009-02-16 Thread ernest210
Hello I have two question about t:schedule (this one “http://myfaces.apache.org/tomahawk-project/tomahawk/tagdoc/t_schedule.html”) so: 1. Value which is displayable is a link type, so my question is do there is any away to change this on text (joust text no link)? 2. Can I somehow add break line

AW: Two question about t:schedule (tomahawk).

2009-02-16 Thread Stephan Frai
Hi, Regarding Question 2: You can try to extend org.apache.myfaces.custom.schedule.renderer.DefaultScheduleEntryRenderer and overwrite the methods, that render the content. In your jsp-Site you pass your EntryRenderer via entryRenderer attribute of t:schedule Tag. Regards, Stephan

Re: JSF EL does not allow method calls

2009-02-16 Thread Matthias Wessendorf
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).

trinidad 1.2.10: selectOneChoice change in behaviour

2009-02-16 Thread Fred Davis
I recently tried to upgrade to Trinidad 1.2.10, but hit a problem with my use of selectOneChoice components. Here's an example of a snippet in question: tr:selectOneChoice label=Location id=location value=#{pageFlowScope.incomeBean.location} showRequired=true requiredMessageDetail=Location

commandButton: onclick: disable

2009-02-16 Thread SANTINI, Rafael
Hi, Why when onclick=this.disabled=true; return true in a commandButton the action is not executed? I'm trying disable the button after a click. Thanks, Rafael Santini

Re: commandButton: onclick: disable

2009-02-16 Thread Simon Kitching
SANTINI, Rafael schrieb: Hi, Why when onclick=this.disabled=true; return true in a commandButton the action is not executed? I'm trying disable the button after a click. Disabled controls are never sent to the webserver on submit: http://www.w3.org/TR/html401/interact/forms.html#h-17.12

Re: [Orchestra] Presence / absence of conversation?

2009-02-16 Thread Simon Kitching
Guillaume Bilodeau schrieb: Thank you Simon for your detailed answer! I've spent the last few months using Seam and I now realize that the term conversation has a totally different meaning in Orchestra, as you explained. The documentation does explain it clearly, I suppose initially I went

Re: [orchestra] Navigation with new conversation context

2009-02-16 Thread Bernd Winterstein
Hi Simon, you you give me some example code for your plan. Sounds good... Bernd Perhaps a custom ActionListener could be created which looks in the ancestry of the component that triggers the action, and activates an o:separateConversationContext if it finds one. It should be possible to do this

Re: [Trinidad] af|table skin selector

2009-02-16 Thread Glauco P. Gomes
Anyone?? Glauco P. Gomes Glauco P. Gomes escreveu: The documentation doesn't have the af|table selector, only af|table::content, af|table::detail, af|table::* In my skin I have the af|table selector and it isn't rendered (with org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION set to

RE: BadPadding Exception and more

2009-02-16 Thread Felix.Becker
Hi Geoff, you have to disable the encryption explicitly - it's not depending on the state saving method. Use context-param param-nameorg.apache.myfaces.USE_ENCRYPTION/param-name param-valuefalse/param-value /context-param Regards, Felix -Original Message- From: Geoff

Re: Problem Using Orchestra with Realm after Session-Timeout

2009-02-16 Thread Filip Lyncker
Dear everyone, I found a solution wich is not final but ok for now... as described if you follow the link Kito sent i'm doing a hack now to avoid the crash: http://www.jsfcentral.com/listings/A20158?link To verify that someone is coming from outside ( the login page ) we send a URL

Re: [Trinidad] af|table skin selector

2009-02-16 Thread Richard Yee
What style do you want the div to have? It seems that the content and detail style classes give you access to the table already. R Sent from my iPhone On Feb 16, 2009, at 7:41 AM, Glauco P. Gomes glaucopgo...@yahoo.com.br wrote: Anyone?? Glauco P. Gomes Glauco P. Gomes escreveu: The

Re: JSF EL does not allow method calls

2009-02-16 Thread Madhav Bhargava
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,

Re: JSF EL does not allow method calls

2009-02-16 Thread Madhav Bhargava
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

Re: regarding my apache jars 1.6

2009-02-16 Thread Mike Kienenberger
On Thu, Feb 12, 2009 at 2:49 AM, Simon Kitching skitch...@apache.org wrote: srinivas schrieb: when i have switched myfaces jars from 1.0 to 1.0.6, I am getting this error log java.lang.ClassNotFoundException: org.apache.myfaces.component.html.util.ExtensionsFilter Is there anything I am

[ANN] VTD-XML 2.5

2009-02-16 Thread crackeur
VTD-XML 2.5 is now released. Please go to https://sourceforge.net/project/showfiles.php?group_id=110612package_id=120172release_id=661376  to download the latest version. Changes from Version 2.4 (2/2009) * Added separate VTD indexing generating and loading (see

[ANN] VTD-XML 2.5

2009-02-16 Thread crackeur
VTD-XML 2.5 is now released. Please go to https://sourceforge.net/project/showfiles.php?group_id=110612package_id=120172release_id=661376  to download the latest version. Changes from Version 2.4 (2/2009) * Added separate VTD indexing generating and loading (see

Re: [Trinidad] af|table skin selector

2009-02-16 Thread Richard Yee
Put the tr:table inside a tr:panelGroupLayout and then style that. You can use a child selector to style the div from the parent element. -R On Mon, Feb 16, 2009 at 3:33 PM, Glauco P. Gomes glaucopgo...@yahoo.com.br wrote: I will show you an example: I have a search page with a table to show