portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Resolved: (JS2-584) enable adding Velocity context objects without recompilation
Date Thu, 24 May 2007 20:30:16 GMT

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

David Sean Taylor resolved JS2-584.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1

added request-context-objects.xml in Spring config
 which makes a map available called "rco" (request context objects) in the vm context as well
as a JSP attribute for Mohan's work on JSP templates

> enable adding Velocity context objects without recompilation
> ------------------------------------------------------------
>
>                 Key: JS2-584
>                 URL: https://issues.apache.org/jira/browse/JS2-584
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Assembly/Configuration, Components Core
>    Affects Versions: 2.1-dev, 2.1
>         Environment: any
>            Reporter: Jacek Wi?licki
>         Assigned To: David Sean Taylor
>            Priority: Minor
>             Fix For: 2.1.1
>
>
> Objects are added to Jetspeed's Velocity context in Template handleRequest(HttpServletRequest
HttpServletResponse, Context) of a JetspeedVelocityViewServlet class. If one needs some additional
custom classes in Velocity, there's a need to put them in the context programatically and
then recompile the portal component (and restart Jetspeed). Additg such objects with something
like Spring assembly would be very useful and flexible.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message