I have some code I used for the www.israfil.net site, but I haven't open-sourced it. Let me go dig it out tomorrow and see if i can do that.

I didn't write the raw feed, though. I used the SyndEntry as a model object and created a display component and pulled data from the entry.

regards,
Christian.

On 27-Mar-09, at 01:54 , Davor Miku wrote:

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.

Christian Edward Gruber
e-mail: christianedwardgru...@gmail.com
weblog: http://www.geekinasuit.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to