You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2017/07/26 17:22:54 UTC

svn commit: r1803082 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/70-dataAttribute/dataAttribute.xhtml

Author: lofwyr
Date: Wed Jul 26 17:22:54 2017
New Revision: 1803082

URL: http://svn.apache.org/viewvc?rev=1803082&view=rev
Log:
demo: fix path of script

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/70-dataAttribute/dataAttribute.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/70-dataAttribute/dataAttribute.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/70-dataAttribute/dataAttribute.xhtml?rev=1803082&r1=1803081&r2=1803082&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/70-dataAttribute/dataAttribute.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/70-dataAttribute/dataAttribute.xhtml Wed Jul 26 17:22:54 2017
@@ -22,7 +22,7 @@
                 xmlns:tc="http://myfaces.apache.org/tobago/component"
                 xmlns:ui="http://java.sun.com/jsf/facelets">
   <ui:param name="title" value="#{demoBundle.dataAttribute} &lt;tc:dataAttribute>"/>
-  <tc:script file="content/30-concept/70-dataAttribute/dataAttribute.js"/>
+  <tc:script file="#{request.contextPath}/content/30-concept/70-dataAttribute/dataAttribute.js"/>
   <p>Add a data attribute to an UIComponent with
     <code class="language-markup">&lt;tc:dataAttribute/></code>.
     The data attribute is added to the parent and can be used by scripts.</p>