Re: Result (Was Re: [VOTE] Add MyfacesBuilderPlugin to buildtools branch and use it on myfaces 1.1)

2008-04-25 Thread Leonardo Uribe
2008/4/25 Andrew Robinson <[EMAIL PROTECTED]>:

> Forgot to ask, this uses annotations for JSF >= 1.2 right?
>
> Also one more question, would Jsf* be better than JSF* for the names
> (ie JsfProperty vs JSFProperty)? Using all uppercase for an acronym in
> a java name is not conventional. Uppercase is usually reserved for
> starting a new, unabbreviated word.


Yes, I have seen this too. The convention on xdoclet is use
namespace.prefix. I would like to use something like this:

oam.Component
oam.Converter
oam.Validator
oam.RenderKit
oam.Renderer
oam.Property
oam.JspProperty
oam.JspTag
oam.JspAttribute
oam.Exclude

or something like that. I would like to see what Simon thinks about this,
since he proposed the names at start and I don't know if he has a particular
reason about the choice of the tags.

Simon: What do you think about this?

On myfaces 1.2 maybe annotations could not be used, because maybe it breaks
the TCK, but I'm not tested this yet, so its a point to take into account.
The actual code allows to use annotations and doclets (we need to update
annotation classes).

regards

Leonardo Uribe


>
>
> Thanks,
> Andrew
>
> 2008/4/25 Leonardo Uribe <[EMAIL PROTECTED]>:
> > Hi
> >
> > Thanks to all people who voted.
> >
> > We got 7 +1
> >
> > Grant Smith
> > Bruno Aranda
> > Sochor Zdeněk
> > Werner Punz
> > Gerald Müllan
> >  Simon Kitching
> > Leonardo Uribe
> >
> > and one +0
> >
> > Mario Ivankovits
> >
> > So MyfacesBuilderPlugin will be moved to trunk:
> >
> >
> https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin
> >
> > Almost all points taken into accout by Andrew was implemented the last
> days,
> > only this points do not:
> >
> >  5. Ability to generate events and event listeners
> >  6. Ability to add event type properties to components (addXListener,
> > getXListeners, etc.)
> >
> > This points are trinidad specific stuff, so this should be done later.
> >
> > On the wiki I have updated an xml file (inside the doc) that allows the
> > developer to have code completion in the doclets used by the plugin. This
> is
> > a work in progress, so the definition can change in the future.
> >
> > regards
> >
> > Leonardo Uribe
> >
>


Re: Result (Was Re: [VOTE] Add MyfacesBuilderPlugin to buildtools branch and use it on myfaces 1.1)

2008-04-25 Thread Andrew Robinson
Forgot to ask, this uses annotations for JSF >= 1.2 right?

Also one more question, would Jsf* be better than JSF* for the names
(ie JsfProperty vs JSFProperty)? Using all uppercase for an acronym in
a java name is not conventional. Uppercase is usually reserved for
starting a new, unabbreviated word.

Thanks,
Andrew

2008/4/25 Leonardo Uribe <[EMAIL PROTECTED]>:
> Hi
>
> Thanks to all people who voted.
>
> We got 7 +1
>
> Grant Smith
> Bruno Aranda
> Sochor Zdeněk
> Werner Punz
> Gerald Müllan
>  Simon Kitching
> Leonardo Uribe
>
> and one +0
>
> Mario Ivankovits
>
> So MyfacesBuilderPlugin will be moved to trunk:
>
> https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin
>
> Almost all points taken into accout by Andrew was implemented the last days,
> only this points do not:
>
>  5. Ability to generate events and event listeners
>  6. Ability to add event type properties to components (addXListener,
> getXListeners, etc.)
>
> This points are trinidad specific stuff, so this should be done later.
>
> On the wiki I have updated an xml file (inside the doc) that allows the
> developer to have code completion in the doclets used by the plugin. This is
> a work in progress, so the definition can change in the future.
>
> regards
>
> Leonardo Uribe
>


Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Glauco P. Gomes




+1 for tableless.

Glauco P. Gomes

Andrew Robinson escreveu:

  What about a utility method that could be used for many renderers.

It could leverage IE>=7, FF, opera and safari's ability to stretch via CSS.

function:

  encodeRounded(baseSelector : string, radius : int) : void
if skin supports rounded corners (increase perf):
  if supports CSS stretching then:
write IMG with "position:absolute;top:0px;left:0px"
write IMG with
"position:absolute;top:0px;left:{radius}px;right:{radius}px;"
etc.

So use left + right for the top & bottom images and top + bottom for
the sides. The radius could be taken from a skin property:
  af|panelTabbed::body {
-tr-rounded-radius: 5px;
  }

Then to set the image:
  af|panelTabbed::body::top-left-icon {
content: url(myimage.png);
  }

or instead of IMG, just use DIV with background-image.

How does that sound? Therefore we don't have to use tables and we just
exclude IE <= 6 which cannot handle element stretching when specifying
both top & bottom or left & right.

-Andrew

On Fri, Apr 25, 2008 at 4:56 PM, Matt Cooper <[EMAIL PROTECTED]> wrote:
  
  
+1 to the extra DOM and corresponding selectors; it is the most flexible

 On Fri, Apr 25, 2008 at 4:35 PM, Glauco P. Gomes


<[EMAIL PROTECTED]> wrote:
 >
 >  +1 to skining selectors.
 >
 >  It's more flexible, and if the user/developer/designer prefer CSS3, he/she
 > can use without problems.
 >
 >
 >
 >  Glauco P. Gomes
 >
 >  Andrew Robinson escreveu:
 >  While that produces a plain rounded border, it would not allow us to
 > use graphic borders with gradients and such. In this case to mirror
 > what Adonis has done for the MyFaces site. Not to mention it looks
 > ugly on Linux FF2 at least (really choppy line).
 >
 > On Fri, Apr 25, 2008 at 4:05 PM, Matt Cooper <[EMAIL PROTECTED]> wrote:
 >
 >
 >  I was referring to -foo-border-radius, etc. as seen here:
 >
 >  http://www.css3.info/preview/rounded-border/
 >
 >  That website is using only the proposed CSS3 syntax.
 >
 >  As far as shadows, I believe only Safari currently supports it:
 >
 >  http://www.css3.info/preview/box-shadow/
 >
 >  Regards,
 >  Matt
 >
 >  On Fri, Apr 25, 2008 at 1:45 PM, Andrew Robinson
 >
 >
 > <[EMAIL PROTECTED]> wrote:
 >  > Well, they support multiple background images for an HTML element, so
 >  > that you can do rounded corners manually with shadows but not have to
 >  > add extra HTML elements to make it possible.
 >  >
 >  > -Andrew
 >  >
 >  >
 >  >
 >  > On Fri, Apr 25, 2008 at 1:14 PM, Glauco P. Gomes
 >  > <[EMAIL PROTECTED]> wrote:
 >  > >
 >  > > These new browsers (with CSS3) support shadows?
 >  > >
 >  > > Glauco P. Gomes
 >  > >
 >  > > Andrew Robinson escreveu:
 >  > >
 >  > > This has nothing to do with the demo. I am asking about the new
 >  > > myfaces skin which users will be able to create their applications
 >  > > using it.
 >  > >
 >  > > -Andrew
 >  > >
 >  > > On Fri, Apr 25, 2008 at 11:35 AM, Scott O'Bryan <[EMAIL PROTECTED]>
 > wrote:
 >  > >
 >  > >
 >  > > So.. 3 isn't even released yet. Soon it will be 50% on 2 and 50% on 3..
 >  > > I'm of the opinion that the people who really care about eye candy will
 > have
 >  > > a more up to date browser. And besides, this is a technical demo, there
 > are
 >  > > developers and PM's who will be looking at it.
 >  > >
 >  > > Scott
 >  > >
 >  > >
 >  > >
 >  > > Andrew Robinson wrote:
 >  > >
 >  > >
 >  > >
 >  > > The problem is that approx 50% of firefox users use 1.5 and the other
 >  > > 50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
 >  > > developers)
 >  > >
 >  > > -Andrew
 >  > >
 >  > > On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]>
 >  > >
 >  > > wrote:
 >  > >
 >  > >
 >  > >
 >  > >
 >  > > I like Matt's idea personally.
 >  > >
 >  > > Scott
 >  > >
 >  > >
 >  > >
 >  > > Andrew Robinson wrote:
 >  > >
 >  > >
 >  > >
 >  > >
 >  > >
 >  > > So use @agent with the new version support in the skin? FF3, IE8 -
 >  > > rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
 >  > > have never used them)?
 >  > >
 >  > > Would take a long time for people to used these browsers, but it would
 >  > > dramatically increase performance (much less HTML bulk). I am not
 >  > > sure, would like to hear what others think.
 >  > >
 >  > > -Andrew
 >  > >
 >  > > On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]>
 >  > >
 >  > > wrote:
 >  > >
 >  > >
 >  > >
 >  > >
 >  > >
 >  > >
 >  > >
 >  > >
 >  > > Hey Andrew,
 >  > >
 >  > > How about just using the CSS3 rounded corner styles already
 >  > >
 >  > > available
 >  > >
 >  > >
 >  > >
 >  > >
 >  > >
 >  > > in Firefox and Safari? Of course we'd fall back into square
 >  > >
 >  > > corners
 >  > >
 >  > >
 >  > >
 >  > >
 >  > >
 >  > > in IE.
 >  > >
 >  > > -Matt
 >  > >
 >  > >
 >  > >
 >  > > On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
 >  > > <[EMAIL PROTECTED]> wrote:
 >  > > > Looking at 

Result (Was Re: [VOTE] Add MyfacesBuilderPlugin to buildtools branch and use it on myfaces 1.1)

2008-04-25 Thread Leonardo Uribe
Hi

Thanks to all people who voted.

We got 7 +1

Grant Smith
Bruno Aranda
Sochor Zdeněk
Werner Punz
Gerald Müllan
Simon Kitching
Leonardo Uribe

and one +0

Mario Ivankovits

So MyfacesBuilderPlugin will be moved to trunk:

https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin

Almost all points taken into accout by Andrew was implemented the last days,
only this points do not:

5. Ability to generate events and event listeners
6. Ability to add event type properties to components (addXListener,
getXListeners, etc.)

This points are trinidad specific stuff, so this should be done later.

On the wiki I have updated an xml file (inside the doc) that allows the
developer to have code completion in the doclets used by the plugin. This is
a work in progress, so the definition can change in the future.

regards

Leonardo Uribe


Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Andrew Robinson
What about a utility method that could be used for many renderers.

It could leverage IE>=7, FF, opera and safari's ability to stretch via CSS.

function:

  encodeRounded(baseSelector : string, radius : int) : void
if skin supports rounded corners (increase perf):
  if supports CSS stretching then:
write IMG with "position:absolute;top:0px;left:0px"
write IMG with
"position:absolute;top:0px;left:{radius}px;right:{radius}px;"
etc.

So use left + right for the top & bottom images and top + bottom for
the sides. The radius could be taken from a skin property:
  af|panelTabbed::body {
-tr-rounded-radius: 5px;
  }

Then to set the image:
  af|panelTabbed::body::top-left-icon {
content: url(myimage.png);
  }

or instead of IMG, just use DIV with background-image.

How does that sound? Therefore we don't have to use tables and we just
exclude IE <= 6 which cannot handle element stretching when specifying
both top & bottom or left & right.

-Andrew

On Fri, Apr 25, 2008 at 4:56 PM, Matt Cooper <[EMAIL PROTECTED]> wrote:
> +1 to the extra DOM and corresponding selectors; it is the most flexible
>
>  On Fri, Apr 25, 2008 at 4:35 PM, Glauco P. Gomes
>
>
> <[EMAIL PROTECTED]> wrote:
>  >
>  >  +1 to skining selectors.
>  >
>  >  It's more flexible, and if the user/developer/designer prefer CSS3, he/she
>  > can use without problems.
>  >
>  >
>  >
>  >  Glauco P. Gomes
>  >
>  >  Andrew Robinson escreveu:
>  >  While that produces a plain rounded border, it would not allow us to
>  > use graphic borders with gradients and such. In this case to mirror
>  > what Adonis has done for the MyFaces site. Not to mention it looks
>  > ugly on Linux FF2 at least (really choppy line).
>  >
>  > On Fri, Apr 25, 2008 at 4:05 PM, Matt Cooper <[EMAIL PROTECTED]> wrote:
>  >
>  >
>  >  I was referring to -foo-border-radius, etc. as seen here:
>  >
>  >  http://www.css3.info/preview/rounded-border/
>  >
>  >  That website is using only the proposed CSS3 syntax.
>  >
>  >  As far as shadows, I believe only Safari currently supports it:
>  >
>  >  http://www.css3.info/preview/box-shadow/
>  >
>  >  Regards,
>  >  Matt
>  >
>  >  On Fri, Apr 25, 2008 at 1:45 PM, Andrew Robinson
>  >
>  >
>  > <[EMAIL PROTECTED]> wrote:
>  >  > Well, they support multiple background images for an HTML element, so
>  >  > that you can do rounded corners manually with shadows but not have to
>  >  > add extra HTML elements to make it possible.
>  >  >
>  >  > -Andrew
>  >  >
>  >  >
>  >  >
>  >  > On Fri, Apr 25, 2008 at 1:14 PM, Glauco P. Gomes
>  >  > <[EMAIL PROTECTED]> wrote:
>  >  > >
>  >  > > These new browsers (with CSS3) support shadows?
>  >  > >
>  >  > > Glauco P. Gomes
>  >  > >
>  >  > > Andrew Robinson escreveu:
>  >  > >
>  >  > > This has nothing to do with the demo. I am asking about the new
>  >  > > myfaces skin which users will be able to create their applications
>  >  > > using it.
>  >  > >
>  >  > > -Andrew
>  >  > >
>  >  > > On Fri, Apr 25, 2008 at 11:35 AM, Scott O'Bryan <[EMAIL PROTECTED]>
>  > wrote:
>  >  > >
>  >  > >
>  >  > > So.. 3 isn't even released yet. Soon it will be 50% on 2 and 50% on 
> 3..
>  >  > > I'm of the opinion that the people who really care about eye candy 
> will
>  > have
>  >  > > a more up to date browser. And besides, this is a technical demo, 
> there
>  > are
>  >  > > developers and PM's who will be looking at it.
>  >  > >
>  >  > > Scott
>  >  > >
>  >  > >
>  >  > >
>  >  > > Andrew Robinson wrote:
>  >  > >
>  >  > >
>  >  > >
>  >  > > The problem is that approx 50% of firefox users use 1.5 and the other
>  >  > > 50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
>  >  > > developers)
>  >  > >
>  >  > > -Andrew
>  >  > >
>  >  > > On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]>
>  >  > >
>  >  > > wrote:
>  >  > >
>  >  > >
>  >  > >
>  >  > >
>  >  > > I like Matt's idea personally.
>  >  > >
>  >  > > Scott
>  >  > >
>  >  > >
>  >  > >
>  >  > > Andrew Robinson wrote:
>  >  > >
>  >  > >
>  >  > >
>  >  > >
>  >  > >
>  >  > > So use @agent with the new version support in the skin? FF3, IE8 -
>  >  > > rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
>  >  > > have never used them)?
>  >  > >
>  >  > > Would take a long time for people to used these browsers, but it would
>  >  > > dramatically increase performance (much less HTML bulk). I am not
>  >  > > sure, would like to hear what others think.
>  >  > >
>  >  > > -Andrew
>  >  > >
>  >  > > On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]>
>  >  > >
>  >  > > wrote:
>  >  > >
>  >  > >
>  >  > >
>  >  > >
>  >  > >
>  >  > >
>  >  > >
>  >  > >
>  >  > > Hey Andrew,
>  >  > >
>  >  > > How about just using the CSS3 rounded corner styles already
>  >  > >
>  >  > > available
>  >  > >
>  >  > >
>  >  > >
>  >  > >
>  >  > >
>  >  > > in Firefox and Safari? Of course we'd fall back into square
>  >  > >
>  >  > > corners
>

Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Matt Cooper
+1 to the extra DOM and corresponding selectors; it is the most flexible

On Fri, Apr 25, 2008 at 4:35 PM, Glauco P. Gomes
<[EMAIL PROTECTED]> wrote:
>
>  +1 to skining selectors.
>
>  It's more flexible, and if the user/developer/designer prefer CSS3, he/she
> can use without problems.
>
>
>
>  Glauco P. Gomes
>
>  Andrew Robinson escreveu:
>  While that produces a plain rounded border, it would not allow us to
> use graphic borders with gradients and such. In this case to mirror
> what Adonis has done for the MyFaces site. Not to mention it looks
> ugly on Linux FF2 at least (really choppy line).
>
> On Fri, Apr 25, 2008 at 4:05 PM, Matt Cooper <[EMAIL PROTECTED]> wrote:
>
>
>  I was referring to -foo-border-radius, etc. as seen here:
>
>  http://www.css3.info/preview/rounded-border/
>
>  That website is using only the proposed CSS3 syntax.
>
>  As far as shadows, I believe only Safari currently supports it:
>
>  http://www.css3.info/preview/box-shadow/
>
>  Regards,
>  Matt
>
>  On Fri, Apr 25, 2008 at 1:45 PM, Andrew Robinson
>
>
> <[EMAIL PROTECTED]> wrote:
>  > Well, they support multiple background images for an HTML element, so
>  > that you can do rounded corners manually with shadows but not have to
>  > add extra HTML elements to make it possible.
>  >
>  > -Andrew
>  >
>  >
>  >
>  > On Fri, Apr 25, 2008 at 1:14 PM, Glauco P. Gomes
>  > <[EMAIL PROTECTED]> wrote:
>  > >
>  > > These new browsers (with CSS3) support shadows?
>  > >
>  > > Glauco P. Gomes
>  > >
>  > > Andrew Robinson escreveu:
>  > >
>  > > This has nothing to do with the demo. I am asking about the new
>  > > myfaces skin which users will be able to create their applications
>  > > using it.
>  > >
>  > > -Andrew
>  > >
>  > > On Fri, Apr 25, 2008 at 11:35 AM, Scott O'Bryan <[EMAIL PROTECTED]>
> wrote:
>  > >
>  > >
>  > > So.. 3 isn't even released yet. Soon it will be 50% on 2 and 50% on 3..
>  > > I'm of the opinion that the people who really care about eye candy will
> have
>  > > a more up to date browser. And besides, this is a technical demo, there
> are
>  > > developers and PM's who will be looking at it.
>  > >
>  > > Scott
>  > >
>  > >
>  > >
>  > > Andrew Robinson wrote:
>  > >
>  > >
>  > >
>  > > The problem is that approx 50% of firefox users use 1.5 and the other
>  > > 50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
>  > > developers)
>  > >
>  > > -Andrew
>  > >
>  > > On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]>
>  > >
>  > > wrote:
>  > >
>  > >
>  > >
>  > >
>  > > I like Matt's idea personally.
>  > >
>  > > Scott
>  > >
>  > >
>  > >
>  > > Andrew Robinson wrote:
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > So use @agent with the new version support in the skin? FF3, IE8 -
>  > > rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
>  > > have never used them)?
>  > >
>  > > Would take a long time for people to used these browsers, but it would
>  > > dramatically increase performance (much less HTML bulk). I am not
>  > > sure, would like to hear what others think.
>  > >
>  > > -Andrew
>  > >
>  > > On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]>
>  > >
>  > > wrote:
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > Hey Andrew,
>  > >
>  > > How about just using the CSS3 rounded corner styles already
>  > >
>  > > available
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > in Firefox and Safari? Of course we'd fall back into square
>  > >
>  > > corners
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > in IE.
>  > >
>  > > -Matt
>  > >
>  > >
>  > >
>  > > On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
>  > > <[EMAIL PROTECTED]> wrote:
>  > > > Looking at the many of the renderers for Trinidad components I do
>  > >
>  > > not
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > > see a lot of skinning selectors that would enable rounded
>  > >
>  > > corners.
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > For
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > > example, the panelTabbed has some nice selectors for the tabs,
>  > >
>  > > but
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > > only one selector for the body, so it would not be possible to
>  > >
>  > > round
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > > the body corners, only the tabs themselves.
>  > > >
>  > > > Is this something we want to address for the new myfaces skin or
>  > > > should we just sacrifice LnF for performance at the moment and
>  > >
>  > > keep
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > > the corners square and no drop shadows or other nice effects?
>  > > >
>  > > > -Andrew
>  > > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  > >
>  >
>
>
>
>
>


Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Glauco P. Gomes




+1 to skining selectors. 

It's more flexible, and if the user/developer/designer prefer CSS3,
he/she can use without problems.

Glauco P. Gomes

Andrew Robinson escreveu:

  While that produces a plain rounded border, it would not allow us to
use graphic borders with gradients and such. In this case to mirror
what Adonis has done for the MyFaces site. Not to mention it looks
ugly on Linux FF2 at least (really choppy line).

On Fri, Apr 25, 2008 at 4:05 PM, Matt Cooper <[EMAIL PROTECTED]> wrote:
  
  
I was referring to -foo-border-radius, etc. as seen here:

 http://www.css3.info/preview/rounded-border/

 That website is using only the proposed CSS3 syntax.

 As far as shadows, I believe only Safari currently supports it:

 http://www.css3.info/preview/box-shadow/

 Regards,
 Matt

 On Fri, Apr 25, 2008 at 1:45 PM, Andrew Robinson


<[EMAIL PROTECTED]> wrote:
 > Well, they support multiple background images for an HTML element, so
 >  that you can do rounded corners manually with shadows but not have to
 >  add extra HTML elements to make it possible.
 >
 >  -Andrew
 >
 >
 >
 >  On Fri, Apr 25, 2008 at 1:14 PM, Glauco P. Gomes
 >  <[EMAIL PROTECTED]> wrote:
 >  >
 >  >  These new browsers (with CSS3) support shadows?
 >  >
 >  >  Glauco P. Gomes
 >  >
 >  >  Andrew Robinson escreveu:
 >  >
 >  >  This has nothing to do with the demo. I am asking about the new
 >  > myfaces skin which users will be able to create their applications
 >  > using it.
 >  >
 >  > -Andrew
 >  >
 >  > On Fri, Apr 25, 2008 at 11:35 AM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
 >  >
 >  >
 >  >  So.. 3 isn't even released yet. Soon it will be 50% on 2 and 50% on 3..
 >  > I'm of the opinion that the people who really care about eye candy will have
 >  > a more up to date browser. And besides, this is a technical demo, there are
 >  > developers and PM's who will be looking at it.
 >  >
 >  >  Scott
 >  >
 >  >
 >  >
 >  >  Andrew Robinson wrote:
 >  >
 >  >
 >  >
 >  >  The problem is that approx 50% of firefox users use 1.5 and the other
 >  > 50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
 >  > developers)
 >  >
 >  > -Andrew
 >  >
 >  > On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]>
 >  >
 >  >  wrote:
 >  >
 >  >
 >  >
 >  >
 >  >  I like Matt's idea personally.
 >  >
 >  >  Scott
 >  >
 >  >
 >  >
 >  >  Andrew Robinson wrote:
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >  So use @agent with the new version support in the skin? FF3, IE8 -
 >  > rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
 >  > have never used them)?
 >  >
 >  > Would take a long time for people to used these browsers, but it would
 >  > dramatically increase performance (much less HTML bulk). I am not
 >  > sure, would like to hear what others think.
 >  >
 >  > -Andrew
 >  >
 >  > On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]>
 >  >
 >  >  wrote:
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >  Hey Andrew,
 >  >
 >  >  How about just using the CSS3 rounded corner styles already
 >  >
 >  >  available
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >  in Firefox and Safari? Of course we'd fall back into square
 >  >
 >  >  corners
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >  in IE.
 >  >
 >  >  -Matt
 >  >
 >  >
 >  >
 >  >  On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
 >  >  <[EMAIL PROTECTED]> wrote:
 >  >  > Looking at the many of the renderers for Trinidad components I do
 >  >
 >  >  not
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >  > see a lot of skinning selectors that would enable rounded
 >  >
 >  >  corners.
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >  For
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >  > example, the panelTabbed has some nice selectors for the tabs,
 >  >
 >  >  but
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >  > only one selector for the body, so it would not be possible to
 >  >
 >  >  round
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >  > the body corners, only the tabs themselves.
 >  >  >
 >  >  > Is this something we want to address for the new myfaces skin or
 >  >  > should we just sacrifice LnF for performance at the moment and
 >  >
 >  >  keep
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >  > the corners square and no drop shadows or other nice effects?
 >  >  >
 >  >  > -Andrew
 >  >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >  >
 >


  
  
  






Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Andrew Robinson
While that produces a plain rounded border, it would not allow us to
use graphic borders with gradients and such. In this case to mirror
what Adonis has done for the MyFaces site. Not to mention it looks
ugly on Linux FF2 at least (really choppy line).

On Fri, Apr 25, 2008 at 4:05 PM, Matt Cooper <[EMAIL PROTECTED]> wrote:
> I was referring to -foo-border-radius, etc. as seen here:
>
>  http://www.css3.info/preview/rounded-border/
>
>  That website is using only the proposed CSS3 syntax.
>
>  As far as shadows, I believe only Safari currently supports it:
>
>  http://www.css3.info/preview/box-shadow/
>
>  Regards,
>  Matt
>
>  On Fri, Apr 25, 2008 at 1:45 PM, Andrew Robinson
>
>
> <[EMAIL PROTECTED]> wrote:
>  > Well, they support multiple background images for an HTML element, so
>  >  that you can do rounded corners manually with shadows but not have to
>  >  add extra HTML elements to make it possible.
>  >
>  >  -Andrew
>  >
>  >
>  >
>  >  On Fri, Apr 25, 2008 at 1:14 PM, Glauco P. Gomes
>  >  <[EMAIL PROTECTED]> wrote:
>  >  >
>  >  >  These new browsers (with CSS3) support shadows?
>  >  >
>  >  >  Glauco P. Gomes
>  >  >
>  >  >  Andrew Robinson escreveu:
>  >  >
>  >  >  This has nothing to do with the demo. I am asking about the new
>  >  > myfaces skin which users will be able to create their applications
>  >  > using it.
>  >  >
>  >  > -Andrew
>  >  >
>  >  > On Fri, Apr 25, 2008 at 11:35 AM, Scott O'Bryan <[EMAIL PROTECTED]> 
> wrote:
>  >  >
>  >  >
>  >  >  So.. 3 isn't even released yet. Soon it will be 50% on 2 and 50% on 3..
>  >  > I'm of the opinion that the people who really care about eye candy will 
> have
>  >  > a more up to date browser. And besides, this is a technical demo, there 
> are
>  >  > developers and PM's who will be looking at it.
>  >  >
>  >  >  Scott
>  >  >
>  >  >
>  >  >
>  >  >  Andrew Robinson wrote:
>  >  >
>  >  >
>  >  >
>  >  >  The problem is that approx 50% of firefox users use 1.5 and the other
>  >  > 50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
>  >  > developers)
>  >  >
>  >  > -Andrew
>  >  >
>  >  > On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]>
>  >  >
>  >  >  wrote:
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  I like Matt's idea personally.
>  >  >
>  >  >  Scott
>  >  >
>  >  >
>  >  >
>  >  >  Andrew Robinson wrote:
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  So use @agent with the new version support in the skin? FF3, IE8 -
>  >  > rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
>  >  > have never used them)?
>  >  >
>  >  > Would take a long time for people to used these browsers, but it would
>  >  > dramatically increase performance (much less HTML bulk). I am not
>  >  > sure, would like to hear what others think.
>  >  >
>  >  > -Andrew
>  >  >
>  >  > On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]>
>  >  >
>  >  >  wrote:
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  Hey Andrew,
>  >  >
>  >  >  How about just using the CSS3 rounded corner styles already
>  >  >
>  >  >  available
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  in Firefox and Safari? Of course we'd fall back into square
>  >  >
>  >  >  corners
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  in IE.
>  >  >
>  >  >  -Matt
>  >  >
>  >  >
>  >  >
>  >  >  On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
>  >  >  <[EMAIL PROTECTED]> wrote:
>  >  >  > Looking at the many of the renderers for Trinidad components I do
>  >  >
>  >  >  not
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  > see a lot of skinning selectors that would enable rounded
>  >  >
>  >  >  corners.
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  For
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  > example, the panelTabbed has some nice selectors for the tabs,
>  >  >
>  >  >  but
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  > only one selector for the body, so it would not be possible to
>  >  >
>  >  >  round
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  > the body corners, only the tabs themselves.
>  >  >  >
>  >  >  > Is this something we want to address for the new myfaces skin or
>  >  >  > should we just sacrifice LnF for performance at the moment and
>  >  >
>  >  >  keep
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >  > the corners square and no drop shadows or other nice effects?
>  >  >  >
>  >  >  > -Andrew
>  >  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >
>


Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Matt Cooper
I was referring to -foo-border-radius, etc. as seen here:

http://www.css3.info/preview/rounded-border/

That website is using only the proposed CSS3 syntax.

As far as shadows, I believe only Safari currently supports it:

http://www.css3.info/preview/box-shadow/

Regards,
Matt

On Fri, Apr 25, 2008 at 1:45 PM, Andrew Robinson
<[EMAIL PROTECTED]> wrote:
> Well, they support multiple background images for an HTML element, so
>  that you can do rounded corners manually with shadows but not have to
>  add extra HTML elements to make it possible.
>
>  -Andrew
>
>
>
>  On Fri, Apr 25, 2008 at 1:14 PM, Glauco P. Gomes
>  <[EMAIL PROTECTED]> wrote:
>  >
>  >  These new browsers (with CSS3) support shadows?
>  >
>  >  Glauco P. Gomes
>  >
>  >  Andrew Robinson escreveu:
>  >
>  >  This has nothing to do with the demo. I am asking about the new
>  > myfaces skin which users will be able to create their applications
>  > using it.
>  >
>  > -Andrew
>  >
>  > On Fri, Apr 25, 2008 at 11:35 AM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
>  >
>  >
>  >  So.. 3 isn't even released yet. Soon it will be 50% on 2 and 50% on 3..
>  > I'm of the opinion that the people who really care about eye candy will 
> have
>  > a more up to date browser. And besides, this is a technical demo, there are
>  > developers and PM's who will be looking at it.
>  >
>  >  Scott
>  >
>  >
>  >
>  >  Andrew Robinson wrote:
>  >
>  >
>  >
>  >  The problem is that approx 50% of firefox users use 1.5 and the other
>  > 50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
>  > developers)
>  >
>  > -Andrew
>  >
>  > On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]>
>  >
>  >  wrote:
>  >
>  >
>  >
>  >
>  >  I like Matt's idea personally.
>  >
>  >  Scott
>  >
>  >
>  >
>  >  Andrew Robinson wrote:
>  >
>  >
>  >
>  >
>  >
>  >  So use @agent with the new version support in the skin? FF3, IE8 -
>  > rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
>  > have never used them)?
>  >
>  > Would take a long time for people to used these browsers, but it would
>  > dramatically increase performance (much less HTML bulk). I am not
>  > sure, would like to hear what others think.
>  >
>  > -Andrew
>  >
>  > On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]>
>  >
>  >  wrote:
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >  Hey Andrew,
>  >
>  >  How about just using the CSS3 rounded corner styles already
>  >
>  >  available
>  >
>  >
>  >
>  >
>  >
>  >  in Firefox and Safari? Of course we'd fall back into square
>  >
>  >  corners
>  >
>  >
>  >
>  >
>  >
>  >  in IE.
>  >
>  >  -Matt
>  >
>  >
>  >
>  >  On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
>  >  <[EMAIL PROTECTED]> wrote:
>  >  > Looking at the many of the renderers for Trinidad components I do
>  >
>  >  not
>  >
>  >
>  >
>  >
>  >
>  >  > see a lot of skinning selectors that would enable rounded
>  >
>  >  corners.
>  >
>  >
>  >
>  >
>  >
>  >
>  >  For
>  >
>  >
>  >
>  >
>  >
>  >  > example, the panelTabbed has some nice selectors for the tabs,
>  >
>  >  but
>  >
>  >
>  >
>  >
>  >
>  >  > only one selector for the body, so it would not be possible to
>  >
>  >  round
>  >
>  >
>  >
>  >
>  >
>  >  > the body corners, only the tabs themselves.
>  >  >
>  >  > Is this something we want to address for the new myfaces skin or
>  >  > should we just sacrifice LnF for performance at the moment and
>  >
>  >  keep
>  >
>  >
>  >
>  >
>  >
>  >  > the corners square and no drop shadows or other nice effects?
>  >  >
>  >  > -Andrew
>  >  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>


Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Andrew Robinson
Well, they support multiple background images for an HTML element, so
that you can do rounded corners manually with shadows but not have to
add extra HTML elements to make it possible.

-Andrew

On Fri, Apr 25, 2008 at 1:14 PM, Glauco P. Gomes
<[EMAIL PROTECTED]> wrote:
>
>  These new browsers (with CSS3) support shadows?
>
>  Glauco P. Gomes
>
>  Andrew Robinson escreveu:
>
>  This has nothing to do with the demo. I am asking about the new
> myfaces skin which users will be able to create their applications
> using it.
>
> -Andrew
>
> On Fri, Apr 25, 2008 at 11:35 AM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
>
>
>  So.. 3 isn't even released yet. Soon it will be 50% on 2 and 50% on 3..
> I'm of the opinion that the people who really care about eye candy will have
> a more up to date browser. And besides, this is a technical demo, there are
> developers and PM's who will be looking at it.
>
>  Scott
>
>
>
>  Andrew Robinson wrote:
>
>
>
>  The problem is that approx 50% of firefox users use 1.5 and the other
> 50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
> developers)
>
> -Andrew
>
> On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]>
>
>  wrote:
>
>
>
>
>  I like Matt's idea personally.
>
>  Scott
>
>
>
>  Andrew Robinson wrote:
>
>
>
>
>
>  So use @agent with the new version support in the skin? FF3, IE8 -
> rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
> have never used them)?
>
> Would take a long time for people to used these browsers, but it would
> dramatically increase performance (much less HTML bulk). I am not
> sure, would like to hear what others think.
>
> -Andrew
>
> On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]>
>
>  wrote:
>
>
>
>
>
>
>
>
>  Hey Andrew,
>
>  How about just using the CSS3 rounded corner styles already
>
>  available
>
>
>
>
>
>  in Firefox and Safari? Of course we'd fall back into square
>
>  corners
>
>
>
>
>
>  in IE.
>
>  -Matt
>
>
>
>  On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
>  <[EMAIL PROTECTED]> wrote:
>  > Looking at the many of the renderers for Trinidad components I do
>
>  not
>
>
>
>
>
>  > see a lot of skinning selectors that would enable rounded
>
>  corners.
>
>
>
>
>
>
>  For
>
>
>
>
>
>  > example, the panelTabbed has some nice selectors for the tabs,
>
>  but
>
>
>
>
>
>  > only one selector for the body, so it would not be possible to
>
>  round
>
>
>
>
>
>  > the body corners, only the tabs themselves.
>  >
>  > Is this something we want to address for the new myfaces skin or
>  > should we just sacrifice LnF for performance at the moment and
>
>  keep
>
>
>
>
>
>  > the corners square and no drop shadows or other nice effects?
>  >
>  > -Andrew
>  >
>
>
>
>
>
>
>
>
>
>
>


Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Glauco P. Gomes




These new browsers (with CSS3) support shadows?

Glauco P. Gomes

Andrew Robinson escreveu:

  This has nothing to do with the demo. I am asking about the new
myfaces skin which users will be able to create their applications
using it.

-Andrew

On Fri, Apr 25, 2008 at 11:35 AM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
  
  
So..  3 isn't even released yet.  Soon it will be 50% on 2 and 50% on 3..
I'm of the opinion that the people who really care about eye candy will have
a more up to date browser.  And besides, this is a technical demo, there are
developers and PM's who will be looking at it.

 Scott



 Andrew Robinson wrote:



  The problem is that approx 50% of firefox users use 1.5 and the other
50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
developers)

-Andrew

On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]>
  

wrote:


  
  
  
I like Matt's idea personally.

 Scott



 Andrew Robinson wrote:





  So use @agent with the new version support in the skin? FF3, IE8 -
rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
have never used them)?

Would take a long time for people to used these browsers, but it would
dramatically increase performance (much less HTML bulk). I am not
sure, would like to hear what others think.

-Andrew

On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]>
  

  

wrote:


  

  


  
  
Hey Andrew,

 How about just using the CSS3 rounded corner styles already

  

  

available


  

  
 in Firefox and Safari?  Of course we'd fall back into square

  

  

corners


  

  
 in IE.

 -Matt



 On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
 <[EMAIL PROTECTED]> wrote:
 > Looking at the many of the renderers for Trinidad components I do

  

  

not


  

  
 >  see a lot of skinning selectors that would enable rounded

  

  

corners.


  

  


  

For




  
 >  example, the panelTabbed has some nice selectors for the tabs,

  

  

but


  

  
 >  only one selector for the body, so it would not be possible to

  

  

round


  

  
 >  the body corners, only the tabs themselves.
 >
 >  Is this something we want to address for the new myfaces skin or
 >  should we just sacrifice LnF for performance at the moment and

  

  

keep


  

  
 >  the corners square and no drop shadows or other nice effects?
 >
 >  -Andrew
 >






  



  



  
  
  






Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Andrew Robinson
Actually FF3 doesn't support it

Go to this in FF3:
http://www.w3.org/Style/Examples/007/roundshadow2.html

No borders :(

-Andrew

On Fri, Apr 25, 2008 at 11:31 AM, Andrew Robinson
<[EMAIL PROTECTED]> wrote:
> IE 8 not 3. Was still thinking FF3.
>
>  On Fri, Apr 25, 2008 at 11:26 AM, Andrew Robinson
>
>
> <[EMAIL PROTECTED]> wrote:
>  > The problem is that approx 50% of firefox users use 1.5 and the other
>  >  50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
>  >  developers)
>  >
>  >  -Andrew
>  >
>  >
>  >
>  >  On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
>  >  > I like Matt's idea personally.
>  >  >
>  >  >  Scott
>  >  >
>  >  >
>  >  >
>  >  >  Andrew Robinson wrote:
>  >  >
>  >  > > So use @agent with the new version support in the skin? FF3, IE8 -
>  >  > > rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
>  >  > > have never used them)?
>  >  > >
>  >  > > Would take a long time for people to used these browsers, but it would
>  >  > > dramatically increase performance (much less HTML bulk). I am not
>  >  > > sure, would like to hear what others think.
>  >  > >
>  >  > > -Andrew
>  >  > >
>  >  > > On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]> 
> wrote:
>  >  > >
>  >  > >
>  >  > > > Hey Andrew,
>  >  > > >
>  >  > > >  How about just using the CSS3 rounded corner styles already 
> available
>  >  > > >  in Firefox and Safari?  Of course we'd fall back into square 
> corners
>  >  > > >  in IE.
>  >  > > >
>  >  > > >  -Matt
>  >  > > >
>  >  > > >
>  >  > > >
>  >  > > >  On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
>  >  > > >  <[EMAIL PROTECTED]> wrote:
>  >  > > >  > Looking at the many of the renderers for Trinidad components I 
> do not
>  >  > > >  >  see a lot of skinning selectors that would enable rounded 
> corners.
>  >  > For
>  >  > > >  >  example, the panelTabbed has some nice selectors for the tabs, 
> but
>  >  > > >  >  only one selector for the body, so it would not be possible to 
> round
>  >  > > >  >  the body corners, only the tabs themselves.
>  >  > > >  >
>  >  > > >  >  Is this something we want to address for the new myfaces skin or
>  >  > > >  >  should we just sacrifice LnF for performance at the moment and 
> keep
>  >  > > >  >  the corners square and no drop shadows or other nice effects?
>  >  > > >  >
>  >  > > >  >  -Andrew
>  >  > > >  >
>  >  > > >
>  >  > > >
>  >  > > >
>  >  > >
>  >  >
>  >  >
>  >
>


Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Andrew Robinson
This has nothing to do with the demo. I am asking about the new
myfaces skin which users will be able to create their applications
using it.

-Andrew

On Fri, Apr 25, 2008 at 11:35 AM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
> So..  3 isn't even released yet.  Soon it will be 50% on 2 and 50% on 3..
> I'm of the opinion that the people who really care about eye candy will have
> a more up to date browser.  And besides, this is a technical demo, there are
> developers and PM's who will be looking at it.
>
>  Scott
>
>
>
>  Andrew Robinson wrote:
>
> > The problem is that approx 50% of firefox users use 1.5 and the other
> > 50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
> > developers)
> >
> > -Andrew
> >
> > On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]>
> wrote:
> >
> >
> > > I like Matt's idea personally.
> > >
> > >  Scott
> > >
> > >
> > >
> > >  Andrew Robinson wrote:
> > >
> > >
> > >
> > > > So use @agent with the new version support in the skin? FF3, IE8 -
> > > > rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
> > > > have never used them)?
> > > >
> > > > Would take a long time for people to used these browsers, but it would
> > > > dramatically increase performance (much less HTML bulk). I am not
> > > > sure, would like to hear what others think.
> > > >
> > > > -Andrew
> > > >
> > > > On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]>
> wrote:
> > > >
> > > >
> > > >
> > > >
> > > > > Hey Andrew,
> > > > >
> > > > >  How about just using the CSS3 rounded corner styles already
> available
> > > > >  in Firefox and Safari?  Of course we'd fall back into square
> corners
> > > > >  in IE.
> > > > >
> > > > >  -Matt
> > > > >
> > > > >
> > > > >
> > > > >  On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
> > > > >  <[EMAIL PROTECTED]> wrote:
> > > > >  > Looking at the many of the renderers for Trinidad components I do
> not
> > > > >  >  see a lot of skinning selectors that would enable rounded
> corners.
> > > > >
> > > > >
> > > >
> > > For
> > >
> > >
> > > >
> > > > >  >  example, the panelTabbed has some nice selectors for the tabs,
> but
> > > > >  >  only one selector for the body, so it would not be possible to
> round
> > > > >  >  the body corners, only the tabs themselves.
> > > > >  >
> > > > >  >  Is this something we want to address for the new myfaces skin or
> > > > >  >  should we just sacrifice LnF for performance at the moment and
> keep
> > > > >  >  the corners square and no drop shadows or other nice effects?
> > > > >  >
> > > > >  >  -Andrew
> > > > >  >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>


[jira] Commented: (TOMAHAWK-922) JSF-1.2: JspTilesViewHandlerImpl

2008-04-25 Thread Darshan Jawalebhoi (JIRA)

[ 
https://issues.apache.org/jira/browse/TOMAHAWK-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592445#action_12592445
 ] 

Darshan Jawalebhoi commented on TOMAHAWK-922:
-

I too was getting a blank page after upgrading to MyFaces 1.2.2. Had no option 
but to put the upgrade plans on hold for now :(

> JSF-1.2: JspTilesViewHandlerImpl
> 
>
> Key: TOMAHAWK-922
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-922
> Project: MyFaces Tomahawk
>  Issue Type: Bug
>  Components: Tiles
>Affects Versions: 1.1.5-SNAPSHOT
> Environment: MyFaces Tomahawk SVN HEAD + JSF-1.2_03 (Reference 
> implementation) + JDK-1.5.0_11 + Tomcat-6.0.10
>Reporter: Jesper Pedersen
>
> The JspTilesViewHandlerImpl doesn't work under JSF-1.2 (RI) as it doesn't 
> deliver any output.
> Steps:
> 1) Get myfaces-example-tiles-1.1.5-SNAPSHOT.war
> 2) Replace MyFaces-Core with JSF-1.2 (RI) in WEB-INF/lib
> 3) Deploy on Tomcat-6.0.10
> 4) Go to http://localhost:8080/myfaces-example-tiles-1.1.5-SNAPSHOT/
> Generated HTML:
> 
> 
>   
>   Myfaces - Tiles
>   
> 
> 
> Basically I'm unable to use Tomahawk under JSF-1.2 currently, so any pointers 
> on how to fix this issue or to provide more information would be great.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Scott O'Bryan
So..  3 isn't even released yet.  Soon it will be 50% on 2 and 50% on 
3..  I'm of the opinion that the people who really care about eye candy 
will have a more up to date browser.  And besides, this is a technical 
demo, there are developers and PM's who will be looking at it.


Scott

Andrew Robinson wrote:

The problem is that approx 50% of firefox users use 1.5 and the other
50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
developers)

-Andrew

On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
  

I like Matt's idea personally.

 Scott



 Andrew Robinson wrote:



So use @agent with the new version support in the skin? FF3, IE8 -
rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
have never used them)?

Would take a long time for people to used these browsers, but it would
dramatically increase performance (much less HTML bulk). I am not
sure, would like to hear what others think.

-Andrew

On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]> wrote:


  

Hey Andrew,

 How about just using the CSS3 rounded corner styles already available
 in Firefox and Safari?  Of course we'd fall back into square corners
 in IE.

 -Matt



 On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
 <[EMAIL PROTECTED]> wrote:
 > Looking at the many of the renderers for Trinidad components I do not
 >  see a lot of skinning selectors that would enable rounded corners.


For


 >  example, the panelTabbed has some nice selectors for the tabs, but
 >  only one selector for the body, so it would not be possible to round
 >  the body corners, only the tabs themselves.
 >
 >  Is this something we want to address for the new myfaces skin or
 >  should we just sacrifice LnF for performance at the moment and keep
 >  the corners square and no drop shadows or other nice effects?
 >
 >  -Andrew
 >









Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Andrew Robinson
IE 8 not 3. Was still thinking FF3.

On Fri, Apr 25, 2008 at 11:26 AM, Andrew Robinson
<[EMAIL PROTECTED]> wrote:
> The problem is that approx 50% of firefox users use 1.5 and the other
>  50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
>  developers)
>
>  -Andrew
>
>
>
>  On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
>  > I like Matt's idea personally.
>  >
>  >  Scott
>  >
>  >
>  >
>  >  Andrew Robinson wrote:
>  >
>  > > So use @agent with the new version support in the skin? FF3, IE8 -
>  > > rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
>  > > have never used them)?
>  > >
>  > > Would take a long time for people to used these browsers, but it would
>  > > dramatically increase performance (much less HTML bulk). I am not
>  > > sure, would like to hear what others think.
>  > >
>  > > -Andrew
>  > >
>  > > On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]> wrote:
>  > >
>  > >
>  > > > Hey Andrew,
>  > > >
>  > > >  How about just using the CSS3 rounded corner styles already available
>  > > >  in Firefox and Safari?  Of course we'd fall back into square corners
>  > > >  in IE.
>  > > >
>  > > >  -Matt
>  > > >
>  > > >
>  > > >
>  > > >  On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
>  > > >  <[EMAIL PROTECTED]> wrote:
>  > > >  > Looking at the many of the renderers for Trinidad components I do 
> not
>  > > >  >  see a lot of skinning selectors that would enable rounded corners.
>  > For
>  > > >  >  example, the panelTabbed has some nice selectors for the tabs, but
>  > > >  >  only one selector for the body, so it would not be possible to 
> round
>  > > >  >  the body corners, only the tabs themselves.
>  > > >  >
>  > > >  >  Is this something we want to address for the new myfaces skin or
>  > > >  >  should we just sacrifice LnF for performance at the moment and keep
>  > > >  >  the corners square and no drop shadows or other nice effects?
>  > > >  >
>  > > >  >  -Andrew
>  > > >  >
>  > > >
>  > > >
>  > > >
>  > >
>  >
>  >
>


Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Andrew Robinson
The problem is that approx 50% of firefox users use 1.5 and the other
50% use 2, about 0% use FF3. No one is on IE 3 yet. (not counting
developers)

-Andrew

On Fri, Apr 25, 2008 at 11:04 AM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
> I like Matt's idea personally.
>
>  Scott
>
>
>
>  Andrew Robinson wrote:
>
> > So use @agent with the new version support in the skin? FF3, IE8 -
> > rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
> > have never used them)?
> >
> > Would take a long time for people to used these browsers, but it would
> > dramatically increase performance (much less HTML bulk). I am not
> > sure, would like to hear what others think.
> >
> > -Andrew
> >
> > On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Hey Andrew,
> > >
> > >  How about just using the CSS3 rounded corner styles already available
> > >  in Firefox and Safari?  Of course we'd fall back into square corners
> > >  in IE.
> > >
> > >  -Matt
> > >
> > >
> > >
> > >  On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
> > >  <[EMAIL PROTECTED]> wrote:
> > >  > Looking at the many of the renderers for Trinidad components I do not
> > >  >  see a lot of skinning selectors that would enable rounded corners.
> For
> > >  >  example, the panelTabbed has some nice selectors for the tabs, but
> > >  >  only one selector for the body, so it would not be possible to round
> > >  >  the body corners, only the tabs themselves.
> > >  >
> > >  >  Is this something we want to address for the new myfaces skin or
> > >  >  should we just sacrifice LnF for performance at the moment and keep
> > >  >  the corners square and no drop shadows or other nice effects?
> > >  >
> > >  >  -Andrew
> > >  >
> > >
> > >
> > >
> >
>
>


TRINIDAD-359

2008-04-25 Thread Gerhard Petracek
hello,

what's about the suggested approach - is there a special reason for not
using it?

regards,
gerhard

-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Scott O'Bryan

I like Matt's idea personally.

Scott

Andrew Robinson wrote:

So use @agent with the new version support in the skin? FF3, IE8 -
rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
have never used them)?

Would take a long time for people to used these browsers, but it would
dramatically increase performance (much less HTML bulk). I am not
sure, would like to hear what others think.

-Andrew

On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]> wrote:
  

Hey Andrew,

 How about just using the CSS3 rounded corner styles already available
 in Firefox and Safari?  Of course we'd fall back into square corners
 in IE.

 -Matt



 On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
 <[EMAIL PROTECTED]> wrote:
 > Looking at the many of the renderers for Trinidad components I do not
 >  see a lot of skinning selectors that would enable rounded corners. For
 >  example, the panelTabbed has some nice selectors for the tabs, but
 >  only one selector for the body, so it would not be possible to round
 >  the body corners, only the tabs themselves.
 >
 >  Is this something we want to address for the new myfaces skin or
 >  should we just sacrifice LnF for performance at the moment and keep
 >  the corners square and no drop shadows or other nice effects?
 >
 >  -Andrew
 >






Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Andrew Robinson
So use @agent with the new version support in the skin? FF3, IE8 -
rounded - FF2, IE7 squared (I can't speak to Opera and Safari since I
have never used them)?

Would take a long time for people to used these browsers, but it would
dramatically increase performance (much less HTML bulk). I am not
sure, would like to hear what others think.

-Andrew

On Fri, Apr 25, 2008 at 9:38 AM, Matt Cooper <[EMAIL PROTECTED]> wrote:
> Hey Andrew,
>
>  How about just using the CSS3 rounded corner styles already available
>  in Firefox and Safari?  Of course we'd fall back into square corners
>  in IE.
>
>  -Matt
>
>
>
>  On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
>  <[EMAIL PROTECTED]> wrote:
>  > Looking at the many of the renderers for Trinidad components I do not
>  >  see a lot of skinning selectors that would enable rounded corners. For
>  >  example, the panelTabbed has some nice selectors for the tabs, but
>  >  only one selector for the body, so it would not be possible to round
>  >  the body corners, only the tabs themselves.
>  >
>  >  Is this something we want to address for the new myfaces skin or
>  >  should we just sacrifice LnF for performance at the moment and keep
>  >  the corners square and no drop shadows or other nice effects?
>  >
>  >  -Andrew
>  >
>


Re: [Commons] Library Dependencies

2008-04-25 Thread Andrew Robinson
I tried SLF4J for a project and found it better than commons as well.
The pain is that maven has a lot of dependencies with commons logging
and it is a little hard to remove. Apparently 1.1.1 is supposed to
have a better pom file.

On Fri, Apr 25, 2008 at 8:04 AM, Manfred Geiler
<[EMAIL PROTECTED]> wrote:
> +1 for removing any (transient) dependency to commons-logging
>
>  And for logging that myfaces-commons-util classes wanna do themselves
>  I strongly suggest SLF4J!
>
>  --Manfred
>
>
>
>
>  On Thu, Apr 24, 2008 at 8:16 PM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
>  > Hey guys,
>  >
>  >  At the risk of getting hit with tomatoes and all kinds of rotten fruit, I
>  > would like to ask about some of the dependencies for the MyFaces Commons
>  > projects.  IMO the MyFaces commons projects should not carry around an
>  > unnecessary amount of dependencies.  "Provided" dependencies are one thing,
>  > but in general I think that dependencies on the JSF and Servlet should be
>  > just about the extent of it for most libraries.
>  >
>  >  Currently the myfaces-commons-util's has a runtime dependency on the 
> Apache
>  > Commons Logger.  This means that if I'm using the renderkit and the R.I. I
>  > have to also include the logger in my libraries.  I would like to remove
>  > this dependency and either use J2EE logging or standard java logging.
>  > Better yet, we might be able to beef up the contract on the utilities to
>  > throw exceptions and let logging be handled by the parent application.
>  >
>  >  Does anyone concur?  If not, please don't throw any tomatoes at me.  :)
>  >
>  >  Scott
>  >
>
>
>
>  --
>  http://www.irian.at
>  Your JSF powerhouse - JSF Consulting,
>  Development and Courses in English and
>  German
>
>  Professional Support for Apache MyFaces
>


Re: [Trinidad] Skinning and rounded corners

2008-04-25 Thread Matt Cooper
Hey Andrew,

How about just using the CSS3 rounded corner styles already available
in Firefox and Safari?  Of course we'd fall back into square corners
in IE.

-Matt

On Thu, Apr 24, 2008 at 6:13 PM, Andrew Robinson
<[EMAIL PROTECTED]> wrote:
> Looking at the many of the renderers for Trinidad components I do not
>  see a lot of skinning selectors that would enable rounded corners. For
>  example, the panelTabbed has some nice selectors for the tabs, but
>  only one selector for the body, so it would not be possible to round
>  the body corners, only the tabs themselves.
>
>  Is this something we want to address for the new myfaces skin or
>  should we just sacrifice LnF for performance at the moment and keep
>  the corners square and no drop shadows or other nice effects?
>
>  -Andrew
>


[jira] Updated: (TOBAGO-654) Alignment for tc:cell

2008-04-25 Thread Helmut Swaczinna (JIRA)

 [ 
https://issues.apache.org/jira/browse/TOBAGO-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Helmut Swaczinna updated TOBAGO-654:


Status: Patch Available  (was: Open)

> Alignment for tc:cell
> -
>
> Key: TOBAGO-654
> URL: https://issues.apache.org/jira/browse/TOBAGO-654
> Project: MyFaces Tobago
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 1.0.17
> Environment: All
>Reporter: Helmut Swaczinna
>Priority: Minor
> Attachments: TOBAGO-654.diff
>
>
> Alignment attributes (align, valign) for tc:cell are very usefull to have. 
> Example:
>   
>   
>rows="*;*;*;*" columns="*;*;*;*"/>
> 
>   
> 
>   
>   
> 
>   
>   
> 
>   
>   
> 
>   
>   
>   
> 
>   
>   
> 
>   
>   
> 
>   
>   
> 
>   
>   
>   
> 
>   
>   
> 
>   
>   
> 
>   
>   
> 
>   
>   
>   
> 
>   
>   
> 
>   
>   
> 
>   
>   
> 
>   
>   
> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TOBAGO-654) Alignment for tc:cell

2008-04-25 Thread Helmut Swaczinna (JIRA)
Alignment for tc:cell
-

 Key: TOBAGO-654
 URL: https://issues.apache.org/jira/browse/TOBAGO-654
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Core
Affects Versions: 1.0.17
 Environment: All
Reporter: Helmut Swaczinna
Priority: Minor


Alignment attributes (align, valign) for tc:cell are very usefull to have. 
Example:

  
  


  

  
  

  
  

  
  

  
  
  

  
  

  
  

  
  

  
  
  

  
  

  
  

  
  

  
  
  

  
  

  
  

  
  

  
  


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (MYFACES-1691) beforeUnload event handler breaks form submission

2008-04-25 Thread Michael . Mesiti
Here is an interim solution using javascript. 

As written, it requires the "prototype" framework 
(http://www.prototypejs.org/), but can be re-written to work without it.


//
// submitting/leaving this screen (beforeUnload event)
//
function changesWillBeLostWarningHandler(e) {
e.returnValue = "If you have not saved your changes, they will be 
lost.";
return false;
}
Event.observe(window, 'load', function() {
Event.observe(window, 'beforeunload', 
changesWillBeLostWarningHandler);
});
Event.observe(window, 'load', function() {
// bug patch to myFaces JSF where beforeunload doesn't 
work correctly with oamSubmitForm method
if(oamSubmitForm !== undefined && oamSubmitForm instanceof 
Function) {
// retain original version of the oamSubmitForm 
function
originalOamSubmitForm = oamSubmitForm;

// wrap the original version of the oamSubmitForm 
function with a try catch block
oamSubmitForm = function() {
try {
// calling oamSubmitForm(formName, 
linkId, target, params)
originalOamSubmitForm.apply(this, 
arguments);
} catch(e) { 
// ignore exception when CANCEL 
button is clicked
}
}
}
});

Re: [Commons] Library Dependencies

2008-04-25 Thread Manfred Geiler
+1 for removing any (transient) dependency to commons-logging

And for logging that myfaces-commons-util classes wanna do themselves
I strongly suggest SLF4J!

--Manfred


On Thu, Apr 24, 2008 at 8:16 PM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
>  At the risk of getting hit with tomatoes and all kinds of rotten fruit, I
> would like to ask about some of the dependencies for the MyFaces Commons
> projects.  IMO the MyFaces commons projects should not carry around an
> unnecessary amount of dependencies.  "Provided" dependencies are one thing,
> but in general I think that dependencies on the JSF and Servlet should be
> just about the extent of it for most libraries.
>
>  Currently the myfaces-commons-util's has a runtime dependency on the Apache
> Commons Logger.  This means that if I'm using the renderkit and the R.I. I
> have to also include the logger in my libraries.  I would like to remove
> this dependency and either use J2EE logging or standard java logging.
> Better yet, we might be able to beef up the contract on the utilities to
> throw exceptions and let logging be handled by the parent application.
>
>  Does anyone concur?  If not, please don't throw any tomatoes at me.  :)
>
>  Scott
>



-- 
http://www.irian.at
Your JSF powerhouse - JSF Consulting,
Development and Courses in English and
German

Professional Support for Apache MyFaces


Re: [Tobago] Merging maven-apt-plugin with Codehaus'

2008-04-25 Thread Mark Hobson
P.S. I meant to say that the only major change since
1.0-alpha-2-SNAPSHOT is that I've renamed the goals to align with apt
itself:

* apt:execute -> apt:process
* apt:test-execute -> apt:test-process

Cheers,

Mark

On 25/04/2008, Mark Hobson <[EMAIL PROTECTED]> wrote:
> Hi Bernd,
>
>  I've just released apt-maven-plugin 1.0-alpha-2:
>
>  http://repo1.maven.org/maven2/org/codehaus/mojo/apt-maven-plugin/1.0-alpha-2/
>
>  The documentation has been brought up-to-date:
>
>
>  http://mojo.codehaus.org/apt-maven-plugin/
>
>
> Feel free to move any apt-related issues from Tobago's JIRA to Mojo's:
>
>  http://jira.codehaus.org/browse/MOJO/component/13192
>
>  I hope this allows you to migrate successfully to this plugin, let me
>  know if you have any problems.  Probably best to use the Mojo JIRA or
>  [EMAIL PROTECTED] in future since I'll be unsubscribing from this
>  list (too many mailing lists!).
>
>  Thanks for all your feedback,
>
>
>  Mark
>
>
>  On 21/04/2008, Mark Hobson <[EMAIL PROTECTED]> wrote:
>  > Hi Bernd,
>  >
>  >  Cool!  I can start a vote to release 1.0-alpha-2 now that it's working
>  >  fine for you guys and myself.  I'll let you know how it goes.
>  >
>  >  Cheers,
>  >
>  >
>  >  Mark
>  >
>  >
>  >  On 18/04/2008, Bernd Bohmann <[EMAIL PROTECTED]> wrote:
>  >  > Hello Mark,
>  >  >
>  >  >  I found no issues with 1.0-alpha-2-SNAPSHOT and the tobago build.
>  >  >  When you will release the 1.0-alpha-2-SNAPSHOT version?
>  >  >
>  >  >  Regards
>  >  >
>  >  >  Bernd
>  >  >
>  >  >
>  >  >  Bernd Bohmann schrieb:
>  >  >
>  >  > > Hello Mark,
>  >  >  >
>  >  >  > I changed a local tobago version to use the apt-maven-plugin.
>  >  >  > I think everything is fine with the new plugin. In a few days I will
>  >  >  > commit the changed build to trunk.
>  >  >  >
>  >  >  > Regard
>  >  >  >
>  >  >  > Bernd
>  >  >  >
>  >  >  >
>  >  >  >
>  >  >  > Mark Hobson schrieb:
>  >  >  >> Just to let you know, the Codehaus apt-maven-plugin has graduated 
> out
>  >  >  >> of the sandbox and changed version.  It is now located at:
>  >  >  >>
>  >  >  >> http://svn.codehaus.org/mojo/trunk/mojo/apt-maven-plugin/
>  >  >  >>
>  >  >  >> And the version is now 1.0-alpha-2-SNAPSHOT, which is deployed here:
>  >  >  >>
>  >  >  >> 
> http://snapshots.repository.codehaus.org/org/codehaus/mojo/apt-maven-plugin/1.0-alpha-2-SNAPSHOT/
>  >  >  >>
>  >  >  >> Did you have a chance to try the plugin with the Tobago build over
>  >  >  >> ApacheCon?  I'd be interested in any feedback before 1.0-alpha-2 is
>  >  >  >> released.
>  >  >  >>
>  >  >  >> Cheers,
>  >  >  >>
>  >  >  >> Mark
>  >  >  >>
>  >  >  >> On 04/04/2008, Mark Hobson <[EMAIL PROTECTED]> wrote:
>  >  >  >>> Great, I'll looking forward to hearing back from you then.
>  >  >  >>>
>  >  >  >>>  Cheers,
>  >  >  >>>
>  >  >  >>>
>  >  >  >>>  Mark
>  >  >  >>>
>  >  >  >>>
>  >  >  >>>  On 04/04/2008, Bernd Bohmann <[EMAIL PROTECTED]> wrote:
>  >  >  >>>  > Hello Mark,
>  >  >  >>>  >
>  >  >  >>>  >  during the ApacheCon Europe next week I can spend some time to 
> test the
>  >  >  >>>  >  plugin with the tobago build.
>  >  >  >>>  >
>  >  >  >>>  >  Regards
>  >  >  >>>  >
>  >  >  >>>  >
>  >  >  >>>  >
>  >  >  >>>  >  Bernd
>  >  >  >>>  >
>  >  >  >>>  >
>  >  >  >>>  >
>  >  >  >>>
>  >  >  >
>  >  >
>  >
>


Re: [Tobago] Merging maven-apt-plugin with Codehaus'

2008-04-25 Thread Mark Hobson
Hi Bernd,

I've just released apt-maven-plugin 1.0-alpha-2:

http://repo1.maven.org/maven2/org/codehaus/mojo/apt-maven-plugin/1.0-alpha-2/

The documentation has been brought up-to-date:

http://mojo.codehaus.org/apt-maven-plugin/

Feel free to move any apt-related issues from Tobago's JIRA to Mojo's:

http://jira.codehaus.org/browse/MOJO/component/13192

I hope this allows you to migrate successfully to this plugin, let me
know if you have any problems.  Probably best to use the Mojo JIRA or
[EMAIL PROTECTED] in future since I'll be unsubscribing from this
list (too many mailing lists!).

Thanks for all your feedback,

Mark

On 21/04/2008, Mark Hobson <[EMAIL PROTECTED]> wrote:
> Hi Bernd,
>
>  Cool!  I can start a vote to release 1.0-alpha-2 now that it's working
>  fine for you guys and myself.  I'll let you know how it goes.
>
>  Cheers,
>
>
>  Mark
>
>
>  On 18/04/2008, Bernd Bohmann <[EMAIL PROTECTED]> wrote:
>  > Hello Mark,
>  >
>  >  I found no issues with 1.0-alpha-2-SNAPSHOT and the tobago build.
>  >  When you will release the 1.0-alpha-2-SNAPSHOT version?
>  >
>  >  Regards
>  >
>  >  Bernd
>  >
>  >
>  >  Bernd Bohmann schrieb:
>  >
>  > > Hello Mark,
>  >  >
>  >  > I changed a local tobago version to use the apt-maven-plugin.
>  >  > I think everything is fine with the new plugin. In a few days I will
>  >  > commit the changed build to trunk.
>  >  >
>  >  > Regard
>  >  >
>  >  > Bernd
>  >  >
>  >  >
>  >  >
>  >  > Mark Hobson schrieb:
>  >  >> Just to let you know, the Codehaus apt-maven-plugin has graduated out
>  >  >> of the sandbox and changed version.  It is now located at:
>  >  >>
>  >  >> http://svn.codehaus.org/mojo/trunk/mojo/apt-maven-plugin/
>  >  >>
>  >  >> And the version is now 1.0-alpha-2-SNAPSHOT, which is deployed here:
>  >  >>
>  >  >> 
> http://snapshots.repository.codehaus.org/org/codehaus/mojo/apt-maven-plugin/1.0-alpha-2-SNAPSHOT/
>  >  >>
>  >  >> Did you have a chance to try the plugin with the Tobago build over
>  >  >> ApacheCon?  I'd be interested in any feedback before 1.0-alpha-2 is
>  >  >> released.
>  >  >>
>  >  >> Cheers,
>  >  >>
>  >  >> Mark
>  >  >>
>  >  >> On 04/04/2008, Mark Hobson <[EMAIL PROTECTED]> wrote:
>  >  >>> Great, I'll looking forward to hearing back from you then.
>  >  >>>
>  >  >>>  Cheers,
>  >  >>>
>  >  >>>
>  >  >>>  Mark
>  >  >>>
>  >  >>>
>  >  >>>  On 04/04/2008, Bernd Bohmann <[EMAIL PROTECTED]> wrote:
>  >  >>>  > Hello Mark,
>  >  >>>  >
>  >  >>>  >  during the ApacheCon Europe next week I can spend some time to 
> test the
>  >  >>>  >  plugin with the tobago build.
>  >  >>>  >
>  >  >>>  >  Regards
>  >  >>>  >
>  >  >>>  >
>  >  >>>  >
>  >  >>>  >  Bernd
>  >  >>>  >
>  >  >>>  >
>  >  >>>  >
>  >  >>>
>  >  >
>  >
>


RE: new name for sev-en

2008-04-25 Thread Jesse Alexander (KSFH 336)



we are getting side-tracked...
let's find a name within this thread! :)



validation ? 
->
myfaces-commons-validation
myfaces-commons-validation-annotations (was -validation)
myfaces-commons-validation-jsr303(was bean-validation)
 
 
kind regards
Alexander
 


Re: Problem with tomahawk sample executing from websphere Need Help

2008-04-25 Thread Gerald Müllan
>  Hmm..I'm quite surprised that the approach documented for Websphere6.1
>  works (just using "parent last" order).

Well, that`s the point. I think it didn`t work for me. I had to invest
some time in order
to get it to work another way - quite a hack.

But i left the wiki like this, others told that the approach mentioned
there was ok.

regards,

Gerald


Re: Problem with tomahawk sample executing from websphere Need Help

2008-04-25 Thread [EMAIL PROTECTED]
Gerald Müllan schrieb:
> Hi,
>
> see also:
>
> http://wiki.apache.org/myfaces/Websphere_Installation
>
> >From my experience it is not that easy to remove the RI, but wish you good 
> >luck.
>
> Apart from this, please ask such kind of questions on the user list,
> this list is for developer discussions only.
>   

Hmm..I'm quite surprised that the approach documented for Websphere6.1
works (just using "parent last" order).

JSF looks for a faces-config.xml file in every jar in the classpath, and
runs them all. So with this setup, it will run the one from the default
JSF impl (Mojarra) *as well* as the one from MyFaces. That doesn't sound
healthy to me. But the page says it works, so ...



Re: Problem with tomahawk sample executing from websphere Need Help

2008-04-25 Thread Gerald Müllan
Hi,

see also:

http://wiki.apache.org/myfaces/Websphere_Installation

>From my experience it is not that easy to remove the RI, but wish you good 
>luck.

Apart from this, please ask such kind of questions on the user list,
this list is for developer discussions only.

cheers,

Gerald

-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: Problem with tomahawk sample executing from websphere Need Help

2008-04-25 Thread [EMAIL PROTECTED]
Nutulapati, Krishna schrieb:
>
> Hello All,
>  
> . I executed one of the tomahawk sample  from tomcat which is working
> fine, but getting following error in the console.with websphere,and
> seeing just a blank screen from browser.
>
>
> 4/24/08 17:35:59:135 CDT] 001e MyfacesConfig E
> org.apache.commons.logging.impl.Jdk14Logger error Both MyFaces and the
> RI are on your classpath. Please make sure to use only one of the two
> JSF-implementations.
>
> The following wing are exact jar files I'm using. I did n't find where
> I'm using 2 implementations of JSF. Can I have any suggestions? I
> indeed appreciate your early response. Does websphere not support
> tomahawk? I'm using jdk 5.0,websphere 6.1 . I did n't find any java
> compilation errors in RAD though. Thanks
>

Websphere (and other containers) have a directory of "common" jars that
are visible to all webapps/ j2ee apps. I don't know exactly what the
directory is called for websphere, but in a plain Tomcat container the
jars are in
  $base/lib

You will need to remove the jsf-api.jar and jsf-impl.jar files from that
directory. Of course that will affect any other jsf applications that
run in the same websphere installation. Ideally, containers would have a
config option that could be used to select which of the "common" jars
should be visible to apps running in the container, but AFAIK no
container provides that option. Just selecting "child-first"
classloading order is not sufficient unfortunately.

Regards,
Simon