Google gears enabling

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Google gears enabling

Bazik-2
I`m need to enable google gears in orbeon.
I`m use 3.6 orbeon and JBOSS-4.2.2

I added trigger:

<xforms:trigger>
    <xforms:label>Offline</xforms:label>
    <xforms:action ev:event="DOMActivate">
        <xxforms:offline/>
    </xforms:action>
</xforms:trigger>

and scripts:

<script type="text/javascript" src="http://localhost:8080/ops/ops/javascript/yui/yahoo.js"></script><script type="text/javascript" src="http://localhost:8080/ops/ops/javascript/yui/event.js"></script><script type="text/javascript" src="http://localhost:8080/ops/ops/javascript/yui/dom.js"></script><script type="text/javascript" src="http://localhost:8080/ops/ops/javascript/encryption.js"></script><script type="text/javascript" src="http://localhost:8080/ops/ops/javascript/xforms.js"></script>
But when trigger clicked, I have error :

    * Message: FunctionCallExpr is not defined
    * File: http://localhost:8080/ops/ops/javascript/xforms.js
    * Line number: 4322

After researching I have my javascript file with FunctionCallExpr and some other functions.
Original here:
http://cvs.barracudamvc.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/src/resources-packaged/ops/javascript/ajaxxslt/xpath.js?rev=1.1&content-type=text/vnd.viewcvs-markup

But I have new error:

    * Message: YAHOO.util.Selector is undefined
    * File: http://localhost:8080/ops/ops/javascript/xforms.js
    * Line number: 4470

I think a need some javascript files. What You can recommend me?