wood burning stoves 2.0*
The moose likes JSF and the fly likes JBoss Seam and JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JBoss Seam and JSF" Watch "JBoss Seam and JSF" New topic
Author

JBoss Seam and JSF

Jose Alvarez de Lara
Ranch Hand

Joined: May 10, 2008
Posts: 92
Hi,

I am newbe with JBoss Seam. I am using 2.2.0 GA version. My problem is that I cannot display a JSF page.
When I invoke it I see a blank page. Here is my code,

Then bean (HomeBean),



The JSF page (index.xhtml),



I am thinking I have to do some declarations in the faces-config.xml file but I do not know what is it.

Please help.

Kind regards,
Jose
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

What is the link that you is using to access?

Without the line bellow, you can see the page?
<s:link action="#{homeBean.send}" value="Send email"/>


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
Jose Alvarez de Lara
Ranch Hand

Joined: May 10, 2008
Posts: 92
Hi Herbert,

If I add a little hardcode like 'Helo world' I can see it.

It's the <s:link> tag what I cannot see

Thnaks,
Jose
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Change the <head> for <h:head> and do the same with the body tag.
Jose Alvarez de Lara
Ranch Hand

Joined: May 10, 2008
Posts: 92
I get the following message,

Warning: This page calls for XML namespace http://jboss.com/products/seam/taglib declared with prefix s but no taglibrary exists for that namespace.

Whitch is the taglibrary?

Thanks,
Jose
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

The seam lib. Is it in your lib folder and project class path?
Jose Alvarez de Lara
Ranch Hand

Joined: May 10, 2008
Posts: 92
Take a look at this web, it seems that resolve my issue

Seam Data Validation

Thank you for your interesting.

Kind regards,
Jose
 
Don't get me started about those stupid light bulbs.
 
subject: JBoss Seam and JSF
 
Similar Threads
Injection problem - not quite sure if this is something i should be using injection for
@ConversationScoped
context.getRequest()).getRequestDispatcher("/j_spring_security_check") returns null
t calender problem
What's the problem in this code?