-
1. Re: Help! where can i study rich:jQuery?
ybxiang.wolf Apr 24, 2008 2:16 AM (in response to ybxiang.wolf)Note:
My other code do work:<rich:jQuery selector="#imageSwitcher" query="addClass('class4Wrap')"/> <rich:jQuery selector="#imageSwitcher img" query="addClass('class4Wrap')"/> <rich:jQuery selector="#imageSwitcher img" query="addClass('class4Hide')"/> ~~~~default:hide all images and show the first one <rich:jQuery selector="#imageSwitcher img:eq(0)" query="removeClass('class4Hide')"/> ~~~~default:hide all images and show the first one
-
2. Re: Help! where can i study rich:jQuery?
ybxiang.wolf Apr 24, 2008 2:58 AM (in response to ybxiang.wolf)I find why jQuery does not work:
I put all code in <a4j:form>!!!
If i remove <a4j:form>, all work well!!! -
3. Re: Help! where can i study rich:jQuery?
ybxiang.wolf Apr 24, 2008 3:00 AM (in response to ybxiang.wolf)To other user:
Try to avoid to use rich:jQuery in a4j:form!!! Or it maybe does not work.
Try to avoid to use rich:jQuery in a4j:form!!! Or it maybe does not work.
Try to avoid to use rich:jQuery in a4j:form!!! Or it maybe does not work.
Try to avoid to use rich:jQuery in a4j:form!!! Or it maybe does not work. -
4. Re: Help! where can i study rich:jQuery?
sergeysmirnov Apr 24, 2008 1:33 PM (in response to ybxiang.wolf)To you:
Just learn JSF to make your life easy!!!
Just learn JSF to make your life easy!!!
Just learn JSF to make your life easy!!!
Just learn JSF to make your life easy!!!
Just learn JSF to make your life easy!!! -
5. Re: Help! where can i study rich:jQuery?
thetoad Apr 24, 2008 4:19 PM (in response to ybxiang.wolf)Well, if it's so simple, a little help will not kill anybody, will?
-
6. Re: Help! where can i study rich:jQuery?
sergeysmirnov Apr 24, 2008 4:36 PM (in response to ybxiang.wolf)http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F
Guess, what "weird character" JSF uses for client id name spacing. -
7. Re: Help! where can i study rich:jQuery?
ybxiang.wolf Apr 25, 2008 2:14 AM (in response to ybxiang.wolf)"SergeySmirnov" wrote:
To you:
Just learn JSF to make your life easy!!!
Just learn JSF to make your life easy!!!
Just learn JSF to make your life easy!!!
Just learn JSF to make your life easy!!!
Just learn JSF to make your life easy!!!
Just Learning JSF is not enough:
Actually, i have finished my web development in JSF with few problems, but i want to add some animate-effect on my web, so i decide to use rich:jQuery.There are always strange things here and there.
Maybe here is not the right place to ask naive questions about jQuery, and so many strange questions made you a bit angry.
I will never use "is this a bug" here, i think all leaders hate such sentence .
[I do find a bug, and your members had repored it.http://jboss.com/index.html?module=bb&op=viewtopic&p=4145670#4145670
]
;)
Anyway, thanks for your reply. -
8. Re: Help! where can i study rich:jQuery?
liuliu Apr 25, 2008 3:37 AM (in response to ybxiang.wolf)
h:form or a4j:form add his id before the component's id in it. So jquery cant find it when you add the form. -
9. Re: Help! where can i study rich:jQuery?
sergeysmirnov Apr 25, 2008 12:48 PM (in response to ybxiang.wolf)"ybxiang.wolf" wrote:
I will never use "is this a bug" here, i think all leaders hate such sentence .
[I do find a bug, and your members had repored it.
There is not any bug around this issue. The problem is in your own code and the solution is 10 seconds away. SO, it is all about knowledge.