-
1. Re: suggestionBox scrollbar issue
nbelaevski Dec 29, 2008 7:08 AM (in response to pacific)Hello Prashant,
Try to use later version: http://www.jboss.org/jbossrichfaces/downloads/ -
2. Re: suggestionBox scrollbar issue
pacific Dec 29, 2008 11:32 PM (in response to pacific)Hi nbelaevski.
Thanks for your reply. I have upgraged richfaces version to the latest ie. 3.1.6. ( i am using JSF1.1 , myfaces 1.1.5 and tomahalk1.1.6).
But now when i type something in the input text then ajax request is going to
the server and javascript error is occuring in suggestionbox.js with message
Object doesnt support property or method.
It seems error is occuring at the following statement in script.
entryes=Element.select(this.update,"."+this.options.entryClass)||[];
i think Element.select is giving problem as this method is undefined for Element(when seen in script debugger).
Do you have any idea why this is happening.
thanks and regards
prashant -
3. Re: suggestionBox scrollbar issue
nbelaevski Dec 30, 2008 7:41 AM (in response to pacific)Hi Prashant,
prototype script didn't get loaded. Please check 'Net' tab of Firebug if there are any errors loading resources (shown in red color) -
4. Re: suggestionBox scrollbar issue
pacific Jan 1, 2009 11:16 PM (in response to pacific)Hi Nbelaevski,
Thanks for your help.
Yes , the problem lies with prototype.js. Actually its getting loaded but there is version conflict.
As i m using tomahalk1.1.6, prototype.js is getting loaded from tomahalk jar which is of 1.4 version whereas richfaces uses 1.6 version..
Is there any way out for this or i cant use tomahalk1.1.6 along with richfaces 3.1.6?
thanks and regards
prashant -
5. Re: suggestionBox scrollbar issue
nbelaevski Jan 2, 2009 8:51 AM (in response to pacific)I do not know Tomahawk well, so I've asked Ilya to look at the issue. I think he'll add something when he return from vacations on Monday.
-
6. Re: suggestionBox scrollbar issue
ilya_shaikovsky Jan 5, 2009 2:51 AM (in response to pacific)There are just two ways - patch tomahawk with latest prototype version - could be not safe, or just update tomahawk to the release which uses the same version.
-
7. Re: suggestionBox scrollbar issue
pacific Jan 5, 2009 4:00 AM (in response to pacific)Hi Ilya,
Thanks for your help. Actually tomahalk 1.1.8 which is latest version is using protype.js of 1.4 version. I will check whether version 1.6 can be used with it.
Nbelaevski : Thank you very much for your help in finding the cause of the issue.
regards
prashant -
8. Re: suggestionBox scrollbar issue
ilya_shaikovsky Jan 5, 2009 6:18 AM (in response to pacific)we've already faced such problems in the past and them was already included to FAQ.
http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/faq/faq.html#d0e150
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118526&postdays=0&postorder=asc&start=10 -
-
10. Re: suggestionBox scrollbar issue
pacific Jan 7, 2009 1:15 AM (in response to pacific)Hi Ilya,
thanks for the help. i have swapped prototype.js in tomahalk.. and for now it seems ther is no prob..
Also thanks for pointing FAQ as it is very useful.
now i have query regarding suggestionbox to appear on click of image which i will post as new topic.
regards
prashant