cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sharat Koya <sxk...@Cs.Nott.AC.UK>
Subject logicsheet
Date Fri, 05 Apr 2002 12:06:20 GMT
hi, i have been trying to implemnet a logicsheet as follows

in the logicsheet contains a function (calcs cords for an object)
<something:calc-cords>    paramaeters of which are  object="car" and cord="
" <--x or y depending on what i want returned
This function then runs some esql to grab the data of the car and calculates
its position.

I have another function in the logicsheet that calculates the distance
between two objects
<something:calc-distance> parameters of which are object1="car1" and
object2="car2"
I obviously need calc-distance to run calc-cords but when I try to call it
using xsl:match template or xsl:call-template with params it fails saying
that the wrapped java file has an error in it and it seems to miss call the
esql can anyone help. Perhaps show me the best way of calling this
calc-cords from calc-distance. I had also thought that a second logicsheet
may help here by getting something:calc-distnace to call
something-lib:calc-distance. Would that work?

Thanks for your time.
Sharat Koya

WinXP Pro, Cocoon 2.0.2, Tomcat 4.0.3, MySQL 3.23






---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message