You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2010/01/08 07:01:21 UTC

Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Hi Catalin et al,

as promised, I hijacked the thread...

thanks again for contributing this skin to Trinidad.

The following tasks are needed:
-A JIRA ticket that contains the patch(es)
 - for the Skin itself
 - for the GREAT demo
=> maybe a software grant is needed; If so, I will handle the
paperwork stuff for you guys.

Once the things above are sorted out, we can apply it to TRUNK.
However, I'd like to do a RELEASE before we integrate the new
Skin/Demo.
I also don't mind to pretty much do a "sub-release" once the new stuff
is in. (With maven, release are not expensive)

Thanks,
Matthias

On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
<ca...@gmail.com> wrote:
> Hello there,
> I have the pleasure to inform you about the work we did to develop a new
> skin for Trinidad and based on this a brand new, Trinidad components
> showcase application. You can see it all in action at [1]. It is still a
> working in progress, in advanced state though...i mean there is always
> something to be improved; nevertheless we would like to donate the new skin
> and the new demo application to the MyFaces community, in its current state,
> and continue there if you guys agree.
> Many thanks go to my collegue Adonis who has put a lot of effort into
> designing and implementing the new skin called 'Casablanca'. I'm sure he can
> give you more details as needed about how the process went.
>
> A few words about the new demo:
>
>  first of all, many thanks to another collegue of mine, Cosmin, for his
> continuos efforts with this.
> the demo is working only with facelets (there is no jsp version)
> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
> we tryied to build it so it can be searched online also, currently tryied
> with Google Custom Search, but this didn't work out so smoothly so far. In
> any case, that's the reason for the pretty urls used. (so, no point in
> trying the search currently as it doesn't work).
> in general, it replicates the examples available already for Trinidad in the
> existing demo, in someplaces slightly improved.
> it tryies to provide a platform on which to build much more demos as
> required as there can be always new ideas about demoing a meaningfull use
> case on Trinidad, or some component behaviour.
>
> I'm eager to get your reactions, I think these guys did a great job so far
> and this would bring Trinidad at least a few steps closer to a more
> appealing and user friendly component set.
> regards,
> Catalin
> [1] http://example.irian.at/trinidad-showcase-casablanca
> ------------
> Codebeat
> www.codebeat.ro
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Matthias Wessendorf <ma...@apache.org>.
On Wed, Jan 13, 2010 at 9:50 AM, Catalin Kormos
<ca...@gmail.com> wrote:
> Ok, let's make then the Casablanca skin the default one; I will ask
> Adonis to prepare a zip with the Casablanca files and open the
> corresponding JIRA ticket for the donation.

awesome.

> Do you know if there is
> any paper work to be done for him?

let him fax the icla (fax # is included):
http://apache.org/licenses/icla.txt

Does Codebeat / Irian have a CCLA ?
If so, please add him, as it is for his own safety...
http://apache.org/licenses/cla-corporate.txt


Regarding the software grant, once the JIRA is there, I will follow up
with the Incubator PMC

-Matthias

>
> On 1/13/10, Matthias Wessendorf <ma...@apache.org> wrote:
>> On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
>> <ca...@gmail.com> wrote:
>>> Hi,
>>> Was wondering if it would be possible to package a skin in its own jar
>>> file,
>>
>> yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/
>>
>>> so that we wouldn't need to package the skin witht the actual webapp that
>>> uses it, so that we could start having separate modules for skins?
>>
>> in theory yes.
>>
>>> it would
>>> make sense for the new Casablanca skin IMHO. What do you think?
>>
>> I think we should make the new Casablance skin the default;
>> the old skin we can place into a "skinning module"
>>
>> /trinidad-skins
>>  -/old-and-ugly-green-skin
>> :-)
>>
>>> About packaging skins, it seems possible, but I have a question:
>>>   - for example in the skin's css file, if background image urls are
>>> specified, for example, with a property "background: white
>>> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
>>> repeat-x bottom left;" this will work also when the images are packaged in
>>> a
>>> jar available in the classpath, but only if the Trinidad Resource Servlet
>>> is
>>> mapped to /adf/*; what happens if the servlet is mapped to another url
>>> pattern? is there another approach, mapping independent, or are we stuck
>>> with /adf?
>>
>> I think we are stuck with the (odd) /adf
>>
>> Regarding its refactoring, I think it takes quite a while and maybe
>> error-prone.
>> Jeanne may know more on that item.
>>
>>
>> -Matthias
>>
>>>
>>> regards,
>>> Catalin
>>> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos <ca...@gmail.com>
>>> wrote:
>>>>
>>>> Ok, sounds good.
>>>>
>>>> regards,
>>>> Cata
>>>>
>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>>> > once the JIRA is up, I will ping general@incubator.a.o regarding the
>>>> > software grant
>>>> > Note: this is only discussed at the incubator committee, but no
>>>> > incubation for that piece is
>>>> > needed. Maybe (only) a software grant.
>>>> >
>>>> > -M
>>>> >
>>>> > On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
>>>> > <ca...@gmail.com> wrote:
>>>> >> Hey Matthias,
>>>> >>
>>>> >> Great :), we'll look into the tasks you mentioned.
>>>> >>
>>>> >> regards,
>>>> >> Catalin
>>>> >>
>>>> >> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>>> >>> Hi Catalin et al,
>>>> >>>
>>>> >>> as promised, I hijacked the thread...
>>>> >>>
>>>> >>> thanks again for contributing this skin to Trinidad.
>>>> >>>
>>>> >>> The following tasks are needed:
>>>> >>> -A JIRA ticket that contains the patch(es)
>>>> >>>  - for the Skin itself
>>>> >>>  - for the GREAT demo
>>>> >>> => maybe a software grant is needed; If so, I will handle the
>>>> >>> paperwork stuff for you guys.
>>>> >>>
>>>> >>> Once the things above are sorted out, we can apply it to TRUNK.
>>>> >>> However, I'd like to do a RELEASE before we integrate the new
>>>> >>> Skin/Demo.
>>>> >>> I also don't mind to pretty much do a "sub-release" once the new
>>>> >>> stuff
>>>> >>> is in. (With maven, release are not expensive)
>>>> >>>
>>>> >>> Thanks,
>>>> >>> Matthias
>>>> >>>
>>>> >>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>>>> >>> <ca...@gmail.com> wrote:
>>>> >>>> Hello there,
>>>> >>>> I have the pleasure to inform you about the work we did to develop a
>>>> >>>> new
>>>> >>>> skin for Trinidad and based on this a brand new, Trinidad components
>>>> >>>> showcase application. You can see it all in action at [1]. It is
>>>> >>>> still a
>>>> >>>> working in progress, in advanced state though...i mean there is
>>>> >>>> always
>>>> >>>> something to be improved; nevertheless we would like to donate the
>>>> >>>> new
>>>> >>>> skin
>>>> >>>> and the new demo application to the MyFaces community, in its
>>>> >>>> current
>>>> >>>> state,
>>>> >>>> and continue there if you guys agree.
>>>> >>>> Many thanks go to my collegue Adonis who has put a lot of effort
>>>> >>>> into
>>>> >>>> designing and implementing the new skin called 'Casablanca'. I'm
>>>> >>>> sure
>>>> >>>> he
>>>> >>>> can
>>>> >>>> give you more details as needed about how the process went.
>>>> >>>>
>>>> >>>> A few words about the new demo:
>>>> >>>>
>>>> >>>>  first of all, many thanks to another collegue of mine, Cosmin, for
>>>> >>>> his
>>>> >>>> continuos efforts with this.
>>>> >>>> the demo is working only with facelets (there is no jsp version)
>>>> >>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>>>> >>>> we tryied to build it so it can be searched online also, currently
>>>> >>>> tryied
>>>> >>>> with Google Custom Search, but this didn't work out so smoothly so
>>>> >>>> far.
>>>> >>>> In
>>>> >>>> any case, that's the reason for the pretty urls used. (so, no point
>>>> >>>> in
>>>> >>>> trying the search currently as it doesn't work).
>>>> >>>> in general, it replicates the examples available already for
>>>> >>>> Trinidad
>>>> >>>> in
>>>> >>>> the
>>>> >>>> existing demo, in someplaces slightly improved.
>>>> >>>> it tryies to provide a platform on which to build much more demos as
>>>> >>>> required as there can be always new ideas about demoing a
>>>> >>>> meaningfull
>>>> >>>> use
>>>> >>>> case on Trinidad, or some component behaviour.
>>>> >>>>
>>>> >>>> I'm eager to get your reactions, I think these guys did a great job
>>>> >>>> so
>>>> >>>> far
>>>> >>>> and this would bring Trinidad at least a few steps closer to a more
>>>> >>>> appealing and user friendly component set.
>>>> >>>> regards,
>>>> >>>> Catalin
>>>> >>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>>>> >>>> ------------
>>>> >>>> Codebeat
>>>> >>>> www.codebeat.ro
>>>> >>>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> --
>>>> >>> Matthias Wessendorf
>>>> >>>
>>>> >>> blog: http://matthiaswessendorf.wordpress.com/
>>>> >>> sessions: http://www.slideshare.net/mwessendorf
>>>> >>> twitter: http://twitter.com/mwessendorf
>>>> >>>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> ------------
>>>> >> Codebeat
>>>> >> www.codebeat.ro
>>>> >>
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Matthias Wessendorf
>>>> >
>>>> > blog: http://matthiaswessendorf.wordpress.com/
>>>> > sessions: http://www.slideshare.net/mwessendorf
>>>> > twitter: http://twitter.com/mwessendorf
>>>> >
>>>>
>>>>
>>>> --
>>>> ------------
>>>> Codebeat
>>>> www.codebeat.ro
>>>
>>>
>>>
>>> --
>>> ------------
>>> Codebeat
>>> www.codebeat.ro
>>>
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>
>
> --
> ------------
> Codebeat
> www.codebeat.ro
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Catalin Kormos <ca...@gmail.com>.
Ok, let's make then the Casablanca skin the default one; I will ask
Adonis to prepare a zip with the Casablanca files and open the
corresponding JIRA ticket for the donation. Do you know if there is
any paper work to be done for him?

On 1/13/10, Matthias Wessendorf <ma...@apache.org> wrote:
> On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
> <ca...@gmail.com> wrote:
>> Hi,
>> Was wondering if it would be possible to package a skin in its own jar
>> file,
>
> yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/
>
>> so that we wouldn't need to package the skin witht the actual webapp that
>> uses it, so that we could start having separate modules for skins?
>
> in theory yes.
>
>> it would
>> make sense for the new Casablanca skin IMHO. What do you think?
>
> I think we should make the new Casablance skin the default;
> the old skin we can place into a "skinning module"
>
> /trinidad-skins
>  -/old-and-ugly-green-skin
> :-)
>
>> About packaging skins, it seems possible, but I have a question:
>>   - for example in the skin's css file, if background image urls are
>> specified, for example, with a property "background: white
>> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
>> repeat-x bottom left;" this will work also when the images are packaged in
>> a
>> jar available in the classpath, but only if the Trinidad Resource Servlet
>> is
>> mapped to /adf/*; what happens if the servlet is mapped to another url
>> pattern? is there another approach, mapping independent, or are we stuck
>> with /adf?
>
> I think we are stuck with the (odd) /adf
>
> Regarding its refactoring, I think it takes quite a while and maybe
> error-prone.
> Jeanne may know more on that item.
>
>
> -Matthias
>
>>
>> regards,
>> Catalin
>> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos <ca...@gmail.com>
>> wrote:
>>>
>>> Ok, sounds good.
>>>
>>> regards,
>>> Cata
>>>
>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>> > once the JIRA is up, I will ping general@incubator.a.o regarding the
>>> > software grant
>>> > Note: this is only discussed at the incubator committee, but no
>>> > incubation for that piece is
>>> > needed. Maybe (only) a software grant.
>>> >
>>> > -M
>>> >
>>> > On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
>>> > <ca...@gmail.com> wrote:
>>> >> Hey Matthias,
>>> >>
>>> >> Great :), we'll look into the tasks you mentioned.
>>> >>
>>> >> regards,
>>> >> Catalin
>>> >>
>>> >> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>> >>> Hi Catalin et al,
>>> >>>
>>> >>> as promised, I hijacked the thread...
>>> >>>
>>> >>> thanks again for contributing this skin to Trinidad.
>>> >>>
>>> >>> The following tasks are needed:
>>> >>> -A JIRA ticket that contains the patch(es)
>>> >>>  - for the Skin itself
>>> >>>  - for the GREAT demo
>>> >>> => maybe a software grant is needed; If so, I will handle the
>>> >>> paperwork stuff for you guys.
>>> >>>
>>> >>> Once the things above are sorted out, we can apply it to TRUNK.
>>> >>> However, I'd like to do a RELEASE before we integrate the new
>>> >>> Skin/Demo.
>>> >>> I also don't mind to pretty much do a "sub-release" once the new
>>> >>> stuff
>>> >>> is in. (With maven, release are not expensive)
>>> >>>
>>> >>> Thanks,
>>> >>> Matthias
>>> >>>
>>> >>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>>> >>> <ca...@gmail.com> wrote:
>>> >>>> Hello there,
>>> >>>> I have the pleasure to inform you about the work we did to develop a
>>> >>>> new
>>> >>>> skin for Trinidad and based on this a brand new, Trinidad components
>>> >>>> showcase application. You can see it all in action at [1]. It is
>>> >>>> still a
>>> >>>> working in progress, in advanced state though...i mean there is
>>> >>>> always
>>> >>>> something to be improved; nevertheless we would like to donate the
>>> >>>> new
>>> >>>> skin
>>> >>>> and the new demo application to the MyFaces community, in its
>>> >>>> current
>>> >>>> state,
>>> >>>> and continue there if you guys agree.
>>> >>>> Many thanks go to my collegue Adonis who has put a lot of effort
>>> >>>> into
>>> >>>> designing and implementing the new skin called 'Casablanca'. I'm
>>> >>>> sure
>>> >>>> he
>>> >>>> can
>>> >>>> give you more details as needed about how the process went.
>>> >>>>
>>> >>>> A few words about the new demo:
>>> >>>>
>>> >>>>  first of all, many thanks to another collegue of mine, Cosmin, for
>>> >>>> his
>>> >>>> continuos efforts with this.
>>> >>>> the demo is working only with facelets (there is no jsp version)
>>> >>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>>> >>>> we tryied to build it so it can be searched online also, currently
>>> >>>> tryied
>>> >>>> with Google Custom Search, but this didn't work out so smoothly so
>>> >>>> far.
>>> >>>> In
>>> >>>> any case, that's the reason for the pretty urls used. (so, no point
>>> >>>> in
>>> >>>> trying the search currently as it doesn't work).
>>> >>>> in general, it replicates the examples available already for
>>> >>>> Trinidad
>>> >>>> in
>>> >>>> the
>>> >>>> existing demo, in someplaces slightly improved.
>>> >>>> it tryies to provide a platform on which to build much more demos as
>>> >>>> required as there can be always new ideas about demoing a
>>> >>>> meaningfull
>>> >>>> use
>>> >>>> case on Trinidad, or some component behaviour.
>>> >>>>
>>> >>>> I'm eager to get your reactions, I think these guys did a great job
>>> >>>> so
>>> >>>> far
>>> >>>> and this would bring Trinidad at least a few steps closer to a more
>>> >>>> appealing and user friendly component set.
>>> >>>> regards,
>>> >>>> Catalin
>>> >>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>>> >>>> ------------
>>> >>>> Codebeat
>>> >>>> www.codebeat.ro
>>> >>>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> Matthias Wessendorf
>>> >>>
>>> >>> blog: http://matthiaswessendorf.wordpress.com/
>>> >>> sessions: http://www.slideshare.net/mwessendorf
>>> >>> twitter: http://twitter.com/mwessendorf
>>> >>>
>>> >>
>>> >>
>>> >> --
>>> >> ------------
>>> >> Codebeat
>>> >> www.codebeat.ro
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Matthias Wessendorf
>>> >
>>> > blog: http://matthiaswessendorf.wordpress.com/
>>> > sessions: http://www.slideshare.net/mwessendorf
>>> > twitter: http://twitter.com/mwessendorf
>>> >
>>>
>>>
>>> --
>>> ------------
>>> Codebeat
>>> www.codebeat.ro
>>
>>
>>
>> --
>> ------------
>> Codebeat
>> www.codebeat.ro
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>


-- 
------------
Codebeat
www.codebeat.ro

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Matt Cooper <mc...@apache.org>.
On Wed, Jan 13, 2010 at 10:19 AM, Matthias Wessendorf <ma...@apache.org>wrote:

> On Wed, Jan 13, 2010 at 6:14 PM, Matt Cooper <mc...@apache.org> wrote:
> > Rather than having the casablanca skin as a separate jar file, I would
> > prefer to see it built-into the Trinidad jars (part of the impl project)
> so
> > consumers could use it out-of-the-box without any extra jar
> configuration.
>
> I want it to become default :-)
>

Even better :)

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Matthias Wessendorf <ma...@apache.org>.
that's great news!

On Wed, Jan 13, 2010 at 9:18 PM, Catalin Kormos
<ca...@gmail.com> wrote:
> Sure thing, +1 from me also, we'll look into it asap. I have
> my colleagues submitting their ICLAs and the code is coming in the next
> days.
> regards,
> Catalin
>
> On Wed, Jan 13, 2010 at 9:29 PM, Gerhard Petracek
> <ge...@gmail.com> wrote:
>>
>> +1
>> regards,
>> gerhard
>>
>> http://www.irian.at
>>
>> Your JSF powerhouse -
>> JSF Consulting, Development and
>> Courses in English and German
>>
>> Professional Support for Apache MyFaces
>>
>>
>> 2010/1/13 Matthias Wessendorf <ma...@apache.org>
>>>
>>> On Wed, Jan 13, 2010 at 6:14 PM, Matt Cooper <mc...@apache.org> wrote:
>>> > Rather than having the casablanca skin as a separate jar file, I would
>>> > prefer to see it built-into the Trinidad jars (part of the impl
>>> > project) so
>>> > consumers could use it out-of-the-box without any extra jar
>>> > configuration.
>>>
>>> I want it to become default :-)
>>>
>>> >
>>> > Regards,
>>> > Matt
>>> >
>>> > On Wed, Jan 13, 2010 at 10:02 AM, Catalin Kormos
>>> > <ca...@gmail.com>
>>> > wrote:
>>> >>
>>> >> Hi Jeanne,
>>> >>
>>> >> Thanks for the information, the thing is the custom resource loader is
>>> >> able to locate resource files in custom location, but the main entry
>>> >> point it is still the resource servlet, which intercepts the request
>>> >> to a /adf/* and then delegates to various resource loader to actually
>>> >> locate them, right?
>>> >>
>>> >> I was thinking maybe there is a feature like you can have EL
>>> >> expressions in the css, to resolve the context where the resource
>>> >> servlet is mapped...
>>> >>
>>> >> For now we will stick with the default /adf, i think this mapping of
>>> >> the resource servlet is required by other trinidad stuff also...so
>>> >> it's like a best practice to have it declared in web.xml.
>>> >>
>>> >> regards,
>>> >> Catalin
>>> >>
>>> >> On 1/13/10, Jeanne Waldman <je...@oracle.com> wrote:
>>> >> >
>>> >> >
>>> >> > Matthias Wessendorf wrote, On 1/12/2010 11:57 PM PT:
>>> >> >>
>>> >> >> On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
>>> >> >> <ca...@gmail.com> wrote:
>>> >> >>
>>> >> >>>
>>> >> >>> Hi,
>>> >> >>> Was wondering if it would be possible to package a skin in its own
>>> >> >>> jar
>>> >> >>> file,
>>> >> >>>
>>> >> >>
>>> >> >> yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/
>>> >> >>
>>> >> >>
>>> >> >>>
>>> >> >>> so that we wouldn't need to package the skin witht the actual
>>> >> >>> webapp
>>> >> >>> that
>>> >> >>> uses it, so that we could start having separate modules for skins?
>>> >> >>>
>>> >> >>
>>> >> >> in theory yes.
>>> >> >>
>>> >> >>
>>> >> >>>
>>> >> >>> it would
>>> >> >>> make sense for the new Casablanca skin IMHO. What do you think?
>>> >> >>>
>>> >> >>
>>> >> >> I think we should make the new Casablance skin the default;
>>> >> >> the old skin we can place into a "skinning module"
>>> >> >>
>>> >> >> /trinidad-skins
>>> >> >>  -/old-and-ugly-green-skin
>>> >> >> :-)
>>> >> >>
>>> >> >>
>>> >> >>>
>>> >> >>> About packaging skins, it seems possible, but I have a question:
>>> >> >>>   - for example in the skin's css file, if background image urls
>>> >> >>> are
>>> >> >>> specified, for example, with a property "background: white
>>> >> >>>
>>> >> >>> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
>>> >> >>> repeat-x bottom left;" this will work also when the images are
>>> >> >>> packaged
>>> >> >>> in a
>>> >> >>> jar available in the classpath, but only if the Trinidad Resource
>>> >> >>> Servlet
>>> >> >>> is
>>> >> >>> mapped to /adf/*; what happens if the servlet is mapped to another
>>> >> >>> url
>>> >> >>> pattern? is there another approach, mapping independent, or are we
>>> >> >>> stuck
>>> >> >>> with /adf?
>>> >> >>>
>>> >> >>
>>> >> >> I think we are stuck with the (odd) /adf
>>> >> >>
>>> >> >> Regarding its refactoring, I think it takes quite a while and maybe
>>> >> >> error-prone.
>>> >> >> Jeanne may know more on that item.
>>> >> >>
>>> >> >
>>> >> > I would stick with /adf in your path since that is the easiest.
>>> >> >
>>> >> > If you want to use a different mapping, say /foo, then you probably
>>> >> > have
>>> >> > to
>>> >> > do this (I haven't confirmed):
>>> >> > 1. add a new foo.resources file to \META-INF\servlets\resources
>>> >> > directory
>>> >> >   - currently there is an adf.resources file and it has this one
>>> >> > entry
>>> >> >
>>> >> > org.apache.myfaces.trinidadinternal.resource.CoreRenderKitResourceLoader
>>> >> > 2. add your new mapping to Trinidad's ResourceServlet to the
>>> >> > web.xml.
>>> >> >  - currently there is:
>>> >> >   <servlet-mapping>
>>> >> >     <servlet-name>resources</servlet-name>
>>> >> >     <url-pattern>/adf/*</url-pattern>
>>> >> >   </servlet-mapping>
>>> >> > 3. I don't think there are dependencies on /adf in any of Trinidad's
>>> >> > ResourceLoaders, but if so, then you'll need to write your own
>>> >> > ResourceLoader as well.
>>> >> >
>>> >> >
>>> >> >>
>>> >> >>
>>> >> >> -Matthias
>>> >> >>
>>> >> >>
>>> >> >>>
>>> >> >>> regards,
>>> >> >>> Catalin
>>> >> >>> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos
>>> >> >>> <ca...@gmail.com>
>>> >> >>> wrote:
>>> >> >>>
>>> >> >>>>
>>> >> >>>> Ok, sounds good.
>>> >> >>>>
>>> >> >>>> regards,
>>> >> >>>> Cata
>>> >> >>>>
>>> >> >>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>> >> >>>>
>>> >> >>>>>
>>> >> >>>>> once the JIRA is up, I will ping general@incubator.a.o regarding
>>> >> >>>>> the
>>> >> >>>>> software grant
>>> >> >>>>> Note: this is only discussed at the incubator committee, but no
>>> >> >>>>> incubation for that piece is
>>> >> >>>>> needed. Maybe (only) a software grant.
>>> >> >>>>>
>>> >> >>>>> -M
>>> >> >>>>>
>>> >> >>>>> On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
>>> >> >>>>> <ca...@gmail.com> wrote:
>>> >> >>>>>
>>> >> >>>>>>
>>> >> >>>>>> Hey Matthias,
>>> >> >>>>>>
>>> >> >>>>>> Great :), we'll look into the tasks you mentioned.
>>> >> >>>>>>
>>> >> >>>>>> regards,
>>> >> >>>>>> Catalin
>>> >> >>>>>>
>>> >> >>>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>> >> >>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>> Hi Catalin et al,
>>> >> >>>>>>>
>>> >> >>>>>>> as promised, I hijacked the thread...
>>> >> >>>>>>>
>>> >> >>>>>>> thanks again for contributing this skin to Trinidad.
>>> >> >>>>>>>
>>> >> >>>>>>> The following tasks are needed:
>>> >> >>>>>>> -A JIRA ticket that contains the patch(es)
>>> >> >>>>>>>  - for the Skin itself
>>> >> >>>>>>>  - for the GREAT demo
>>> >> >>>>>>> => maybe a software grant is needed; If so, I will handle the
>>> >> >>>>>>> paperwork stuff for you guys.
>>> >> >>>>>>>
>>> >> >>>>>>> Once the things above are sorted out, we can apply it to
>>> >> >>>>>>> TRUNK.
>>> >> >>>>>>> However, I'd like to do a RELEASE before we integrate the new
>>> >> >>>>>>> Skin/Demo.
>>> >> >>>>>>> I also don't mind to pretty much do a "sub-release" once the
>>> >> >>>>>>> new
>>> >> >>>>>>> stuff
>>> >> >>>>>>> is in. (With maven, release are not expensive)
>>> >> >>>>>>>
>>> >> >>>>>>> Thanks,
>>> >> >>>>>>> Matthias
>>> >> >>>>>>>
>>> >> >>>>>>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>>> >> >>>>>>> <ca...@gmail.com> wrote:
>>> >> >>>>>>>
>>> >> >>>>>>>>
>>> >> >>>>>>>> Hello there,
>>> >> >>>>>>>> I have the pleasure to inform you about the work we did to
>>> >> >>>>>>>> develop a
>>> >> >>>>>>>> new
>>> >> >>>>>>>> skin for Trinidad and based on this a brand new, Trinidad
>>> >> >>>>>>>> components
>>> >> >>>>>>>> showcase application. You can see it all in action at [1]. It
>>> >> >>>>>>>> is
>>> >> >>>>>>>> still a
>>> >> >>>>>>>> working in progress, in advanced state though...i mean there
>>> >> >>>>>>>> is
>>> >> >>>>>>>> always
>>> >> >>>>>>>> something to be improved; nevertheless we would like to
>>> >> >>>>>>>> donate
>>> >> >>>>>>>> the
>>> >> >>>>>>>> new
>>> >> >>>>>>>> skin
>>> >> >>>>>>>> and the new demo application to the MyFaces community, in its
>>> >> >>>>>>>> current
>>> >> >>>>>>>> state,
>>> >> >>>>>>>> and continue there if you guys agree.
>>> >> >>>>>>>> Many thanks go to my collegue Adonis who has put a lot of
>>> >> >>>>>>>> effort
>>> >> >>>>>>>> into
>>> >> >>>>>>>> designing and implementing the new skin called 'Casablanca'.
>>> >> >>>>>>>> I'm
>>> >> >>>>>>>> sure
>>> >> >>>>>>>> he
>>> >> >>>>>>>> can
>>> >> >>>>>>>> give you more details as needed about how the process went.
>>> >> >>>>>>>>
>>> >> >>>>>>>> A few words about the new demo:
>>> >> >>>>>>>>
>>> >> >>>>>>>>  first of all, many thanks to another collegue of mine,
>>> >> >>>>>>>> Cosmin,
>>> >> >>>>>>>> for
>>> >> >>>>>>>> his
>>> >> >>>>>>>> continuos efforts with this.
>>> >> >>>>>>>> the demo is working only with facelets (there is no jsp
>>> >> >>>>>>>> version)
>>> >> >>>>>>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>>> >> >>>>>>>> we tryied to build it so it can be searched online also,
>>> >> >>>>>>>> currently
>>> >> >>>>>>>> tryied
>>> >> >>>>>>>> with Google Custom Search, but this didn't work out so
>>> >> >>>>>>>> smoothly
>>> >> >>>>>>>> so
>>> >> >>>>>>>> far.
>>> >> >>>>>>>> In
>>> >> >>>>>>>> any case, that's the reason for the pretty urls used. (so, no
>>> >> >>>>>>>> point
>>> >> >>>>>>>> in
>>> >> >>>>>>>> trying the search currently as it doesn't work).
>>> >> >>>>>>>> in general, it replicates the examples available already for
>>> >> >>>>>>>> Trinidad
>>> >> >>>>>>>> in
>>> >> >>>>>>>> the
>>> >> >>>>>>>> existing demo, in someplaces slightly improved.
>>> >> >>>>>>>> it tryies to provide a platform on which to build much more
>>> >> >>>>>>>> demos
>>> >> >>>>>>>> as
>>> >> >>>>>>>> required as there can be always new ideas about demoing a
>>> >> >>>>>>>> meaningfull
>>> >> >>>>>>>> use
>>> >> >>>>>>>> case on Trinidad, or some component behaviour.
>>> >> >>>>>>>>
>>> >> >>>>>>>> I'm eager to get your reactions, I think these guys did a
>>> >> >>>>>>>> great
>>> >> >>>>>>>> job
>>> >> >>>>>>>> so
>>> >> >>>>>>>> far
>>> >> >>>>>>>> and this would bring Trinidad at least a few steps closer to
>>> >> >>>>>>>> a
>>> >> >>>>>>>> more
>>> >> >>>>>>>> appealing and user friendly component set.
>>> >> >>>>>>>> regards,
>>> >> >>>>>>>> Catalin
>>> >> >>>>>>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>>> >> >>>>>>>> ------------
>>> >> >>>>>>>> Codebeat
>>> >> >>>>>>>> www.codebeat.ro
>>> >> >>>>>>>>
>>> >> >>>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>> --
>>> >> >>>>>>> Matthias Wessendorf
>>> >> >>>>>>>
>>> >> >>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>> >> >>>>>>> sessions: http://www.slideshare.net/mwessendorf
>>> >> >>>>>>> twitter: http://twitter.com/mwessendorf
>>> >> >>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>
>>> >> >>>>>> --
>>> >> >>>>>> ------------
>>> >> >>>>>> Codebeat
>>> >> >>>>>> www.codebeat.ro
>>> >> >>>>>>
>>> >> >>>>>>
>>> >> >>>>>
>>> >> >>>>> --
>>> >> >>>>> Matthias Wessendorf
>>> >> >>>>>
>>> >> >>>>> blog: http://matthiaswessendorf.wordpress.com/
>>> >> >>>>> sessions: http://www.slideshare.net/mwessendorf
>>> >> >>>>> twitter: http://twitter.com/mwessendorf
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>
>>> >> >>>> --
>>> >> >>>> ------------
>>> >> >>>> Codebeat
>>> >> >>>> www.codebeat.ro
>>> >> >>>>
>>> >> >>>
>>> >> >>> --
>>> >> >>> ------------
>>> >> >>> Codebeat
>>> >> >>> www.codebeat.ro
>>> >> >>>
>>> >> >>>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >>
>>> >>
>>> >> --
>>> >> ------------
>>> >> Codebeat
>>> >> www.codebeat.ro
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Matthias Wessendorf
>>>
>>> blog: http://matthiaswessendorf.wordpress.com/
>>> sessions: http://www.slideshare.net/mwessendorf
>>> twitter: http://twitter.com/mwessendorf
>>
>
>
>
> --
> ------------
> Codebeat
> www.codebeat.ro
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Catalin Kormos <ca...@gmail.com>.
Sure thing, +1 from me also, we'll look into it asap. I have
my colleagues submitting their ICLAs and the code is coming in the next
days.

regards,
Catalin

On Wed, Jan 13, 2010 at 9:29 PM, Gerhard Petracek <
gerhard.petracek@gmail.com> wrote:

> +1
>
> regards,
> gerhard
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
> 2010/1/13 Matthias Wessendorf <ma...@apache.org>
>
> On Wed, Jan 13, 2010 at 6:14 PM, Matt Cooper <mc...@apache.org> wrote:
>> > Rather than having the casablanca skin as a separate jar file, I would
>> > prefer to see it built-into the Trinidad jars (part of the impl project)
>> so
>> > consumers could use it out-of-the-box without any extra jar
>> configuration.
>>
>> I want it to become default :-)
>>
>> >
>> > Regards,
>> > Matt
>> >
>> > On Wed, Jan 13, 2010 at 10:02 AM, Catalin Kormos <
>> catalin.kormos@gmail.com>
>> > wrote:
>> >>
>> >> Hi Jeanne,
>> >>
>> >> Thanks for the information, the thing is the custom resource loader is
>> >> able to locate resource files in custom location, but the main entry
>> >> point it is still the resource servlet, which intercepts the request
>> >> to a /adf/* and then delegates to various resource loader to actually
>> >> locate them, right?
>> >>
>> >> I was thinking maybe there is a feature like you can have EL
>> >> expressions in the css, to resolve the context where the resource
>> >> servlet is mapped...
>> >>
>> >> For now we will stick with the default /adf, i think this mapping of
>> >> the resource servlet is required by other trinidad stuff also...so
>> >> it's like a best practice to have it declared in web.xml.
>> >>
>> >> regards,
>> >> Catalin
>> >>
>> >> On 1/13/10, Jeanne Waldman <je...@oracle.com> wrote:
>> >> >
>> >> >
>> >> > Matthias Wessendorf wrote, On 1/12/2010 11:57 PM PT:
>> >> >>
>> >> >> On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
>> >> >> <ca...@gmail.com> wrote:
>> >> >>
>> >> >>>
>> >> >>> Hi,
>> >> >>> Was wondering if it would be possible to package a skin in its own
>> jar
>> >> >>> file,
>> >> >>>
>> >> >>
>> >> >> yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/
>> >> >>
>> >> >>
>> >> >>>
>> >> >>> so that we wouldn't need to package the skin witht the actual
>> webapp
>> >> >>> that
>> >> >>> uses it, so that we could start having separate modules for skins?
>> >> >>>
>> >> >>
>> >> >> in theory yes.
>> >> >>
>> >> >>
>> >> >>>
>> >> >>> it would
>> >> >>> make sense for the new Casablanca skin IMHO. What do you think?
>> >> >>>
>> >> >>
>> >> >> I think we should make the new Casablance skin the default;
>> >> >> the old skin we can place into a "skinning module"
>> >> >>
>> >> >> /trinidad-skins
>> >> >>  -/old-and-ugly-green-skin
>> >> >> :-)
>> >> >>
>> >> >>
>> >> >>>
>> >> >>> About packaging skins, it seems possible, but I have a question:
>> >> >>>   - for example in the skin's css file, if background image urls
>> are
>> >> >>> specified, for example, with a property "background: white
>> >> >>>
>> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
>> >> >>> repeat-x bottom left;" this will work also when the images are
>> >> >>> packaged
>> >> >>> in a
>> >> >>> jar available in the classpath, but only if the Trinidad Resource
>> >> >>> Servlet
>> >> >>> is
>> >> >>> mapped to /adf/*; what happens if the servlet is mapped to another
>> url
>> >> >>> pattern? is there another approach, mapping independent, or are we
>> >> >>> stuck
>> >> >>> with /adf?
>> >> >>>
>> >> >>
>> >> >> I think we are stuck with the (odd) /adf
>> >> >>
>> >> >> Regarding its refactoring, I think it takes quite a while and maybe
>> >> >> error-prone.
>> >> >> Jeanne may know more on that item.
>> >> >>
>> >> >
>> >> > I would stick with /adf in your path since that is the easiest.
>> >> >
>> >> > If you want to use a different mapping, say /foo, then you probably
>> have
>> >> > to
>> >> > do this (I haven't confirmed):
>> >> > 1. add a new foo.resources file to \META-INF\servlets\resources
>> >> > directory
>> >> >   - currently there is an adf.resources file and it has this one
>> entry
>> >> >
>> org.apache.myfaces.trinidadinternal.resource.CoreRenderKitResourceLoader
>> >> > 2. add your new mapping to Trinidad's ResourceServlet to the web.xml.
>> >> >  - currently there is:
>> >> >   <servlet-mapping>
>> >> >     <servlet-name>resources</servlet-name>
>> >> >     <url-pattern>/adf/*</url-pattern>
>> >> >   </servlet-mapping>
>> >> > 3. I don't think there are dependencies on /adf in any of Trinidad's
>> >> > ResourceLoaders, but if so, then you'll need to write your own
>> >> > ResourceLoader as well.
>> >> >
>> >> >
>> >> >>
>> >> >>
>> >> >> -Matthias
>> >> >>
>> >> >>
>> >> >>>
>> >> >>> regards,
>> >> >>> Catalin
>> >> >>> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos
>> >> >>> <ca...@gmail.com>
>> >> >>> wrote:
>> >> >>>
>> >> >>>>
>> >> >>>> Ok, sounds good.
>> >> >>>>
>> >> >>>> regards,
>> >> >>>> Cata
>> >> >>>>
>> >> >>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>> >> >>>>
>> >> >>>>>
>> >> >>>>> once the JIRA is up, I will ping general@incubator.a.o regarding
>> the
>> >> >>>>> software grant
>> >> >>>>> Note: this is only discussed at the incubator committee, but no
>> >> >>>>> incubation for that piece is
>> >> >>>>> needed. Maybe (only) a software grant.
>> >> >>>>>
>> >> >>>>> -M
>> >> >>>>>
>> >> >>>>> On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
>> >> >>>>> <ca...@gmail.com> wrote:
>> >> >>>>>
>> >> >>>>>>
>> >> >>>>>> Hey Matthias,
>> >> >>>>>>
>> >> >>>>>> Great :), we'll look into the tasks you mentioned.
>> >> >>>>>>
>> >> >>>>>> regards,
>> >> >>>>>> Catalin
>> >> >>>>>>
>> >> >>>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>> >> >>>>>>
>> >> >>>>>>>
>> >> >>>>>>> Hi Catalin et al,
>> >> >>>>>>>
>> >> >>>>>>> as promised, I hijacked the thread...
>> >> >>>>>>>
>> >> >>>>>>> thanks again for contributing this skin to Trinidad.
>> >> >>>>>>>
>> >> >>>>>>> The following tasks are needed:
>> >> >>>>>>> -A JIRA ticket that contains the patch(es)
>> >> >>>>>>>  - for the Skin itself
>> >> >>>>>>>  - for the GREAT demo
>> >> >>>>>>> => maybe a software grant is needed; If so, I will handle the
>> >> >>>>>>> paperwork stuff for you guys.
>> >> >>>>>>>
>> >> >>>>>>> Once the things above are sorted out, we can apply it to TRUNK.
>> >> >>>>>>> However, I'd like to do a RELEASE before we integrate the new
>> >> >>>>>>> Skin/Demo.
>> >> >>>>>>> I also don't mind to pretty much do a "sub-release" once the
>> new
>> >> >>>>>>> stuff
>> >> >>>>>>> is in. (With maven, release are not expensive)
>> >> >>>>>>>
>> >> >>>>>>> Thanks,
>> >> >>>>>>> Matthias
>> >> >>>>>>>
>> >> >>>>>>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>> >> >>>>>>> <ca...@gmail.com> wrote:
>> >> >>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>> Hello there,
>> >> >>>>>>>> I have the pleasure to inform you about the work we did to
>> >> >>>>>>>> develop a
>> >> >>>>>>>> new
>> >> >>>>>>>> skin for Trinidad and based on this a brand new, Trinidad
>> >> >>>>>>>> components
>> >> >>>>>>>> showcase application. You can see it all in action at [1]. It
>> is
>> >> >>>>>>>> still a
>> >> >>>>>>>> working in progress, in advanced state though...i mean there
>> is
>> >> >>>>>>>> always
>> >> >>>>>>>> something to be improved; nevertheless we would like to donate
>> >> >>>>>>>> the
>> >> >>>>>>>> new
>> >> >>>>>>>> skin
>> >> >>>>>>>> and the new demo application to the MyFaces community, in its
>> >> >>>>>>>> current
>> >> >>>>>>>> state,
>> >> >>>>>>>> and continue there if you guys agree.
>> >> >>>>>>>> Many thanks go to my collegue Adonis who has put a lot of
>> effort
>> >> >>>>>>>> into
>> >> >>>>>>>> designing and implementing the new skin called 'Casablanca'.
>> I'm
>> >> >>>>>>>> sure
>> >> >>>>>>>> he
>> >> >>>>>>>> can
>> >> >>>>>>>> give you more details as needed about how the process went.
>> >> >>>>>>>>
>> >> >>>>>>>> A few words about the new demo:
>> >> >>>>>>>>
>> >> >>>>>>>>  first of all, many thanks to another collegue of mine,
>> Cosmin,
>> >> >>>>>>>> for
>> >> >>>>>>>> his
>> >> >>>>>>>> continuos efforts with this.
>> >> >>>>>>>> the demo is working only with facelets (there is no jsp
>> version)
>> >> >>>>>>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>> >> >>>>>>>> we tryied to build it so it can be searched online also,
>> >> >>>>>>>> currently
>> >> >>>>>>>> tryied
>> >> >>>>>>>> with Google Custom Search, but this didn't work out so
>> smoothly
>> >> >>>>>>>> so
>> >> >>>>>>>> far.
>> >> >>>>>>>> In
>> >> >>>>>>>> any case, that's the reason for the pretty urls used. (so, no
>> >> >>>>>>>> point
>> >> >>>>>>>> in
>> >> >>>>>>>> trying the search currently as it doesn't work).
>> >> >>>>>>>> in general, it replicates the examples available already for
>> >> >>>>>>>> Trinidad
>> >> >>>>>>>> in
>> >> >>>>>>>> the
>> >> >>>>>>>> existing demo, in someplaces slightly improved.
>> >> >>>>>>>> it tryies to provide a platform on which to build much more
>> demos
>> >> >>>>>>>> as
>> >> >>>>>>>> required as there can be always new ideas about demoing a
>> >> >>>>>>>> meaningfull
>> >> >>>>>>>> use
>> >> >>>>>>>> case on Trinidad, or some component behaviour.
>> >> >>>>>>>>
>> >> >>>>>>>> I'm eager to get your reactions, I think these guys did a
>> great
>> >> >>>>>>>> job
>> >> >>>>>>>> so
>> >> >>>>>>>> far
>> >> >>>>>>>> and this would bring Trinidad at least a few steps closer to a
>> >> >>>>>>>> more
>> >> >>>>>>>> appealing and user friendly component set.
>> >> >>>>>>>> regards,
>> >> >>>>>>>> Catalin
>> >> >>>>>>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>> >> >>>>>>>> ------------
>> >> >>>>>>>> Codebeat
>> >> >>>>>>>> www.codebeat.ro
>> >> >>>>>>>>
>> >> >>>>>>>>
>> >> >>>>>>>
>> >> >>>>>>> --
>> >> >>>>>>> Matthias Wessendorf
>> >> >>>>>>>
>> >> >>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>> >> >>>>>>> sessions: http://www.slideshare.net/mwessendorf
>> >> >>>>>>> twitter: http://twitter.com/mwessendorf
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>
>> >> >>>>>> --
>> >> >>>>>> ------------
>> >> >>>>>> Codebeat
>> >> >>>>>> www.codebeat.ro
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>
>> >> >>>>> --
>> >> >>>>> Matthias Wessendorf
>> >> >>>>>
>> >> >>>>> blog: http://matthiaswessendorf.wordpress.com/
>> >> >>>>> sessions: http://www.slideshare.net/mwessendorf
>> >> >>>>> twitter: http://twitter.com/mwessendorf
>> >> >>>>>
>> >> >>>>>
>> >> >>>>
>> >> >>>> --
>> >> >>>> ------------
>> >> >>>> Codebeat
>> >> >>>> www.codebeat.ro
>> >> >>>>
>> >> >>>
>> >> >>> --
>> >> >>> ------------
>> >> >>> Codebeat
>> >> >>> www.codebeat.ro
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >> --
>> >> ------------
>> >> Codebeat
>> >> www.codebeat.ro
>> >
>> >
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>
>


-- 
------------
Codebeat
www.codebeat.ro

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Gerhard Petracek <ge...@gmail.com>.
+1

regards,
gerhard

http://www.irian.at

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

Professional Support for Apache MyFaces


2010/1/13 Matthias Wessendorf <ma...@apache.org>

> On Wed, Jan 13, 2010 at 6:14 PM, Matt Cooper <mc...@apache.org> wrote:
> > Rather than having the casablanca skin as a separate jar file, I would
> > prefer to see it built-into the Trinidad jars (part of the impl project)
> so
> > consumers could use it out-of-the-box without any extra jar
> configuration.
>
> I want it to become default :-)
>
> >
> > Regards,
> > Matt
> >
> > On Wed, Jan 13, 2010 at 10:02 AM, Catalin Kormos <
> catalin.kormos@gmail.com>
> > wrote:
> >>
> >> Hi Jeanne,
> >>
> >> Thanks for the information, the thing is the custom resource loader is
> >> able to locate resource files in custom location, but the main entry
> >> point it is still the resource servlet, which intercepts the request
> >> to a /adf/* and then delegates to various resource loader to actually
> >> locate them, right?
> >>
> >> I was thinking maybe there is a feature like you can have EL
> >> expressions in the css, to resolve the context where the resource
> >> servlet is mapped...
> >>
> >> For now we will stick with the default /adf, i think this mapping of
> >> the resource servlet is required by other trinidad stuff also...so
> >> it's like a best practice to have it declared in web.xml.
> >>
> >> regards,
> >> Catalin
> >>
> >> On 1/13/10, Jeanne Waldman <je...@oracle.com> wrote:
> >> >
> >> >
> >> > Matthias Wessendorf wrote, On 1/12/2010 11:57 PM PT:
> >> >>
> >> >> On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
> >> >> <ca...@gmail.com> wrote:
> >> >>
> >> >>>
> >> >>> Hi,
> >> >>> Was wondering if it would be possible to package a skin in its own
> jar
> >> >>> file,
> >> >>>
> >> >>
> >> >> yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/
> >> >>
> >> >>
> >> >>>
> >> >>> so that we wouldn't need to package the skin witht the actual webapp
> >> >>> that
> >> >>> uses it, so that we could start having separate modules for skins?
> >> >>>
> >> >>
> >> >> in theory yes.
> >> >>
> >> >>
> >> >>>
> >> >>> it would
> >> >>> make sense for the new Casablanca skin IMHO. What do you think?
> >> >>>
> >> >>
> >> >> I think we should make the new Casablance skin the default;
> >> >> the old skin we can place into a "skinning module"
> >> >>
> >> >> /trinidad-skins
> >> >>  -/old-and-ugly-green-skin
> >> >> :-)
> >> >>
> >> >>
> >> >>>
> >> >>> About packaging skins, it seems possible, but I have a question:
> >> >>>   - for example in the skin's css file, if background image urls are
> >> >>> specified, for example, with a property "background: white
> >> >>>
> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
> >> >>> repeat-x bottom left;" this will work also when the images are
> >> >>> packaged
> >> >>> in a
> >> >>> jar available in the classpath, but only if the Trinidad Resource
> >> >>> Servlet
> >> >>> is
> >> >>> mapped to /adf/*; what happens if the servlet is mapped to another
> url
> >> >>> pattern? is there another approach, mapping independent, or are we
> >> >>> stuck
> >> >>> with /adf?
> >> >>>
> >> >>
> >> >> I think we are stuck with the (odd) /adf
> >> >>
> >> >> Regarding its refactoring, I think it takes quite a while and maybe
> >> >> error-prone.
> >> >> Jeanne may know more on that item.
> >> >>
> >> >
> >> > I would stick with /adf in your path since that is the easiest.
> >> >
> >> > If you want to use a different mapping, say /foo, then you probably
> have
> >> > to
> >> > do this (I haven't confirmed):
> >> > 1. add a new foo.resources file to \META-INF\servlets\resources
> >> > directory
> >> >   - currently there is an adf.resources file and it has this one entry
> >> >
> org.apache.myfaces.trinidadinternal.resource.CoreRenderKitResourceLoader
> >> > 2. add your new mapping to Trinidad's ResourceServlet to the web.xml.
> >> >  - currently there is:
> >> >   <servlet-mapping>
> >> >     <servlet-name>resources</servlet-name>
> >> >     <url-pattern>/adf/*</url-pattern>
> >> >   </servlet-mapping>
> >> > 3. I don't think there are dependencies on /adf in any of Trinidad's
> >> > ResourceLoaders, but if so, then you'll need to write your own
> >> > ResourceLoader as well.
> >> >
> >> >
> >> >>
> >> >>
> >> >> -Matthias
> >> >>
> >> >>
> >> >>>
> >> >>> regards,
> >> >>> Catalin
> >> >>> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos
> >> >>> <ca...@gmail.com>
> >> >>> wrote:
> >> >>>
> >> >>>>
> >> >>>> Ok, sounds good.
> >> >>>>
> >> >>>> regards,
> >> >>>> Cata
> >> >>>>
> >> >>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
> >> >>>>
> >> >>>>>
> >> >>>>> once the JIRA is up, I will ping general@incubator.a.o regarding
> the
> >> >>>>> software grant
> >> >>>>> Note: this is only discussed at the incubator committee, but no
> >> >>>>> incubation for that piece is
> >> >>>>> needed. Maybe (only) a software grant.
> >> >>>>>
> >> >>>>> -M
> >> >>>>>
> >> >>>>> On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
> >> >>>>> <ca...@gmail.com> wrote:
> >> >>>>>
> >> >>>>>>
> >> >>>>>> Hey Matthias,
> >> >>>>>>
> >> >>>>>> Great :), we'll look into the tasks you mentioned.
> >> >>>>>>
> >> >>>>>> regards,
> >> >>>>>> Catalin
> >> >>>>>>
> >> >>>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
> >> >>>>>>
> >> >>>>>>>
> >> >>>>>>> Hi Catalin et al,
> >> >>>>>>>
> >> >>>>>>> as promised, I hijacked the thread...
> >> >>>>>>>
> >> >>>>>>> thanks again for contributing this skin to Trinidad.
> >> >>>>>>>
> >> >>>>>>> The following tasks are needed:
> >> >>>>>>> -A JIRA ticket that contains the patch(es)
> >> >>>>>>>  - for the Skin itself
> >> >>>>>>>  - for the GREAT demo
> >> >>>>>>> => maybe a software grant is needed; If so, I will handle the
> >> >>>>>>> paperwork stuff for you guys.
> >> >>>>>>>
> >> >>>>>>> Once the things above are sorted out, we can apply it to TRUNK.
> >> >>>>>>> However, I'd like to do a RELEASE before we integrate the new
> >> >>>>>>> Skin/Demo.
> >> >>>>>>> I also don't mind to pretty much do a "sub-release" once the new
> >> >>>>>>> stuff
> >> >>>>>>> is in. (With maven, release are not expensive)
> >> >>>>>>>
> >> >>>>>>> Thanks,
> >> >>>>>>> Matthias
> >> >>>>>>>
> >> >>>>>>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
> >> >>>>>>> <ca...@gmail.com> wrote:
> >> >>>>>>>
> >> >>>>>>>>
> >> >>>>>>>> Hello there,
> >> >>>>>>>> I have the pleasure to inform you about the work we did to
> >> >>>>>>>> develop a
> >> >>>>>>>> new
> >> >>>>>>>> skin for Trinidad and based on this a brand new, Trinidad
> >> >>>>>>>> components
> >> >>>>>>>> showcase application. You can see it all in action at [1]. It
> is
> >> >>>>>>>> still a
> >> >>>>>>>> working in progress, in advanced state though...i mean there is
> >> >>>>>>>> always
> >> >>>>>>>> something to be improved; nevertheless we would like to donate
> >> >>>>>>>> the
> >> >>>>>>>> new
> >> >>>>>>>> skin
> >> >>>>>>>> and the new demo application to the MyFaces community, in its
> >> >>>>>>>> current
> >> >>>>>>>> state,
> >> >>>>>>>> and continue there if you guys agree.
> >> >>>>>>>> Many thanks go to my collegue Adonis who has put a lot of
> effort
> >> >>>>>>>> into
> >> >>>>>>>> designing and implementing the new skin called 'Casablanca'.
> I'm
> >> >>>>>>>> sure
> >> >>>>>>>> he
> >> >>>>>>>> can
> >> >>>>>>>> give you more details as needed about how the process went.
> >> >>>>>>>>
> >> >>>>>>>> A few words about the new demo:
> >> >>>>>>>>
> >> >>>>>>>>  first of all, many thanks to another collegue of mine, Cosmin,
> >> >>>>>>>> for
> >> >>>>>>>> his
> >> >>>>>>>> continuos efforts with this.
> >> >>>>>>>> the demo is working only with facelets (there is no jsp
> version)
> >> >>>>>>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
> >> >>>>>>>> we tryied to build it so it can be searched online also,
> >> >>>>>>>> currently
> >> >>>>>>>> tryied
> >> >>>>>>>> with Google Custom Search, but this didn't work out so smoothly
> >> >>>>>>>> so
> >> >>>>>>>> far.
> >> >>>>>>>> In
> >> >>>>>>>> any case, that's the reason for the pretty urls used. (so, no
> >> >>>>>>>> point
> >> >>>>>>>> in
> >> >>>>>>>> trying the search currently as it doesn't work).
> >> >>>>>>>> in general, it replicates the examples available already for
> >> >>>>>>>> Trinidad
> >> >>>>>>>> in
> >> >>>>>>>> the
> >> >>>>>>>> existing demo, in someplaces slightly improved.
> >> >>>>>>>> it tryies to provide a platform on which to build much more
> demos
> >> >>>>>>>> as
> >> >>>>>>>> required as there can be always new ideas about demoing a
> >> >>>>>>>> meaningfull
> >> >>>>>>>> use
> >> >>>>>>>> case on Trinidad, or some component behaviour.
> >> >>>>>>>>
> >> >>>>>>>> I'm eager to get your reactions, I think these guys did a great
> >> >>>>>>>> job
> >> >>>>>>>> so
> >> >>>>>>>> far
> >> >>>>>>>> and this would bring Trinidad at least a few steps closer to a
> >> >>>>>>>> more
> >> >>>>>>>> appealing and user friendly component set.
> >> >>>>>>>> regards,
> >> >>>>>>>> Catalin
> >> >>>>>>>> [1] http://example.irian.at/trinidad-showcase-casablanca
> >> >>>>>>>> ------------
> >> >>>>>>>> Codebeat
> >> >>>>>>>> www.codebeat.ro
> >> >>>>>>>>
> >> >>>>>>>>
> >> >>>>>>>
> >> >>>>>>> --
> >> >>>>>>> Matthias Wessendorf
> >> >>>>>>>
> >> >>>>>>> blog: http://matthiaswessendorf.wordpress.com/
> >> >>>>>>> sessions: http://www.slideshare.net/mwessendorf
> >> >>>>>>> twitter: http://twitter.com/mwessendorf
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>
> >> >>>>>> --
> >> >>>>>> ------------
> >> >>>>>> Codebeat
> >> >>>>>> www.codebeat.ro
> >> >>>>>>
> >> >>>>>>
> >> >>>>>
> >> >>>>> --
> >> >>>>> Matthias Wessendorf
> >> >>>>>
> >> >>>>> blog: http://matthiaswessendorf.wordpress.com/
> >> >>>>> sessions: http://www.slideshare.net/mwessendorf
> >> >>>>> twitter: http://twitter.com/mwessendorf
> >> >>>>>
> >> >>>>>
> >> >>>>
> >> >>>> --
> >> >>>> ------------
> >> >>>> Codebeat
> >> >>>> www.codebeat.ro
> >> >>>>
> >> >>>
> >> >>> --
> >> >>> ------------
> >> >>> Codebeat
> >> >>> www.codebeat.ro
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >>
> >>
> >>
> >> --
> >> ------------
> >> Codebeat
> >> www.codebeat.ro
> >
> >
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>

Re: Make the new skin part of Trinidad

Posted by Mamallan Uthaman <ma...@oracle.com>.
+1

- Mamallan

Blake Sullivan wrote:
> +1
>
> -- Blake Sullivan
>
> Matthias Wessendorf said the following On 1/13/2010 9:19 AM PT:
>> On Wed, Jan 13, 2010 at 6:14 PM, Matt Cooper <mc...@apache.org> wrote:
>>   
>>> Rather than having the casablanca skin as a separate jar file, I would
>>> prefer to see it built-into the Trinidad jars (part of the impl project) so
>>> consumers could use it out-of-the-box without any extra jar configuration.
>>>     
>>
>> I want it to become default :-)
>>
>>   
>>> Regards,
>>> Matt
>>>
>>> On Wed, Jan 13, 2010 at 10:02 AM, Catalin Kormos <ca...@gmail.com>
>>> wrote:
>>>     
>>>> Hi Jeanne,
>>>>
>>>> Thanks for the information, the thing is the custom resource loader is
>>>> able to locate resource files in custom location, but the main entry
>>>> point it is still the resource servlet, which intercepts the request
>>>> to a /adf/* and then delegates to various resource loader to actually
>>>> locate them, right?
>>>>
>>>> I was thinking maybe there is a feature like you can have EL
>>>> expressions in the css, to resolve the context where the resource
>>>> servlet is mapped...
>>>>
>>>> For now we will stick with the default /adf, i think this mapping of
>>>> the resource servlet is required by other trinidad stuff also...so
>>>> it's like a best practice to have it declared in web.xml.
>>>>
>>>> regards,
>>>> Catalin
>>>>
>>>> On 1/13/10, Jeanne Waldman <je...@oracle.com> wrote:
>>>>       
>>>>> Matthias Wessendorf wrote, On 1/12/2010 11:57 PM PT:
>>>>>         
>>>>>> On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
>>>>>> <ca...@gmail.com> wrote:
>>>>>>
>>>>>>           
>>>>>>> Hi,
>>>>>>> Was wondering if it would be possible to package a skin in its own jar
>>>>>>> file,
>>>>>>>
>>>>>>>             
>>>>>> yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/
>>>>>>
>>>>>>
>>>>>>           
>>>>>>> so that we wouldn't need to package the skin witht the actual webapp
>>>>>>> that
>>>>>>> uses it, so that we could start having separate modules for skins?
>>>>>>>
>>>>>>>             
>>>>>> in theory yes.
>>>>>>
>>>>>>
>>>>>>           
>>>>>>> it would
>>>>>>> make sense for the new Casablanca skin IMHO. What do you think?
>>>>>>>
>>>>>>>             
>>>>>> I think we should make the new Casablance skin the default;
>>>>>> the old skin we can place into a "skinning module"
>>>>>>
>>>>>> /trinidad-skins
>>>>>>  -/old-and-ugly-green-skin
>>>>>> :-)
>>>>>>
>>>>>>
>>>>>>           
>>>>>>> About packaging skins, it seems possible, but I have a question:
>>>>>>>   - for example in the skin's css file, if background image urls are
>>>>>>> specified, for example, with a property "background: white
>>>>>>> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
>>>>>>> repeat-x bottom left;" this will work also when the images are
>>>>>>> packaged
>>>>>>> in a
>>>>>>> jar available in the classpath, but only if the Trinidad Resource
>>>>>>> Servlet
>>>>>>> is
>>>>>>> mapped to /adf/*; what happens if the servlet is mapped to another url
>>>>>>> pattern? is there another approach, mapping independent, or are we
>>>>>>> stuck
>>>>>>> with /adf?
>>>>>>>
>>>>>>>             
>>>>>> I think we are stuck with the (odd) /adf
>>>>>>
>>>>>> Regarding its refactoring, I think it takes quite a while and maybe
>>>>>> error-prone.
>>>>>> Jeanne may know more on that item.
>>>>>>
>>>>>>           
>>>>> I would stick with /adf in your path since that is the easiest.
>>>>>
>>>>> If you want to use a different mapping, say /foo, then you probably have
>>>>> to
>>>>> do this (I haven't confirmed):
>>>>> 1. add a new foo.resources file to \META-INF\servlets\resources
>>>>> directory
>>>>>   - currently there is an adf.resources file and it has this one entry
>>>>> org.apache.myfaces.trinidadinternal.resource.CoreRenderKitResourceLoader
>>>>> 2. add your new mapping to Trinidad's ResourceServlet to the web.xml.
>>>>>  - currently there is:
>>>>>   <servlet-mapping>
>>>>>     <servlet-name>resources</servlet-name>
>>>>>     <url-pattern>/adf/*</url-pattern>
>>>>>   </servlet-mapping>
>>>>> 3. I don't think there are dependencies on /adf in any of Trinidad's
>>>>> ResourceLoaders, but if so, then you'll need to write your own
>>>>> ResourceLoader as well.
>>>>>
>>>>>
>>>>>         
>>>>>> -Matthias
>>>>>>
>>>>>>
>>>>>>           
>>>>>>> regards,
>>>>>>> Catalin
>>>>>>> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos
>>>>>>> <ca...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>             
>>>>>>>> Ok, sounds good.
>>>>>>>>
>>>>>>>> regards,
>>>>>>>> Cata
>>>>>>>>
>>>>>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>>>>>>>
>>>>>>>>               
>>>>>>>>> once the JIRA is up, I will ping general@incubator.a.o regarding the
>>>>>>>>> software grant
>>>>>>>>> Note: this is only discussed at the incubator committee, but no
>>>>>>>>> incubation for that piece is
>>>>>>>>> needed. Maybe (only) a software grant.
>>>>>>>>>
>>>>>>>>> -M
>>>>>>>>>
>>>>>>>>> On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
>>>>>>>>> <ca...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>                 
>>>>>>>>>> Hey Matthias,
>>>>>>>>>>
>>>>>>>>>> Great :), we'll look into the tasks you mentioned.
>>>>>>>>>>
>>>>>>>>>> regards,
>>>>>>>>>> Catalin
>>>>>>>>>>
>>>>>>>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>                   
>>>>>>>>>>> Hi Catalin et al,
>>>>>>>>>>>
>>>>>>>>>>> as promised, I hijacked the thread...
>>>>>>>>>>>
>>>>>>>>>>> thanks again for contributing this skin to Trinidad.
>>>>>>>>>>>
>>>>>>>>>>> The following tasks are needed:
>>>>>>>>>>> -A JIRA ticket that contains the patch(es)
>>>>>>>>>>>  - for the Skin itself
>>>>>>>>>>>  - for the GREAT demo
>>>>>>>>>>> => maybe a software grant is needed; If so, I will handle the
>>>>>>>>>>> paperwork stuff for you guys.
>>>>>>>>>>>
>>>>>>>>>>> Once the things above are sorted out, we can apply it to TRUNK.
>>>>>>>>>>> However, I'd like to do a RELEASE before we integrate the new
>>>>>>>>>>> Skin/Demo.
>>>>>>>>>>> I also don't mind to pretty much do a "sub-release" once the new
>>>>>>>>>>> stuff
>>>>>>>>>>> is in. (With maven, release are not expensive)
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Matthias
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>>>>>>>>>>> <ca...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>                     
>>>>>>>>>>>> Hello there,
>>>>>>>>>>>> I have the pleasure to inform you about the work we did to
>>>>>>>>>>>> develop a
>>>>>>>>>>>> new
>>>>>>>>>>>> skin for Trinidad and based on this a brand new, Trinidad
>>>>>>>>>>>> components
>>>>>>>>>>>> showcase application. You can see it all in action at [1]. It is
>>>>>>>>>>>> still a
>>>>>>>>>>>> working in progress, in advanced state though...i mean there is
>>>>>>>>>>>> always
>>>>>>>>>>>> something to be improved; nevertheless we would like to donate
>>>>>>>>>>>> the
>>>>>>>>>>>> new
>>>>>>>>>>>> skin
>>>>>>>>>>>> and the new demo application to the MyFaces community, in its
>>>>>>>>>>>> current
>>>>>>>>>>>> state,
>>>>>>>>>>>> and continue there if you guys agree.
>>>>>>>>>>>> Many thanks go to my collegue Adonis who has put a lot of effort
>>>>>>>>>>>> into
>>>>>>>>>>>> designing and implementing the new skin called 'Casablanca'. I'm
>>>>>>>>>>>> sure
>>>>>>>>>>>> he
>>>>>>>>>>>> can
>>>>>>>>>>>> give you more details as needed about how the process went.
>>>>>>>>>>>>
>>>>>>>>>>>> A few words about the new demo:
>>>>>>>>>>>>
>>>>>>>>>>>>  first of all, many thanks to another collegue of mine, Cosmin,
>>>>>>>>>>>> for
>>>>>>>>>>>> his
>>>>>>>>>>>> continuos efforts with this.
>>>>>>>>>>>> the demo is working only with facelets (there is no jsp version)
>>>>>>>>>>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>>>>>>>>>>>> we tryied to build it so it can be searched online also,
>>>>>>>>>>>> currently
>>>>>>>>>>>> tryied
>>>>>>>>>>>> with Google Custom Search, but this didn't work out so smoothly
>>>>>>>>>>>> so
>>>>>>>>>>>> far.
>>>>>>>>>>>> In
>>>>>>>>>>>> any case, that's the reason for the pretty urls used. (so, no
>>>>>>>>>>>> point
>>>>>>>>>>>> in
>>>>>>>>>>>> trying the search currently as it doesn't work).
>>>>>>>>>>>> in general, it replicates the examples available already for
>>>>>>>>>>>> Trinidad
>>>>>>>>>>>> in
>>>>>>>>>>>> the
>>>>>>>>>>>> existing demo, in someplaces slightly improved.
>>>>>>>>>>>> it tryies to provide a platform on which to build much more demos
>>>>>>>>>>>> as
>>>>>>>>>>>> required as there can be always new ideas about demoing a
>>>>>>>>>>>> meaningfull
>>>>>>>>>>>> use
>>>>>>>>>>>> case on Trinidad, or some component behaviour.
>>>>>>>>>>>>
>>>>>>>>>>>> I'm eager to get your reactions, I think these guys did a great
>>>>>>>>>>>> job
>>>>>>>>>>>> so
>>>>>>>>>>>> far
>>>>>>>>>>>> and this would bring Trinidad at least a few steps closer to a
>>>>>>>>>>>> more
>>>>>>>>>>>> appealing and user friendly component set.
>>>>>>>>>>>> regards,
>>>>>>>>>>>> Catalin
>>>>>>>>>>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>>>>>>>>>>>> ------------
>>>>>>>>>>>> Codebeat
>>>>>>>>>>>> www.codebeat.ro
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                       
>>>>>>>>>>> --
>>>>>>>>>>> Matthias Wessendorf
>>>>>>>>>>>
>>>>>>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>>>>>>>>> sessions: http://www.slideshare.net/mwessendorf
>>>>>>>>>>> twitter: http://twitter.com/mwessendorf
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                     
>>>>>>>>>> --
>>>>>>>>>> ------------
>>>>>>>>>> Codebeat
>>>>>>>>>> www.codebeat.ro
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                   
>>>>>>>>> --
>>>>>>>>> Matthias Wessendorf
>>>>>>>>>
>>>>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>>>>>>> sessions: http://www.slideshare.net/mwessendorf
>>>>>>>>> twitter: http://twitter.com/mwessendorf
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                 
>>>>>>>> --
>>>>>>>> ------------
>>>>>>>> Codebeat
>>>>>>>> www.codebeat.ro
>>>>>>>>
>>>>>>>>               
>>>>>>> --
>>>>>>> ------------
>>>>>>> Codebeat
>>>>>>> www.codebeat.ro
>>>>>>>
>>>>>>>
>>>>>>>             
>>>>>>           
>>>> --
>>>> ------------
>>>> Codebeat
>>>> www.codebeat.ro
>>>>       
>>>     
>>
>>
>>
>>   
>

Re: Make the new skin part of Trinidad

Posted by Blake Sullivan <bl...@oracle.com>.
+1

-- Blake Sullivan

Matthias Wessendorf said the following On 1/13/2010 9:19 AM PT:
> On Wed, Jan 13, 2010 at 6:14 PM, Matt Cooper <mc...@apache.org> wrote:
>   
>> Rather than having the casablanca skin as a separate jar file, I would
>> prefer to see it built-into the Trinidad jars (part of the impl project) so
>> consumers could use it out-of-the-box without any extra jar configuration.
>>     
>
> I want it to become default :-)
>
>   
>> Regards,
>> Matt
>>
>> On Wed, Jan 13, 2010 at 10:02 AM, Catalin Kormos <ca...@gmail.com>
>> wrote:
>>     
>>> Hi Jeanne,
>>>
>>> Thanks for the information, the thing is the custom resource loader is
>>> able to locate resource files in custom location, but the main entry
>>> point it is still the resource servlet, which intercepts the request
>>> to a /adf/* and then delegates to various resource loader to actually
>>> locate them, right?
>>>
>>> I was thinking maybe there is a feature like you can have EL
>>> expressions in the css, to resolve the context where the resource
>>> servlet is mapped...
>>>
>>> For now we will stick with the default /adf, i think this mapping of
>>> the resource servlet is required by other trinidad stuff also...so
>>> it's like a best practice to have it declared in web.xml.
>>>
>>> regards,
>>> Catalin
>>>
>>> On 1/13/10, Jeanne Waldman <je...@oracle.com> wrote:
>>>       
>>>> Matthias Wessendorf wrote, On 1/12/2010 11:57 PM PT:
>>>>         
>>>>> On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
>>>>> <ca...@gmail.com> wrote:
>>>>>
>>>>>           
>>>>>> Hi,
>>>>>> Was wondering if it would be possible to package a skin in its own jar
>>>>>> file,
>>>>>>
>>>>>>             
>>>>> yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/
>>>>>
>>>>>
>>>>>           
>>>>>> so that we wouldn't need to package the skin witht the actual webapp
>>>>>> that
>>>>>> uses it, so that we could start having separate modules for skins?
>>>>>>
>>>>>>             
>>>>> in theory yes.
>>>>>
>>>>>
>>>>>           
>>>>>> it would
>>>>>> make sense for the new Casablanca skin IMHO. What do you think?
>>>>>>
>>>>>>             
>>>>> I think we should make the new Casablance skin the default;
>>>>> the old skin we can place into a "skinning module"
>>>>>
>>>>> /trinidad-skins
>>>>>  -/old-and-ugly-green-skin
>>>>> :-)
>>>>>
>>>>>
>>>>>           
>>>>>> About packaging skins, it seems possible, but I have a question:
>>>>>>   - for example in the skin's css file, if background image urls are
>>>>>> specified, for example, with a property "background: white
>>>>>> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
>>>>>> repeat-x bottom left;" this will work also when the images are
>>>>>> packaged
>>>>>> in a
>>>>>> jar available in the classpath, but only if the Trinidad Resource
>>>>>> Servlet
>>>>>> is
>>>>>> mapped to /adf/*; what happens if the servlet is mapped to another url
>>>>>> pattern? is there another approach, mapping independent, or are we
>>>>>> stuck
>>>>>> with /adf?
>>>>>>
>>>>>>             
>>>>> I think we are stuck with the (odd) /adf
>>>>>
>>>>> Regarding its refactoring, I think it takes quite a while and maybe
>>>>> error-prone.
>>>>> Jeanne may know more on that item.
>>>>>
>>>>>           
>>>> I would stick with /adf in your path since that is the easiest.
>>>>
>>>> If you want to use a different mapping, say /foo, then you probably have
>>>> to
>>>> do this (I haven't confirmed):
>>>> 1. add a new foo.resources file to \META-INF\servlets\resources
>>>> directory
>>>>   - currently there is an adf.resources file and it has this one entry
>>>> org.apache.myfaces.trinidadinternal.resource.CoreRenderKitResourceLoader
>>>> 2. add your new mapping to Trinidad's ResourceServlet to the web.xml.
>>>>  - currently there is:
>>>>   <servlet-mapping>
>>>>     <servlet-name>resources</servlet-name>
>>>>     <url-pattern>/adf/*</url-pattern>
>>>>   </servlet-mapping>
>>>> 3. I don't think there are dependencies on /adf in any of Trinidad's
>>>> ResourceLoaders, but if so, then you'll need to write your own
>>>> ResourceLoader as well.
>>>>
>>>>
>>>>         
>>>>> -Matthias
>>>>>
>>>>>
>>>>>           
>>>>>> regards,
>>>>>> Catalin
>>>>>> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos
>>>>>> <ca...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>             
>>>>>>> Ok, sounds good.
>>>>>>>
>>>>>>> regards,
>>>>>>> Cata
>>>>>>>
>>>>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>>>>>>
>>>>>>>               
>>>>>>>> once the JIRA is up, I will ping general@incubator.a.o regarding the
>>>>>>>> software grant
>>>>>>>> Note: this is only discussed at the incubator committee, but no
>>>>>>>> incubation for that piece is
>>>>>>>> needed. Maybe (only) a software grant.
>>>>>>>>
>>>>>>>> -M
>>>>>>>>
>>>>>>>> On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
>>>>>>>> <ca...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>                 
>>>>>>>>> Hey Matthias,
>>>>>>>>>
>>>>>>>>> Great :), we'll look into the tasks you mentioned.
>>>>>>>>>
>>>>>>>>> regards,
>>>>>>>>> Catalin
>>>>>>>>>
>>>>>>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>>>>>>>>
>>>>>>>>>                   
>>>>>>>>>> Hi Catalin et al,
>>>>>>>>>>
>>>>>>>>>> as promised, I hijacked the thread...
>>>>>>>>>>
>>>>>>>>>> thanks again for contributing this skin to Trinidad.
>>>>>>>>>>
>>>>>>>>>> The following tasks are needed:
>>>>>>>>>> -A JIRA ticket that contains the patch(es)
>>>>>>>>>>  - for the Skin itself
>>>>>>>>>>  - for the GREAT demo
>>>>>>>>>> => maybe a software grant is needed; If so, I will handle the
>>>>>>>>>> paperwork stuff for you guys.
>>>>>>>>>>
>>>>>>>>>> Once the things above are sorted out, we can apply it to TRUNK.
>>>>>>>>>> However, I'd like to do a RELEASE before we integrate the new
>>>>>>>>>> Skin/Demo.
>>>>>>>>>> I also don't mind to pretty much do a "sub-release" once the new
>>>>>>>>>> stuff
>>>>>>>>>> is in. (With maven, release are not expensive)
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Matthias
>>>>>>>>>>
>>>>>>>>>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>>>>>>>>>> <ca...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>                     
>>>>>>>>>>> Hello there,
>>>>>>>>>>> I have the pleasure to inform you about the work we did to
>>>>>>>>>>> develop a
>>>>>>>>>>> new
>>>>>>>>>>> skin for Trinidad and based on this a brand new, Trinidad
>>>>>>>>>>> components
>>>>>>>>>>> showcase application. You can see it all in action at [1]. It is
>>>>>>>>>>> still a
>>>>>>>>>>> working in progress, in advanced state though...i mean there is
>>>>>>>>>>> always
>>>>>>>>>>> something to be improved; nevertheless we would like to donate
>>>>>>>>>>> the
>>>>>>>>>>> new
>>>>>>>>>>> skin
>>>>>>>>>>> and the new demo application to the MyFaces community, in its
>>>>>>>>>>> current
>>>>>>>>>>> state,
>>>>>>>>>>> and continue there if you guys agree.
>>>>>>>>>>> Many thanks go to my collegue Adonis who has put a lot of effort
>>>>>>>>>>> into
>>>>>>>>>>> designing and implementing the new skin called 'Casablanca'. I'm
>>>>>>>>>>> sure
>>>>>>>>>>> he
>>>>>>>>>>> can
>>>>>>>>>>> give you more details as needed about how the process went.
>>>>>>>>>>>
>>>>>>>>>>> A few words about the new demo:
>>>>>>>>>>>
>>>>>>>>>>>  first of all, many thanks to another collegue of mine, Cosmin,
>>>>>>>>>>> for
>>>>>>>>>>> his
>>>>>>>>>>> continuos efforts with this.
>>>>>>>>>>> the demo is working only with facelets (there is no jsp version)
>>>>>>>>>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>>>>>>>>>>> we tryied to build it so it can be searched online also,
>>>>>>>>>>> currently
>>>>>>>>>>> tryied
>>>>>>>>>>> with Google Custom Search, but this didn't work out so smoothly
>>>>>>>>>>> so
>>>>>>>>>>> far.
>>>>>>>>>>> In
>>>>>>>>>>> any case, that's the reason for the pretty urls used. (so, no
>>>>>>>>>>> point
>>>>>>>>>>> in
>>>>>>>>>>> trying the search currently as it doesn't work).
>>>>>>>>>>> in general, it replicates the examples available already for
>>>>>>>>>>> Trinidad
>>>>>>>>>>> in
>>>>>>>>>>> the
>>>>>>>>>>> existing demo, in someplaces slightly improved.
>>>>>>>>>>> it tryies to provide a platform on which to build much more demos
>>>>>>>>>>> as
>>>>>>>>>>> required as there can be always new ideas about demoing a
>>>>>>>>>>> meaningfull
>>>>>>>>>>> use
>>>>>>>>>>> case on Trinidad, or some component behaviour.
>>>>>>>>>>>
>>>>>>>>>>> I'm eager to get your reactions, I think these guys did a great
>>>>>>>>>>> job
>>>>>>>>>>> so
>>>>>>>>>>> far
>>>>>>>>>>> and this would bring Trinidad at least a few steps closer to a
>>>>>>>>>>> more
>>>>>>>>>>> appealing and user friendly component set.
>>>>>>>>>>> regards,
>>>>>>>>>>> Catalin
>>>>>>>>>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>>>>>>>>>>> ------------
>>>>>>>>>>> Codebeat
>>>>>>>>>>> www.codebeat.ro
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                       
>>>>>>>>>> --
>>>>>>>>>> Matthias Wessendorf
>>>>>>>>>>
>>>>>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>>>>>>>> sessions: http://www.slideshare.net/mwessendorf
>>>>>>>>>> twitter: http://twitter.com/mwessendorf
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>                     
>>>>>>>>> --
>>>>>>>>> ------------
>>>>>>>>> Codebeat
>>>>>>>>> www.codebeat.ro
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                   
>>>>>>>> --
>>>>>>>> Matthias Wessendorf
>>>>>>>>
>>>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>>>>>> sessions: http://www.slideshare.net/mwessendorf
>>>>>>>> twitter: http://twitter.com/mwessendorf
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>>> --
>>>>>>> ------------
>>>>>>> Codebeat
>>>>>>> www.codebeat.ro
>>>>>>>
>>>>>>>               
>>>>>> --
>>>>>> ------------
>>>>>> Codebeat
>>>>>> www.codebeat.ro
>>>>>>
>>>>>>
>>>>>>             
>>>>>
>>>>>           
>>> --
>>> ------------
>>> Codebeat
>>> www.codebeat.ro
>>>       
>>     
>
>
>
>   


Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Matthias Wessendorf <ma...@apache.org>.
On Wed, Jan 13, 2010 at 6:14 PM, Matt Cooper <mc...@apache.org> wrote:
> Rather than having the casablanca skin as a separate jar file, I would
> prefer to see it built-into the Trinidad jars (part of the impl project) so
> consumers could use it out-of-the-box without any extra jar configuration.

I want it to become default :-)

>
> Regards,
> Matt
>
> On Wed, Jan 13, 2010 at 10:02 AM, Catalin Kormos <ca...@gmail.com>
> wrote:
>>
>> Hi Jeanne,
>>
>> Thanks for the information, the thing is the custom resource loader is
>> able to locate resource files in custom location, but the main entry
>> point it is still the resource servlet, which intercepts the request
>> to a /adf/* and then delegates to various resource loader to actually
>> locate them, right?
>>
>> I was thinking maybe there is a feature like you can have EL
>> expressions in the css, to resolve the context where the resource
>> servlet is mapped...
>>
>> For now we will stick with the default /adf, i think this mapping of
>> the resource servlet is required by other trinidad stuff also...so
>> it's like a best practice to have it declared in web.xml.
>>
>> regards,
>> Catalin
>>
>> On 1/13/10, Jeanne Waldman <je...@oracle.com> wrote:
>> >
>> >
>> > Matthias Wessendorf wrote, On 1/12/2010 11:57 PM PT:
>> >>
>> >> On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
>> >> <ca...@gmail.com> wrote:
>> >>
>> >>>
>> >>> Hi,
>> >>> Was wondering if it would be possible to package a skin in its own jar
>> >>> file,
>> >>>
>> >>
>> >> yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/
>> >>
>> >>
>> >>>
>> >>> so that we wouldn't need to package the skin witht the actual webapp
>> >>> that
>> >>> uses it, so that we could start having separate modules for skins?
>> >>>
>> >>
>> >> in theory yes.
>> >>
>> >>
>> >>>
>> >>> it would
>> >>> make sense for the new Casablanca skin IMHO. What do you think?
>> >>>
>> >>
>> >> I think we should make the new Casablance skin the default;
>> >> the old skin we can place into a "skinning module"
>> >>
>> >> /trinidad-skins
>> >>  -/old-and-ugly-green-skin
>> >> :-)
>> >>
>> >>
>> >>>
>> >>> About packaging skins, it seems possible, but I have a question:
>> >>>   - for example in the skin's css file, if background image urls are
>> >>> specified, for example, with a property "background: white
>> >>> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
>> >>> repeat-x bottom left;" this will work also when the images are
>> >>> packaged
>> >>> in a
>> >>> jar available in the classpath, but only if the Trinidad Resource
>> >>> Servlet
>> >>> is
>> >>> mapped to /adf/*; what happens if the servlet is mapped to another url
>> >>> pattern? is there another approach, mapping independent, or are we
>> >>> stuck
>> >>> with /adf?
>> >>>
>> >>
>> >> I think we are stuck with the (odd) /adf
>> >>
>> >> Regarding its refactoring, I think it takes quite a while and maybe
>> >> error-prone.
>> >> Jeanne may know more on that item.
>> >>
>> >
>> > I would stick with /adf in your path since that is the easiest.
>> >
>> > If you want to use a different mapping, say /foo, then you probably have
>> > to
>> > do this (I haven't confirmed):
>> > 1. add a new foo.resources file to \META-INF\servlets\resources
>> > directory
>> >   - currently there is an adf.resources file and it has this one entry
>> > org.apache.myfaces.trinidadinternal.resource.CoreRenderKitResourceLoader
>> > 2. add your new mapping to Trinidad's ResourceServlet to the web.xml.
>> >  - currently there is:
>> >   <servlet-mapping>
>> >     <servlet-name>resources</servlet-name>
>> >     <url-pattern>/adf/*</url-pattern>
>> >   </servlet-mapping>
>> > 3. I don't think there are dependencies on /adf in any of Trinidad's
>> > ResourceLoaders, but if so, then you'll need to write your own
>> > ResourceLoader as well.
>> >
>> >
>> >>
>> >>
>> >> -Matthias
>> >>
>> >>
>> >>>
>> >>> regards,
>> >>> Catalin
>> >>> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos
>> >>> <ca...@gmail.com>
>> >>> wrote:
>> >>>
>> >>>>
>> >>>> Ok, sounds good.
>> >>>>
>> >>>> regards,
>> >>>> Cata
>> >>>>
>> >>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>> >>>>
>> >>>>>
>> >>>>> once the JIRA is up, I will ping general@incubator.a.o regarding the
>> >>>>> software grant
>> >>>>> Note: this is only discussed at the incubator committee, but no
>> >>>>> incubation for that piece is
>> >>>>> needed. Maybe (only) a software grant.
>> >>>>>
>> >>>>> -M
>> >>>>>
>> >>>>> On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
>> >>>>> <ca...@gmail.com> wrote:
>> >>>>>
>> >>>>>>
>> >>>>>> Hey Matthias,
>> >>>>>>
>> >>>>>> Great :), we'll look into the tasks you mentioned.
>> >>>>>>
>> >>>>>> regards,
>> >>>>>> Catalin
>> >>>>>>
>> >>>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>> >>>>>>
>> >>>>>>>
>> >>>>>>> Hi Catalin et al,
>> >>>>>>>
>> >>>>>>> as promised, I hijacked the thread...
>> >>>>>>>
>> >>>>>>> thanks again for contributing this skin to Trinidad.
>> >>>>>>>
>> >>>>>>> The following tasks are needed:
>> >>>>>>> -A JIRA ticket that contains the patch(es)
>> >>>>>>>  - for the Skin itself
>> >>>>>>>  - for the GREAT demo
>> >>>>>>> => maybe a software grant is needed; If so, I will handle the
>> >>>>>>> paperwork stuff for you guys.
>> >>>>>>>
>> >>>>>>> Once the things above are sorted out, we can apply it to TRUNK.
>> >>>>>>> However, I'd like to do a RELEASE before we integrate the new
>> >>>>>>> Skin/Demo.
>> >>>>>>> I also don't mind to pretty much do a "sub-release" once the new
>> >>>>>>> stuff
>> >>>>>>> is in. (With maven, release are not expensive)
>> >>>>>>>
>> >>>>>>> Thanks,
>> >>>>>>> Matthias
>> >>>>>>>
>> >>>>>>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>> >>>>>>> <ca...@gmail.com> wrote:
>> >>>>>>>
>> >>>>>>>>
>> >>>>>>>> Hello there,
>> >>>>>>>> I have the pleasure to inform you about the work we did to
>> >>>>>>>> develop a
>> >>>>>>>> new
>> >>>>>>>> skin for Trinidad and based on this a brand new, Trinidad
>> >>>>>>>> components
>> >>>>>>>> showcase application. You can see it all in action at [1]. It is
>> >>>>>>>> still a
>> >>>>>>>> working in progress, in advanced state though...i mean there is
>> >>>>>>>> always
>> >>>>>>>> something to be improved; nevertheless we would like to donate
>> >>>>>>>> the
>> >>>>>>>> new
>> >>>>>>>> skin
>> >>>>>>>> and the new demo application to the MyFaces community, in its
>> >>>>>>>> current
>> >>>>>>>> state,
>> >>>>>>>> and continue there if you guys agree.
>> >>>>>>>> Many thanks go to my collegue Adonis who has put a lot of effort
>> >>>>>>>> into
>> >>>>>>>> designing and implementing the new skin called 'Casablanca'. I'm
>> >>>>>>>> sure
>> >>>>>>>> he
>> >>>>>>>> can
>> >>>>>>>> give you more details as needed about how the process went.
>> >>>>>>>>
>> >>>>>>>> A few words about the new demo:
>> >>>>>>>>
>> >>>>>>>>  first of all, many thanks to another collegue of mine, Cosmin,
>> >>>>>>>> for
>> >>>>>>>> his
>> >>>>>>>> continuos efforts with this.
>> >>>>>>>> the demo is working only with facelets (there is no jsp version)
>> >>>>>>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>> >>>>>>>> we tryied to build it so it can be searched online also,
>> >>>>>>>> currently
>> >>>>>>>> tryied
>> >>>>>>>> with Google Custom Search, but this didn't work out so smoothly
>> >>>>>>>> so
>> >>>>>>>> far.
>> >>>>>>>> In
>> >>>>>>>> any case, that's the reason for the pretty urls used. (so, no
>> >>>>>>>> point
>> >>>>>>>> in
>> >>>>>>>> trying the search currently as it doesn't work).
>> >>>>>>>> in general, it replicates the examples available already for
>> >>>>>>>> Trinidad
>> >>>>>>>> in
>> >>>>>>>> the
>> >>>>>>>> existing demo, in someplaces slightly improved.
>> >>>>>>>> it tryies to provide a platform on which to build much more demos
>> >>>>>>>> as
>> >>>>>>>> required as there can be always new ideas about demoing a
>> >>>>>>>> meaningfull
>> >>>>>>>> use
>> >>>>>>>> case on Trinidad, or some component behaviour.
>> >>>>>>>>
>> >>>>>>>> I'm eager to get your reactions, I think these guys did a great
>> >>>>>>>> job
>> >>>>>>>> so
>> >>>>>>>> far
>> >>>>>>>> and this would bring Trinidad at least a few steps closer to a
>> >>>>>>>> more
>> >>>>>>>> appealing and user friendly component set.
>> >>>>>>>> regards,
>> >>>>>>>> Catalin
>> >>>>>>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>> >>>>>>>> ------------
>> >>>>>>>> Codebeat
>> >>>>>>>> www.codebeat.ro
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>
>> >>>>>>> --
>> >>>>>>> Matthias Wessendorf
>> >>>>>>>
>> >>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>> >>>>>>> sessions: http://www.slideshare.net/mwessendorf
>> >>>>>>> twitter: http://twitter.com/mwessendorf
>> >>>>>>>
>> >>>>>>>
>> >>>>>>
>> >>>>>> --
>> >>>>>> ------------
>> >>>>>> Codebeat
>> >>>>>> www.codebeat.ro
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>> --
>> >>>>> Matthias Wessendorf
>> >>>>>
>> >>>>> blog: http://matthiaswessendorf.wordpress.com/
>> >>>>> sessions: http://www.slideshare.net/mwessendorf
>> >>>>> twitter: http://twitter.com/mwessendorf
>> >>>>>
>> >>>>>
>> >>>>
>> >>>> --
>> >>>> ------------
>> >>>> Codebeat
>> >>>> www.codebeat.ro
>> >>>>
>> >>>
>> >>> --
>> >>> ------------
>> >>> Codebeat
>> >>> www.codebeat.ro
>> >>>
>> >>>
>> >>
>> >>
>> >>
>>
>>
>> --
>> ------------
>> Codebeat
>> www.codebeat.ro
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Matt Cooper <mc...@apache.org>.
Rather than having the casablanca skin as a separate jar file, I would
prefer to see it built-into the Trinidad jars (part of the impl project) so
consumers could use it out-of-the-box without any extra jar configuration.

Regards,
Matt

On Wed, Jan 13, 2010 at 10:02 AM, Catalin Kormos
<ca...@gmail.com>wrote:

> Hi Jeanne,
>
> Thanks for the information, the thing is the custom resource loader is
> able to locate resource files in custom location, but the main entry
> point it is still the resource servlet, which intercepts the request
> to a /adf/* and then delegates to various resource loader to actually
> locate them, right?
>
> I was thinking maybe there is a feature like you can have EL
> expressions in the css, to resolve the context where the resource
> servlet is mapped...
>
> For now we will stick with the default /adf, i think this mapping of
> the resource servlet is required by other trinidad stuff also...so
> it's like a best practice to have it declared in web.xml.
>
> regards,
> Catalin
>
> On 1/13/10, Jeanne Waldman <je...@oracle.com> wrote:
> >
> >
> > Matthias Wessendorf wrote, On 1/12/2010 11:57 PM PT:
> >>
> >> On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
> >> <ca...@gmail.com> wrote:
> >>
> >>>
> >>> Hi,
> >>> Was wondering if it would be possible to package a skin in its own jar
> >>> file,
> >>>
> >>
> >> yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/
> >>
> >>
> >>>
> >>> so that we wouldn't need to package the skin witht the actual webapp
> that
> >>> uses it, so that we could start having separate modules for skins?
> >>>
> >>
> >> in theory yes.
> >>
> >>
> >>>
> >>> it would
> >>> make sense for the new Casablanca skin IMHO. What do you think?
> >>>
> >>
> >> I think we should make the new Casablance skin the default;
> >> the old skin we can place into a "skinning module"
> >>
> >> /trinidad-skins
> >>  -/old-and-ugly-green-skin
> >> :-)
> >>
> >>
> >>>
> >>> About packaging skins, it seems possible, but I have a question:
> >>>   - for example in the skin's css file, if background image urls are
> >>> specified, for example, with a property "background: white
> >>> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
> >>> repeat-x bottom left;" this will work also when the images are packaged
> >>> in a
> >>> jar available in the classpath, but only if the Trinidad Resource
> Servlet
> >>> is
> >>> mapped to /adf/*; what happens if the servlet is mapped to another url
> >>> pattern? is there another approach, mapping independent, or are we
> stuck
> >>> with /adf?
> >>>
> >>
> >> I think we are stuck with the (odd) /adf
> >>
> >> Regarding its refactoring, I think it takes quite a while and maybe
> >> error-prone.
> >> Jeanne may know more on that item.
> >>
> >
> > I would stick with /adf in your path since that is the easiest.
> >
> > If you want to use a different mapping, say /foo, then you probably have
> to
> > do this (I haven't confirmed):
> > 1. add a new foo.resources file to \META-INF\servlets\resources directory
> >   - currently there is an adf.resources file and it has this one entry
> > org.apache.myfaces.trinidadinternal.resource.CoreRenderKitResourceLoader
> > 2. add your new mapping to Trinidad's ResourceServlet to the web.xml.
> >  - currently there is:
> >   <servlet-mapping>
> >     <servlet-name>resources</servlet-name>
> >     <url-pattern>/adf/*</url-pattern>
> >   </servlet-mapping>
> > 3. I don't think there are dependencies on /adf in any of Trinidad's
> > ResourceLoaders, but if so, then you'll need to write your own
> > ResourceLoader as well.
> >
> >
> >>
> >>
> >> -Matthias
> >>
> >>
> >>>
> >>> regards,
> >>> Catalin
> >>> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos
> >>> <ca...@gmail.com>
> >>> wrote:
> >>>
> >>>>
> >>>> Ok, sounds good.
> >>>>
> >>>> regards,
> >>>> Cata
> >>>>
> >>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
> >>>>
> >>>>>
> >>>>> once the JIRA is up, I will ping general@incubator.a.o regarding the
> >>>>> software grant
> >>>>> Note: this is only discussed at the incubator committee, but no
> >>>>> incubation for that piece is
> >>>>> needed. Maybe (only) a software grant.
> >>>>>
> >>>>> -M
> >>>>>
> >>>>> On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
> >>>>> <ca...@gmail.com> wrote:
> >>>>>
> >>>>>>
> >>>>>> Hey Matthias,
> >>>>>>
> >>>>>> Great :), we'll look into the tasks you mentioned.
> >>>>>>
> >>>>>> regards,
> >>>>>> Catalin
> >>>>>>
> >>>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
> >>>>>>
> >>>>>>>
> >>>>>>> Hi Catalin et al,
> >>>>>>>
> >>>>>>> as promised, I hijacked the thread...
> >>>>>>>
> >>>>>>> thanks again for contributing this skin to Trinidad.
> >>>>>>>
> >>>>>>> The following tasks are needed:
> >>>>>>> -A JIRA ticket that contains the patch(es)
> >>>>>>>  - for the Skin itself
> >>>>>>>  - for the GREAT demo
> >>>>>>> => maybe a software grant is needed; If so, I will handle the
> >>>>>>> paperwork stuff for you guys.
> >>>>>>>
> >>>>>>> Once the things above are sorted out, we can apply it to TRUNK.
> >>>>>>> However, I'd like to do a RELEASE before we integrate the new
> >>>>>>> Skin/Demo.
> >>>>>>> I also don't mind to pretty much do a "sub-release" once the new
> >>>>>>> stuff
> >>>>>>> is in. (With maven, release are not expensive)
> >>>>>>>
> >>>>>>> Thanks,
> >>>>>>> Matthias
> >>>>>>>
> >>>>>>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
> >>>>>>> <ca...@gmail.com> wrote:
> >>>>>>>
> >>>>>>>>
> >>>>>>>> Hello there,
> >>>>>>>> I have the pleasure to inform you about the work we did to develop
> a
> >>>>>>>> new
> >>>>>>>> skin for Trinidad and based on this a brand new, Trinidad
> components
> >>>>>>>> showcase application. You can see it all in action at [1]. It is
> >>>>>>>> still a
> >>>>>>>> working in progress, in advanced state though...i mean there is
> >>>>>>>> always
> >>>>>>>> something to be improved; nevertheless we would like to donate the
> >>>>>>>> new
> >>>>>>>> skin
> >>>>>>>> and the new demo application to the MyFaces community, in its
> >>>>>>>> current
> >>>>>>>> state,
> >>>>>>>> and continue there if you guys agree.
> >>>>>>>> Many thanks go to my collegue Adonis who has put a lot of effort
> >>>>>>>> into
> >>>>>>>> designing and implementing the new skin called 'Casablanca'. I'm
> >>>>>>>> sure
> >>>>>>>> he
> >>>>>>>> can
> >>>>>>>> give you more details as needed about how the process went.
> >>>>>>>>
> >>>>>>>> A few words about the new demo:
> >>>>>>>>
> >>>>>>>>  first of all, many thanks to another collegue of mine, Cosmin,
> for
> >>>>>>>> his
> >>>>>>>> continuos efforts with this.
> >>>>>>>> the demo is working only with facelets (there is no jsp version)
> >>>>>>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
> >>>>>>>> we tryied to build it so it can be searched online also, currently
> >>>>>>>> tryied
> >>>>>>>> with Google Custom Search, but this didn't work out so smoothly so
> >>>>>>>> far.
> >>>>>>>> In
> >>>>>>>> any case, that's the reason for the pretty urls used. (so, no
> point
> >>>>>>>> in
> >>>>>>>> trying the search currently as it doesn't work).
> >>>>>>>> in general, it replicates the examples available already for
> >>>>>>>> Trinidad
> >>>>>>>> in
> >>>>>>>> the
> >>>>>>>> existing demo, in someplaces slightly improved.
> >>>>>>>> it tryies to provide a platform on which to build much more demos
> as
> >>>>>>>> required as there can be always new ideas about demoing a
> >>>>>>>> meaningfull
> >>>>>>>> use
> >>>>>>>> case on Trinidad, or some component behaviour.
> >>>>>>>>
> >>>>>>>> I'm eager to get your reactions, I think these guys did a great
> job
> >>>>>>>> so
> >>>>>>>> far
> >>>>>>>> and this would bring Trinidad at least a few steps closer to a
> more
> >>>>>>>> appealing and user friendly component set.
> >>>>>>>> regards,
> >>>>>>>> Catalin
> >>>>>>>> [1] http://example.irian.at/trinidad-showcase-casablanca
> >>>>>>>> ------------
> >>>>>>>> Codebeat
> >>>>>>>> www.codebeat.ro
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Matthias Wessendorf
> >>>>>>>
> >>>>>>> blog: http://matthiaswessendorf.wordpress.com/
> >>>>>>> sessions: http://www.slideshare.net/mwessendorf
> >>>>>>> twitter: http://twitter.com/mwessendorf
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> ------------
> >>>>>> Codebeat
> >>>>>> www.codebeat.ro
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> --
> >>>>> Matthias Wessendorf
> >>>>>
> >>>>> blog: http://matthiaswessendorf.wordpress.com/
> >>>>> sessions: http://www.slideshare.net/mwessendorf
> >>>>> twitter: http://twitter.com/mwessendorf
> >>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> ------------
> >>>> Codebeat
> >>>> www.codebeat.ro
> >>>>
> >>>
> >>> --
> >>> ------------
> >>> Codebeat
> >>> www.codebeat.ro
> >>>
> >>>
> >>
> >>
> >>
>
>
> --
> ------------
> Codebeat
> www.codebeat.ro
>

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Catalin Kormos <ca...@gmail.com>.
Hi Jeanne,

Thanks for the information, the thing is the custom resource loader is
able to locate resource files in custom location, but the main entry
point it is still the resource servlet, which intercepts the request
to a /adf/* and then delegates to various resource loader to actually
locate them, right?

I was thinking maybe there is a feature like you can have EL
expressions in the css, to resolve the context where the resource
servlet is mapped...

For now we will stick with the default /adf, i think this mapping of
the resource servlet is required by other trinidad stuff also...so
it's like a best practice to have it declared in web.xml.

regards,
Catalin

On 1/13/10, Jeanne Waldman <je...@oracle.com> wrote:
>
>
> Matthias Wessendorf wrote, On 1/12/2010 11:57 PM PT:
>>
>> On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
>> <ca...@gmail.com> wrote:
>>
>>>
>>> Hi,
>>> Was wondering if it would be possible to package a skin in its own jar
>>> file,
>>>
>>
>> yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/
>>
>>
>>>
>>> so that we wouldn't need to package the skin witht the actual webapp that
>>> uses it, so that we could start having separate modules for skins?
>>>
>>
>> in theory yes.
>>
>>
>>>
>>> it would
>>> make sense for the new Casablanca skin IMHO. What do you think?
>>>
>>
>> I think we should make the new Casablance skin the default;
>> the old skin we can place into a "skinning module"
>>
>> /trinidad-skins
>>  -/old-and-ugly-green-skin
>> :-)
>>
>>
>>>
>>> About packaging skins, it seems possible, but I have a question:
>>>   - for example in the skin's css file, if background image urls are
>>> specified, for example, with a property "background: white
>>> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
>>> repeat-x bottom left;" this will work also when the images are packaged
>>> in a
>>> jar available in the classpath, but only if the Trinidad Resource Servlet
>>> is
>>> mapped to /adf/*; what happens if the servlet is mapped to another url
>>> pattern? is there another approach, mapping independent, or are we stuck
>>> with /adf?
>>>
>>
>> I think we are stuck with the (odd) /adf
>>
>> Regarding its refactoring, I think it takes quite a while and maybe
>> error-prone.
>> Jeanne may know more on that item.
>>
>
> I would stick with /adf in your path since that is the easiest.
>
> If you want to use a different mapping, say /foo, then you probably have to
> do this (I haven't confirmed):
> 1. add a new foo.resources file to \META-INF\servlets\resources directory
>   - currently there is an adf.resources file and it has this one entry
> org.apache.myfaces.trinidadinternal.resource.CoreRenderKitResourceLoader
> 2. add your new mapping to Trinidad's ResourceServlet to the web.xml.
>  - currently there is:
>   <servlet-mapping>
>     <servlet-name>resources</servlet-name>
>     <url-pattern>/adf/*</url-pattern>
>   </servlet-mapping>
> 3. I don't think there are dependencies on /adf in any of Trinidad's
> ResourceLoaders, but if so, then you'll need to write your own
> ResourceLoader as well.
>
>
>>
>>
>> -Matthias
>>
>>
>>>
>>> regards,
>>> Catalin
>>> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos
>>> <ca...@gmail.com>
>>> wrote:
>>>
>>>>
>>>> Ok, sounds good.
>>>>
>>>> regards,
>>>> Cata
>>>>
>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>>>
>>>>>
>>>>> once the JIRA is up, I will ping general@incubator.a.o regarding the
>>>>> software grant
>>>>> Note: this is only discussed at the incubator committee, but no
>>>>> incubation for that piece is
>>>>> needed. Maybe (only) a software grant.
>>>>>
>>>>> -M
>>>>>
>>>>> On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
>>>>> <ca...@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>> Hey Matthias,
>>>>>>
>>>>>> Great :), we'll look into the tasks you mentioned.
>>>>>>
>>>>>> regards,
>>>>>> Catalin
>>>>>>
>>>>>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>>>>>
>>>>>>>
>>>>>>> Hi Catalin et al,
>>>>>>>
>>>>>>> as promised, I hijacked the thread...
>>>>>>>
>>>>>>> thanks again for contributing this skin to Trinidad.
>>>>>>>
>>>>>>> The following tasks are needed:
>>>>>>> -A JIRA ticket that contains the patch(es)
>>>>>>>  - for the Skin itself
>>>>>>>  - for the GREAT demo
>>>>>>> => maybe a software grant is needed; If so, I will handle the
>>>>>>> paperwork stuff for you guys.
>>>>>>>
>>>>>>> Once the things above are sorted out, we can apply it to TRUNK.
>>>>>>> However, I'd like to do a RELEASE before we integrate the new
>>>>>>> Skin/Demo.
>>>>>>> I also don't mind to pretty much do a "sub-release" once the new
>>>>>>> stuff
>>>>>>> is in. (With maven, release are not expensive)
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Matthias
>>>>>>>
>>>>>>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>>>>>>> <ca...@gmail.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Hello there,
>>>>>>>> I have the pleasure to inform you about the work we did to develop a
>>>>>>>> new
>>>>>>>> skin for Trinidad and based on this a brand new, Trinidad components
>>>>>>>> showcase application. You can see it all in action at [1]. It is
>>>>>>>> still a
>>>>>>>> working in progress, in advanced state though...i mean there is
>>>>>>>> always
>>>>>>>> something to be improved; nevertheless we would like to donate the
>>>>>>>> new
>>>>>>>> skin
>>>>>>>> and the new demo application to the MyFaces community, in its
>>>>>>>> current
>>>>>>>> state,
>>>>>>>> and continue there if you guys agree.
>>>>>>>> Many thanks go to my collegue Adonis who has put a lot of effort
>>>>>>>> into
>>>>>>>> designing and implementing the new skin called 'Casablanca'. I'm
>>>>>>>> sure
>>>>>>>> he
>>>>>>>> can
>>>>>>>> give you more details as needed about how the process went.
>>>>>>>>
>>>>>>>> A few words about the new demo:
>>>>>>>>
>>>>>>>>  first of all, many thanks to another collegue of mine, Cosmin, for
>>>>>>>> his
>>>>>>>> continuos efforts with this.
>>>>>>>> the demo is working only with facelets (there is no jsp version)
>>>>>>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>>>>>>>> we tryied to build it so it can be searched online also, currently
>>>>>>>> tryied
>>>>>>>> with Google Custom Search, but this didn't work out so smoothly so
>>>>>>>> far.
>>>>>>>> In
>>>>>>>> any case, that's the reason for the pretty urls used. (so, no point
>>>>>>>> in
>>>>>>>> trying the search currently as it doesn't work).
>>>>>>>> in general, it replicates the examples available already for
>>>>>>>> Trinidad
>>>>>>>> in
>>>>>>>> the
>>>>>>>> existing demo, in someplaces slightly improved.
>>>>>>>> it tryies to provide a platform on which to build much more demos as
>>>>>>>> required as there can be always new ideas about demoing a
>>>>>>>> meaningfull
>>>>>>>> use
>>>>>>>> case on Trinidad, or some component behaviour.
>>>>>>>>
>>>>>>>> I'm eager to get your reactions, I think these guys did a great job
>>>>>>>> so
>>>>>>>> far
>>>>>>>> and this would bring Trinidad at least a few steps closer to a more
>>>>>>>> appealing and user friendly component set.
>>>>>>>> regards,
>>>>>>>> Catalin
>>>>>>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>>>>>>>> ------------
>>>>>>>> Codebeat
>>>>>>>> www.codebeat.ro
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Matthias Wessendorf
>>>>>>>
>>>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>>>>> sessions: http://www.slideshare.net/mwessendorf
>>>>>>> twitter: http://twitter.com/mwessendorf
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> ------------
>>>>>> Codebeat
>>>>>> www.codebeat.ro
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Matthias Wessendorf
>>>>>
>>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>>> sessions: http://www.slideshare.net/mwessendorf
>>>>> twitter: http://twitter.com/mwessendorf
>>>>>
>>>>>
>>>>
>>>> --
>>>> ------------
>>>> Codebeat
>>>> www.codebeat.ro
>>>>
>>>
>>> --
>>> ------------
>>> Codebeat
>>> www.codebeat.ro
>>>
>>>
>>
>>
>>


-- 
------------
Codebeat
www.codebeat.ro

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Matthias Wessendorf <ma...@apache.org>.
On Tue, Jan 12, 2010 at 10:33 PM, Catalin Kormos
<ca...@gmail.com> wrote:
> Hi,
> Was wondering if it would be possible to package a skin in its own jar file,

yes, put the skinning xml/cfg in the JAR_FILE.jar/META-INF/

> so that we wouldn't need to package the skin witht the actual webapp that
> uses it, so that we could start having separate modules for skins?

in theory yes.

> it would
> make sense for the new Casablanca skin IMHO. What do you think?

I think we should make the new Casablance skin the default;
the old skin we can place into a "skinning module"

/trinidad-skins
 -/old-and-ugly-green-skin
:-)

> About packaging skins, it seems possible, but I have a question:
>   - for example in the skin's css file, if background image urls are
> specified, for example, with a property "background: white
> url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
> repeat-x bottom left;" this will work also when the images are packaged in a
> jar available in the classpath, but only if the Trinidad Resource Servlet is
> mapped to /adf/*; what happens if the servlet is mapped to another url
> pattern? is there another approach, mapping independent, or are we stuck
> with /adf?

I think we are stuck with the (odd) /adf

Regarding its refactoring, I think it takes quite a while and maybe error-prone.
Jeanne may know more on that item.


-Matthias

>
> regards,
> Catalin
> On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos <ca...@gmail.com>
> wrote:
>>
>> Ok, sounds good.
>>
>> regards,
>> Cata
>>
>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>> > once the JIRA is up, I will ping general@incubator.a.o regarding the
>> > software grant
>> > Note: this is only discussed at the incubator committee, but no
>> > incubation for that piece is
>> > needed. Maybe (only) a software grant.
>> >
>> > -M
>> >
>> > On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
>> > <ca...@gmail.com> wrote:
>> >> Hey Matthias,
>> >>
>> >> Great :), we'll look into the tasks you mentioned.
>> >>
>> >> regards,
>> >> Catalin
>> >>
>> >> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>> >>> Hi Catalin et al,
>> >>>
>> >>> as promised, I hijacked the thread...
>> >>>
>> >>> thanks again for contributing this skin to Trinidad.
>> >>>
>> >>> The following tasks are needed:
>> >>> -A JIRA ticket that contains the patch(es)
>> >>>  - for the Skin itself
>> >>>  - for the GREAT demo
>> >>> => maybe a software grant is needed; If so, I will handle the
>> >>> paperwork stuff for you guys.
>> >>>
>> >>> Once the things above are sorted out, we can apply it to TRUNK.
>> >>> However, I'd like to do a RELEASE before we integrate the new
>> >>> Skin/Demo.
>> >>> I also don't mind to pretty much do a "sub-release" once the new stuff
>> >>> is in. (With maven, release are not expensive)
>> >>>
>> >>> Thanks,
>> >>> Matthias
>> >>>
>> >>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>> >>> <ca...@gmail.com> wrote:
>> >>>> Hello there,
>> >>>> I have the pleasure to inform you about the work we did to develop a
>> >>>> new
>> >>>> skin for Trinidad and based on this a brand new, Trinidad components
>> >>>> showcase application. You can see it all in action at [1]. It is
>> >>>> still a
>> >>>> working in progress, in advanced state though...i mean there is
>> >>>> always
>> >>>> something to be improved; nevertheless we would like to donate the
>> >>>> new
>> >>>> skin
>> >>>> and the new demo application to the MyFaces community, in its current
>> >>>> state,
>> >>>> and continue there if you guys agree.
>> >>>> Many thanks go to my collegue Adonis who has put a lot of effort into
>> >>>> designing and implementing the new skin called 'Casablanca'. I'm sure
>> >>>> he
>> >>>> can
>> >>>> give you more details as needed about how the process went.
>> >>>>
>> >>>> A few words about the new demo:
>> >>>>
>> >>>>  first of all, many thanks to another collegue of mine, Cosmin, for
>> >>>> his
>> >>>> continuos efforts with this.
>> >>>> the demo is working only with facelets (there is no jsp version)
>> >>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>> >>>> we tryied to build it so it can be searched online also, currently
>> >>>> tryied
>> >>>> with Google Custom Search, but this didn't work out so smoothly so
>> >>>> far.
>> >>>> In
>> >>>> any case, that's the reason for the pretty urls used. (so, no point
>> >>>> in
>> >>>> trying the search currently as it doesn't work).
>> >>>> in general, it replicates the examples available already for Trinidad
>> >>>> in
>> >>>> the
>> >>>> existing demo, in someplaces slightly improved.
>> >>>> it tryies to provide a platform on which to build much more demos as
>> >>>> required as there can be always new ideas about demoing a meaningfull
>> >>>> use
>> >>>> case on Trinidad, or some component behaviour.
>> >>>>
>> >>>> I'm eager to get your reactions, I think these guys did a great job
>> >>>> so
>> >>>> far
>> >>>> and this would bring Trinidad at least a few steps closer to a more
>> >>>> appealing and user friendly component set.
>> >>>> regards,
>> >>>> Catalin
>> >>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>> >>>> ------------
>> >>>> Codebeat
>> >>>> www.codebeat.ro
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Matthias Wessendorf
>> >>>
>> >>> blog: http://matthiaswessendorf.wordpress.com/
>> >>> sessions: http://www.slideshare.net/mwessendorf
>> >>> twitter: http://twitter.com/mwessendorf
>> >>>
>> >>
>> >>
>> >> --
>> >> ------------
>> >> Codebeat
>> >> www.codebeat.ro
>> >>
>> >
>> >
>> >
>> > --
>> > Matthias Wessendorf
>> >
>> > blog: http://matthiaswessendorf.wordpress.com/
>> > sessions: http://www.slideshare.net/mwessendorf
>> > twitter: http://twitter.com/mwessendorf
>> >
>>
>>
>> --
>> ------------
>> Codebeat
>> www.codebeat.ro
>
>
>
> --
> ------------
> Codebeat
> www.codebeat.ro
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Catalin Kormos <ca...@gmail.com>.
Hi,

Was wondering if it would be possible to package a skin in its own jar file,
so that we wouldn't need to package the skin witht the actual webapp that
uses it, so that we could start having separate modules for skins? it would
make sense for the new Casablanca skin IMHO. What do you think?

About packaging skins, it seems possible, but I have a question:
  - for example in the skin's css file, if background image urls are
specified, for example, with a property "background: white
url(/adf/skins/casablanca/images/backgrounds/buttonLikeHeadHover.png)
repeat-x bottom left;" this will work also when the images are packaged in a
jar available in the classpath, but only if the Trinidad Resource Servlet is
mapped to /adf/*; what happens if the servlet is mapped to another url
pattern? is there another approach, mapping independent, or are we stuck
with /adf?

regards,
Catalin

On Fri, Jan 8, 2010 at 12:11 PM, Catalin Kormos <ca...@gmail.com>wrote:

> Ok, sounds good.
>
> regards,
> Cata
>
> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
> > once the JIRA is up, I will ping general@incubator.a.o regarding the
> > software grant
> > Note: this is only discussed at the incubator committee, but no
> > incubation for that piece is
> > needed. Maybe (only) a software grant.
> >
> > -M
> >
> > On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
> > <ca...@gmail.com> wrote:
> >> Hey Matthias,
> >>
> >> Great :), we'll look into the tasks you mentioned.
> >>
> >> regards,
> >> Catalin
> >>
> >> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
> >>> Hi Catalin et al,
> >>>
> >>> as promised, I hijacked the thread...
> >>>
> >>> thanks again for contributing this skin to Trinidad.
> >>>
> >>> The following tasks are needed:
> >>> -A JIRA ticket that contains the patch(es)
> >>>  - for the Skin itself
> >>>  - for the GREAT demo
> >>> => maybe a software grant is needed; If so, I will handle the
> >>> paperwork stuff for you guys.
> >>>
> >>> Once the things above are sorted out, we can apply it to TRUNK.
> >>> However, I'd like to do a RELEASE before we integrate the new
> >>> Skin/Demo.
> >>> I also don't mind to pretty much do a "sub-release" once the new stuff
> >>> is in. (With maven, release are not expensive)
> >>>
> >>> Thanks,
> >>> Matthias
> >>>
> >>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
> >>> <ca...@gmail.com> wrote:
> >>>> Hello there,
> >>>> I have the pleasure to inform you about the work we did to develop a
> new
> >>>> skin for Trinidad and based on this a brand new, Trinidad components
> >>>> showcase application. You can see it all in action at [1]. It is still
> a
> >>>> working in progress, in advanced state though...i mean there is always
> >>>> something to be improved; nevertheless we would like to donate the new
> >>>> skin
> >>>> and the new demo application to the MyFaces community, in its current
> >>>> state,
> >>>> and continue there if you guys agree.
> >>>> Many thanks go to my collegue Adonis who has put a lot of effort into
> >>>> designing and implementing the new skin called 'Casablanca'. I'm sure
> he
> >>>> can
> >>>> give you more details as needed about how the process went.
> >>>>
> >>>> A few words about the new demo:
> >>>>
> >>>>  first of all, many thanks to another collegue of mine, Cosmin, for
> his
> >>>> continuos efforts with this.
> >>>> the demo is working only with facelets (there is no jsp version)
> >>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
> >>>> we tryied to build it so it can be searched online also, currently
> >>>> tryied
> >>>> with Google Custom Search, but this didn't work out so smoothly so
> far.
> >>>> In
> >>>> any case, that's the reason for the pretty urls used. (so, no point in
> >>>> trying the search currently as it doesn't work).
> >>>> in general, it replicates the examples available already for Trinidad
> in
> >>>> the
> >>>> existing demo, in someplaces slightly improved.
> >>>> it tryies to provide a platform on which to build much more demos as
> >>>> required as there can be always new ideas about demoing a meaningfull
> >>>> use
> >>>> case on Trinidad, or some component behaviour.
> >>>>
> >>>> I'm eager to get your reactions, I think these guys did a great job so
> >>>> far
> >>>> and this would bring Trinidad at least a few steps closer to a more
> >>>> appealing and user friendly component set.
> >>>> regards,
> >>>> Catalin
> >>>> [1] http://example.irian.at/trinidad-showcase-casablanca
> >>>> ------------
> >>>> Codebeat
> >>>> www.codebeat.ro
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Matthias Wessendorf
> >>>
> >>> blog: http://matthiaswessendorf.wordpress.com/
> >>> sessions: http://www.slideshare.net/mwessendorf
> >>> twitter: http://twitter.com/mwessendorf
> >>>
> >>
> >>
> >> --
> >> ------------
> >> Codebeat
> >> www.codebeat.ro
> >>
> >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > blog: http://matthiaswessendorf.wordpress.com/
> > sessions: http://www.slideshare.net/mwessendorf
> > twitter: http://twitter.com/mwessendorf
> >
>
>
> --
> ------------
> Codebeat
> www.codebeat.ro
>



-- 
------------
Codebeat
www.codebeat.ro

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Catalin Kormos <ca...@gmail.com>.
Ok, sounds good.

regards,
Cata

On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
> once the JIRA is up, I will ping general@incubator.a.o regarding the
> software grant
> Note: this is only discussed at the incubator committee, but no
> incubation for that piece is
> needed. Maybe (only) a software grant.
>
> -M
>
> On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
> <ca...@gmail.com> wrote:
>> Hey Matthias,
>>
>> Great :), we'll look into the tasks you mentioned.
>>
>> regards,
>> Catalin
>>
>> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>>> Hi Catalin et al,
>>>
>>> as promised, I hijacked the thread...
>>>
>>> thanks again for contributing this skin to Trinidad.
>>>
>>> The following tasks are needed:
>>> -A JIRA ticket that contains the patch(es)
>>>  - for the Skin itself
>>>  - for the GREAT demo
>>> => maybe a software grant is needed; If so, I will handle the
>>> paperwork stuff for you guys.
>>>
>>> Once the things above are sorted out, we can apply it to TRUNK.
>>> However, I'd like to do a RELEASE before we integrate the new
>>> Skin/Demo.
>>> I also don't mind to pretty much do a "sub-release" once the new stuff
>>> is in. (With maven, release are not expensive)
>>>
>>> Thanks,
>>> Matthias
>>>
>>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>>> <ca...@gmail.com> wrote:
>>>> Hello there,
>>>> I have the pleasure to inform you about the work we did to develop a new
>>>> skin for Trinidad and based on this a brand new, Trinidad components
>>>> showcase application. You can see it all in action at [1]. It is still a
>>>> working in progress, in advanced state though...i mean there is always
>>>> something to be improved; nevertheless we would like to donate the new
>>>> skin
>>>> and the new demo application to the MyFaces community, in its current
>>>> state,
>>>> and continue there if you guys agree.
>>>> Many thanks go to my collegue Adonis who has put a lot of effort into
>>>> designing and implementing the new skin called 'Casablanca'. I'm sure he
>>>> can
>>>> give you more details as needed about how the process went.
>>>>
>>>> A few words about the new demo:
>>>>
>>>>  first of all, many thanks to another collegue of mine, Cosmin, for his
>>>> continuos efforts with this.
>>>> the demo is working only with facelets (there is no jsp version)
>>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>>>> we tryied to build it so it can be searched online also, currently
>>>> tryied
>>>> with Google Custom Search, but this didn't work out so smoothly so far.
>>>> In
>>>> any case, that's the reason for the pretty urls used. (so, no point in
>>>> trying the search currently as it doesn't work).
>>>> in general, it replicates the examples available already for Trinidad in
>>>> the
>>>> existing demo, in someplaces slightly improved.
>>>> it tryies to provide a platform on which to build much more demos as
>>>> required as there can be always new ideas about demoing a meaningfull
>>>> use
>>>> case on Trinidad, or some component behaviour.
>>>>
>>>> I'm eager to get your reactions, I think these guys did a great job so
>>>> far
>>>> and this would bring Trinidad at least a few steps closer to a more
>>>> appealing and user friendly component set.
>>>> regards,
>>>> Catalin
>>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>>>> ------------
>>>> Codebeat
>>>> www.codebeat.ro
>>>>
>>>
>>>
>>>
>>> --
>>> Matthias Wessendorf
>>>
>>> blog: http://matthiaswessendorf.wordpress.com/
>>> sessions: http://www.slideshare.net/mwessendorf
>>> twitter: http://twitter.com/mwessendorf
>>>
>>
>>
>> --
>> ------------
>> Codebeat
>> www.codebeat.ro
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>


-- 
------------
Codebeat
www.codebeat.ro

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Matthias Wessendorf <ma...@apache.org>.
once the JIRA is up, I will ping general@incubator.a.o regarding the
software grant
Note: this is only discussed at the incubator committee, but no
incubation for that piece is
needed. Maybe (only) a software grant.

-M

On Fri, Jan 8, 2010 at 11:00 AM, Catalin Kormos
<ca...@gmail.com> wrote:
> Hey Matthias,
>
> Great :), we'll look into the tasks you mentioned.
>
> regards,
> Catalin
>
> On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
>> Hi Catalin et al,
>>
>> as promised, I hijacked the thread...
>>
>> thanks again for contributing this skin to Trinidad.
>>
>> The following tasks are needed:
>> -A JIRA ticket that contains the patch(es)
>>  - for the Skin itself
>>  - for the GREAT demo
>> => maybe a software grant is needed; If so, I will handle the
>> paperwork stuff for you guys.
>>
>> Once the things above are sorted out, we can apply it to TRUNK.
>> However, I'd like to do a RELEASE before we integrate the new
>> Skin/Demo.
>> I also don't mind to pretty much do a "sub-release" once the new stuff
>> is in. (With maven, release are not expensive)
>>
>> Thanks,
>> Matthias
>>
>> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
>> <ca...@gmail.com> wrote:
>>> Hello there,
>>> I have the pleasure to inform you about the work we did to develop a new
>>> skin for Trinidad and based on this a brand new, Trinidad components
>>> showcase application. You can see it all in action at [1]. It is still a
>>> working in progress, in advanced state though...i mean there is always
>>> something to be improved; nevertheless we would like to donate the new
>>> skin
>>> and the new demo application to the MyFaces community, in its current
>>> state,
>>> and continue there if you guys agree.
>>> Many thanks go to my collegue Adonis who has put a lot of effort into
>>> designing and implementing the new skin called 'Casablanca'. I'm sure he
>>> can
>>> give you more details as needed about how the process went.
>>>
>>> A few words about the new demo:
>>>
>>>  first of all, many thanks to another collegue of mine, Cosmin, for his
>>> continuos efforts with this.
>>> the demo is working only with facelets (there is no jsp version)
>>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>>> we tryied to build it so it can be searched online also, currently tryied
>>> with Google Custom Search, but this didn't work out so smoothly so far. In
>>> any case, that's the reason for the pretty urls used. (so, no point in
>>> trying the search currently as it doesn't work).
>>> in general, it replicates the examples available already for Trinidad in
>>> the
>>> existing demo, in someplaces slightly improved.
>>> it tryies to provide a platform on which to build much more demos as
>>> required as there can be always new ideas about demoing a meaningfull use
>>> case on Trinidad, or some component behaviour.
>>>
>>> I'm eager to get your reactions, I think these guys did a great job so far
>>> and this would bring Trinidad at least a few steps closer to a more
>>> appealing and user friendly component set.
>>> regards,
>>> Catalin
>>> [1] http://example.irian.at/trinidad-showcase-casablanca
>>> ------------
>>> Codebeat
>>> www.codebeat.ro
>>>
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>
>
> --
> ------------
> Codebeat
> www.codebeat.ro
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: Make the new skin part of Trinidad (was: Re: [Trinidad] New Component Showcase Demo and Casablanca Skin)

Posted by Catalin Kormos <ca...@gmail.com>.
Hey Matthias,

Great :), we'll look into the tasks you mentioned.

regards,
Catalin

On 1/8/10, Matthias Wessendorf <ma...@apache.org> wrote:
> Hi Catalin et al,
>
> as promised, I hijacked the thread...
>
> thanks again for contributing this skin to Trinidad.
>
> The following tasks are needed:
> -A JIRA ticket that contains the patch(es)
>  - for the Skin itself
>  - for the GREAT demo
> => maybe a software grant is needed; If so, I will handle the
> paperwork stuff for you guys.
>
> Once the things above are sorted out, we can apply it to TRUNK.
> However, I'd like to do a RELEASE before we integrate the new
> Skin/Demo.
> I also don't mind to pretty much do a "sub-release" once the new stuff
> is in. (With maven, release are not expensive)
>
> Thanks,
> Matthias
>
> On Thu, Jan 7, 2010 at 11:37 PM, Catalin Kormos
> <ca...@gmail.com> wrote:
>> Hello there,
>> I have the pleasure to inform you about the work we did to develop a new
>> skin for Trinidad and based on this a brand new, Trinidad components
>> showcase application. You can see it all in action at [1]. It is still a
>> working in progress, in advanced state though...i mean there is always
>> something to be improved; nevertheless we would like to donate the new
>> skin
>> and the new demo application to the MyFaces community, in its current
>> state,
>> and continue there if you guys agree.
>> Many thanks go to my collegue Adonis who has put a lot of effort into
>> designing and implementing the new skin called 'Casablanca'. I'm sure he
>> can
>> give you more details as needed about how the process went.
>>
>> A few words about the new demo:
>>
>>  first of all, many thanks to another collegue of mine, Cosmin, for his
>> continuos efforts with this.
>> the demo is working only with facelets (there is no jsp version)
>> it uses the latest 1.2.13-SNAPSHOT version of Trinidad
>> we tryied to build it so it can be searched online also, currently tryied
>> with Google Custom Search, but this didn't work out so smoothly so far. In
>> any case, that's the reason for the pretty urls used. (so, no point in
>> trying the search currently as it doesn't work).
>> in general, it replicates the examples available already for Trinidad in
>> the
>> existing demo, in someplaces slightly improved.
>> it tryies to provide a platform on which to build much more demos as
>> required as there can be always new ideas about demoing a meaningfull use
>> case on Trinidad, or some component behaviour.
>>
>> I'm eager to get your reactions, I think these guys did a great job so far
>> and this would bring Trinidad at least a few steps closer to a more
>> appealing and user friendly component set.
>> regards,
>> Catalin
>> [1] http://example.irian.at/trinidad-showcase-casablanca
>> ------------
>> Codebeat
>> www.codebeat.ro
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>


-- 
------------
Codebeat
www.codebeat.ro