Re: Help with richfaces 3.3.3
Marc Guillemot <[email protected]>
| Newsgroups | gmane.comp.web.canoo.webtest |
|---|---|
| Message-ID | <[email protected]> |
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,
>
>
>
> 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.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 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
>