You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/04/02 09:00:45 UTC

svn commit: r524736 - /myfaces/tobago/trunk/example/addressbook/src/main/webapp/application/editor.jsp

Author: bommel
Date: Mon Apr  2 00:00:44 2007
New Revision: 524736

URL: http://svn.apache.org/viewvc?view=rev&rev=524736
Log:
improved addressbook demo

Modified:
    myfaces/tobago/trunk/example/addressbook/src/main/webapp/application/editor.jsp

Modified: myfaces/tobago/trunk/example/addressbook/src/main/webapp/application/editor.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/addressbook/src/main/webapp/application/editor.jsp?view=diff&rev=524736&r1=524735&r2=524736
==============================================================================
--- myfaces/tobago/trunk/example/addressbook/src/main/webapp/application/editor.jsp (original)
+++ myfaces/tobago/trunk/example/addressbook/src/main/webapp/application/editor.jsp Mon Apr  2 00:00:44 2007
@@ -90,7 +90,7 @@
                 </f:facet>
                 <tc:form>
                   <tc:button
-                      image="#{controller.currentAddress.picture != null?'/tobago-example-addressbook/faces/picture?id=XXXX':'image/empty_portrait.png'}"
+                      image="#{controller.currentAddress.picture != null?'${pageContext.request.contextPath}/faces/picture?id=XXXX':'image/empty_portrait.png'}"
                       action="#{controller.popupFileUpload}">
                     <f:facet name="popup">
                       <tc:popup width="300px" height="170px" left="200px"