You have to post the java file as well. What does you method getEventos() in
the file ManterEvento.java look like??

Cheers,
PS

On 3/10/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
>
> Well I pretty much removed everthing from my HTML so I could find the real
> problem...
>
> Here are my files:
>
> ManterEvento.html
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
> <body jwcid="@Body">
> <table jwcid="table">
>                 <tr>
>                     <td>Table</td>
>                 </tr>
>             </table>
> </body>
> </html>
>
> ManterEvento.page
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE page-specification PUBLIC
>   "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
>   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
>   <page-specification class="
> com.synos.pbh.controller.pages.evento.ManterEvento">
>       <inject object="spring:eventoService" property="eventoService"/>
>       <inject object="ManterEvento" type="page" property="resultPage"/>
>       <property name="evento"></property>
>       <component id="table" type="contrib:Table">
>           <binding name="source" value="eventos"/>
>           <binding name="columns" value="literal:id, nome"/>
>       </component>
>   </page-specification>
>
> chat.application:
>
> <application name="chat">
>     <meta key="org.apache.tapestry.template-encoding" value="ISO-8859-1"/>
>     <page name="ManterEvento"
> specification-path="pages/ManterEvento.page"/>
>     <page name="Home" specification-path="pages/Home.page"/>
>     <library id="contrib"
> specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
> </application>
>
> Any suggestions?
>
> Regards
>
>
>
> On 3/10/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> >
> > I've run into this many times before as well....I can never remember
> what
> > the solution is though, it's always something silly.
> >
> > Whatever you guys do find can you post back to the forum or create a
> JIRA
> > issue so that people never go through this again?
> >
> > On 3/10/06, Peter Svensson <[EMAIL PROTECTED]> wrote:
> > >
> > > OK ;) It didn't sound like it, so I just had try just in case.
> > > But could you post you other files; html, java, etc. It is easier to
> > spot
> > > any oddness.
> > >
> > > Actually, the last time I got that error I had forgotten to close a
> > > quotation in the html-file, but I didn't use a .page file at that
> point,
> > > so
> > > it can't be that.
> > >
> > > Cheers,
> > > PS
> > >
> > > On 3/10/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Yep ;) any other ideas?
> > > >
> > > > On 3/10/06, Peter Svensson <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > OK. Have you tried it?
> > > > >
> > > > > Cheers,
> > > > > PS
> > > > >
> > > > > On 3/10/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Nope don't think that's the problem
> > > > > >
> > > > > > On 3/10/06, Peter Svensson <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > I think that either you can write the binding like this;
> > > > > > >
> > > > > > > <binding name="source" value="inst"/>
> > > > > > >
> > > > > > > Or you should have the value like this;
> > > > > > >
> > > > > > > <binding name="source" >eventos</binding>
> > > > > > >
> > > > > > > Cheers,
> > > > > > > PS
> > > > > > >
> > > > > > > On 3/10/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > I have a simple Table component:
> > > > > > > >
> > > > > > > >       <component id="table" type="contrib:Table">
> > > > > > > >           <binding name="source" value="eventos"></binding>
> > > > > > > >           <binding name="columns" value="literal:id,
> > > > > nome"></binding>
> > > > > > > >
> > > > > > > >       </component>
> > > > > > > >
> > > > > > > > But I'm getting an Exception:
> > > > > > > > Either the tableModel parameter or both source and columns
> > > > > parameters
> > > > > > > must
> > > > > > > > be specified by component ManterEvento/table.tableView
> > > > > > > >
> > > > > > > > Well I've double checked the syntax and guess it's ok, so
> why
> > is
> > > > it
> > > > > > > > complaining about missing parameters?
> > > > > > > >
> > > > > > > > Regards
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

Reply via email to