Different between adding a subview or visible/invisible it

Dear all,
I would like to create a screen to overlay on the top of an existing UIView. I tested with 3 methods below and it all works.
I would like to know how do i determine which method is the best and what are the different among them in terms of memory management or others.
The 3 method i am tested are:
1. add a subview of UIView
2. create a modal
3. make the overlay screen as a UIView and use UIView.hidden = NO or UIView.hidden = YES to display or hide.
thanks.

Hi,
<b> Best Practice Guide says: </b>
In the 10.1.3.3.0 version (and I suppose in later versions as well) of the database adapter, the TopLink layer has been changed to not mark the transaction for rollback if the integrity of the transaction has not been compromised. For example, if a single insertion fails, the transaction is not marked for rollback. However, if in a sequence of two inserts, the first one succeeds but the second fails, the transaction is rolled back because not doing so breaks the TopLink unit-of-work concept.Looks like same thing is happening here.
Also, worth-checking is whether both the invokes participate in the same global transaction or not. And, is there any commit issued between the two invokes (which would cause the two invokes to be in different transaction scope)?
You can also do the following:
In catch branch, try throwing rollback fault explicitly and check the behaviour. I think it should work.
Regds,
http://www.ibiztrack.com
http://www.ibiztrack.com/html/oraclel-soa11g-bpel-esb-training.html

Similar Messages

  • Different between adding elemements in single and double lists??

    hi all,
    I am adding an item at the front of the list as bellow:
         public void addToFront(Object arg)      {
              Node newNode=new Node(arg);
              newNode.setNext(front); //add before front
              front=newNode; //set front to new node
    what will be differnet to add an item in a doubly linked list?
    any comment will be appreciated.
    abdul

    In a doubly linked list you'll need to initialise the back pointer on the new node to null, and set the back pointer on the previous front node to point to the new front node.

  • Playlist order different between iPhone and iTunes

    I updated to 3.1 and iTunes 9. In iTunes lets say i have 5 songs in a playlist. Lets say I Will Not Bow, Let The Beat Build, So Sharp, Good Time, and Fall. But on my iPhone in the same playlist they are ordered Let The Beat Build, Good Time, I Will Not Bow, So Sharp, then Fall. Why would they be ordered differently between the two? Anyone else having this problem?

    There is a solution for this problem. Right click your smartlist; select edit smartlist; UNCHECK "live updating"; Then sync your files. This will adjust your device (iPod, iPhone) list to the way it is in your iTunes list.
    It does mess up adding new songs to your smartlist if you use a specific method of list names which adds a song automatically. If this is the case, check "live updating" using the method above, add your song, then uncheck it again to keep the order as it is in iTunes.
    Hope this helps. It works for me everytime a list messes up. I read about this fix somewhere in these forums, tried it and it works like a charm!!
    ks

  • Access - Another Newbie Visible/Invisible Field Q

    With help from Maurice, I now have two fields and associated labels that become visible/invisible dependent on the selection/status of a checkbox.  The visibility is controlled in the AfterUpdate property of the check box.  See previous "field
    visibility" post.
    What I am now looking to do is have the visibility of those fields change as I navigate between records.  So if the checkbox is unchecked for a particular record, then the fields are not visible when this record is displayed in my form.
    Can someone tell me in which event this test should be applied?
    I'm thinking this should be a form event, but I don't see a change record event as such.
    Thanks
    Phil

    Hi Phil,
    You can accomplish this by using the 'on current' event of the form. That way when you navigate to another record you can trigger an event. Be aware though that this is a costly event because it will fire every time you go to another record.
    You can use the value of the checkbox as your trigger. Something like if me.checkbox=0 then me.label.visible=true or false.
    Let us know if that helps
    Maurice
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You
    The Office Corner

  • Visible/invisible subform based on choices from 2 dropdowns

    Does anyone have an example of a form with subforms being visible/invisible based on the answers of 2 dropdowns.
    thanks for sharing

    Hi Jagan,
    It is probablly just how you set up the script.
    For starters, for Yes/No choices I think you would be better to use radio buttons instead of checkbox objects. So for example you would have four different radio button exclusion groups, each with a Yes and No radio button. Then in the Object > Binding palette, you would set the Yes value to 1 and the No value to 0.
    This way you can sum the four radio button exclusion groups and if the total value is >=1 then change the presence of the text field and highlighting to suit.
    There are some examples here that might help:
    Scoring options: http://assure.ly/uiKS6f.
    Tracking interaction (checkboxes): http://assure.ly/xDbtbx.
    Hope that helps,
    Niall

  • GUI elements visible/ invisible

    I need various different comboboxes to appear as the user steps through making choices.
    I am new to Swing and unsure whether I can make comboboxes visible, or whether I should have them on different JPanels and make these visible/invisible.
    Am a little confused 'cos I read in a book that only one element can be contained in a specific container region, so can I have several JPanels in the one region of the container at the same time?
    I am using border layout.
    If someone could please explain I'd sure appreciate it!

    There are many layouts availabled in Swing, BorderLayout, BoxLayout, GridBagLayout, CardLayout etc etc. Each of them have their own pros and cons. For instant, BorderLayout can only contain one element in a specific container region, like you said. It has 5 regions, North, West, East, West, and Center. Following link can give you more details about this layout.
    http://java.sun.com/docs/books/tutorial/uiswing/layout/using.html
    Yes, you can make comboboxes visible or invisible.
    JComboBox.setVisible(true) or JComboBox.setVisible(false)
    You can do this to any other components as well, like JTextField, JLabel, JButton etc etc.
    cheers.

  • What different between ADF Rich Portlet and Trinidad HTML Portlet?

    Hi all,
    I've some question about adding portlet to portal pages
    What different between ADF Rich Portlet and Trinidaf HTML Portlet?
    And benifit of each?
    Regards

    Hi all,
    I've some question about adding portlet to portal pages
    What different between ADF Rich Portlet and Trinidaf HTML Portlet?
    And benifit of each?
    Regards

  • Different between cisco NAC agent and cisco Clean Access Agent

    Hi all,
    if anyone has idea about different between cisco NAC agent and cisco Clean Access Agent, please share your ideas.
    thank you

    In 4.6, the agent was overhauled and is now called the NAC agent.  Previous versions were referred to as the Clean Access Agent.  So pretty much, the 4.5 agent and 4.1.3.2 agents are Clean Access agents, and the 4.6.x and 4.7.x agents are called NAC agents.
    Some of the changes made were moving a lot of the agent configuration to an XML file, redesigning the GUI, adding a service portion (so that the stub agent is no longer required), and better agent logging.

  • What's the different between cc and cs6?  I'm taking a course and cs6 is recommended, but I already have cc, will that be good enough?

    What's the different between cc and cs6?  I'm taking a course and cs6 is recommended, but I already have cc, will that be good enough?

    When I'm away from the desk, I never get the exact wording
    "Find new Apps > Filters and versions > select Previous Version"
    Then where you see the Install button next to Photoshop below that, click on that and you can select 13.0 CS6 for install.
    It's a good idea. CC 2014 has eliminated and added many features, and you want to be on the same page in that course.

  • How to make added columns to be visible by default in interactive report?

    Hi,
    I've added two columns to an interactive report.
    When I run the page, the added columns are not visible.
    Then I made them visible through 'Select Columns' option.
    But next time when I log in those two columns are again invisible.
    How can I make the added columns to be visible by default in the interactive report?
    Thanks,
    Guy

    Hi Steve,
    I am ahving a similar issue.After I migrated my classic report to interative report, I have added few columns to the SQL query...I am not anle to see these in the report..I deint understand the solution u gave here..Can you please elaborate..
    Where can I include the "actions" option? and how do I use the Save Action.
    Can you please provide more details.
    Thanks in Advance

  • What is the different between Sharepoint fast search service and Sql server fulltext search?

    HI ,
    I want to kow what is the different between Sharepoint fast search service and Sql server fulltext search?
    Or Can I abstract the Sharepoint fast search from the Sharepoint platform as a isolate component?
    Thank you.
    James

    They are very, very different beasts.
    Firstly FAST Search for SharePoint is the old name for the product and is only relevant for SharePoint 2010 not 2013. It got merged into the standard SharePoint search for the 2013 release.
    SharePoint search is aimed at providing a Bing or Google like experience for your intranet content, as well as providing some nifty features that are purely SharePoint releated along the way. That means it can crawl SharePoint content, file shares,
    outlook mailboxes, internal and external websites and probably fifty other different things if you really tried. Whilst i'm not an expert on SQL full text search I believe it's intended to provide a search feature for content held within SQL databases
    and tables.
    Can you run SharePoint purely for Search? Yes, definitely.

  • What is the different between Logical complex join and Physical join?

    hi,
    Do somebody know what is the function different between logical complex join in BMM layer and physical join in physical layer?
    Thanks.

    Thank you very much1
    I understand their differentiation:
    In the BMM Complex join (intelligent), means OBI picks the best way from possibly many different ways to join using physical join. FK join forces the same join always, which limits flexibility.

  • Exchange rate is different between records in OB08 and records in document.

    Hi Gurus,
    The exchange rate is different between records in OB08 and records in calculated amount in line item. How does it happen? Not all of the documents in the same period has this problem.
    For example, a document A created by FB05 on Jun 30 2010.
    In OB08, the exchange rate is 6.80000. This rate was the same in the header of document A.
    In the line item of doc A, I calculated the amount for line itme 1 and 2. Line itme 1 shows the exchange rate is 7.90000. Line item 2 shows the exchange rate is 16.0000. ( The exchange rate is not that exactly an interger. I put a similar exchange rate as an example.)
    Could you please throw some light on these? Why some documents are okay but for some, the exchange rate is so different?
    I just found that the exchange rate of some of the document line item calculated is from another currency. It shows in the line item (in question) button "More Data". Shall I know how the exchange rate was got from another currency exchange rate?
    Thank you.
    Emma
    Edited by: qun yang on Aug 2, 2010 10:49 AM

    Issue solved by below solution:
    Existing:
          append lines of vit_final to s_s_if-maxsize to e_t_data.
          delete vit_final to s_s_if-maxsize.
        else.
          append lines of vit_final to s_s_if-maxsize to e_t_data.
          delete vit_final to s_s_if-maxsize.
    New:
          append lines of vit_final to e_t_data.
          delete vit_final to s_s_if-maxsize.
        else.
          append lines of vit_final to e_t_data.
          delete vit_final to s_s_if-maxsize.

  • What is the different between payment methods Wire and EFT

    Hi All
    can anybody tell me What is the different between payment methods Wire and EFT ?
    Regards ;

    WIRE:
    Wire is transfer of amount due directly to the supplier's bank it is an electronic transfer of funds
    This mode of payment is used for international suppliers.
    It can be paid in foreign currency or USD.
    Wire payments are same day payments.
    EFT:
    EFT ensures funds transfer from one bank account to another using electronic links.
    Can be used to make payments into domestic banks (within US) in USD only.
    It is faster than check payments.
    Hope this helps.

  • Report to Find different between PCR & Schemas

    hi guru's,
    Can Any tell me the Report to Find different between PCR & Schemas in Two Clients,(For examle from 4.7 to 6.0)
    Regards,
    Bala

    Hi Bala,
    The following link will help you.
    PCR and SCHEMAS
    Thanks & Regards,
    Sandip Biswas

Maybe you are looking for

  • How to avoid of application running on Oracle 10g to be copied?

    I am a newbie to the security issues, so I need your help, please, where to start / what to read: I have an application running across many customers on Oracle 10g. I have faced lately that our users can use their daily backups to establish a totaly

  • Ram problem! (msi z68-gd80,g3)

    Hey there. have a problem with my new ripjaw x series ram 1866. ( and all other ram) Tried installing all 16 gb of it earlier today and apparently only the first blue and black ram slot work. Before i updated my bios to the newest one the pc wouldn't

  • CS6.5 photoshop file doesn't center on screen. How can I do this?

    I have used various options under windows, tried reducing the size of the file and saving it in .jpeg instead of other formats. The image either floats off the bottom of the screen completely or leaves a peak at the top portion. I need it to center s

  • Position in external table

    We have excel spread sheet. We wanted to load data from excel spread sheet to Oracle via external table. I saved my file into .txt format. No I need to create external table in oracle DB. my question is as follows: Do I need to define exact lenght of

  • FCE 4 Automatic Color Corrections

    I imported some old VHS tapes (originally on 16 MM video camera, converted to VHS) via my ADVC-300. I am new to MAC and FCE so forgive my basic question, searches did not result in any hits. Anyone have suggestions on cleaning up the video? Can the f