Re: catch FacesException

2006-02-18 Thread Cagatay Civici
Hi Dave, In our project we hacked FacesServlet, and when an exception occurs we show a error page with a nice gui with nice colorsto calm down the mad client :)Your stack trace begins with FacesServlet.service , that's the place we hacked the servlet.Regards,Cagatay,On 2/18/06, Dave [EMAIL

Re: display label in error message instead of id

2006-02-18 Thread Martin Marinschek
Oh, that was it! Please open an issue on that - I didn't think about embedded outputText components when I implemented this solution, obviously ;). regards, Martin On 2/18/06, Mike Duffy [EMAIL PROTECTED] wrote: Thanks for figuring this out. I had the exact same problem. If you look at

Question on ADF Faces

2006-02-18 Thread Yee CN
Hi, Are there any differences between adf-faces-10_1_3_0_4 (the current version from Oracle) and the drop in Myfaces? I was just browsing through the developer manual from Oracle - it seems like ADF faces is a whole framework build on top of JSF, with its data control framework,

AW: display label in error message instead of id

2006-02-18 Thread Matthias Kahlau
If you look at the JSF book by Kito Mann, p 26, it shows an h:outputText .../ wrapped in an h:outputLabel.../ which is unnecessary (overall, it's a good book). As Hans Bergsten writes in his JSF book, the value attribute of the h:outputLabel element is ignored by the JSF 1.0 reference

Dynamic multiple selection list with Javascript breaks JSF

2006-02-18 Thread Enrique Medina
Hi,I'm trying to do a simple multiple selection list where the user can add String values. The operation for adding these values is through a simple _javascript_ method, using the new Option mechanism.However, when the form is submitted, I always get a Validation error. Going through the code, I

Re: display label in error message instead of id

2006-02-18 Thread Martin Marinschek
Ah, thank you! The second part of your message I didn't get - what was a slick patch? regards, Martin On 2/18/06, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi Martin! Please open an issue on that - I didn't think about embedded outputText components when I implemented this solution,

Re: display label in error message instead of id

2006-02-18 Thread Martin Marinschek
Ok, fair enough, I'm forgetting what I programmed then ;) regards, Martin On 2/18/06, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! The second part of your message I didn't get - what was a slick patch? I just wanted to say the code to deal with embedded outputText already existed, just

Any inside of a very slow page loading of t:dataTable in Weblogic 8.1 sp4?

2006-02-18 Thread Emily Gu
Hi, I have a t:dataTable deployed on Weblogic 8.1 sp4. The table is bounded to a backing bean in session. It is so slow when I click to next page. The data should be in memory already. It took no time in Tomcat when paginating to the next page. But Weblogic 8.1 sp4 is thinking very long to get

Re: Internationalization for Error Messages

2006-02-18 Thread Jonathan Harley
Mike Duffy wrote: 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

Re: catch FacesException

2006-02-18 Thread Craig McClanahan
On 2/18/06, Cagatay Civici [EMAIL PROTECTED] wrote: Hi Dave, In our project we hacked FacesServlet, and when an exception occurs we show a error page with a nice gui with nice colorsto calm down the mad client :)Your stack trace begins with FacesServlet.service , that's the place we hacked the

Re: Adding Image Icons to Drop Down Lists

2006-02-18 Thread Andrew Robinson
You could build your own custom renderer to do this. On 2/17/06, Mike Duffy [EMAIL PROTECTED] wrote: There is a cool technique to add image icons to drop-down lists: option id=issuetype value=1 style=background-image: url(/images/icons/someIcon.gif); selected=selectedSome Label/option

Re: Dynamic multiple selection list with Javascript breaks JSF

2006-02-18 Thread Enrique Medina
Hi Emily,You're right. Obviously the better way to accomplish it would be to make a request on each addition, in order to update the SelectItems list for the component. I'm going to try this, but with Ajaxanywhere, just to save the user from the page refresh each time she adds an item.

Re: display label in error message instead of id

2006-02-18 Thread Dave
Can the label be used only for display messages? I am trying to replace ID inside a table for error messages. Labels and values are in two different columns. values are rendered in a subview as different components based on their types.An attribute for UIData component like

Pre-selection of selectitems

2006-02-18 Thread Ing. Ricardo R.
I haven't found yet a way to do this, does this require a custom component? If I have a selectitem (si) and I give it values {a,b,c}, how do I make it so none of them are selected on the first load of the page? I have tried setting the value in the managed bean to null with no luck.

expand tree2

2006-02-18 Thread eve
is it possible to display tree2 initially all expanded? thanks eve

Re: Adding Image Icons to Drop Down Lists

2006-02-18 Thread Laurie Harper
Why bother? Just do f:selectItem ... style=background-image: url(/images/icons/someIcon.gif);/ L. Andrew Robinson wrote: You could build your own custom renderer to do this. On 2/17/06, Mike Duffy [EMAIL PROTECTED] wrote: There is a cool technique to add image icons to drop-down lists:

Re: Adding Image Icons to Drop Down Lists

2006-02-18 Thread Andrew Robinson
Lol, good point, been working too hard I guess... On 2/18/06, Laurie Harper [EMAIL PROTECTED] wrote: Why bother? Just do f:selectItem ... style=background-image: url(/images/icons/someIcon.gif);/ L. Andrew Robinson wrote: You could build your own custom renderer to do this. On

Re: Internationalization for Error Messages

2006-02-18 Thread Mike Duffy
Exactly what I needed to know. Thx. Mike --- Jonathan Harley [EMAIL PROTECTED] wrote: Mike Duffy wrote: 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

Re: Adding Image Icons to Drop Down Lists

2006-02-18 Thread Mike Duffy
I should have been more clear. I am using a collection of SelctItems with the f:selectItems.../ tag. I think it will be necessary to specify the style through each SelectItem object. Mike --- Andrew Robinson [EMAIL PROTECTED] wrote: Lol, good point, been working too hard I guess... On