Hi everybody,

this time I a have a question concerning the best practice to implement
a search page/functionality as I'm having problems to use the contrib:Table
with my approach:

I have one page, called "SearchPerson" which contains the search form
and calls a perfomQuery(parameters) method with the submitted form values as
parameters in a second page called "PersonMatches" (perhaps this approach
isn't good at all, then please tell me). On this second page I want to display 
the
results using the contrib:Table but I get the error message:

Unable to read OGNL expression '<parsed OGNL expression>' of [EMAIL PROTECTED]:
$PersonMatches_57.firstName

<component id="searchMatches" type="contrib:Table">
        <binding name="source" value="results"/>
        <binding name="columns" value="id, firstName, lastName"/>
        <binding name="pageSize" value="10"/>
        <binding name="initialSortColumn" value="id"/>
</component>

@Persist
public abstract List<Person> getResults();
public abstract void setResults(List<Person> results);

I think this has to do with the fact that the "List" containing
the search results can't be initialized in pageBeginRender so far.
Am I right?!

How would you implement such a search page (or pages)?

What do I need a ITableColumnModel/IBasicTableModel for (I haven't found
any explanation and in TapestryTables.war it doesn't seem to be used).

Thanks a lot in advance!
  Andreas

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

Reply via email to