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

Scott Wilson updated WOOKIE-290:
--------------------------------

    Fix Version/s: 0.9.2
    
> Widget templates not allowing content to be overwritten properly
> ----------------------------------------------------------------
>
>                 Key: WOOKIE-290
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-290
>             Project: Wookie
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Ross Gardler
>            Priority: Minor
>             Fix For: 0.9.2
>
>
> When there a widget template depends on another there is a break in the 
> ability to override content. Consider, for example, the login widget which 
> extends the base widget. Content provided by the base template or the widget 
> definition is correctly used but content from the login template is not.
> This is because the base template defines the token (e.g. content.primary) in 
> its template_build.xml from either the base template or the widget 
> definitions. Once defined the token is not overwritten in the login template.
> We need to change the way properties are defined. The correct process (in 
> this example) would be:
> - copy all content files from base template to build folder
> - copy all files from login template (overwriting any that already exist) to 
> build folder
> - copy all files from widget definition (overwriting any that already exist) 
> to build folder
> - define the properties by loading executing each of the appropriate targets 
> in each template_build.xml
> - build the widget using the content files in the build folder

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to