Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In the file <code>person.xhtml</code> you use Seam component <code>personHome</code>, but these component is not define.</p> <p>You can try find class <code>PersonHome</code> and add such adnotation:</p> <pre><code>@Name("personHome") public class PersonHome { </code></pre> <p>Mayby some reference can help you:</p> <ol> <li><p><a href="http://docs.jboss.org/seam/latest/reference/en-US/html/tutorial.html#registration-example" rel="nofollow">Registration example</a> - simple Seam application</p></li> <li><p><a href="http://docs.jboss.org/seam/latest/reference/en-US/html/framework.html#d0e8237" rel="nofollow">Home objects</a> - explanation of Home object</p></li> </ol> <hr> <p>In your source file you have a few things that don't follow Java convetion and at least one error:</p> <ol> <li><p>The <code>personHome</code> component should be declare in that way:</p> <pre><code>@Name("personHome") public class PersonHome extends EntityHome&lt;Person&gt; </code></pre> <p>You should add extend <code>EntityHome</code> class with your entity and use capital letter when you declare class name.</p></li> <li><p>You should also use capital letter when you declare <code>Person</code> class:</p> <pre><code>@Entity public class Person implements Serializable </code></pre></li> <li><p>Problem with data source: plese check if you declare data source <code>workDatasource</code> and if proper file exist in your <code>deploy</code> directory. File with data source definition should have name which end <code>-ds.xml</code>. You can also past that file in your query.</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload