Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to find component inside Region

3055322Oct 5 2017 — edited Oct 6 2017

Hello Guys,

I am working on Jdev12.2.1 and Jsf2.2.

I have created one dynamic region in which I created some component using java code like RichSelectOneChoice etc, not the jsf declarative approach.

So here when ever I trying to search any component inside the region , system is not able to find it.

UIComponent component = FacesContext.getCurrentInstance().getViewRoot().findComponent("aRegion:0:businessUnit");

Its absolute id of this component withing Region. See the below screen shot took from Developer mode.

pastedImage_0.png

I really surprised why program is not able to find this component.

FYI, Its ajax call that trying to look up this component.

Could someone help me on this.

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2017
Added on Oct 5 2017
1 comment
445 views