catch FacesException

2006-02-17 Thread Dave
How to catch FacesException and display a nice message instead of stack trace on web page?   javax.faces.FacesException: Cannot get value for _expression_ '#{bean.enabled}' org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422) org.apache.myfac

Re: Internationalization for Error Messages

2006-02-17 Thread Gregg Bolinger
I *think* it should work the same way as all your other properties files.  Follow the example given on page 237 of JSF in Action and in the secondary language properties files, place your overridden error messages in the appropriate language.  I haven't tried this, but I believe it should work. Gre

Adding Image Icons to Drop Down Lists

2006-02-17 Thread Mike Duffy
There is a cool technique to add image icons to drop-down lists: Some Label Is there anyway to do this with SelectItems in JSF? Thx. Mike __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Internationalization for Error Messages

2006-02-17 Thread Mike Duffy
What is the best way to do internationalization for error messages? For example, "Specified attribute is not between the expected values of 1 and 1000." According to the Kito Mann book on page 307, you can overwrite existing messages by creating the name value pairs in your own properties file

Re: Collapsible Panel

2006-02-17 Thread Dave
Is collapsed panel handled(expand/collapse) on client side? Martin Marinschek <[EMAIL PROTECTED]> wrote: the collapsed attribute is replaced by the value attribute.regards,MartinOn 2/16/06, Geoff Longo <[EMAIL PROTECTED]>wrote:> I noticed that in the nightly builds, the "collapsed" attribute of th

RE: display label in error message instead of id

2006-02-17 Thread Mike Duffy
Thanks for figuring this out. I had the exact same problem. If you look at the JSF book by Kito Mann, p 26, it shows an wrapped in an which is unnecessary (overall, it's a good book). Thanks again. Mike --- Michael Heinen <[EMAIL PROTECTED]> wrote: > Thanks a lot for your help. > Now it

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Craig McClanahan wrote: On 2/17/06, Laurie Harper <[EMAIL PROTECTED]> wrote: Craig McClanahan wrote: Interesting. I was under the impression that Weblets did not and would not support the 'add

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Craig McClanahan
On 2/17/06, Laurie Harper <[EMAIL PROTECTED]> wrote: Craig McClanahan wrote:>> Interesting. I was under the impression that Weblets did not and would>> not support the 'add

t:selectOneRadio has no preselection

2006-02-17 Thread Michael Heinen
Hi all,   I have trouble with the t:selectOneRadio. The items are not preselected anymore. They are neither  preselected when I enter the page nor after submits (with both: immediate = false or true)   When I remove layout="spread" and the two t:radio items, everything works fine!  

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Craig McClanahan wrote: Interesting. I was under the impression that Weblets did not and would not support the 'add

Re: ADF Faces installation

2006-02-17 Thread Alexandre Poitras
Just download the last JDevelopper version (10.1.3) wich already bundles everything you need. On 2/17/06, Harald Ommang <[EMAIL PROTECTED]> wrote: > On Fri, 17 Feb 2006 12:25:32 -0300 > Fábio C. Ríspoli <[EMAIL PROTECTED]> wrote: > > Hi. > > > > P.S. When I try to run my application I got the > >

RE: Scrollable ResultSet being passed to Tobago Sheet - errors as 'Forward Only'

2006-02-17 Thread John
I put the h:dataTable tag right above the tobago sheet tag and this was the error An error occurred in the bean. Error Message is: Exception in JSP: /pageparts/quarantinelist.jsp:17 14: 15: 16: 17: 18: 19: 20: Stacktrace: Stack Trace is : javax.faces.FacesException: Exception in JSP: /pagepart

AW: Problem with panelTabbedPane's selectedIndex memory

2006-02-17 Thread Matthias Kahlau
Hi! I did some further investigations and could limit the possible causes. The Backing-Bean's selectedIndex property is 'null' only when a Backing-Bean lookup is performed to read the property value (the Backing-Bean is in session-scope!). Example with logging output in the property's setter met

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Craig McClanahan
On 2/17/06, Laurie Harper <[EMAIL PROTECTED]> wrote: Werner Punz wrote:> Laurie Harper schrieb:>> I have a need for similar functionality to the Tomahawk Extensions>> filter, and have been thinking about ways to achieve it without>> requiring user config. I was hoping I could find a standard JSF ho

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Werner Punz wrote: Laurie Harper schrieb: I have a need for similar functionality to the Tomahawk Extensions filter, and have been thinking about ways to achieve it without requiring user config. I was hoping I could find a standard JSF hook that I could plug into through a faces-config entry bu

Re: Tiles and javascript code generated after html content

2006-02-17 Thread Laurie Harper
Costa Basil wrote: Hi: I am using tiles and I noticed that the final html content contains this piece of javascript code at the end after the tag. Is there a way to fix this? Things seem to work tough in IE, however, it kind of worries me. Thanks