RE: [sandbox] new component idea: rounded corners

2007-06-15 Thread David Brunette
and quick usage example, it looks just like what we need. Dave -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 7:18 PM To: MyFaces Development Subject: [sandbox] new component idea: rounded corners I have created code that can be run from

[sandbox] new component idea: rounded corners

2007-06-14 Thread Andrew Robinson
I have created code that can be run from a phase listener or servlet that can generate nicely rendered PNG images with highlighted beveled edges. The idea is to be able to dynamically create a DIV tag with images in the corners and sides that can stretch to create a nice rounded corner background

Re: [sandbox] new component idea: rounded corners

2007-06-14 Thread Adam Winer
For browser detection, there's the Trinidad Agent code which detects IE and lots more. -- Adam On 6/14/07, Andrew Robinson [EMAIL PROTECTED] wrote: I have created code that can be run from a phase listener or servlet that can generate nicely rendered PNG images with highlighted beveled edges.

Re: [sandbox] new component idea: rounded corners

2007-06-14 Thread Leonardo Uribe
Yes, the Trinidad Agent code detects IE and do other things. I'm not an expert, but actually I'm working in use trinidad css capabilities to non trinidad components. There are some points to consider first: 1. If you want to do a component for trinidad, you can take full advantage of trinidad

Re: [sandbox] new component idea: rounded corners

2007-06-14 Thread Adam Winer
On 6/14/07, Leonardo Uribe [EMAIL PROTECTED] wrote: Yes, the Trinidad Agent code detects IE and do other things. I'm not an expert, but actually I'm working in use trinidad css capabilities to non trinidad components. There are some points to consider first: 1. If you want to do a component

Re: [sandbox] new component idea: rounded corners

2007-06-14 Thread Leonardo Uribe
Yes, you're right. I probe it myself, but i found that the maven artifact for create jsf components set the default myfaces implementation to 1.1.4, so it throw an error like this 2007-06-14 22:34:32,812 WARN [ org.apache.myfaces.renderkit.RenderKitFactoryImpl] Unknown RenderKit 'HTML_BASIC'.

Re: [sandbox] new component idea: rounded corners

2007-06-14 Thread Andrew Robinson
I'd like to keep this as sandbox and not involve the Trinidad code if possible. Any chance at getting this code over into the shared? Also, I need to know in the Java code, not in the CSS script (for the PNG work-around and not having to use IE behaviors) On 6/14/07, Leonardo Uribe [EMAIL