Hi!
I'm using rome to build rss feed component.
@BeginRender
boolean init(MarkupWriter writer){
...
...
...
feed.setEntries(entries);
SyndFeedOutput output = new SyndFeedOutput();
writer.writeRaw(output.outputString(feed));
return false;
}
I'm using component like:
<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<t:rss.RssFeedWriter />
</t:container>
But I'm getting exception:
Render queue error in AfterRender[Testing:rssfeedwriter]: This markup writer
does not have a current element. The current element is established with the
first call to element() and is maintained across subsequent calls.
I can't figure out how to solve this. I need some help urgently.
Thanks in advance.