History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LOOM-155
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ignacio Coloma
Reporter: Ignacio Coloma
Votes: 0
Watchers: 0
Operations

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

@BrowserMessages to make easier the browser messages integration

Created: 10/Mar/09 04:51 PM   Updated: 25/Mar/09 04:06 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5


 Description  « Hide
To get easier browser integration, any spring-injected class may be annotated with @BrowserMessages to specify the messages list to add to the i18n file sent to the browser:

@BrowserMessages({ "ie.error", "warning.missingFile" })
public class MyClass {
}

This annotation may be only processed after the first instantiation, in which case it should not be used with Action classes (that will only get instantiated upon first request).

Further testing is required for this.

 All   Comments   Change History      Sort Order:
Ignacio Coloma - 25/Mar/09 04:06 PM
As implemented, the annotation can only be used with any Action class.