Hey all
How do I output data from multiple sources into one contrib:Table?
What I do at the moment is:
<table jwcid="[EMAIL PROTECTED]:Table"
id="conversationsPlaceHolder" source="ognl:posts"
columns="listOfPosts:Title:title,
listOfPosts:Created:createdDate"
class="postTable" cellpadding="2"
cellspacing="2" width="100%">
Where the data source for source="ognl:posts" is
public List getPosts() {
return getPostManager().getPosts();
}
The above example works fine, but what if I have another method which
returns
public List getPerson() {
return getPersonManager().getPersons();
}
How can I use both sources in one table? If this isn't possible, are
there any other components that should be used instead?
Thanks!
Btw - if there are other newbies out there interested in Tapestry
components, check out this site I stumbled across recently,
it can come in handy: http://xdoclet.codehaus.org/TapestryTags
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]