You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by ch...@gmail.com on 2005/12/22 23:21:06 UTC

Proposal: x:panelTabbedPane changes

I'm looking at some enhancements to panelTabbedPane and want to run them by
the list before I do the work.

1.  add ability to shut off the include of the default style sheet.

<x:panelTabbedPane ... includeDefaultStyles="false" >

The default for the attribute would be true.  Is there another example of
this sort of functionality in Tomahawk
that I could pattern this after?

2.  add ability to modify the generated internal style names by allowing the
user to specify a
prefix.  This would involved adding an attribute:

<x:panelTabbedPane ... styleClassPrefix="my_application_" >

The default here would be "myFaces_panelTabbedPane_" which matches the
default style sheet.

3.  Update the value bound to selectedIndex when a tab is selected.

Thoughts?

Steve Peterson

Re: Proposal: x:panelTabbedPane changes

Posted by Martin Marinschek <ma...@gmail.com>.
for 2:

yes, but can we call it 'theme' - that would go with the method used
on other components.

for 3:

sounds good to me!

regards,

Martin

On 12/23/05, Martin Marinschek <ma...@gmail.com> wrote:
> for 1:
>
> we generally use the styleLocation, imageLocation and scriptLocation
> attributes to point to resources for components... with this, the user
> can change from which directory the files are read.
>
> the inputCalendar component additionally has a central switch:
> "addResources" will disable serving out resources at all.
>
> regards,
>
> Martin
>
> On 12/22/05, chemeia@gmail.com <ch...@gmail.com> wrote:
> > I'm looking at some enhancements to panelTabbedPane and want to run them by
> > the list before I do the work.
> >
> > 1.  add ability to shut off the include of the default style sheet.
> >
> > <x:panelTabbedPane ... includeDefaultStyles="false" >
> >
> > The default for the attribute would be true.  Is there another example of
> > this sort of functionality in Tomahawk
> > that I could pattern this after?
> >
> > 2.  add ability to modify the generated internal style names by allowing the
> > user to specify a
> > prefix.  This would involved adding an attribute:
> >
> > <x:panelTabbedPane ... styleClassPrefix="my_application_" >
> >
> > The default here would be "myFaces_panelTabbedPane_" which matches the
> > default style sheet.
> >
> > 3.  Update the value bound to selectedIndex when a tab is selected.
> >
> > Thoughts?
> >
> > Steve Peterson
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>


--

http://www.irian.at

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

Professional Support for Apache MyFaces

Re: Proposal: x:panelTabbedPane changes

Posted by Martin Marinschek <ma...@gmail.com>.
for 1:

we generally use the styleLocation, imageLocation and scriptLocation
attributes to point to resources for components... with this, the user
can change from which directory the files are read.

the inputCalendar component additionally has a central switch:
"addResources" will disable serving out resources at all.

regards,

Martin

On 12/22/05, chemeia@gmail.com <ch...@gmail.com> wrote:
> I'm looking at some enhancements to panelTabbedPane and want to run them by
> the list before I do the work.
>
> 1.  add ability to shut off the include of the default style sheet.
>
> <x:panelTabbedPane ... includeDefaultStyles="false" >
>
> The default for the attribute would be true.  Is there another example of
> this sort of functionality in Tomahawk
> that I could pattern this after?
>
> 2.  add ability to modify the generated internal style names by allowing the
> user to specify a
> prefix.  This would involved adding an attribute:
>
> <x:panelTabbedPane ... styleClassPrefix="my_application_" >
>
> The default here would be "myFaces_panelTabbedPane_" which matches the
> default style sheet.
>
> 3.  Update the value bound to selectedIndex when a tab is selected.
>
> Thoughts?
>
> Steve Peterson
>


--

http://www.irian.at

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

Professional Support for Apache MyFaces