Author: norman.richards(a)jboss.com
Date: 2008-12-22 17:05:25 -0500 (Mon, 22 Dec 2008)
New Revision: 9823
Modified:
trunk/examples/blog/view/index.xml
Log:
JBSEAM-3806
Modified: trunk/examples/blog/view/index.xml
===================================================================
--- trunk/examples/blog/view/index.xml 2008-12-22 21:59:54 UTC (rev 9822)
+++ trunk/examples/blog/view/index.xml 2008-12-22 22:05:25 UTC (rev 9823)
@@ -8,13 +8,13 @@
<feed
xmlns="http://www.w3.org/2005/Atom">
<title>#{blog.name}</title>
<subtitle>#{blog.description}</subtitle>
- <link href="http://localhost:8080/seam-blog"/>
+ <link
href="http://#{request.localName}:#{request.localPort}#{request.contextPath}/"/>
<rights>This is open source, silly!</rights>
<ui:repeat value="#{blog.recentBlogEntries}"
var="blogEntry">
<entry>
<title>#{blogEntry.title}</title>
- <link
href="http://localhost:8080/seam-blog/seam/entry.xhtml?blogEntryId=#{blogEntry.id}"/>
+ <link
href="http://#{request.localName}:#{request.localPort}#{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>