No, you don't have to rename it, is ok so.
Have you tried to rename
<binding name="tableModel" expression="AuthorTable"/>
in to 
<binding name="tableModel" expression="authorTable"/>
with a lowercase "author". 


On Friday 15 April 2005 16:06, Frank wrote:
> Here is my code from the tutorial
> 
> // Return the model of the table
>  public ITableModel getAuthorTable() throws HibernateException
>  {
>   Object[] data = null;
>   Session session = getSession();
>   Query query = null;
>   query = session.createQuery("from Author as auth");
> 
>   // Generate a simple sorting column model that uses OGNL to get the column 
> data
>   ITableColumnModel objColumnModel =
>    new ExpressionTableColumnModel(new String[] {
>     "First Name", "getFirstName()",
>     "Last Name", "getLastName()"
>    }, true);
> 
>   data = query.list().toArray();
>   session.close();
>   // Create the table model and return it
>   return new SimpleTableModel(data, objColumnModel);
>  }
> 
> Do I need to change getAuthorTable() to getAuthorTableModel()
> 
> Thanks
> 
> Frank 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to