incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (Updated) (JIRA)" <>
Subject [jira] [Updated] (JSPWIKI-641) IncludeResourcesTag doesn't work in 3.0
Date Thu, 26 Jan 2012 19:33:40 GMT


Harry Metske updated JSPWIKI-641:

    Summary: IncludeResourcesTag doesn't work in 3.0  (was: IncludeResourcesTag doesn't work
in 3.0-trunk)
> IncludeResourcesTag doesn't work in 3.0
> ---------------------------------------
>                 Key: JSPWIKI-641
>                 URL:
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Default template
>    Affects Versions: 3.0
>         Environment: All
>            Reporter: Andrew Jaquith
>            Assignee: Andrew Jaquith
>            Priority: Minor
>             Fix For: 3.0
> This is a note to self to fix IncludeResourcesTag and RequestResourceTag so that they
work in 3.0. Current 3.0 trunk builds don't support adding arbitrary resources because I removed
> ----- note from jspwiki-dev thread ------
> While I continue to feel that it makes more sense to use the Stripes layout tags, we
could make the IncludeResources and RequestResource tags work if we did the following:
> * When a RequestResource tag is encountered, stash the requested content into the request
as an attribute
> * When the IncludeResource tag is encountered, retrieve the attributes and send to the
output stream
> This could work nicely in 3.0 because of how we separate the layout JSPs from the content
JSPs. The content JSPs are processed before the layout JSPs, which means RequestResources
tags always execute before the IncludeResources tags.
> So, this would be pretty simple to implement, and it would not require a response wrapper.
The code that requests and renders the resources would be private (inside the tags), and thus
restricted to JSP authors who used the tags in their JSPs. That would satisfy my concerns
about safety -- my chief concern was the public access to the resource request API by plugins.
Plugin authors could always muck around with request attributes if they wanted to inject their
own resource requests, but it would be clear that they were "off the reservation" at that

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message