[ 
https://issues.apache.org/jira/browse/WICKET-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887070#action_12887070
 ] 

Hudson commented on WICKET-2892:
--------------------------------

Integrated in Apache Wicket 1.5.x #135 (See 
[http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.5.x/135/])
    WICKET-2892 same changes as in 1.4 though TTSRF is unlikely to survive. See 
comments in java code.
Issue: WICKET-2892


> TextTemplateSharedResourceFactory should use template's content type
> --------------------------------------------------------------------
>
>                 Key: WICKET-2892
>                 URL: https://issues.apache.org/jira/browse/WICKET-2892
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.6, 1.2.7, 1.3.0-beta1, 1.3.0-beta2, 1.3.0-beta3, 
> 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2, 1.3.0-final, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 
> 1.3.5, 1.3.6, 1.3.7, 1.4-M1, 1.4-M2, 1.4-M3, 1.4-RC1, 1.4-RC2, 1.4-RC3, 
> 1.4-RC4, 1.4-RC5, 1.4-RC6, 1.4-RC7, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 
> 1.4.6, 1.4.7, 1.4.8, 1.4.9
>         Environment: safari,chrome
>            Reporter: atul singh
>            Assignee: Juergen Donnerstag
>            Priority: Minor
>             Fix For: 1.4.10
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> If the content-type is not specified, resource like css is not applied on 
> safari and chrome.
> The content-type should be specified when creating 
> AbstractStringResourceStream like below:
> --------
> public IResourceStream getResourceStream()
>                               {
>                                       return new 
> AbstractStringResourceStream(template.getContentType()==null?"text":template.getContentType())
>                                       {
>                                               private static final long 
> serialVersionUID = 1L;
>                                               @Override
>                                               protected String getString()
>                                               {
>                                                       return templateValue;
>                                               }
>                                       };
>                               }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to