0

I am new to richfaces.

I am not able to find a tutorial following which I can use jQuery Controls in Richfaces.

I was trying to follow 2 links

  1. http://blog.bleathem.ca/2011/11/richfaces-4-cdk-jqeury-ui-tabs.html

  2. http://planet.jboss.org/post/richfaces_4_cdk_jqeury_ui_tabs

I also tried to follow http://livedemo.exadel.com/richfaces-demo/richfaces/jQuery.jsf?c=jQuery&tab=usage but failed to get expected result.

Both written by same Author though.But am not able to find a conclusive idea of whole concept.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Ashish Agarwal
  • 6,215
  • 12
  • 58
  • 91
  • Which component exactly do you wish to use? Generally a combination of `` and jQuery plugins are enough to make them work. – Niks Dec 30 '11 at 11:55

1 Answers1

0

In my eyes, the basic idea is to write his own components for Richfaces. The author of your articles created his own HTML output that meets the requirements for jQuery ui-tabs. He has just used the feature of Java to extends methods of JSF.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Reporter
  • 3,897
  • 5
  • 33
  • 47
  • Yes, I agree, But is any other way out to use jquery with richfaces? I tried to follow http://livedemo.exadel.com/richfaces-demo/richfaces/jQuery.jsf?c=jQuery&tab=usage but result was not on expected lines – Ashish Agarwal Dec 27 '11 at 12:41
  • How should be the expected result? – Reporter Dec 27 '11 at 13:13
  • Tabs as we expect in jQuery, but I was getting error, Am I requiered to use A4J:LoadScript? Am I required to add any specific Jar for this? – Ashish Agarwal Dec 27 '11 at 13:32
  • Maybe http://stackoverflow.com/questions/7207901/richfaces-a4jloadscript-clears-jquery-plugins-on-ajax-calls will answer your question. – Reporter Dec 27 '11 at 14:15
  • I found also a slow! website about it: http://ac.aua.am/Cis/Avsl/Literature/Jsf/ebooks/Ajax4JSF/ch06s14.html – Reporter Dec 27 '11 at 14:23