O'Reilly logo

Oracle ADF Faces Cookbook by Amr Gawish

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the scrollComponentIntoViewBehavior tag

The scrollComponentIntoViewBehavior tag is an interesting client behavior tag that can be used to enable the user to jump to a particular component on a page similar to an anchor in HTML.

In this recipe, we will use scrollComponentIntoViewBehavior to jump to the submit button at the end of the page. You can refer to the last recipe, or you can grab this project's recipe by cloning the ADFFacesScrollComponentTag application from the Git repository.

This is a very good use case since forms can grow big, and providing the end users with the option to jump to the Submit button directly can be a time saver.

Note

Note that this is a client-side component, so there are no actions submitted on the server side, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required