Skip to Main Content

Application Development Software

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!

Setting a Custom Scope in a Page

luis_betancourthJun 24 2010 — edited Jun 25 2010
Greetings again

i am trying to set a custom scope for my pages, i am following the example 6.3.2 Setting Scope in a Page - Create New Task Flow in the Oracle® Fusion Middleware
Developer's Guide for Oracle WebCenter 11g Release 1 (11.1.1) E10148-06.

i have a managed bean whose class name is AdministratorPagView and has a method called getScopeName() that returns a String. My adfc-config.xml archive looks like this

------------------------------------------------------------------------------------------------------------------------------------------
adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<managed-bean id="__3">
<managed-bean-name id="__1">adminPagView</managed-bean-name>
<managed-bean-class id="__2">view.AdministratorPagView</managed-bean-class>
<managed-bean-scope id="__4">request</managed-bean-scope>
</managed-bean>
</adfc-config>
--------------------------------------------------------------------------------------------------------------------------------------------

then in my page definition archive called AdministratorPagPageDef.xml that corresponds to the JSPX where the create page task flow, there is a parameter for that task flow like this:

<parameters>
<parameter id="oracle_webcenter_page_createpage_scopename"
value="${adminPagView.scopeName}"/>
</parameters>

so i try creating a page and when i finish creating it the getPateTreeITerator does not show me anything and looking into the WL Server floders for the mds, i just found a scope.xml file in a path structure like this one

DefaultDomain/webcenter/mds-integServerRepos/<my_app_name>/oracle/webcenter/framework/scope/scopedMD/<custom_scope_name>/scope..xml, but the new folder that reference to a new scope is not being created

is there something i am missing?

Edited by: Luis_muxhaxho_betancourth on 24/06/2010 08:46

Edited by: Luis_muxhaxho_betancourth on 24-jun-2010 18:54
This post has been answered by 2827010 on Jun 25 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 23 2010
Added on Jun 24 2010
5 comments
1,342 views