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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Create region programmatically

Thanh HoangMay 13 2013 — edited May 13 2013
Hi all,

I'm using Jdev 11.1.2.3.0

Related to this thread : {thread:id=849878}. Becasue this thread is locked, and I have to create new thread

Can anybody have any ideas for this issue?

I found that Jdev hasn't supported creating region programmatically yet (up to now 11.1.2.4 version).

But please let me know if you have any solution to workaround.

Thanks and regards!

Thanh Hoang

P/s: When i try to insert region in Java :
        RichRegion region = new RichRegion();
        region.setVisible(true);
        region.setRendered(true);
        ValueExpression value = getValueExpression("#{pageFlowScope.dynamicRegion.regionModel}");
        region.setValueExpression("value", value);
the log is:
<UIXComponentBase> <getClientId> getClientId should not be called while the view is being constructed. Component ID: j_id6 
And the screen doesn't show my region. but when i use this:
 <af:region value="#{pageFlowScope.dynamicRegion.regionModel}"/> 
.

My region is displayed.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 10 2013
Added on May 13 2013
1 comment
221 views