[jboss-user] [JBoss Seam] - The link element of an RSS feed does not get rendered proper

Basel do-not-reply at jboss.com
Sat Sep 2 14:01:43 EDT 2006


I am trying to do something similar to the RSS sample as in fisheye of JBoss Seam:
http://fisheye.labs.jboss.com/browse/JBoss/jboss-seam/examples/blog/view/index.rss
However, the link elements do not get rendered properly as you can see here:

  | <?xml version="1.0"?>
  | <rss version="2.0">
  | 	<channel>
  | 		<title>Sample Feed</title>
  | 		<description>RSS 2.0 Channel</description>
  | 		<link />http://localhost:8080/main.jsf
  | 		<item>
  | 			<title>Firefox</title>
  | 			<link />http://localhost:8080/entry.jsf?id=7
  | 			<description>Firefox the browser you can trust.</description>
  | 
  | 		</item>
  | 		<item>
  | 			<title>JBoss Seam</title>
  | 			<link />http://localhost:8080/entry.jsf?id=6
  | 			<description>Java EE Framework</description>
  | 		</item>
  | 	</channel>
  | </rss>
  | 

Here is the source code of rssfeed.xhtml:

  | <?xml version="1.0"?>
  | <rss version="2.0"
  | 	xmlns:ui="http://java.sun.com/jsf/facelets"
  | 	xmlns:h="http://java.sun.com/jsf/html">
  | 	<channel>
  | 		<title>Sample Feed</title>
  | 		<description>RSS 2.0 Channel</description>
  | 		<link>http://localhost:8080/main.jsf</link>
  | 		
  | 		<ui:repeat value="#{category.recentEntries}" var="entry">
  | 		<item>
  | 			<title>#{entry.title}</title>
  | 			<link>http://localhost:8080/entry.jsf?id=#{entry.id}</link>
  | 			<description>#{entry.body}</description>
  | 		</item>
  | 		</ui:repeat>
  | 	</channel>
  | </rss>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969063#3969063

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969063



More information about the jboss-user mailing list