You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Volker Weber <v....@inexso.de> on 2016/11/25 08:10:14 UTC

Re: End of theme-dependent resource selection (ResourceManager)

Hi,

-1

Udo, could you please explain what this means, and why this should be done?

The Theme depended resource selection is a main feature of tobago.

Regards,

   Volker

2016-11-24 18:34 GMT+01:00 Udo Schnurpfeil (JIRA) <de...@myfaces.apache.org>:

> Udo Schnurpfeil created TOBAGO-1636:
> ---------------------------------------
>
>              Summary: End of theme-dependent resource selection
> (ResourceManager)
>                  Key: TOBAGO-1636
>                  URL: https://issues.apache.org/jira/browse/TOBAGO-1636
>              Project: MyFaces Tobago
>           Issue Type: Task
>           Components: Core, Themes
>             Reporter: Udo Schnurpfeil
>             Assignee: Udo Schnurpfeil
>
>
>
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>



-- 
inexso - information exchange solutions GmbH
Ofener Straße 30 | 26121 Oldenburg
www.inexso.de

Re: End of theme-dependent resource selection (ResourceManager)

Posted by Udo Schnurpfeil <ud...@schnurpfeil.de>.
By the way,

this means not, that there is no longer a management of the resources.

When you need to add a resource link CSS or JavaScript you have 2
possibilities:

1. Put a <tc:script> or <tc:style> tag with the filename in a single
XHTML page (or a template for more/all pages).

2. Put the path inside of the META-INF/tobago-config.xml of your
application (or your own theme). In this case, you may also remove some
files from other themes if you want to patch something (use exclude tag).

So, this mechanism is more flexible, but simple.

Regards,

Udo

Am 28.11.16 um 09:53 schrieb Udo Schnurpfeil:
> Hi, Volker,
> 
> as I tried to described in the issue, it has no longer eligibility.
> 
> We don't need it, because with the CSS / JS technologies we have these
> days, we can fulfill the requirements.
> 
> On the other side, Bootstrap generates all the CSS stuff, and you can
> customize a theme and Bootstrap generates the CSS for the other theme.
> 
> This conflicts to the "merge" strategy of Tobago.
> 
> The new mechanism has all possibilities, but is more explicit, so much
> more easier to understand, and there is no "magic" behind it. So its
> easier to understand and debug.
> 
> Regards,
> 
> Udo
> 
> Am 25.11.16 um 09:10 schrieb Volker Weber:
>> Hi,
>>
>> -1
>>
>> Udo, could you please explain what this means, and why this should be done?
>>
>> The Theme depended resource selection is a main feature of tobago.
>>
>> Regards,
>>
>>    Volker
>>
>> 2016-11-24 18:34 GMT+01:00 Udo Schnurpfeil (JIRA)
>> <dev@myfaces.apache.org <ma...@myfaces.apache.org>>:
>>
>>     Udo Schnurpfeil created TOBAGO-1636:
>>     ---------------------------------------
>>
>>                  Summary: End of theme-dependent resource selection
>>     (ResourceManager)
>>                      Key: TOBAGO-1636
>>                      URL:
>>     https://issues.apache.org/jira/browse/TOBAGO-1636
>>     <https://issues.apache.org/jira/browse/TOBAGO-1636>
>>                  Project: MyFaces Tobago
>>               Issue Type: Task
>>               Components: Core, Themes
>>                 Reporter: Udo Schnurpfeil
>>                 Assignee: Udo Schnurpfeil
>>
>>
>>
>>
>>
>>
>>     --
>>     This message was sent by Atlassian JIRA
>>     (v6.3.4#6332)
>>
>>
>>
>>
>> -- 
>> inexso - information exchange solutions GmbH
>> Ofener Stra�e 30 | 26121 Oldenburg
>> www.inexso.de <http://www.inexso.de>

Re: End of theme-dependent resource selection (ResourceManager)

Posted by Udo Schnurpfeil <ud...@schnurpfeil.de>.
Hi, Volker,

as I tried to described in the issue, it has no longer eligibility.

We don't need it, because with the CSS / JS technologies we have these
days, we can fulfill the requirements.

On the other side, Bootstrap generates all the CSS stuff, and you can
customize a theme and Bootstrap generates the CSS for the other theme.

This conflicts to the "merge" strategy of Tobago.

The new mechanism has all possibilities, but is more explicit, so much
more easier to understand, and there is no "magic" behind it. So its
easier to understand and debug.

Regards,

Udo

Am 25.11.16 um 09:10 schrieb Volker Weber:
> Hi,
> 
> -1
> 
> Udo, could you please explain what this means, and why this should be done?
> 
> The Theme depended resource selection is a main feature of tobago.
> 
> Regards,
> 
>    Volker
> 
> 2016-11-24 18:34 GMT+01:00 Udo Schnurpfeil (JIRA)
> <dev@myfaces.apache.org <ma...@myfaces.apache.org>>:
> 
>     Udo Schnurpfeil created TOBAGO-1636:
>     ---------------------------------------
> 
>                  Summary: End of theme-dependent resource selection
>     (ResourceManager)
>                      Key: TOBAGO-1636
>                      URL:
>     https://issues.apache.org/jira/browse/TOBAGO-1636
>     <https://issues.apache.org/jira/browse/TOBAGO-1636>
>                  Project: MyFaces Tobago
>               Issue Type: Task
>               Components: Core, Themes
>                 Reporter: Udo Schnurpfeil
>                 Assignee: Udo Schnurpfeil
> 
> 
> 
> 
> 
> 
>     --
>     This message was sent by Atlassian JIRA
>     (v6.3.4#6332)
> 
> 
> 
> 
> -- 
> inexso - information exchange solutions GmbH
> Ofener Stra�e 30 | 26121 Oldenburg
> www.inexso.de <http://www.inexso.de>