Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to implement InfoCollectionProvider<JournalArticle> showing all fields?
Hi all
I need a collection of future events for wich I defined a structure with some fields including a date. I'm building a CollectionProvider for this.
My class implements InfoCollectionProvider<JournalArticle> and is working well, except for one thing: when creating a page with the Collction Display fragment, I'm unable to map my structure fields to the Item fragments, because they are not listed. Only the basic webcontent fields are listed.
Anybody has an idea on what's missing, or can point me to an example of building a collection provider with a customized web content?
TIA
Fernando