Workaround solution for use af:foreach with collection

Hello

I have a n to m relationship between the two tables to TRANSFER and the USER. I've implemented this n m relationship with a third table, called USR_ASS_REL.

I have a page detailedUser.jspx which gives me detailed information on all users. If I drag the DataControls USR_ASS_REL field on the screen, I create an array with all of the responsibilities of the user. But this isn't what I want. Instead, I want to print all the assignments on the screen, just separated by a semicolon (by example, assignment1; assignment2;...). I tried to use af:foreach, but that doesn't support the collections. Will there be a chance to do this in a different way? It would probably work if I create a new query asking for assignments to a user, but I don't want to create an additional query for cases like this.

Thank you
Brahim

Hi John, try instead of foreach and it should work. Recent have been prety much more simply in one of my pages:


  
  

Kind regards

~ Simon

Tags: Oracle

Similar Questions

  • Workaround solution for using PLSQL as a source of interactive report?

    Hi all!

    I have a PL/SQL anonymous block here, I wanted to use as the source for an interactive report. Only, I didn't know that interactive reports supported PL/SQL...
    For example, the code:
    DECLARE
    a_userid NUMBER;
    
    BEGIN
    SELECT userid
    INTO a_userid
    FROM users
    WHERE UPPER(username) = :APP_USER;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    a_userid := 0;
    
    IF a_userid = 0 THEN
    SELECT distinct a.name AS Foodname, a.foodid AS Foodid
    FROM food a 
    INNER JOIN foodunit c
    ON a.foodid = c.foodid
    WHERE a.foodlanguageid = :P18_LANGUAGE
    OR a.foodlanguageid = :P18_SET_LANGUAGE
    AND a.userid = 0
    ORDER BY a.name;
     
    ELSIF a_userid = :APP_USER THEN
    SELECT DISTINCT a.name AS Foodname, a.foodid AS Foodid
    FROM food a 
    INNER JOIN foodunit c
    ON a.foodid = c.foodid
    WHERE a.foodlanguageid = :P18_LANGUAGE
    OR a.foodlanguageid = :P18_SET_LANGUAGE
    AND a.userid = 0 
    AND a.userid = a_userid
    ORDER BY a.name;
    END IF;
    END;
    Of course this code will not work because I do not understand everything IN the statements, but just trying to understand what it is that I'm aiming.
    This code point is that when a user is not logged (and visits as a public user page), it must fetch the 'NAME' and 'FOODID"FOOD table lines. I added a column of this table (named USERID) and all rows having the value '0' for this column.
    Now, when a user logs on, he or she has a fixed username (registered in another table, named 'USERS'). A user is able to add foods that they own to the list.

    Of course, a visitor is not supposed to see all food products that have been added to the table by registered users. So, I wanted to show the separate data. Visitors (unregistered) only see the default values (all the lines in which the userid = 0) and registered users should see both added their own food (my username is 1, then I want to see all the lines where the userid = 1) and the rows with default values (where userid = 0).

    I found a way here:
    http://www.oracleapplicationexpress.com/tutorials/71-Oracle-Apex-interactive-report-based-on-PLSQL-function

    But it is not only makes sense to me. Y at - it is an easy way to explain how the tutorial in the link, or you know an easier way? Like making a procedure or something, or a function or a process page and somehow, refer to that in the SQL source interactive report?

    Any help is greatly appreciated.

    APEX version: 4.1.1.00.23

    Hi again,

    How does this request?

    SELECT DISTINCT a.name AS Foodname, a.foodid AS Foodid
      FROM food a INNER JOIN foodunit c ON a.foodid = c.foodid
     WHERE a.foodlanguageid IN (:P18_LANGUAGE, :P18_SET_LANGUAGE)
      AND (a.userid = :P18_USERID OR a.userid = 0)
    ORDER BY a.name
    
  • Simple solutions for a cinematic look with 60i video?

    I'm sure this question pop upward again and again but I'm a huge headache trying to solve everything through my research, especially as a beginner to the film world.  I'll get right to my questions, but first, here's the equipment I work with:

    Camcorder Sony HDR-XR500, shot in format AVCHD 1920 x 1080 60i =

    Software = Creative Suite CS4

    Recently, I threw together a 10 min film from a trip that I just got the use of Premiere Pro and while it was a lot of fun to put together I really have no idea if I went to this issue the right way.  I want to practice taking a clip of mine and convert it to this cinematic look and hope someone can help to guide me through some steps.

    Here's what I want to achieve:

    -ratio of 2.35: 1 pixel

    -24 p or a similar effect (trying to figure this out makes my head spin)

    I know that the color correction has much to do with the film appearance, but I realize that there are several ways to go about this, so I'll refrain from asking questions regarding this for now.  (I found using the fast color corrector and Saturation adjustment to 75%, and levels of inputs to 20, 1, 220 glanced of beautiful film)

    Step 1: Should what settings I use to create my project?

    Capture format = HDV?

    For the sequence presets can I use AVCHD 1080i30 (60i) non-anamorophic?

    Step 2: If I want to create a ratio of 2.35: 1, should I simply culture my clip?  I think I read somewhere for 1920 x 1080 video, crop 14 percent of top and bottom?  Or should I get when I export the movie?

    Step 3: What would be the fastest single/more to get that look of 24 fps using Premiere Pro or After Effects?  I know shooting in 24 p is obviously the easiest way, but should I just deinterlace my 60i video right click for video > Options for fields > deinterlace always to achieve a similar effect?

    Step 4: Export video... still so many options, I don't know what to do here.  Basically, could someone provide me with the best export options for the format, so that I am trying to achieve:

    -Display on the Internet

    -Display on computer

    -And look at a blu - ray

    I really appreciate any help on these questions.  A big thank you!

    Step 1: Capture settings are not relevant for AVCHD on this camera.  Simply copy the structure of the entire folder intact on your hard drive.  PR will find images copied to the media browser panel.  You may even be able to modify it directly from the camera HARD drive.  You should try it and see.

    2: 1920 x 816 stage produces a ratio of 2.35: 1.  Assuming that your whole action occurs in exactly in the center of the vertical shooting, then you should trim 132 pixels from top and down.  Place your 1080 footage in a progressive sequence of these dimensions, you should get what you want, as long as you do not have by default to scale to the size of the image selected in the preferences.

    Step 3: This is the difficult.  For 24 fps to 30 fps, an image of each 5 should be deleted.  This will produce perceptually playback choppy, especially if no movement at all is present.  If the remaining frames must be mixed together somehow to smooth out the bump where the missing image is.  Using AE to achieve this, is my humble opinion, the best solution for an all-CS4 workflow.  In AE, you have 2 choices: merging images and movement of the pixels.  PM produces better results, but FM makes it faster.  If you did not yet no editing clips of Pr, then the best idea would be to convert all images in AE before importing it into PR.  If you already have changes in place in public relations, then you can select all the clips in the sequence and choose file | Adobe Dynamic Link. Replace with After Effects Composition.  Whatever it is, each element in EI must be interpreted individually at the edges of fields and preserve the separated.  The parameters of the model should be set to 24 p.  Then the interpolation must be enabled for the model, and finally, each level framework mix switch must have the value of fusion of images or displacement of the pixels.  If you don't use dynamic link, be sure to * off * interpolation in public relations, because EI has already taken care of that.

    Step 4: Because the rendering will be so intense and take so long, I recommend export an intermediate file of Pr, then re-import this file to use as the source for the various export formats.  Otherwise, you will need to make all over again for each individual export format.  For the web, I recommend Flash.  For the computer display, it depends on your mode of delivery (CD, DVD, download, external hard drive, Flash drive, etc.).  For Blu - Ray, H.264 Blu - ray or Blu - ray MPEG2.

    -Jeff

  • Good way to use af:ForEach with respect to the adf:OutputText

    Salvation;

    I use a box of ouputText during execution, convert the field # in its chain. I have a description as a String field and a type of identification. I tried to make it out of what I've seen for the af: selectionchoice. But it doesn't seem to work as I expected.

    I use this:

    < af:outputText value = "#{rank." DescriptionTypeId}.
    label = "#{bindings." EntityView2.label} ">"
    < af:forEach elements = "#{bindings." Var EntityView2Iterator.allRowsInRange}"="sΘlectionner">
    < af:selectItem value = "#{select." DescriptionTypeId}"label =" #{select. " DescriptionString}"id ="ot1"/ >
    < / af:forEach >
    < / af:outputText >


    As it says the label is not a correct value for the output text.

    What is the right way for executing for me to convert my # to a string? I use Jdeveloper 11 g to do all my development.

    Thank you

    PSP

    Try the same thing with af:selectOneListbox or af:selectOneChoice and see whether it works or not.

    the below works for me.

                        
                                    
                                        
                                    
                        
    
  • Workaround solution for add &amp; remove on XP

    I downloaded a greeting card program that I use from time to time, but in order to save space tried to remove it from Control Panel add & delete and it would not remove. A message says ' setup exe has run "then another message says"to remove go to Control Panel Add & Remove and remove"like this out of here where I am now! Anyway I went on the host site could not find any help, I even sent an email to explain, but no answer, that it has been three weeks presence.

    Is there a workaround to add & delete on Windows XP? I need a walkthrough, Iam not for good one at that. I tried a program free softwere 'delete everything' it would work after a scan "for $20"so "free" much thanks for any help."

    Hello zipper41,

    You can download Your Uninstaller!      HERE

    its a program little wonder and he can do just about everything related to the uninstall, change, delete... it big ... hope this helps

  • I need a solution for the issue mentioned with my Audio below

    Product
    Windows Audio
    Problem
    Stopped working
    Date
    13/04/2013 11:29
    Status
    Report sent
    Signature of the problem
    Problem event name: APPCRASH
    Application name: svchost.exe_Audiosrv
    Application version: 6.0.6001.18000
    Application timestamp: 47918b 89
    Fault Module name: stapo.dll
    Fault Module Version: 1.0.6124.0
    Timestamp of Module error: 49237ad0
    Exception code: c0000005
    Exception offset: 0008810a
    OS version: 6.0.6001.2.1.0.768.2
    Locale ID: 1033
    Additional information 1: fd00
    More information 2: ea6f5fe8924aaa756324d57f87834160
    Additional information 3: fd00
    Additional information 4: ea6f5fe8924aaa756324d57f87834160
    Additional information about the problem
    Bucket ID: 1036323151

    IDT just make chips. They provide drivers.

    It comes in a general way. Each approach has pros and cons try each.

    You can;

    • Choose update driver (and rollback) in the property sheet of the hardware in the Device Manager
    • Use Windows Update, you choose the option to check the updates of pilot also
    • If it came with a PC, go to the web site of PC manufacturers more for those who made the web site of the component
    • Often the material is based on a specific chip and the web site of the manufacturer of the chip can have reference drivers. For example, NVidia has the reference drivers for their chips to http://www.nvidia.com/Download/index.aspx?lang=en-us material
  • Using TABLE() syntax with collection types

    Hello

    I created a function that returns a collection type in the TABLE of VARCHAR2.

    Function works just fine:


    SELECT * FROM TABLE (some_fcn ('VALUE1', 'VALUE2'));

    Where I am passing static values.

    However, I join it with another table, passing the values in this array as parameters:

    SELECT f.some_table_key, t.* FROM une_table f, TABLE (some_fcn (f.col1, f.col2)) t;

    When I do that, I get the error "ORA-00904:"F".» "Col1": invalid identifier.


    I use 11 GR 1 material


    Could someone please offer some advice with that?

    Thank you!

    Published by: odinsride on August 23, 2010 15:30

    Published by: odinsride on August 23, 2010 15:39

    Maybe things PIPELINED causing a problem?

    Should be no problem.

    You can also provide the structure of the table... there a column COL1 and COL2?

  • Need help with the fix KB 900243... for use high CPU with file W3WP.exe

    SBS 2003 Enterprise.

    This hotfix contains two files:

    1 WIndowsServer2003-KB900243 - x 86 - enu.exe
    2 WIndowsServer2003-KB900243 - x 86-symbols - enu.exe
    Which of them install?  Or if the two, what order.
    Thank you.

    Hello

    Note that your computer is under domain, you must contact the TechNet forum, where we are the support technicians who are well equipped with knowledge on the issues of domain, do please visit the link provided below.

    http://social.technet.Microsoft.com/forums/en-us/winserverfiles/threads

  • All possible means for the conversion of P2V Windows 2008 R2 (even with workaround solutions?)

    We have several production servers, that we have recently upgraded to Windows 2008 R2, only to discover after the fact that VMWare Converter currently does not support convert a physical machine to a VMWare image. The servers are actually images of Hyper-V, but since there is no way to convert the computer virtual Hyper-V to VMWare, we have always used the P2V conversion with our Windows 2008 Server (not R2) without problem.

    Its imperative that we find a way to do this and I was hoping to see if anyone has found any workaround for this problem.

    We would prefer not to have to buy another product for that (i.e. using Acronis or Symantec Backup), as one would expect VMWare to support it eventually (even if it is the only option, we will have to examine it). We simply need a workaround solution for us until they do.

    Thanks a bunch!

    Hello.

    Have you tried the StarWind V2V Converterfree?

    Good luck!

  • How you see the progression when you use a ForEach loop?

    Hello

    I have a table with about 100 containers in it. My main thread uses a ForEach with an internal structure dealing with six opportunities. My previous program had all the steps in a very long list, run one by one. I find this new approach is much more pleasant to look at and easier to change, but it is not really no way to tell at what point along the test is (unless you know it by heart). In the approach of the long list, you could see all the results/success made and how much remained, now there is no way to tell.

    A few tips to make some sort of indication of progress?

    As ObjectReference parameter, you must use 'nothing '. The last parameter (alternator?), you can choose true or false. Please see the documentation for PostUIMessageEx for more information.

    The numeric parameter should be between 0 and 100. Since this is "Progress per cent", it is logical, it?

    The status bar has several components, one for example display the connected to the user or the used process template. The pane on the right side mostly shows the percentage of progress if used in your sequence.

    Reports by default, again, includes this feature. So if you have a sequence with for example 500 steps, the report "will be a visible progress" in this pane (with less than 100 steps, it's often too fast to see). Do not forget that the sequence editor of NOR and full featured Interfaces have this feature, the chart Simple interface is not.

    Norbert

  • When I try to use the webcam with Skype it blocks Skype and said "Skype has stopped working, windows is checking for a solution."

    Original title: lifecam 3000 and Skype does not?

    Hello, I tried the two 5.5 beta and 5.3. When I try to use the webcam with Skype it blocks Skype and says "Skype has stopped working windows is checking for a solution." I have windows update connection bars 4/5 drivers and my computer ==> http://www.newegg.com/Product/Product.aspx?Item=N82E16883103361 help is appreciated, thanks

    Hello, I had just fixed yesterday. I deleted the drivers and programs that accompanies it, it ends up being the lifecam software that comes with it interfering with Skype, thanks to all who help :)

  • Is problems syncing of calendar with Centro using Palm Desktop 4.14 - there a solution for this?

    I've searched the forums until I'm almost fishy I think! - and I can't find a concrete answer on this subject - SO I write to help.

    I use WIndows XP - have a Palm T3 AND A Centro.

    Upgrade to Desktop 6.2 for the Centro instructions - it was a HUGE mistake - and messed up my T3 - I have since fixed everything back to normal to 4.14 and 6.2 UN-installing download/install

    It works PERFECTLY with my T3 - BUT - NOT with the Centro (I bought the Centro - so I could have an all in one - AND still use my T3 (I can't let go))

    EVERYTHING syncs fine - EXCEPT THE CALENDAR - which I use CONSTANTLY

    I use NO Outlook - the desktop calendar

    Is there any solution for this? S ' Please help!

    Try to uninstall 4.1.4 and install my link 4.2 'Manual' below.

    WyreNut

  • How to fix this error "generic host process for win32 services has encountered a problem and needs to close ' help me please I am using windows xp with SP3

    How to fix this error "generic host process for win32 services has encountered a problem and needs to close ' help me please I am using windows xp with SP3.

    When I close this error or click on send or do not send, my session network remote also network mapped drive United Nations accessible then I restart my computer and I can access my network grows but after awhile once again this error and the same network behavior that I discussed earlier.
    someone has a better solution that take care of this problem.

    Hello

    Given that the problem is related to the server of the IRIS, IRIS Contact support for assistance:

    http://www.IRISLink.com/C2-1967-189/I-R-I-S---technical-support.aspx

    Hope the above information is helpful.

  • Write to the file of measurement with a loop For using the value of the dynamic data attributes

    I looked and looked, but couldn't find a solution for this.

    I currently have 15 points of different data that I try to write in an Excel file.  I have all combined in a table and lie with the function "write into a file position.  However, the column names are always "Untitled", "Untitled 1" etc.  I then used the function 'Set the Dynamic Data attributes'; but for this I have to do 15 different functions "set data dynamic attributes.  It was suggested to use a loop with the function 'Set the Dynamic Data attributes' inside of her, but I can't find how do.

    I have several arrays consisting of 15 different values for 'Signal Index' 'Name of Signal' and 'Unit', but also a unique 'get Date/Time In Seconds' related to 'Timestamp '.  The problem is that the error I get when I try to connect the output with Scripture at the entrance to measure file:

    The source type is dynamic data table 1 d.  The type of sink is Dynamic Data.

    How can I fix it?  I have attached a picture of my installation; Sorry if this is gross (I'm new on this!).  Thank you!

    It will get rid of the error, but it is not quite correct. What you need to do after that is to click on the output or the tunnel entry and select 'replace with the shift register. In addition, the array of values that you have wired to the Signal Index is wrong. Arrays are 0 based. Just wire the iteration Terminal here. And, finally, take the size of the table and this connection to the N terminal are stupid. Don't wire nothing to this.

  • Does anyone have a solution for the use of Bible Illustrator 3.0 MS8 and MS7

    Original title: program programs Application Applications compatibility.

    Does anyone have a solution for the use of Bible Illustrator 3.0 MS8 and MS7

    What are the requirements of system for this program?

    What version of Windows it says on the package, it was designed for?

    If its designed for an earlier version of Windows such as Windows 95 or Windows 98 or XP, then it is probably incompatible with Windows 8.

    If the product packaging indicates anything in the 1990s OR early 2000s, I am afraid that this is not something that is guaranteed to work with Windows 8.

    You can try the following average time.

    Point to the installation files where they are.

    Right-click on the configuration file, and then click "troubleshoot compatibility".

    Wait, it detects the problem.

    Click on the option "worked in an earlier version of Windows.

    Select Windows 7 RTM or better Windows Vista SP2

    Click next

    Click Start the program, wait, it installs

    When the installation is complete, click Finish and save the settings.

Maybe you are looking for