Setting a Custom Scope in a Page

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

the pages are being placed in a diferent folder from the one used when defaultScope is set, how can i make those pages visible in the page tree for my user ?

Similar Messages

  • Setting the custom master page through powershell is NOT working

    Hi,
     I am writing the below code to set the  custom master page through powershell.
    But its not working .when i went to site settings-->master page --> in the drodown , the  maste page set is seattle.master ONLY, though my current master page is available in the dropdown.
     Can anyone pls help, whether i am missing in the below :
          Add-PSSnapin Microsoft.SharePoint.Powershell
           $SiteURL = "http://srvr1:22307/sites/SPW5"
        $weburl= $SiteURL
        $Site= Get-SPSite $SiteURL
        $web =  $Site.OpenWeb()
    $web.CustomMasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.MasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.Update()
    Das

    Hi,
    Is it a publishing page? If yes can you try the PowerShell scripts corresponding to the following code snippet?
    var publishingWeb = PublishingWeb.GetPublishingWeb(web);
    publishingWeb.CustomMasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.CustomMasterUrl.SetValue(masterPageUrl, false);
    publishingWeb.MasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.MasterUrl.SetValue(masterPageUrl, false);
    I've noticed sometime (not sure though) that Master page doesn't get updated if the inherit property is not updated first.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Cs.ini set custom property via wizard page

    I'm unable to understand why custom property DeployType is not parsed in CS.ini when set via custom wizard page. However when used
    Property("DeployType")<>"ThinDesktop" as a condition for skipping Application Selection Wizard. It works. Also, at the end of the wizard screen in summary page I see DeployType value is set to whatever radio button is selected.
    However, DeployType section is not parsed in CS.ini.
    Please help.
    CS.ini
    [Settings]
    Priority=ByLaptop, ByDesktop, DefaultGateway, DeployType, Default
    Properties=MyCustomProperty, DeployType
    [Default]
    OSInstall=Y
    SkipCapture=YES
    SkipAdminPassword=YES
    SkipProductKey=YES
    SkipComputerBackup=YES
    SkipBitLocker=YES
    [DefaultGateway]
    192.168.137.1=Home
    [Home]
    ;set timezone
    [ByLaptopType]
    Subsection=Laptop-%IsLaptop%
    [Laptop-True]
    ;laptop apps here
    [ThinDesktop]
    ;process selected apps
    SkipApplications=Yes
    [FullDesktop]
    ;list apps
    MadantoryApplications01="{5f3c6612-3a21-4b60-b592-968f70d7f8bd}"
    Wizard page:
    <Wizard>
      <Global>
      </Global>
      <Pane id="CDeploymentType" title="Computer Deployment Type">
        <Body><![CDATA[<H1>Select Computer Deployment Type :</H1>
    <table>
     <tr>
      <td>
       <input type=radio name="DeployType" id="TDRadio1" Checked value="ThinDesktop" language=vbscript AccessKey=A>
      </td>
      <td>
       <Label class="Larger" for=TDRadio1 language=vbscript ><u class=larger>T</u>hin Desktop.</Label>
      </td>
     </tr>
      <tr>
      <td>
       <input type=radio name="DeployType" id="FDRadio2"  value="FullDesktop" language=vbscript AccessKey=B>
      </td>
      <td>
       <Label class="Larger" for=FDRadio2 language=vbscript ><u class=larger>F</u>ull Desktop.</Label>
      </td>
     </tr>
    </table>]]></Body>
      </Pane>
    </Wizard>

    I'm unable to understand why custom property DeployType is not parsed in CS.ini when set via custom wizard page. However when used
    Property("DeployType")<>"ThinDesktop" as a condition for skipping Application Selection Wizard. It works. Also, at the end of the wizard screen in summary page I see DeployType value is set to whatever radio button is selected. However, DeployType
    section is not parsed in CS.ini.
    There are some misconceptions here.
    Typically, the cs.ini file is parsed *before* running the wizard. You don't actually *set* DeployType in the cs.ini file, so there is nothing to do here.
    Now if you wish to re-run the cs.ini file after the wizard, during the task sequence, then read this:
    http://www.deployvista.com/tabid/36/EntryID/139/language/en-US/Default.aspx
    Also note, that typically, if a value is already set, then ZTIGather.wsf will *not* override the value from something in the cs.ini file.
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • How to set up Application specific custom ogoff (sign-off) page.

    Hi,
    I'm using OracleAS 10.1.2.2
    Note 333638.1 shows us how do make a custom SSO login page to be application specific. This works.
    Now, I want to do a custom SSO logout (sign-out) page. Using the redirect method described does not seem to work. Please note that in our version 10.1.2.2, there is no default logout.jsp page in the /sso/jsp directory. To deploy a custom logout page, I would need to update the WWSS_LS_CONFIGURATION_INFO$ view.
    I was able to test a custom SSO logout.jsp page sucessfully. However, when I tried using a redirect_logout.jsp to make it application, it no longer works.
    Does anyone know or have any idea on how to deploy an application specific logout page? (i.e. only specific applications uses the custom logout page, otherwise go to the default one).
    Thanks.
    - Kevin

    Well,
    There are 5 choices to choose from on the page. In the description of the choices at the bottom of the page there are 7, and the two additional choices talk about having to first have registered the site with SSO. So...I'm interpreting that as meaning that other 2 possible choices would be displayed if the site is registered with SSO. That, plus the fact that the page which describes how to add the site to SSO seems to think that the SSO choices are displayed in the wizard.
    So, no, there's no "exact launguage" that says what the reason is for the choices not being displayed. Can you point me to some exact language that tells me how to get those choices displayed?

  • How can I set a custom Home Page while ALSO having a New Tab be the default Mozilla Page?

    Why is the "home Page" = to a New Tab page? Why are they linked. I want my.yahoo.com to be my Home Page (currently set properly) but my New Tab page seems to be set to "Conduit" and has a search bar. I have no idea where that came from or how it got set that way. I want to have my current Home Page but make any New Tabs be the Mozilla Default Page with a Google search bar. Is that possible? I am running on Windows XP.

    See also this article about the New Tab page (about:newtab):
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites
    You can check for problems with preferences and try to rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default values.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences
    See alao:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Creating Custom Bullets & Lists in Pages 5.0

    I cannot figure out how to create a custom numbered list in Pages 5.0. I had custom LISTS on my 4.3 Docs that did not migrate to 5.0. How do I create duplicate LIST STYLE in 5.0?
    Thank you for your help.

    On the format menu on the right side, there is the font section, alignment section, spacing section, and bullets & lists section. Next to the bullets & lists section is a drop-down menu of preset lists. At the top-right of this menu is a plus sign. Clicking on this will allow you to create a new list in that menu and title it. From there, you will have to manually create your custom list change the type of bullets (numbers, roman numerals, letters, etc.) -- you might need to click on the disclosure triangle to the left of the bullets & lists title to see this part. When you finish with your custom list, there will be an asterik next to the title of the list, and if you click on that title, the drop-down menu will open up again and you can hit "Update" next to your list name. This should save the style for that custom list. Here is the most important part: When you have finished making this list, make sure you save the document as a template and select that template if you ever want to use that list. I have found that a custom list in a document (saved or deleted) that is not made into a template does not carry over into other documents. Setting up this custom list may take a while, but hopefully it will work and make things easier. I hope this makes sense, and let me know if you cannot understand something. Hopefully this picture will help too.

  • How do I set a custom time & date format in the top bar?

    Hello guys,
    Very embarassing question, because I've had Apple's for all of my life (starting with the original Apple Macintosh) but I still haven't figured out one thing
    How do I set a custom time & date format in the top bar?
    When I go to System Preferences > Language & Text > Formats I can set different formats. I have no idea where you will see these, but I know that it's not the top bar where the time and date is being displayed. Because no matter what I enter, the format in the top bar will stay the same. I can only choose things like 24-Hour clock or not, blinking dots and so on in the Time & Date settings from the System Preferences.
    Can anyone here point me in the right direction? I see you can even choose to display the week of the year - I'd love to do that!
    All help appreciated!
    Greetings

    Language & Text system preferences, Formats tab, customize dates.
    There are also many third party menu item utilities that can.  Search Macupdate.com for some.
    One search yielded iClock Pro.  Although I never used it I would think it allows customization.  The link I gave you is to the Macupdate download page for that app.  On that same page is a Similar Software section which has other apps that can do the same thing. 
    One listed is iStat Menus.  The primary use for iStat Menus is not for displaying date/time but it does do that.  And I know it can do what you want because I use iStat Menus to track temperature sensors n my machine and, like you, I want to customize the menu time/date.  So I use it instead of the apple clock.  It does have the customization features I think you are looking for.

  • How to Redirect Customer to a Account Page

    I am trying to set up a user log in page where after the user logs in using their user name and password they are then redirected to a User Page where they can update their profile. How do I get the submit button to redirect to a new page?
    Thanks!

    You specify a secure zone landing page in admin under secure zone details.
    When customer logs in they'll be taken to that page.
    Cheers,
    Mario
    www.twoblokeswithapostie.com - Talk to us before you tell your clients:
    "No, Business Catalyst can't do that."

  • How can i set different font for different tabs/pages

    I want to set different fonts for different tabs/pages?
    is it possible to do the same? If yes how?
    I can change the fonts under tools>options>contents>advanced. but that changes global settings.
    tried some add ons too- but that too changes the global settings.
    some pages like tweetdeck do not display icons etc properly under custom fonts.
    when i check "allow pages to select their own font" tweetdeck shows up fine but a number of other pages show fonts that are too big or some non standard fonts.
    Is there a way where i can select site default fonts for some sites/tabs, and custom fonts for other sites/tabs?
    otherwise i have to open different sites in different browsers- say i use my custom fonts- which apply globally, and open tweetdeck etc in Internet Explorer or Chrome etc. if i can have all tabs in one window/browser, that would be great.

    It's not a built-in feature to override a page's styles on a tab-by-tab or site-by-site basis, but perhaps someone has created an add-on for this?
    It also is possible to create style rules for particular sites and to apply them using either a userContent.css file or the Stylish extension. The Greasemonkey extension allows you to use JavaScript on a site-by-site basis, which provides further opportunity for customization. But these would take time and lots of testing to develop and perfect (and perfection might not be possible)...
    Regarding size, does the zoom feature help solve that part? In case you aren't familiar with the keyboard and mouse shortcuts for quickly changing the zoom level on a page, this article might be useful: [[Font size and zoom - increase the size of web pages]].

  • How do I set a customized lock screen in iOS7?

    How do I set a customized lock screen in iOS7?

    Thank you, but I need to put my name and contact info on an image to be the lock screen.  It is what my university really really wants us to do.  I used to be able to make a PowerPoint or Keynote page, save it as a jpeg, email it to myself and open it on the iPad, send it to cameral roll, then have the option to set it as the lock screen there.  Can't do that any more.

  • Custom bleeds for each page?

    i changed the size of a page using the page tool to be smaller than other pages in the same document. but the bleed is huge?
    i set the bleed to be .5 all around and it looks good on all the pages except this one
    can i set custom bleeds for each page?

    Eric Greenfield wrote:
    i set the bleed to be .5 all around and it looks good on all the pages except this one
    can i set custom bleeds for each page?
    First, .5 whats? .5 inches, for example would be huge for normal work, .5 pica or cm a bit large, and .5 mm or pt exceptionally small. and essentially useless.
    And bleed guides are set as a document level attribute, so one size fits all pages. That actually is a good thing, by the way. Bleed is there to provide a buffer against misalignment in cutting. The size you need is based on the sheet-to-sheet registration capabilities of the printing equipment and the accuracy of the cutter and skill of the operator, and it doesn't change with the page size.

  • Set list custom property value on creation

    I have a list template created, and a custom action that exposes a settings page. On the settings page, I can read / set a custom list property. I would like to be able to set the property when I'm creating the list (and have a similar requirement when
    creating a site). Is there any way to expose the custom property to the "New list" dialog (Silverlight)?

    Hi Ahmad,
    Could you please follow the below steps to get ALL to the top:
    -Edit the objects properties for which you want to apply condition.
    -Click on SQl editor and check the option don't generate sql
    -Write the sql as follows:
    SELECT DISTINCT
    TABLE NAME.COLUM NNAME
    FROM
      TABLE
    UNION
    SELECT '*ALL' FROM TABLE
    For Example:
    SELECT DISTINCT
      EMP.ENAME
    FROM
      EMP
    UNION
    SELECT '*ALL' FROM EMP
    __-Create a pre defined condition in universe_:
    @Select(Emp\Ename) IN @Prompt('VAL',A,'Emp\Ename',MULTI,FREE) OR '*ALL' IN @Prompt('VAL',A,'Emp\Ename',MULTI,FREE)
    Note: Use '*ALL' insted of 'ALL'

  • Is it possible to use an AppleScript to set a *custom* paper size in Word?

    I've used the following script to set the paper size in Word:
    tell application "Microsoft Word"
              set paper size of page setup of section 1 of active document to paper a4
    end tell
    but I've been unable to write a script to set a custom paper size -- does anyone know if this is possible?
    Thanks!

    The gallant Pierre strikes again!!!  For reasons having to do with a quirk of working with Word documents coming from a Windows machine, I ended up having to go the UI route, but I couldn't have done it without you!  I actually ended up changing the Format For: popup menu instead of the Paper Size: popup menu, but this technique could be used for those who wish to chose a custom paper size:
    tell application "Microsoft Word"
      activate
    end tell
    tell application "System Events"
              delay 0.5
      keystroke "a" using command down
              tell application process "Microsoft Word"
                        click menu item "Page Setup..." of menu "File" of menu bar item "File" of menu bar 1
      delay 1
      click pop up button 3 of window "Page Setup"
      keystroke "Any"
                        delay 0.5
      keystroke return
                        delay 0.5
      keystroke return
      delay 1
                        click menu item "Print..." of menu "File" of menu bar item "File" of menu bar 1
      delay 1
                        tell menu button "PDF" of window "Print"
      click
                                  click menu item "Create Booklet" of menu 1
                        end tell
              end tell
    end tell
    Again, Pierre -- many thanks!
    Andrew

  • Set default custom print size

    Using Windows 7 with Adobe Reader X1.
    I need to repeatedly print documents (actually labels) using a Custom Scale of 43% (under File / Print / Page Sizing & Handling). Is there a way to set this as a default? A registry key perhaps? I've found the registry key which sets the Custom Scale option as default but I can't find anywhere to change percentage (which defaults to 100).
    Any help would be greatly appreciated.

    Hello fielblade,
    For the usage of this method, you could post a code sample request to:
    https://code.msdn.microsoft.com/site/requests
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Query regarding the scope of a page

    hi all
    i have problem with scopes of the pages.I have a data entry page where i have a button to add address.When i click on address button it will go to another page where i can add the address.After adding it returns to the entry page.The problem is that when it returns all the data entry feilds are cleared.Is there any way to restore the states of the textfields and other componenets.Please help me
    Thanks in advance
    Sree

    Yes there is. Store the values in managed bean properties and, in the prerender method, set the component values to the values from the managed bean properties.
    For more information, see:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/jscintro.html#08
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/scopes.html
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/data_sharing_twopages.html

Maybe you are looking for

  • How do can I use Jumpstart to boot Solaris from Slave Drive

    Hi all, I have XP on Master Drive and I used Jumpstart to install Solaris on Slave Drive. This is the profile: install_type     initial_install system_type     standalone usedisk          c0d1 boot_device      c0d1 update root_device     c0d1s0 fdisk

  • AAM works for 10.6, not 10.5.8

    I want to download Photoshop CS5, but it needs the Adobe Application Manager. The problem is that the AAM works for Mac OS 10.6, and I have the 10.5.8. What should I do?

  • Verizon not honoring their online price quote

    I renewed my FIOS account on 6/9/14 (while processing a move to a new address) and the online quote was for $124.99/month. Now the reps are telling me that the online quote included discounts that expired that day (the day my current agreement ended)

  • Problem with EL (forEach) in Facelets + JSF 1.2

    I am trying to upgrade my application from JSF 1.1 to JSF 1.2. However, I have run into a problem that I can't quite grasp. I have a backing bean with the following method public List<String> getFoos() { return foos; With JSF 1.1 + Facelets the follo

  • Net is slow on my arch linux compared to that in xp`

    hi My download speed went down recently so i called my isp hes told me to change link speed to 10mbps HD i did it and after that download speed became normal in xp but in arch linux i used mii tool to change the link speed but the speed is still less