[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
Access to a bean when using facelets as template  XML
Forum Index » J2EE Application Development
Author Message
nargzul

Newbie

Joined: 06/18/2009 13:25:08
Messages: 1
Offline


Hi!

I'm starting to develop an application on netbeans+glassfish+mysql.

I've created a facelet template to have only one time all the design part:



After this I just create a JSF page:


But I get this error:

org.apache.jasper.JasperException: PWC6228: #{...} not allowed in a template text body.

on the #{testfile2.toto}

I've try to do:
-The same thing without the template
-The same thing without the #{...}

And the two things works.

Must we use a special method to access to bean when we use facelets? Is it impossible? What do you recommend me?
 
Forum Index » J2EE Application Development
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle