Hi all,

 

I'm hitting problems that seem pretty fatal trying to get canoo running
against our app that uses richfaces 3.3.3

 

I'm getting an error: TypeError: Cannot set property "isLeftClick" of
undefined to "function ()  {...

 

The javascript in questions is
http://localhost:8080/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScri
pt#12 and the code there is as follows:

 

return {

            isLeftClick : function(event) {

                  return isButton(event, 0)

            },

            isMiddleClick : function(event) {

                  return isButton(event, 1)

            },

            ..

 

It looks like it's choking because ajax4jsf's  javascript library is trying
to set the isLeftClick property on the anonymous result to a function.

 

Is there a way to get webtest working with ajax4jf?

 

Thanks,

Brad

Reply via email to