Issue Details (XML | Word | Printable)

Key: JS1-447
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Dimitris Avramidis
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jetspeed

[PATCH] $conf not in context

Created: 16/Mar/04 05:15 PM   Updated: 02/Apr/04 06:45 PM
Return to search
Component/s: Layout
Affects Version/s: 1.4
Fix Version/s: 1.5

Time Tracking:
Not Specified

Environment:
Operating System: Windows NT/2K
Platform: PC

Bugzilla Id: 27698


 Description  « Hide
jetstpeed-menu.vm uses $conf.getInitParameter to get "tab-width" in $width

In VelocityPortletControl we have:
  context.put("config", getConfig() )

When displaying $config.getClass().toString() we get:
  org.apache.jetspeed.services.resources.JetspeedResources

We believe that
  context.put("config", getConfig() )
should be replaced with
  context.put("conf", getConfig() )

Now, $conf.getClass().toString() returns:
  org.apache.jetspeed.portal.BasePortletControlConfig
and $width is not null any more

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jeremy Ford added a comment - 24/Mar/04 05:09 AM
Fix applied. Thanks for the catch.