[Yanel-usage] changing yanel toolbar
Bettina Messmer
bettina.messmer at gmx.ch
Wed Jun 29 18:03:41 CEST 2011
Hi,
I'm trying now to add some functionality to my changed toolbar.
Therefore I want to add a simple xml file (just containing html code) in a first step.
I added:
<matcher pattern="**.upload-picture-left.html" rcpath="/usecases/pictureleft.yanel-rc"/>
<matcher pattern="**.upload-picture-right.html" rcpath="/usecases/pictureright.yanel-rc"/>
to the map file. In usecases I added the according-files containing:
<?xml version="1.0"?>
<yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
<yanel:rti name="xml" namespace="http://www.wyona.org/yanel/resource/1.0"/>
<yanel:property name="xslt" value="/app/xslt/global2.xsl"/>
<yanel:property name="xslt-body" value="/app/xslt/picture-upload-left.xsl"/>
<yanel:property name="mime-type" value="application/xhtml+xml"/>
</yanel:resource-config>
In app/xslt/ my xsl file is located.
Now my Body is displaye, when I comment the global".xsl property. But if it is uncommented, the file is not considered. Does anybody know why?
thanks a lot and greets,
Bettina
--
NEU: FreePhone - kostenlos mobil telefonieren!
Jetzt informieren: http://www.gmx.net/de/go/freephone
More information about the Yanel-usage
mailing list