Issue Details (XML | Word | Printable)

Key: WW-681
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jason Carreira
Reporter: Jason Carreira
Votes: 0
Watchers: 0
Operations

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

getText() doesn't work in Sitemesh filters

Created: 22/Nov/04 11:14 PM   Updated: 28/Nov/04 08:41 PM
Component/s: Value Stack, Views
Affects Version/s: 2.1.3, 2.1.4, 2.1.5, 2.1.6
Fix Version/s: 2.1.7


 Description  « Hide
getText() in tag attributes in Sitemesh filters doesn't work because LocalizedTextUtil uses ActionContext.getContext() to get the value stack, which won't work in the decorators.

Patrick, can you look at this?

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Jason Carreira added a comment - 28/Nov/04 08:41 PM
TextProviders can now have a value stack passed in to be used when evaluating localized texts instead of using the one in the ActionContext thread local.

NOTE: This is an API addition to the TextProvider interface, so anyone implementing this interface in their own classes will need to add this method.