Thursday, August 5, 2010

Using af:switcher component in Oracle ADF Faces

Hi,
     As i explained in my last video working with Router activity in Task flows the same functionality can be achieved using ADF Faces af:switcher component on JSF page. This example will also quickly shows how to use DVT components on JSF page.

Here is the example hope you like it




Download the example

Happy JDeveloping,
ZB

8 comments:

  1. Hi Zeeshan,
    i have downloaded your application and ran it on Jdev 11.1.2.1.0
    But only the Bar Graph is being displayed.The pie chart is not working.

    ReplyDelete
  2. Hi,
    I downloaded the application and ran it in Jdevloper 11.1.2.1.0 and its not fetchin data properly when i want to switch from bar to pie facet.When i double click the button then it works properly.So Can u please tell how to come up with this problem

    ReplyDelete
  3. Hi,

    The code was develop using Jdeveloper R1 version. I have to test in R2 to see if its working on not.

    ZB

    ReplyDelete
  4. Hi,

    I verified change the scope of the bean from BackingBean to ViewScope in R2. I don't know why this is happening.

    ZB

    ReplyDelete
  5. thank you for the tutorial it was very helpful. My question is if you have 3 facets instead of 2, how will you write the code?

    ReplyDelete
    Replies
    1. Hi,

      You handle the logic in ManagedBean similarly the way i showed in the tutorials.

      Regards,
      Z

      Delete
    2. thank you for your reply, i'm kind of new to ADF and self taught (with your tutorials help of course) care to elaborate a bit more? sorry to bother you

      Delete
    3. Hi

      Best is to go through Oracle Fusion Developer Guide to understand core of ADF it will be easy. The video is pretty much self explanatory cannot do more than that.

      Regards,
      Zeeshan

      Delete