You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/12/01 13:03:52 UTC
svn commit: r885748 - in /ofbiz/trunk:
applications/content/template/HelpTemplate.ftl
framework/images/webapp/images/help/
framework/images/webapp/images/help/ofbizSeleniumSetup1.png
framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml
Author: jleroux
Date: Tue Dec 1 12:03:51 2009
New Revision: 885748
URL: http://svn.apache.org/viewvc?rev=885748&view=rev
Log:
A slightly modified patch from Erwan de FERRIERES "Add the images in docbook help" (https://issues.apache.org/jira/browse/OFBIZ-3280) - OFBIZ-3280
this patch will allow to diplay images in the help system.
The help images will be located in framework/images/webapp/images/help (one is included in this issue)
Added:
ofbiz/trunk/framework/images/webapp/images/help/
ofbiz/trunk/framework/images/webapp/images/help/ofbizSeleniumSetup1.png (with props)
Modified:
ofbiz/trunk/applications/content/template/HelpTemplate.ftl
ofbiz/trunk/framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml
Modified: ofbiz/trunk/applications/content/template/HelpTemplate.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/HelpTemplate.ftl?rev=885748&r1=885747&r2=885748&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/template/HelpTemplate.ftl (original)
+++ ofbiz/trunk/applications/content/template/HelpTemplate.ftl Tue Dec 1 12:03:51 2009
@@ -32,6 +32,8 @@
<@orderedlist node=child/>
<#elseif child?node_type = 'element' && child?node_name = "itemizedlist">
<@itemizedlist node=child/>
+ <#elseif child?node_type = 'element' && child?node_name = "graphic">
+ <img src="${child["@fileref"]}" height="${child["@height"]}" width="${child["@width"]}"/>
</#if>
</#list>
</#macro>
Added: ofbiz/trunk/framework/images/webapp/images/help/ofbizSeleniumSetup1.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/help/ofbizSeleniumSetup1.png?rev=885748&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ofbiz/trunk/framework/images/webapp/images/help/ofbizSeleniumSetup1.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Modified: ofbiz/trunk/framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml?rev=885748&r1=885747&r2=885748&view=diff
==============================================================================
--- ofbiz/trunk/framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml (original)
+++ ofbiz/trunk/framework/testtools/data/helpdata/HELP_WEBTOOLS_selenium.xml Tue Dec 1 12:03:51 2009
@@ -77,12 +77,9 @@
<para>The test uses a .5 second delay for demo purposes. (see example_testsuite.xml and the setSpeed value="500" command). You can
remove this at the start of the test if you don't want the delay</para>
<para>- Here are some screen shots of what you should be seeing.</para>
- <!--para>
- <graphic fileref="/images/seleniums/ofbizSeleniumSetup1.jpeg" height="150" width="400"></graphic>
- </para>
- <para>
- <graphic fileref="/images/seleniums/ofbizSeleniumSetup2.jpeg" height="150" width="400"></graphic> <graphic fileref="/images/seleniums/ofbizSeleniumSetup3.jpeg" height="150" width="400"></graphic>/>
- </para-->
+ <para>
+ <graphic fileref="/images/help/ofbizSeleniumSetup1.png" height="478" width="638"/>
+ </para>
</section>
<section>
<title>4.2 run the Example test webtools/Run Selenium</title>