Make a region editable while keeping the entire page as read only

Hi All,
I have made an entire page as readonly via the following :
ClientUtil.setViewOnlyRecursive(pageContext, webBean);
Now I want the entire page to be readonly except for a sub tab used in the page.
<oa:subTabLayout id="subTabLayoutRn">
  <ui:contents>
    <oa:header id="tasksTabRN" extends="/oracle/apps/ozf/claim/webui/TasksTabRN"/>
  </ui:contents>
  <ui:subTabs>
    <oa:subTabBar id="subTabBarsRN">
      <ui:contents>
        <oa:link id="tasksTabLink" text="Tasks">
           <ui:primaryClientAction>
              <ui:firePartialAction event="updateSubTab"/>
           </ui:primaryClientAction>
         </oa:link>
      </ui:contents>
   </oa:subTabBar>
  </ui:subTabs>
</oa:subTabLayout>
This sub tab i want to display as editable. Can anyone kindly provide any suggestions on how to achieve this?
Thanks,
Arpita

Hi Sushant,
Thanks for the reply.
I am using setViewOnlyRecursive on condition basis only i.e.
If (status of claim is close / cancelled / pending_approval)
then
ClientUtil.setViewOnlyRecursive(pageContext, webBean);
But I want to make tasksTabRN of the subTabLayout as editable if status of claim is pending_approval.
How do i code this condition ?
In the below code, we can get the subTabLayout control but what to do next?
if(webBean!=null)
OASubTabLayoutBean subTabLayoutBean = (OASubTabLayoutBean)webBean.findIndexedChildRecursive("subTabLayoutRn");
if(subTabLayoutBean!=null)
UINodeList childList = subTabLayoutBean.getIndexedNodeList();
if(childList!=null)
RenderingContext rdgCtxt = pageContext.getRenderingContext();
int size = childList.size(rdgCtxt);
OAWebBean child = null;
for(int i=0; i<size; i++)
child = (OAWebBean)childList.getUINode(rdgCtxt, i);
if(child!=null)
String name = child.getUINodeName();
if("tasksTabRN".equals(name))
// We can set the value of  subTabLayoutBean as rendered or hideSubTab
// But how do i make this as editable.
//subTabLayoutBean. ????
break;

Similar Messages

  • Resizing photos while keeping the entire image

    Does anyone know how to resize a photo?
    I'm trying to resize a 8.5 x 8.5 photo in iPhoto to the standard printable size of 4 x 6. I have access to Photoshop, but am not too familiar with the program. All of the suggestions/feeds that I've come across seem to provide direction on how to crop a photo - cropping cuts off parts of the photo. I need to resize my photos, not solely crop. I understand that when I finally learn how to resize my photos there will be background space present, namely white bars on the sides and this is okay. I need resize my photos to the 4 x 6 format so when I send them to be developed, they come out correctly - with the white bars on the side.
    Any suggestions would be helpful.
    Thanks in advance :-)

    Hi Sushant,
    Thanks for the reply.
    I am using setViewOnlyRecursive on condition basis only i.e.
    If (status of claim is close / cancelled / pending_approval)
    then
    ClientUtil.setViewOnlyRecursive(pageContext, webBean);
    But I want to make tasksTabRN of the subTabLayout as editable if status of claim is pending_approval.
    How do i code this condition ?
    In the below code, we can get the subTabLayout control but what to do next?
    if(webBean!=null)
    OASubTabLayoutBean subTabLayoutBean = (OASubTabLayoutBean)webBean.findIndexedChildRecursive("subTabLayoutRn");
    if(subTabLayoutBean!=null)
    UINodeList childList = subTabLayoutBean.getIndexedNodeList();
    if(childList!=null)
    RenderingContext rdgCtxt = pageContext.getRenderingContext();
    int size = childList.size(rdgCtxt);
    OAWebBean child = null;
    for(int i=0; i<size; i++)
    child = (OAWebBean)childList.getUINode(rdgCtxt, i);
    if(child!=null)
    String name = child.getUINodeName();
    if("tasksTabRN".equals(name))
    // We can set the value of  subTabLayoutBean as rendered or hideSubTab
    // But how do i make this as editable.
    //subTabLayoutBean. ????
    break;

  • Is there a way to make the spell check work on the entire web page without making the content editable? Or at least those boxes that appear when you enable spell check on the entire page, can you make them disappear?

    I found an addon that allows you to spell check on the webpage but it make the entire page editable and these boxes appear on everything i highlight. Can i get rid of the boxes?

    I had thought this situation was solved but it just got worse. In addition to being without service for several days I am now being charged  a cancellation fee for a broadband service that BT disconnected in error. BT Vision was also terminated by BT but the set up charges are still in place. Does anyone know who the relevant Ombudsman is? I called BT from America on Friday - for an hour - while someone called Aruj sorted out why there is an order 'in progress' that I didn't initiate; why I have fees relating to a problem created by BT and why there are references to a house move that didn't take place and a BT Vision service I no longer have but didn't cancel myself. He assured me it would be rectified and my bill would be reduced by 139 pounds and we would get confirmation of this later that day. I asked him what chance there was that this would not actually happen - he said no chance at all; my new bill would be 23.50.
    There was no text message. An online chat person today told me there had been a fee reduction request which had been declined and there was nothing else he could help me with as he dealt only with broadband. But he would get BT Vision to email me. They always seem so helpful.............
    I'm sure I'm listed somewhere as 'a problem', there's no other explanation for why I get the runaround

  • Calendar and Time showing in arabic but my phone's language is English. I bought my phone from DU in UAE , Dubai. Please help me solve this issue while keeping the Region to United Arab Emirates

    Calendar and Time showing in arabic but my phone's language is English. I bought my phone from DU in UAE , Dubai. Please help me solve this issue while keeping the Region to United Arab Emirates

    Valentine350z wrote:
    while keeping the Region to United Arab Emirates
    Not possible, I think.  Tell Apple how you feel about this at
    http://www.apple.com/feedback/iphone.html

  • How to make a photo black & White while keeping the photo subject in colour?

    I am new to PS but not photography
    I would like to know how i can make my scene in my photo black and white, while keeping the suject in the photo colour.
    any help greatly appreciated.
    Baba HT

    Hi Baba,
    Below are some step-by-step instructions that show you how to acheive this effect very easily with the Quick Selection Tool and a Black & White Adjustment Layer.
    1. Open up your image in Photoshop. In the toolbar, click on the Quick Selection Tool and select your subject.
    2. Go to Select > Refine Edge and use the dialog box to clean up your selection - I've enabled the Smart Radius option and increased the selection radius. When you're done, click OK.
    3. Go to Select > Inverse.
    4. Locate the Adjustments panel - by default, it should be located above the Layers panel (in CS6), but if you can't find it, go to Window > Adjustments. Click on the Black & White adjustment icon, as shown below. Your subject will stay in color, but the setting should turn black and white, as you can see below.
    For more on using Adjustment Layers, below is a quick video that goes over the basics:
    If you have further questions, feel free to post a reply!
    Cheers,
    Kendall

  • Decimating a Signal While Keeping The Same Signal Length?

    Hi, 
    I would like to know if it is actually possible to do the above. 
    I'm currently working on wavelet based multiresolution analysis using LabVIEW Student Edition, which unfortunately doesn't have all the toolkits and Express VIs available for me to use. Attached is a VI I have created (Daub4.vi), and screencaps showing the results of the decimation. 
    What I'm trying to do is to decompose the signal by 8 levels, each time dividing the sampling rate by 2, done using decimate 1d array. However, in terms of keeping the signal length the same, I'm not too sure if I should actually manipulate the dt value or simply just use the waveform graph scaling factor to do the job. Some advice would be welcome. 
    Also, another problem I have is pretty weird:
    I'm trying to extract a part of a very large ECG signal (1 second = 64 samples, sampling rate = 2048Hz, I have about 10 minutes of data), selecting from 40960 samples to 65536 samples. However, upon output, the waveform graph only shows up to 65535 samples instead of 65536. Is this supposed to be normal?
    Thanks,
    Derren
    Attachments:
    l1l2.png ‏53 KB
    l3l4.png ‏48 KB
    Daub4.vi ‏24 KB

    Derren,
    Exactly what do you mean by dividing the sample rate while keeping the signal length the same? Do you want the number of samples to be the same or the time duration of the total signal to be the same? Since you did not post the top level VI, I cannot tell what you are doing with the data.
    Also your last comment does not make sense.  "1 second = 64 samples, sampling rate = 2048Hz".  If you have 64 samples in one second, that is a sampling rate of 64 Hz, not 2048 Hz.  Neither rate produces 65536 samples in ten minutes. 60 s * 10 min * 64 Hz = 38400 samples. At 2048 Hz you get 1228800 samples. By today's standards those are not particularly large datasets.
    In LabVIEW arrays are indexed from zero so the last element in a 65536 element array has index 65535.
    Lynn

  • I cannot open iphoto- the message I am getting says Shut down and restart your computer, and then open iPhoto again. If the problem persists, try rebuilding your photo library. To do this, quit iPhoto, and then reopen it while keeping the Option and Comma

    i cannot open iphoto- the message I am getting says Shut down and restart your computer, and then open iPhoto again. If the problem persists, try rebuilding your photo library. To do this, quit iPhoto, and then reopen it while keeping the Option and Command-
    I tries and it doesnt work!!

    What version of iPhoto? Assuming 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • How do you turn off the voice on a video while keeping the background music on?

    I have to watch an exercise video for training. You are supposed to be able to turn on and off the voice by going to the computer icon and toggle the voice on/off. However, that feature isn't on my ipad or ipod. How do I turn off the voice while keeping the music on?

    Hello. I am trying to watch a digital video exercise video in ITunes on my ipad and iPod. I am able to turn the voice on/off when I am watching the videos in iTunes on my Mac Pro, but I can't figure out how to on this feature. I saw it done on a YouTube video. i tried to follow the instructions but the voice on/off doesn't show under settings or under audio-subtitles.

  • Re-sizing, align right while keeping the menu fixed using flash AS2

    contact
    khuon
    mau
    My problem is recreating the align right effect while keeping
    the menu fixed using flash AS2 mostly for re sizing as well as
    different screen sizes.
    While i can do one or the other but both is just not
    happening.
    I have tried all sorts of weird and wonderful things but as
    yet, alas no easy/simple solution :(
    I must admit it has been a long time since i have been here
    but.. I thought if someone could have a quick look and maybe please
    give me a few pointers ??
    Anything at all would be better than what i have now ...
    Thanks for your time

    The link again is I forgot to add http to the link before, but it should have worked.
    http://www.lipowiec.org/test/index.php
    a) used Dreamweaver to create new site selected 1 column, elastic, centered, header, and footer
    b) used spry to add horizontal menu to header
    c) followed instructions from Spry Help
    http://livedocs.adobe.com/en_US/Spry/SDG/index.html?lang=en_US ->
    working with spry widgets -> working with the menu bar widget -> Customize the dimension of menu items as indicated
    To change the dimension of menu items by changing the width properties of the menu item’s li and ul tags.
    Locate the ul.MenuBarVertical li or ul.MenuBarHorizontal li rule.
    Change the width property to a desired width, or change the property to auto to remove a fixed width, and add the property and value white-space: nowrap; to the rule.
    Locate the ul.MenuBarVertical ul or ul.MenuBarHorizontal ul rule.
    Change the width property to a desired width (or change the property to auto to remove a fixed width).
    Locate the ul.MenuBarVertical ul li or ul.MenuBarHorizontal ul li rule.
    Add the following properties to the rule: float: none; and background-color: transparent;.
    Delete the width: 8.2em; property and value.
    Under IE it's broken, under the other browsers it works.
    There need to be more IE HACKS added.

  • [svn:fx-trunk] 8303: This change tries to support legacy usages of StyleManager. setStyleDeclaration() while keeping the new "subject based" internal index of style declarations in sync with selectors.

    Revision: 8303
    Author:   [email protected]
    Date:     2009-06-26 07:50:46 -0700 (Fri, 26 Jun 2009)
    Log Message:
    This change tries to support legacy usages of StyleManager.setStyleDeclaration() while keeping the new "subject based" internal index of style declarations in sync with selectors. We no longer support the invalid usage of constructing a CSSStyleDeclaration with one selector but re-registering it with StyleManager.setStyleDeclaration with another selector.
    QE: Yes, look out for test cases that incorrectly create a CSSStyleDeclaration with a selector AND also use StyleManager.setStyleDeclaration(). I saw one invalid usage in the mustella test file: tests/Managers/StyleManager/AdvancedCSS/mixedSelectors/AdvancedCSS_MixedSelectors, specifically the "CSSStyleDeclaration_CSSSelectorKind_Type_method" test case.
    Doc: Yes, please remove any examples that showed a CSSStyleDeclaration being constructed with a "name" as that is incorrect. You only construct these instances with a selector, or nothing.
    Reviewer: Glenn
    Checkintests: Pass
    Bugs:
    SDK-21714 - Dynamically created styles are ignored by spark components
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21714
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • How to I import Apple 'Pages' text into InDesign while keeping the formatting?

    How to I import Apple 'Pages' text into InDesign while keeping the formatting?

    I have imported the rtf file, but it shows up as only one line with a grey line after it, even though there are multiple lines

  • How can I turn off the screen while keeping the mac awake?

    I am using teamviewer to remote connect to my office Imac from home. However, every time I connected, my imac screen will turn on and everyone else in the office can see what my imac is doing..
    Is there some method to turn off the screen while keeping the mac awake, so I can remote connect to it?
    PS: I am using OSX 10.7.3

    Energy Saver, you can keep the computer awake while the screen saver shuts the monitor off but I'm not sure that would do it for you.

  • I want to bring in text from Word (and the web) that is already hyperlinked into InDesign. How do I do it while keeping the links active?

    I want to bring in text from Word (and the web) that is already hyperlinked into InDesign. How do I do it while keeping the links active?
    Whenever I copy/paste from web or Word it removes the hyperlinks.  And when I try to do it by "Place"ing a Word document into my InDesign project it keeps the formatting with it, the rectangles around the text.
    I have the latest version of InDesign.
    Any help is appreciated. 

    Copy-and-paste may not include formatting. A regular import using Place is the best way.
    The rectangles around the hyperlinks are just to indicate they are links -- they do not print, but they do show up in your PDF.
    You can remove them by double-clicking the hyperlink in the Hyperlinks panel and select "Invisible Rectangle" as type.
    Typically, Word hyperlinks are formatted -- blue text, underline -- with a Character Style. If you want to remove or change the formatting, all you have to do is change the character style. My experience, though, is you must check all hyperlinks because for no apparent reason sometimes they appear in the document without the character style.

  • Remove Power Query queries while keeping the query output tables

    I use power query to load data from external sources into several excel tables. Before sending this excel to a client, I would like to remove all power query queries (M code) while keeping the output/query tables at place.
    My current workaround is:
    unload Power Query
    convert each table to range
    load Power Query
    delete queries (M code)
    Is there a better/faster way to achieve what I want?

    You can unlink the existing tables and remove custom XML data in Document Inspector. No need to duplicate the worksheet.
    exactly. and even unlinking the tables is not neccessary for DocInspector to remove the custom XML of PQ.
    Do you have any suggestion on how to trigger the cleaning of PQ XML code via VBA? 
    the following code does not work:
    ActiveWorkbook.RemoveDocumentInformation (xlRDIAll)

  • Insert to multiple tables while keeping the referential integrity

    I would like to confirm whether we can have both updatable and reference for secondary entity. It seems to me that even though both updatable and reference can be checked for secondary entity, the secondary entity is not updatable.
    There are some scenarios that I hope to create the "parent" and "child" at the same time in the UI. For example, Employee and ProductExpertise which is in m:m relationship. We have three tables: Employee, EmployeeProduct, and Product. We have two view object, EmployeeVO which contains EmployeeEO, EmployeeProductVO which contains EmployeeProductEO and ProductEO. This can display EmployeeVO as master, and EmployeeProductVO as detail. However when we add a new product for the employee, we can only associate an existing product. We would like to create a new product and associate the product with employee. This cannot be achieved by the current EmployeeProductVO.
    I wonder if ADF supports inserting to multiple tables while keeping the foreign key reference integrity? In other words, in a 1:1..* (1 to 1 or 1 to many) relationship, must we have a master-detail view where we add parent first, then add child? Does ADF support adding both parent and child together with the correct foreign key assigned automatically for the child? Do we need to write code to do it?
    Any insight is appreciated.

    Hi,
    Assuming you are talking about ADF Business Components, yes, the framework can handle a batch insert that inserts both parent and child records in the same transaction. A few things that you may want to review:
    1). If you are using a database sequence for your primary keys (your question "Does ADF support adding both parent and child together with the correct foreign key assigned automatically for the child" made me think perhaps you were), have a read of the Fusion Developer's guide about the DBSequence type.
    2). In the same guide, have a read of section 38.8 - it talks about the small bit of code you may need to write to ensure the parent record is posted before the children, and also discusses about associations that are based on DB Sequences.
    Best,
    John

Maybe you are looking for