You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2006/02/09 23:29:55 UTC

[jira] Created: (MYFACES-1106) Simplify the Theme Handling

Simplify the Theme Handling
---------------------------

         Key: MYFACES-1106
         URL: http://issues.apache.org/jira/browse/MYFACES-1106
     Project: MyFaces
        Type: Improvement
  Components: Tobago  
    Reporter: Udo Schnurpfeil
 Assigned to: Udo Schnurpfeil 


In the moment the user need to unpack all the tobago-theme-xxx.jar files into the war under a directory e.g. tobago.
It may be done by the maven-theme-plugin when building with maven2.

The goal is: only putting the theme in the lib directory of the war, for making the theme usable.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (MYFACES-1106) Simplify the Theme Handling

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1106?page=all ]

Udo Schnurpfeil updated MYFACES-1106:
-------------------------------------

    Description: 
In the moment the user need to unpack all the tobago-theme-xxx.jar files into the war under a directory e.g. tobago.
It may be done by the maven-theme-plugin when building with maven2.

The goal is: only putting the theme in the lib directory of the war, for making the theme usable.

Next steps for that are:
* modify the maven-theme-plugin to the new structure
* hold configuration in the META-INF/tobago-theme.xml
  + decide which information the xml-file holds e.g. the resource-path and the stuff of the Theme-Class.

  was:
In the moment the user need to unpack all the tobago-theme-xxx.jar files into the war under a directory e.g. tobago.
It may be done by the maven-theme-plugin when building with maven2.

The goal is: only putting the theme in the lib directory of the war, for making the theme usable.



> Simplify the Theme Handling
> ---------------------------
>
>          Key: MYFACES-1106
>          URL: http://issues.apache.org/jira/browse/MYFACES-1106
>      Project: MyFaces
>         Type: Improvement
>   Components: Tobago
>     Reporter: Udo Schnurpfeil
>     Assignee: Udo Schnurpfeil

>
> In the moment the user need to unpack all the tobago-theme-xxx.jar files into the war under a directory e.g. tobago.
> It may be done by the maven-theme-plugin when building with maven2.
> The goal is: only putting the theme in the lib directory of the war, for making the theme usable.
> Next steps for that are:
> * modify the maven-theme-plugin to the new structure
> * hold configuration in the META-INF/tobago-theme.xml
>   + decide which information the xml-file holds e.g. the resource-path and the stuff of the Theme-Class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOBAGO-20) Simplify the Theme Handling

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOBAGO-20?page=comments#action_12368871 ] 

Udo Schnurpfeil commented on TOBAGO-20:
---------------------------------------

You have 2 possibilities:

   1. For easy development:
      a) Put the theme jar in the classpath *)
      b) Define a ResourceServlet in the web.xml 
         and bind it to the url-pattern of the theme-path
      c) Ensure load-theme-resources-from-classpath=true 
         in tobago-config.xml (is default)
      You can see the use in the tobago-example-blank

   2. For production:
      a) Put the theme jar in the classpath *)
      b) Unpack the resources (no classes and no properties) 
         of the theme into the war. You may use the maven-theme-plugin
      c) Set load-theme-resources-from-classpath=false 
         in tobago-config.xml 
      You can see the use in the tobago-example-demo

*) The tobago-theme-<name>-<version>-THEME.jar is no longer needed.
   You need only the tobago-theme-<name>-<version>.jar
   So you may remove some tags the pom, if using maven2:
      <classifier>THEME</classifier>
      <scope>provided</scope>


> Simplify the Theme Handling
> ---------------------------
>
>          Key: TOBAGO-20
>          URL: http://issues.apache.org/jira/browse/TOBAGO-20
>      Project: MyFaces Tobago
>         Type: Improvement
>     Reporter: Udo Schnurpfeil
>     Assignee: Udo Schnurpfeil
>      Fix For: 1.0.7

>
> In the moment the user need to unpack all the tobago-theme-xxx.jar files into the war under a directory e.g. tobago.
> It may be done by the maven-theme-plugin when building with maven2.
> The goal is: only putting the theme in the lib directory of the war, for making the theme usable.
> Next steps for that are:
> * modify the maven-theme-plugin to the new structure
> * hold configuration in the META-INF/tobago-theme.xml
> * decide which information the xml-file holds e.g. 
>   - the resource-path and 
>   - the stuff of the Theme-Class
>   - enable loading directly from the jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (TOBAGO-20) Simplify the Theme Handling

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOBAGO-20?page=comments#action_12369297 ] 

Udo Schnurpfeil commented on TOBAGO-20:
---------------------------------------

 You have to make the next steps. There are 2 possibilities, one for easy setup and development and one for production:

   a) Put the theme jar in the classpath *)
   b) Put the tag <resource-dir>org/apache/myfaces/tobago/renderkit</resource-dir>
        in your tobago-config.xml. In further versions, this will be unnecessary.

   1. For easy development:
      c) Define a ResourceServlet in the web.xml
         and bind it to the url-pattern of the theme-path
      d) Ensure load-theme-resources-from-classpath=true
         in tobago-config.xml (is default)
      You can see the usage in the tobago-example-blank

   2. For production:
      c) Unpack the resources (no classes and no properties)
         of the theme into the war. You may use the maven-theme-plugin
      d) Set load-theme-resources-from-classpath=false
         in tobago-config.xml
      You can see the usage in the tobago-example-demo

*) The tobago-theme-<name>-<version>-THEME.jar is no longer needed.
   You need only the tobago-theme-<name>-<version>.jar
   So you may remove some tags the pom, if using maven2:
      <classifier>THEME</classifier>
      <scope>provided</scope>


> Simplify the Theme Handling
> ---------------------------
>
>          Key: TOBAGO-20
>          URL: http://issues.apache.org/jira/browse/TOBAGO-20
>      Project: MyFaces Tobago
>         Type: Improvement
>     Reporter: Udo Schnurpfeil
>     Assignee: Udo Schnurpfeil
>      Fix For: 1.0.7

>
> In the moment the user need to unpack all the tobago-theme-xxx.jar files into the war under a directory e.g. tobago.
> It may be done by the maven-theme-plugin when building with maven2.
> The goal is: only putting the theme in the lib directory of the war, for making the theme usable.
> Next steps for that are:
> * modify the maven-theme-plugin to the new structure
> * hold configuration in the META-INF/tobago-theme.xml
> * decide which information the xml-file holds e.g. 
>   - the resource-path and 
>   - the stuff of the Theme-Class
>   - enable loading directly from the jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (TOBAGO-20) Simplify the Theme Handling

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOBAGO-20?page=all ]
     
Udo Schnurpfeil resolved TOBAGO-20:
-----------------------------------

    Resolution: Fixed

> Simplify the Theme Handling
> ---------------------------
>
>          Key: TOBAGO-20
>          URL: http://issues.apache.org/jira/browse/TOBAGO-20
>      Project: MyFaces Tobago
>         Type: Improvement
>     Reporter: Udo Schnurpfeil
>     Assignee: Udo Schnurpfeil
>      Fix For: 1.0.7

>
> In the moment the user need to unpack all the tobago-theme-xxx.jar files into the war under a directory e.g. tobago.
> It may be done by the maven-theme-plugin when building with maven2.
> The goal is: only putting the theme in the lib directory of the war, for making the theme usable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (MYFACES-1106) Simplify the Theme Handling

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1106?page=all ]

Udo Schnurpfeil updated MYFACES-1106:
-------------------------------------

    Description: 
In the moment the user need to unpack all the tobago-theme-xxx.jar files into the war under a directory e.g. tobago.
It may be done by the maven-theme-plugin when building with maven2.

The goal is: only putting the theme in the lib directory of the war, for making the theme usable.

Next steps for that are:
* modify the maven-theme-plugin to the new structure
* hold configuration in the META-INF/tobago-theme.xml
* decide which information the xml-file holds e.g. 
  - the resource-path and 
  - the stuff of the Theme-Class
  - enable loading directly from the jar


  was:
In the moment the user need to unpack all the tobago-theme-xxx.jar files into the war under a directory e.g. tobago.
It may be done by the maven-theme-plugin when building with maven2.

The goal is: only putting the theme in the lib directory of the war, for making the theme usable.

Next steps for that are:
* modify the maven-theme-plugin to the new structure
* hold configuration in the META-INF/tobago-theme.xml
  + decide which information the xml-file holds e.g. the resource-path and the stuff of the Theme-Class.


> Simplify the Theme Handling
> ---------------------------
>
>          Key: MYFACES-1106
>          URL: http://issues.apache.org/jira/browse/MYFACES-1106
>      Project: MyFaces
>         Type: Improvement
>   Components: Tobago
>     Reporter: Udo Schnurpfeil
>     Assignee: Udo Schnurpfeil

>
> In the moment the user need to unpack all the tobago-theme-xxx.jar files into the war under a directory e.g. tobago.
> It may be done by the maven-theme-plugin when building with maven2.
> The goal is: only putting the theme in the lib directory of the war, for making the theme usable.
> Next steps for that are:
> * modify the maven-theme-plugin to the new structure
> * hold configuration in the META-INF/tobago-theme.xml
> * decide which information the xml-file holds e.g. 
>   - the resource-path and 
>   - the stuff of the Theme-Class
>   - enable loading directly from the jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira