Hello,
 
i am new to seam applications and i have a probem.Any help would be appriciated.
i have a mysql database and i have a table named rules filled with data.
i want when i login in in the seam application to see a page where all my table data are displayed.
i made an entity bean called rules with getters and setters methods.
and in the rules.xhtml page  i have Rule Name  <h:outputText  value="#{rules.rule_name}"/>
but i see nothing!!!
 
how can i query the db before the page displays so i can see my data???
 
 
thank you in advance