The injection target type must be String.
String
This annotation may only be used in @RequestScoped or @RenderStateScoped beans.
@RequestScoped
@RenderStateScoped
Example:
getWindowID