Need a how to on a special case for views and view links

I have a typical many-to-many relationship model I'm working on.
Basically, it looks like this:
User 1 -------------< * UserGroupXref *>--------------- 1 Groups
You see this in authentication modules all the time. A user can belong to multiple groups and group can contain multiple users.
My task is to use Business Components to create a form that manages user accounts. This form will consist of a User View (master) and 2 detail views.
The first detail view is a list of groups already assigned to the user. I've already defined a viewlink for this first group and it displays its many-to-many results ok.
The second detail view is a list of groups that are available to be assigned to the user. I was thinking that this detail view should be the product of a MINUS operation driven by a BIND VARIABLE. Being a query based view, I think its query would look something like this:
select group_id, group_short_name, group_long_name
from groups
minus
select xref.group_id group_id , group_short_name, group_long_name
from usergroupxref xref, groups
where xref.user_id = :bind_uid
and groups.group_id = xref.group_id
This introduces a bind variable which raises two questions:
1) Is there a better approach
2) How do you use a friggin bind variable?
Seriously, I noticed that the designer will not let you define a relationship based on a bind variable, which leads me to conclude that you have to pass the value at runtime from whatever client app you're using (SWING, JSF, etc). I really haven't found an example of using bind variables that suites me! Maybe someone can point me in the right direction ...?
Finally I have to add control buttons :
Add Group
Add All
Remove All
Remove Group
Naturally these buttons control the inserts and deletes from the xref table. Does this introduce another updateable view into the app or is it something that the framework somehow handles via the defined associations and what not?
I don't expect anyone to design the form for me, but maybe you can help me at least finish up these view links.
Thanks much!
Edited by: user469715 on Jun 4, 2009 8:51 AM
Edited by: user469715 on Jun 4, 2009 8:52 AM

Did you read the section about bind variables in the ADF Developer Guide:
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcquerying.htm#CEGDGIJH

Similar Messages

  • How can I change the text for 'Return' and 'Back' links

    Hi everybody,
    How can I change text of standard links 'Return' and 'Back' that appear at the report bottom when user drills down?
    I need to change it in Hebrew interface.
    Thanks in advance,
    Alex

    You have to Customize the viewmessages.xml file. The original file path for English Language is
    oraclebi\web\msgdb\l_en\messages\viewmessages.xml.
    and The entries for back and return are
    <WebMessage name="kmsgEVCLinkBack"><HTML>Back</HTML></WebMessage>
    <WebMessage name="kmsgEVCLinkReturn"><HTML>Return</HTML></WebMessage>
    For more details, about language cusotmization read oracle documentation, page no 197.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31766.pdf
    - Madan

  • How to create a special effect for 'wipe' and 'wheel'

    New to Captivate. Recently purchased Captivate 7. I'm trying to obtain an object 'add effect' similar to the "wipe" (from left) and the "wheel" animation effects found in PowerPoint. I want to simulate hand-drawing an emphasis line under text. I have a .png graphic of a hand-drawn red line (transparent background) that I'd like to appear by "wiping" from left to right. The "stretch" effect (from left to right) found in Captivate's "Add Effect" doesn't look right; it's obviously a 'stretch' instead of a 'wipe'.  Likewise, I would like to hand-draw a circle or oval around certain text or other objects to draw attention to these items. The "wheel" animation in PowerPoint works perfectly for this.
    Is there a way to do this in Captivate? Maybe some variation of one of the built-in effects that I've missed? Camtasia Studio has "sketch motion graphics" built in - which also does this nicely.

    Thanks for the info on Infosemantics and their widgets. As a Newbie I wasn't aware of them and their cool, useful products. However, after going through all the tutorials I couldn't figure out how the 'slider' widget would serve my need to simulate a hand-drawn line, from left to right, under text on a Captivate 7 slide. Yes, it can be used to animate (or move) any object, but not to "reveal" an object like the "wipe" animation in other programs.
    I'm thinking now that it would be easier to just build an animated GIF or a small flash file to show a hand-drawn red line moving from left to right. I have Flash CS4 but have never used it. Something else new to learn.
    Thanks again.

  • Advice on how to build a business case for partitioning

    Hi Everyone,
    I'm the architect of a business intelligence/data warehouse team. We've grown to the point where I believe we need database partitioning. I believe we are at about 1.5 TB of data. Our largest tables are in the 100 million row counts with relatively wide record lengths (~100 columns). Our just sort of large tables are in the 10 million to 50 million range, however, they have very long row lengths (~300 columns). Based on our future source system plans, our data will become even more granular and there is still a need to maintain our historical data.
    Those aren't the only reasons, but are some of the larger driving issues that are making most members of our team think it's time we purchased database partitioning. Our team is pretty unanimous for partitioning, many of our source system partners also consider it a "no-brainer", however, we're getting push back from our CIO saying that 1.5 TB and 100 million records isn't that much data as compared to other "big data" companies and that it doesn't require partitioning.
    Does anyone have a advice on how to build an business case for purchasing partitioning? Is there a good way to demonstrate cost-vs-benefit value?
    Thanks for your feedback.
    -=Joe

    I'm going to be contrarian and start from the end of your post.
    >
    Does anyone have a advice on how to build an business case for purchasing partitioning? Is there a good way to demonstrate cost-vs-benefit value?
    >
    Yes - forget about cost-vs-benefit. That's the CIOs job not yours. You're an architect. Stick to architecture. Design and implement the architecture needed to meet the business requirements of your projects. If you are given requirements that can't be met with your current infrastructure then that is when you should propose alternative infrastructure.
    >
    We've grown to the point where I believe we need database partitioning. I believe we are at about 1.5 TB of data. Our largest tables are in the 100 million row counts with relatively wide record lengths (~100 columns). Our just sort of large tables are in the 10 million to 50 million range, however, they have very long row lengths (~300 columns). Based on our future source system plans, our data will become even more granular and there is still a need to maintain our historical data.
    Those aren't the only reasons, but are some of the larger driving issues that are making most members of our team think it's time we purchased database partitioning.
    >
    NONSENSE! That's what ALL of the above statements represent - UTTER AND ABSOLUTE NONSENSE.
    Who cares what you believe? Beliefs don't carry weight, facts do. You do list some facts: 1.5 TB of data, 100 million row counts, wide record lengths, large sorts, long rows, data will get more granular, need to maintain historical data.
    Ho Hum! So what? How do ANY of those facts indicate any sort of issue or problem, existing or potential, at all? They don't. You haven't provided information that suggests that ANY of those facts illustrate what Justin referred to as 'pain points'.
    Unless those facts prevent you from doing your job of providing an architecture that meets the business requirements you don't have a leg to stand on.
    My first reaction to your request would be similar to your cio's. Implicit in your cio's response are some questions you need to ask and answer
    1. What is it that you do now that you can't do with the current architecture?
    2. What is it that you need to do for an upcoming requirement that you can't do with the current architecture?
    3. What alternatives are available to modify the current architecture to do what can't be done in items #1 and #2 above?
    That #3 is where my skepticism lies. You seem to have already concluded that partitioning is the answer. Why? What problems do you think it will solve? Why not RAC? Why not a separate data warehouse system? Why not split that historical data off into an OLAP system? Maybe that can reduce the size of the OLTP system to where you won't have whatever problems you are having.
    Partitioning is just about addressing some performance issues. A lot of times partitioning is used more for management purposes such as loading/offloading data without impacting those huge tables you are talking about.
    If my hot queries use a primary key value to retrieve data it isn't going to matter much if the tables are partitioned or not.
    That is what sets the context for what Justin is telling you. You and your team need to document the constraints (and SLAs) your system currently has, how close you are to hitting those constraints, your options for avoiding/evading those constraints using the current infrastructure and the options for avoiding/evading those constraints using a modified architecture.
    It is up to the CIO to do the cost-benefit analysis of working within the limits imposed by the current infrastructure versus modifiying the architecture.

  • How to know the dynamic values for this :AND category_id_query IN (1, :3, )

    Hi Team,
    R12 Instance :
    Oracle Installed Base Agent User Responsibility --> Item Instances -->
    Item Instance: Item Instances > View : Item Instance : xxxxx> Contracts : Item Instance : xxxxx> Service Contract: xxxxx>
    In the above page there are two table regions.
    Notes.
    -------------------------------------Table Region---------------------------
    Attachments
    -------------------------------------Table Region---------------------------
    --the attachments are shown using the query from the fnd_lobs and fnd_docs etc...
    I want to know what are the document types are displayed in this page ?
    --We developed a custom program to attach the attachments to the  services contracts and the above seeded OAF page displays those ..as needed.
    But after recent changes..the Attachments--> table region is not showing the attachments.
    I have verified the query..and could not find any clue in that..
    but i need some help if you guys can provide..
    SELECT *
    FROM
    *(SELECT d.DOCUMENT_ID,*
    d.DATATYPE_ID,
    d.DATATYPE_NAME,
    d.DESCRIPTION,
    DECODE(d.FILE_NAME, NULL,
    *(SELECT message_text*
    FROM fnd_new_messages
    WHERE message_name = 'FND_UNDEFINED'
    AND application_id = 0
    AND language_code  = userenv('LANG')
    *), d.FILE_NAME)FileName,*
    d.MEDIA_ID,
    d.CATEGORY_ID,
    d.DM_NODE,
    d.DM_FOLDER_PATH,
    d.DM_TYPE,
    d.DM_DOCUMENT_ID,
    d.DM_VERSION_NUMBER,
    ad.ATTACHED_DOCUMENT_ID,
    ad.ENTITY_NAME,
    ad.PK1_VALUE,
    ad.PK2_VALUE,
    ad.PK3_VALUE,
    ad.PK4_VALUE,
    ad.PK5_VALUE,
    d.usage_type,
    d.security_type,
    d.security_id,
    ad.category_id attachment_catgeory_id,
    ad.status,
    d.storage_type,
    d.image_type,
    d.START_DATE_ACTIVE,
    d.END_DATE_ACTIVE,
    d.REQUEST_ID,
    d.PROGRAM_APPLICATION_ID,
    d.PROGRAM_ID,
    d.category_description,
    d.publish_flag,
    DECODE(ad.category_id, NULL, d.category_id, ad.category_id) category_id_query,
    d.URL,
    d.TITLE
    FROM FND_DOCUMENTS_VL d,
    FND_ATTACHED_DOCUMENTS ad
    WHERE d.DOCUMENT_ID = ad.DOCUMENT_ID
    *) QRSLT*
    WHERE ((entity_name    ='OKC_K_HEADERS_V'-- :1
    AND pk1_value          IN ( 600144,599046) --:2
    AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    AND datatype_id       IN (6,2,1,5)
    AND (SECURITY_TYPE     =4
    OR PUBLISH_FLAG        ='Y')))
    --='000180931' -- 'ADP118'
    The above seeded query is the one which is used for table region to retrieve the data..
    how to know the dynamic values for this : AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    --Sridhar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Patricia,
    is it working for restricted key figure and calculated key figure ??
    Note Number Fisc Period Opening Days
    1 1 2
    2 1 3
    3 1 0
    because I have other restriction, so I create two restricted key figure..
    RK1  with restriction :  Total Number of Note,
    RK2  with restriction :  Total Opening Days ,
    then I Created a calculated key figure, average opening days in a period
    CK1 = RK2 / RK1..
    in this case, I am not sure if it will work or not..
    for example, during RK2 calclation, it might be this   2+3 = 5, the line with 0 will be ignored..
    during RK1 calcualtion, it might be 1 + 1 + 1 = 3. ---> Not sure in this case, the line with opening days 0 will be calculated or not..
    could you please confirm..

  • HT5243 how do I find my password for adobe and Java

    how do I find my password for adobe and Java

    "Java" doesn't have a password, unless you mean your admin password for installing software. That's whatever password you (or the person who set your computer up) used to set up your admin account. That's the same password that you use when you start up the computer if you get asked for one. You cannot retrieve this password if you've forgotten it, but you can reset it and make a new one. See this support article if that's the case:
    http://support.apple.com/kb/PH14325
    "Adobe" is a company and likewise doesn't have a password. However, if you have Adobe cloud-based software you may well have set up a password with them. Adobe also require an account and password for downloading certain products. You'll need to contact Adobe to retrieve any such password if you've lost it.
    Try
    Adobe ID, sign-in, and account help

  • How can i get best practice for SD and MM

    Please, can any body tell me how can i get best practices for SD and MM for functional approach?
    Thanks
    Utpal

    Hello Utpal,
    I am really surprised, in just 10 minutes you searched that site and found it not useful. <b>Check out my previous reply "you will not find screen shot in this but you can add it in this"</b>
    You will not find readymade document, you need to add this as per your requirement.
    btw, the following link gives you some more link for new SAP guys, this will be helpful. <b>Check out HOW to BASIC transaction</b>
    New to Materials Management / Warehouse Management?
    Hope this helps.
    Regards
    Arif Mansuri

  • In Pages document, how do I search for word and view its frequency and page numbers in a sidebar?

    I have a long document and I want to be able to search for certain key words and phrases, and then see how many times they appear in the document and exactly where.  How do I conduct this sort of search and viewing?  In the past, in Pages and Word, I've been able to view my "finds" in a sidebar but I can't figure out how to activate that service anymore.
    Thanks!

    Here is a word frequency concordance Automator Service that works in both versions of Pages. It does not present a page number reference. It is by descending count, and alphabetically, within the repetitive counts as shown in the image here. In any document, you select the text to process, then Menu > Application Name > Services > Frequency. The Service will open TextEdit with the n-pages of scrollable results. It is 16 pt Helvetica Neue for legibility.
    Here is the code:
    on run {input, parameters}
         try
              set mySelection to input as text
              set formatted_result to concordance(mySelection)
              if formatted_result is not null then
                   set textHeading to "Word Frequency List"
                   tell application "TextEdit"
                   activate
                         set NewDoc to make new document with properties {name:"Concordance"}
                         make new paragraph at beginning of text of NewDoc with data textHeading & return
                         make new paragraph at end of text of NewDoc with data formatted_result
                         tell text of NewDoc
                               set font to "Helvetica Neue"
                               set size to 16
                               set color of paragraph 1 to {0, 0, 65535}
                         end tell
                        end tell
              else
                        display dialog with title ¬
                         "No input selected" with icon stop ¬
                          giving up after 15
              end if
         on error errmsg number errnum
                    display alert ¬
                               "AppleScript Error" message errmsg & "[" & errnum & "]" as critical ¬
                                  giving up after 30
         end try
         return input
    end run
    on concordance(mySelection)
    -- Use Ruby to count word frequency and alphabetically sort words
        set rb to ¬
        "selected = String.new\nfreqs = Hash.new(0)\nselected = ARGV.join('  ').gsub(/[,.]/, \"\")\n
         words = selected.split(/[^\\w-]+/)\nwords.each { |word| freqs[word] += 1 }\n
         freqs_sorted = freqs.sort do |a,b|\n\t
         a.last == b.last ? a.first <=> b.first : b.last <=> a.last\nend\n
         freqs_sorted.each { |k,v| printf \"[ %8s ]          %s\", v, k }"
        do shell script "/usr/bin/ruby -e " & rb's quoted form & space & mySelection's quoted form
    end concordance
    Launch /Applications/Automator and choose New Document, then click the Service icon, and then select the Choose button.
    On the left, you will have a list of Libraries from which to choose workflow items. Find Library > Utilities. In the adjacent column, locate the Run Applescript workflow. Click on it, then drag and drop it in the large workflow window to your right.
    At the top, you can select Service receives text in any application. Leave Output replaces selected text unchecked.
    In your Run AppleScript workflow window, you will see AppleScript boilerplate. Click on it and press command+A, then backspace to delete this content. Copy and paste the above code into this Run AppleScript workflow window. Press the Run button in Automator's upper right corner. If (and it should) a TextEdit window pops up, you are good, and you want to press File > Save. A dialog box will pop-up where you can name your Service. I called my Frequency, you may wish to call it something else. Once you have save it, you can exit Automator. Services are deposited in yourlogin directory/Library/Services.
    If you have a Pages document open with text, either select it, or command+a to select the entire document. Now, you select your Service via Pages > Services > Frequency. This will now pop-up a new TextEdit document with the results. If you want to save this new document, you must use option+File to Save as...

  • I have several manuals in PDF format. How do I download them into my iPad and view them?

    I have several manuals in PDF format. How do I download them into my iPad and view them? I downloaded a PDF viewer on my iPad and via itunes I can download the PDF to the iPad although for some reason the iPad comes up as 'RmoteTV' with a sub-directory of 'Books'. The 'PDFReader' app doesn't seem to find the file.

    You can use the free iBooks to read PDF files. Download the app, use itunes to transfer the data then open the PDFs.
    There are other pdf readers as well. I see good reader recommended and I'm sure there are more.

  • HT4436 how can i setup one account for me and my kids ?

    how can i setup one account for me and my kids ?

    One account each, or one account for all of you to share?
    Either way, follow the instructions here: http://www.apple.com/icloud/setup/
    Remember, if you share an iCloud account, you won't be able to maintain independent Contact lists, calendars, bookmarks etc. They will all be synced to all devices setup using the same account.

  • How to Use the language function for assignment and validation

    Hi All,
    If anyone can explain me in details with example ,how to use the language function for assignments and validations?
    Thanks
    Arnab

    Hi Arnab,
    The expression is checked only for the current MDM session.
    If u login with the ABC language it will always show the ABC language no matter how many times u execute it.
    Try connecting to the DM with the XYZ language.
    It should go to the if part rather than else.
    Hope it helps.
    Thanks,
    Minaz

  • How to set up Airport Extreme for 11ac and 11n?

    I have just purchased the new Airport Extreme (August 2014) because Apple's website states
    Simultaneous dual-band support.
    AirPort Extreme features simultaneous dual-band 802.11ac Wi‑Fi. That means it transmits at both the 2.4GHz and 5GHz frequencies at the same time. So no matter which band your wireless devices use, they’ll automatically connect to the best available band for the fastest possible performance.
    I have number of Macs in my home from a new MacBook Pro with Mavericks to a Macbook Air with Snow Leopard (due to required software) and iPads.
    So after setting up the new Extreme my new MacBook only accesses 11n as does my older Macs. I checked by holding down the option key while clicking the WiFi icon at the top of my Mac. Well, not so automatic then as I was expecting 11ac and 3 times faster access (as stated by Apple).
    I then looked for some documentation for setting up but cannot find anything.
    Hence my question here.
    How to set up Airport Extreme for 11ac and 11n simultaneously?
    At present the new Extreme is no better than my previous 2 year old one.
    Thank you.
    Michael

    How to set up Airport Extreme for 11ac and 11n simultaneously?
    Assuming that it is operating correctly, 802.11ac and 802.11b/g/n are broadcast simultaneously by default.
    Simultaneous dual-band support.
    AirPort Extreme features simultaneous dual-band 802.11ac Wi‑Fi. That means it transmits at both the 2.4GHz and 5GHz frequencies at the same time. So no matter which band your wireless devices use, they’ll automatically connect to the best available band for the fastest possible performance.
    That is advertising. The real information is usually found in the small and hard to read footnotes:
    Based on theoretical peak speeds. Actual speeds will be lower.
    AirPort Extreme is based on an IEEE 802.11ac draft specification. Performance based on comparison with Apple’s 802.11n products. Comparison assumes AirPort Extreme network with 802.11ac-enabled computer. Speed and range will be less if an 802.11a/b/g product joins the network. Accessing the wireless network requires a Wi‑Fi-enabled device. Actual speed will vary based on range, connection rate, site conditions, size of network, and other factors. Range will vary with site conditions.
    Since the 802.11ac signal is being broadcast only using the 5 GHz band, some users report that they have had better results by using the option to assign a different name to the 5 GHz band, and then pointing their Mac to that specific signal or network. You may want to try that option.
    But first as a test, please locate the MacBook Pro about 10-15 feet or 3-4 meters from the AirPort Extreme with clear line-of-sight between the two devices. Restart both the AirPort Extreme and the Macbook Pro and then check to see if the Mac is connected to an 802.11ac signal.
    If not, please power off your other wireless devices...computers, mobile devices, etc. temporarily, and try the same test again.
    Please report on your results.

  • How do I change my number for iMessage and facetime

    How do I change my number for iMessage and FaceTime on my iPad mini

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
     Cheers, Tom

  • I just updated to OS 10.9.2. i can't open iTunes; it says i need 64 bit. it refers be to info for iTunes and to uncheck 32 bit. it's already unchecked. what do i do. thanks to all.

    i just updated to OS 10.9.2.
    i can't open iTunes; it says i need 64 bit. it refers be to info for iTunes and to uncheck 32 bit.
    the problem is is it's already unchecked.
    what do i do?
    thanks to all.

    thank you very much for a prompt reply! yes, it worked, but now, it created another problem.
    i can't open any videos that i made without getting a message that says: 'This movie requires QuickTime, which is not supported by this version of iTunes.'
    any suggestions?
    thanks

  • Lick on the icon in appstore which allows to gift an app or copy link , post to facebook etc does not open it stucks.Also same case for itunes and moreover when I play music in iTunes it

    Itunes and appstore problems:
    i have an iPhone 5 whenever I try to click on the icon in appstore which allows to gift an app or copy link , post to facebook etc does not open it stucks.Also same case for itunes and moreover when I play music in iTunes it stops ..start again stops and start again ..stops and does not play..so I  am unable to make gift purchase and listen to the songs..are these bugs or what? help

    ps when syncing it jumps through steps 1 - 4 real fast, i seem to remeber iphone showing the number of tracks transferring and names, but i see nothing? then it sits on 5 saying "waiting for changes to be applied"

Maybe you are looking for

  • Firefox hangs immediately trying to visit any page. Safe Mode/Reset not fixing it.

    Hello, No matter what page I visit, firefox will hang immediately. There are no crash ID's associated with it when I type "About:crashes". It will stay responding on the firefox start page, but even typing "Test" into the google search, will make the

  • Hyperion Performance scorecards sample

    I am not sure if i am posting my question under the correct section, but here is my question Is there any sample for Hyperion Performance Scorecards as there are in essbase and planning that I can use during my learning to HPS. Second, what are the p

  • Solution Manager Documents

    Is anyone aware of a tool that can be used to extract project documents out of solution manager into a folder? I am looking for something similar to the Business Blueprint extract, but I want the individual documents, not the single blueprint documen

  • SCCM 2012 Migration

    Dear All Please share the documents for the SCCM 2007 to 2012 migration. Regards, Siva.V

  • ITouch 1G software current. Video output

    I have read several posts regarding video output. Some seem to be directed to 2G and some to software updates. I want to purchase the correct cable/dock whatever to make this work. I have the first Generation iPod Touch and software is up to date. If