|
|
|
Change By:
|
Marek Schmidt
(21/Jan/14 4:07 AM)
|
Description:
|
EAR/lib/foo.jar and EAR/bar.war
foo.jar: {code} import javax.inject.Named;
@Named("echo") public class CommonEcho { public String getText() { return "CommonEcho"; } } {code}
and a page in bar.war:
{code} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets"> <h:head> </h:head> <h:body> <h:outputText value="#{echo.text}" /> </h:body> </html> {code}
no longer works in Weld 1.1.
7
17
.Final
|
|
|
|