This content has been marked as final. Show 6 replies
thanks for your answer
i use it in my jspx page that have document tag
but how to focus in jsff page on load?
From the blog link posted above
To set the initial focus to a component located in a page fragment that is exposed through an ADF region, keep in mind that ADF Faces regions - af:region - is a naming container too. To address an input text field with the id "it1" in an ADF region exposed by an af:region tag with the id r1, you use the following reference in af:document:
<af:document id="d1" initialFocusId="r1:0:it1">
Note the "0" index in the client Id. Also, make sure the input text component has its clientComponent property set to true as otherwise no client component exist to put focus on.
in blog link , just explain how to focus in "jspx" page
but i want to focus control in "jsff" page on load page
the jsff pages dont have any "document" tag
any page fragment initially placed into some document. Use this document defintion
jsff is nothing but a fragment. You would then be using a taskflow with these fragments and then place that taskflow as region in your main page? Now read through my previous reply.