Freemarker and CDI @Named

Ivo Sestren Junior <[email protected]> Tue, 19 May 2015 11:35:53 -0300
Newsgroups gmane.comp.web.freemarker.user
Message-ID <CAO4XeHFqJ69qCCR400o=p9av8_0Eu0EhOxiWWoTSW8vLyA5JiQ@mail.gmail.com>
--===============8434843080154886346==
Content-Type: multipart/alternative; boundary=001a1135d692b5439d0516703c10

--001a1135d692b5439d0516703c10
Content-Type: text/plain; charset=UTF-8

Hi,

I have a class with @Named("title")
And in template i have:  <title>${title.getTitle()}</title>


But this is not working, his showing variable title its null.

But my class its never calling.

How i use CDI @Named in Freemarker?

--001a1135d692b5439d0516703c10
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I have a class with @Named(&quot;ti=
tle&quot;)</div><div>And in template i have: =C2=A0&lt;title&gt;${title.get=
Title()}&lt;/title&gt;</div><div><br></div><div><br></div><div>But this is =
not working, his showing variable title its null.</div><div><br></div><div>=
But my class its never calling.</div><div><br></div><div>How i use CDI @Nam=
ed in Freemarker?</div></div>

--001a1135d692b5439d0516703c10--


--===============8434843080154886346==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
--===============8434843080154886346==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user

--===============8434843080154886346==--