webtier@glassfish.java.net

Re: Import JSDK class in facelets page

From: <webtier_at_javadesktop.org>
Date: Wed, 20 Jan 2010 12:56:26 PST

The short answer is to move that to a managed bean. The longer, more helpful answer depends on what you're trying to do. In a nutshell, though, you would probably create a method, getBar(), on your bean, Foo, which you would then reference in your page via #{foo.bar}. Does that help? :)
[Message sent by forum member 'jdlee' (jasondlee_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=382031