[ 
https://issues.apache.org/jira/browse/WICKET-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473036
 ] 

Jean-Baptiste Quenot commented on WICKET-280:
---------------------------------------------

Wicket templates are not supposed to be served, so they shouldn't be served.  
Currently we are forced to use a very crappy workaround: rename *.html* files 
to *.htm*

Did you review Vincent's patch?  I find it good enough for the default Wicket 
way of serving templates.  Of course if you customize the markup loader, the 
patch may not work, but then the user is supposed to have a custom package 
resource guard as well.

> [Patch] Allow to access html resources if they are not associated with a java 
> class
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-280
>                 URL: https://issues.apache.org/jira/browse/WICKET-280
>             Project: Wicket
>          Issue Type: Improvement
>            Reporter: vincent Demay
>             Fix For: 1.3
>
>         Attachments: PackageResourceGuard.patch
>
>
> Html files can be used as static resources but in Wicket1.X they are not 
> accessible because PackageResourceGuard blocks html extension files. I 
> understand for "application" html files (associated with a java class) but 
> not for ohers. The attachement allow "non-application html file" to be used 
> as resources
> I also saw In trunk html files can be used as "static" resources.
> why all html files? Why in trunk?

-- 
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