[Webtest] Help with richfaces 3.3.3

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Mon, 12 Sep 2011 15:16:38 +0200


Hi,

are you using the latest WebTest build with HtmlUnit-2.9?

Cheers,
Marc.
-- 
HtmlUnit support & consulting from the source
Blog: http://mguillem.wordpress.com

Le 12/09/2011 06:21, Brad Douglas a crit :
> Hi all,
> 
>  
> 
> Im hitting problems that seem pretty fatal trying to get canoo running
> against our app that uses richfaces 3.3.3
> 
>  
> 
> Im 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.PrototypeScript#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 its choking because ajax4jsfs  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
>