[seam-commits] Seam SVN: r15641 - branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Dec 5 09:39:16 EST 2013


Author: manaRH
Date: 2013-12-05 09:39:16 -0500 (Thu, 05 Dec 2013)
New Revision: 15641

Modified:
   branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/index.xml
Log:
https://issues.jboss.org/browse/WFK2-319 removed absolute link paths from Atom feed in Seam Blog example

Modified: branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/index.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/index.xml	2013-11-22 16:54:53 UTC (rev 15640)
+++ branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/index.xml	2013-12-05 14:39:16 UTC (rev 15641)
@@ -8,13 +8,13 @@
 <feed xmlns="http://www.w3.org/2005/Atom"> 
   <title>#{blog.name}</title>
   <subtitle>#{blog.description}</subtitle>
-  <link href="http://#{request.localName}:#{request.localPort}#{request.contextPath}/"/>
+  <link href="#{request.contextPath}/"/>
   <rights>This is open source, silly!</rights>
   
   <ui:repeat value="#{blog.recentBlogEntries}" var="blogEntry">
   <entry>
     <title>#{blogEntry.title}</title>
-    <link href="http://#{request.localName}:#{request.localPort}#{request.contextPath}/entry/#{blogEntry.id}"/>
+    <link href="#{request.contextPath}/entry/#{blogEntry.id}"/>
     <published><h:outputText value="#{blogEntry.date}">
             <f:convertDateTime timeZone="GMT" pattern="yyyy-MM-dd'T'HH:mm:ss'Z'"/>
     </h:outputText></published>



More information about the seam-commits mailing list