Carl's Ajax Collection Control Example

Hi,
Hoping someone can assist, I am running Oracle ApEx 3 and trying to achieve what Carl is doing here on Collection Control but unsure how it is working.
See:> http://apex.oracle.com/pls/otn/f?p=11933:59
I am particularly looking at the add member side of things which then via Ajax pulls the collection to a report region.
I need to achieve this very same process but am not able to import app into Oracle Apex online within my workspace.
Can anybody provide me with the process required as I cannot get it going from his code or perhaps another means that will work in Oracle ApEx 3.0.1.
Thanks

Hello,
Sure just replace the body section of the procedure with something like this.
for c1 in (
select emp_no,emp_name,emp_manager
from emps
order by 2 asc;
     )loop
htp.prn ('<div>' || c1.emp_no || '-' || c1.emp_name || '-' || c1.emp_manager||'</div>');
end loop;
Carl

Similar Messages

  • Driver implementa​tion into PID manuel-Aut​o Temp Control Example vi

    There is PID manuel-Auto Temp Control Example vi in PID tool kit. I want to use this in my system implementing of my driver. Lakeshore 336 temp. control. Please advice me how to put drivers, what to do to use this tool kit with instrument. I need direction like, change this with this, delete this and add this...
    thanks in advance....

    Dear all,
    thanks for advices. PID tutorials help me alot. yeap, 336 has already PID control itself.I downloded and installed inst.lib already and it works. The problem is my vi. I want my vi like PID tool kit vi. I mean very nice control. I am not sure that I made nice. It works, but response time, wuality, noise, and so on. If someone can interests, I can send my vi to be checked and make comment on it.
    I started to study LV in 2003. At that time I didn't know English (I am Turkish) so I couldn't find any source in my language. I tried to learn by myself following vi's. Then I left it and started working 3 weeks ago. So, I am beginner, but I could write my own high temperature controller.)
    But I would like be adviced in any case from experienced people like you.  Thanks in advance...

  • Microsoft AJAX toolkit controls in Aqualogic UserInterAction portlet?

    using .NET accelerator
    6.1 MP1 portal version
    .NET 2.0 framework
    I created website project using ALUI template in VS 2005. Then I copied over the web.config settings from a AJAX control toolkit website project in VS 2005 figuring this will "map" all the settings.
    Upon loading the portlet I see a javascript error : "this._form" is null or not an object.
    Has anyone been able to successfully implement MS ATLAS ajax controls into their portlets?
    If so please clue me in on how you did. Examples much appreciated!
    Thanks in advance.
    Edited by [email protected] at 04/11/2008 7:29 PM

    In my experience, ALUI doesn't play nice with the Ajax Toolkit (6.1 ALUI and portlets written in .net 2.0).
    But, if you want to go ahead with it, one solution is to write your own Response Filter to append the portlet ID to the ToolkitScriptManager initialization statement (essentially doing what WC3.1 does to all the other objects, including the form you want to apply the script manager to, which creates the issue).
    You can write a filter as detailed at http://aspnetresources.com/articles/HttpFilters.aspx ; that article is about filtering for xhtml compliance, but it's a good walkthrough on how to create a basic filter. To append the portlet ID, we use StringBuilder.Replace() for the appropriate string. I also recommend following the advice of comment 46 of the discussion page for that article and using the Flush() method (instead of the Write() method of the Filter, which worked in simple cases for us but not bigger pages with multiple controls).
    Note that after you write your filter, you don't need to call it from an HttpModule unless you want to. We're having good luck just calling it from the page the script manager is on. In other words, in your Page_Load, just put:
    Response.Filter = new PTFilter(); //or whatever you want to call it
    Edited by dotNetter at 12/24/2007 11:02 AM

  • Issue with Carl's Auto Updating Report example

    Hi. I'm trying to figure out how to implement PPR templates into my application. I've looked at Carl's example and thought downloading it to my test workspace and checking it out would be the best way forward. I've created the table per the instructions and am getting an odd error when I try to set the refresh rate:
    Line: 23
    Char: 3
    Error: 'null' is null or not an object
    This is a link to my report:
    http://htmldb.oracle.com/pls/otn/f?p=43812:40:12406459224965513538::NO:RP::
    Does anyone have any tips, common errors, that I can check out?
    Thanks a bunch. Len

    OK. So I see from a previous post that region_id does not have a variable option. To find the region ID if I look at the source code for the page I use the Rnnnnn listed? Then go to the 'Edit Attributes' of the page and change the number in the HTML Header section?

  • Carl's Auto Updating Report example with Apex 3.0

    Hi,
    I'm try to develop a page very similar to Carls' "Auto Updating Report" page and been very new to Apex I find it very hard to work out all the things I need to do from the example pages.
    Is there anywhere I can download a sample application so I can explore the code through APEX to see how everything works and fits together.
    Any help would be most appreciated.
    Anthony

    Carl,
    Thanks I have it working.
    Just one more question is it possible to have two reports on same page to auto update?
    If I simply add another html_PPR_Report_Page with the second report_id I get an Error : "gNode is null or not an object". using IE.
    function mon_Refresh()
    setTimeout("mon_Refresh()",5000);
    html_PPR_Report_Page (null,'R1736701112358007',$x('r_R1736701112358007').getAttribute('htmldb:href'))
    works fine but
    function mon_Refresh()
    setTimeout("mon_Refresh()",5000);
    html_PPR_Report_Page (null,'R1736701112358007',$x('r_R1736701112358007').getAttribute('htmldb:href'))
    html_PPR_Report_Page (null,'R1738006943370690',$x('r_R1738006943370690').getAttribute('htmldb:href'))
    raises an error.
    Anthony

  • SharePoint 2013 RSS Viewer not loading when other Custom web part using Update Panel or Ajax Timer control

    Hi,
    SharePoint 2013 RSS
    Viewer web part failing to complete loading when the page loads.
    This happens when having RSS Viewer and then adding a Custom webpart with an updatepanel and timer control.
    I  had used Ajax update panel and timer control to load the web part asynchronously after the main page is fully loaded.
    The RSS-Viewer web part hangs in loading state while the custom webpart loads just fine.
    The issue occurs when an like button click or Timer Tick event fires after the page
    is loaded.
    Haven't been able to track the issue.
    Couple of workaround I tried to call a server side button click event from the custom web part after the page gets fully loaded using JQuery shown below did not work out either.
     $(document).ready(function () {
                $('#<%= netButton2.ClientID %>').click();
    And 
    document.onreadystatechange = function () {
                if (document.readyState == "complete") {
                    $('#<%= netButton2.ClientID %>').click();
    Please let me know how to resolve this issue.
    Thanks,
    Franklin

    Hi Johan,
    The assignment of this user on the given task might be corrupted. Try to remove the resource from the task, publish the project, assign the resource again and publish again the project. If it is not working, try to unpublish the task (column "publish")
    and publih it again.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • ALV Grid Traffic control Example  program implemented with function modules

    Hi Friends,
    Can any one please give me ALV Grid control traffic lights  example program implented using function modules instead of OOP ALV. It is very urgent,
    Thanks in advance,
    Santosh Kumar.

    Hi Santosh ,
    Here is a sampla code for the same
    TYPE-POOLS : SLIS.
    DATA : BEGIN OF IT_1 OCCURS 0 ,
               MATNR TYPE matnr ,
               FLAG TYPE C ,  " added for the traffic control
           END OF IT_1.
    SELECT MATNR INTO TABLE IT_1 " Select Data
    UP TO 10 ROWS
    FROM MARA.
    DATA : CATALOG TYPE SLIS_T_FIELDCAT_ALV ,
           WA_CATALOG TYPE SLIS_FIELDCAT_ALV ,
           LAYOUT TYPE SLIS_LAYOUT_ALV .
    *" create catalog
    WA_CATALOG-FIELDNAME = 'FLAG'.
    WA_CATALOG-TABNAME = 'IT_1'.
    APPEND WA_CATALOG TO CATALOG.
    WA_CATALOG-FIELDNAME = 'MATNR'.
    WA_CATALOG-TABNAME = 'IT_1'.
    APPEND WA_CATALOG TO CATALOG.
    DATA : FLAG_T TYPE I.
    *"assign value to traffic signal
    LOOP AT IT_1.
    FLAG_T = SY-TABIX MOD 2.
    IF FLAG_T = 0.
    IT_1-FLAG = '1'.
    ELSE.
    IT_1-FLAG = '2'.
    ENDIF.
    MODIFY IT_1.
    ENDLOOP.
    *"specify the traffic signal field in the layout
    LAYOUT-LIGHTS_FIELDNAME = 'FLAG'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    *   I_INTERFACE_CHECK                 = ' '
    *   I_BYPASSING_BUFFER                =
    *   I_BUFFER_ACTIVE                   = ' '
    *   I_CALLBACK_PROGRAM                = ' '
    *   I_CALLBACK_PF_STATUS_SET          = ' '
    *   I_CALLBACK_USER_COMMAND           = ' '
    *   I_CALLBACK_TOP_OF_PAGE            = ' '
    *   I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *   I_CALLBACK_HTML_END_OF_LIST       = ' '
    *   I_STRUCTURE_NAME                  =
    *   I_BACKGROUND_ID                   = ' '
    *   I_GRID_TITLE                      =
    *   I_GRID_SETTINGS                   =
       IS_LAYOUT                         = LAYOUT
       IT_FIELDCAT                       = CATALOG
    *   IT_EXCLUDING                      =
    *   IT_SPECIAL_GROUPS                 =
    *   IT_SORT                           =
    *   IT_FILTER                         =
    *   IS_SEL_HIDE                       =
    *   I_DEFAULT                         = 'X'
    *   I_SAVE                            = ' '
    *   IS_VARIANT                        =
    *   IT_EVENTS                         =
    *   IT_EVENT_EXIT                     =
    *   IS_PRINT                          =
    *   IS_REPREP_ID                      =
    *   I_SCREEN_START_COLUMN             = 0
    *   I_SCREEN_START_LINE               = 0
    *   I_SCREEN_END_COLUMN               = 0
    *   I_SCREEN_END_LINE                 = 0
    *   IT_ALV_GRAPHICS                   =
    *   IT_ADD_FIELDCAT                   =
    *   IT_HYPERLINK                      =
    *   I_HTML_HEIGHT_TOP                 =
    *   I_HTML_HEIGHT_END                 =
    *   IT_EXCEPT_QINFO                   =
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER           =
    *   ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = IT_1
    * EXCEPTIONS
    *   PROGRAM_ERROR                     = 1
    *   OTHERS                            = 2
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    so rem all you need to do is add a feild in internal table for the traffic signal , assign values 0 , 1, 2 to it and last specify the name of this feild in the layout.
    Regards
    Arun

  • NI 9505 Closed Loop Position Control Example

    Hello, I have a cRIO 9073 with a NI 9505 module that I'd like to use for simple position control of a unit along a lead screw.
    I don't have the softmotion module, and am trying to write a program bassed off of the "Position Control (closed loop) - NI 9505" example to control the position the small motor attached to the lead screw (Faulhaber 2342S024CR with a 512 count/rev encoder that we had laying around)
    I've reviewed the manual PID tuning example, and have not had much luck getting the response that I'd like when making large position moves simply by adjusting Kp,Ki,Kd gains of the position loop, as the overshoot remains too high for this application when making large moves.  The system is also oscillating about the set point, and doesn't ever seem to dampen out unless I change things other parameters on the fly such as the current limit, or current loop parameters (osciallations get worse as current limit is increased).
    Can someone advise me if the components of this example are up to this task?  Or on the interactions between the current limit, current loop parameters, and position loop parameters from this example, and which parameters would have the most impact on achieving desirable system performance?
    Is there a VI available that can autotune such a motor?

    Hello - there are many reasons why a closed loop controller can oscillate - from correct settings of controller (kp,ki,kd) to making sure signals act in the appropriate direction to deadband/friction in the actuator to badly sized signals/actuators.
    Firstly, have a look at the signal your controller is outputing (ideally in LabVIEW so you can graph it). Does it oscillate - perhaps as a sawtooth, a sinewave or simply switching between maximum and minmum values. I presume the electrical motor driving the screw which is driven from some AO signal from the cRIO (could also be a PWM signal driving the motor).
    I expect (from what you say about current limit) the control signal will be oscillating by switching between maximum and minimum (e.g. +10V to -10V) or oscillating like a sinewave. What values of kp, ki, kd are you using ? If kd is non-zero, set it to zero (you only need worry about this if you want to get maximum performance). Is ki non-zero ? Try setting it to zero - any better ? If you are still getting big oscillations in your control signal, keep reducing kp (e.g. half each time?) until oscillations disappear (as you reduce kp, control signal *should* get smaller - maybe not straight way though).
    If this does not make oscillations go away, then it may be that you have a sign wrong in your loop - i.e. a positive control signal makes lead screw move in opposite direction controller expects. This should be a fundamental thing sorted out when setting up the loop - you could do an open test to check which way +ve voltage moves lead screw. If you find it moves in opposite direction - you can either re-wire, or put a "-1" gain on controller output.
    If there is any more subtle oscillations / obersvations, then try to show some plots of the lead screw motion and control signal, as that always helps when trying to diagnose what is going wrong.
    Good luck.
    Consultant Control Engineer
    www-isc-ltd.com

  • Ajax calendar control

    I have a ajax calendar contol in webpart which get closed when i try to select different year and month from the current year and month on click of next and previous button in calendar.
    It was working fine in other working  environment but not working in my local.
    Help me on this issue .Any suggestions?

    use the IE developer tool to debug JavaScript and check for any errors/exceptions  also
    try to eliminate all variables between the two environment by using same browser same version while testing the control 
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • TestStand UI ListBox Control Example?

    Dear Testand / Labview Experts,
    I have been unable to find any examples using the TestStand UI ListBox Control .   Can any of you point me to an example?  Ideally it would show a status summary of what is going on in Teststand, Number of tests,  units tested, passed, failed,  units per hour,  etc..   but I'm not holding my breath for that.. 
    Thanks
    Brad
    Brad Whaley
    LabVIEW Certified Engineer

    have you looked at the UI example that ships with TestStand.  You have the source code for it.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • PXI-2530 Matrix Control Examples

    I am searching for examples that show how to control the PXI-2530 as a 8x16 Matrix. I searched but was unable to locate code to help.

    Dennis_Knutson wrote:
    There are a couple of shipping examples in LabVIEW that say they work with the 2530. Where did you search? For example, the niSwitch Making Connections on a Switch.vi. You would have to manually enter the channel names but you can select the topology from a combo box. The channel names are just cx and rx as you can read from the NI-Switch help.
    I second that!  I have created several different applications using the PXI-2530 in the 8X16 matrix topology. I built the row and column designators mathematically from for loop indices and pre-programmed them as array constants. The rows are identified by "r0" thru "r7" and the columns are identified by "c0" thru "c15".
    Jeff
    Jeffrey Zola

  • Table Control Example

    Hi Experts,
    Can any  give me Complete Example for Table control like
    1) Addition, or New Entrey, INsert ,
    2) Delete,
    3)Clear,
    4)SAVE,
    5) Change,
    6)Find
    Thanks
    Point is given to ..

    hi,
    first declare one internal table with all the fields u want in table control.
    Then make table control by wizard using that internal table....
    And then made buttons in GUI STATUS....
    In USER_COMMAND_1000 module of PAI write,
    MODULE user_command_1000 INPUT.
      CASE ok_code.
        WHEN 'BACK' OR 'UP' OR 'CANC'.
          LEAVE PROGRAM.
        WHEN 'SAVE'.
          ur code.....
        WHEN 'CHANGE'.
          ur code.....
        WHEN 'DELETE'.
         ur code.....
        WHEN 'CLEAR'.
          CLEAR empcod.
          CLEAR empnam.
        ENDCASE.
    ENDMODULE.                 " USER_COMMAND_1000  INPUT

  • Zone Resource Control example website

    G'Day folks,
    I've began work on a website to list examples of setting zone resource controls (processor sets, FSS, ...).
    http://www.brendangregg.com/zones.html
    Now before I get carried away, does anyone think that maybe I shouldn't - if so I will take it offline no problem.
    Just checking I dont get replies like,
    "please don't document zones as it's all about to change", or something like that ...
    PS. I was pretty happy to see FSS work - that's really cool! :-)
    thanks,
    Brendan Gregg
    [Sydney, Australia]

    G'Day Gary,
    Thanks for your comments!
    Here are some corrections/additions:
    The best way to check if pools are enabled is to run
    pooladm and examine the output. poold may not be
    running and pools may still be active, so performing
    a pgrep for poold isn't conclusive.Yes, good point.
    In commands 2, you don't need the "final pooladm -c".
    The poolcfg -df command will have already done
    e this.The final pooladm -c didn't make sense the first time I encountered it, so I had made pretty sure that it was necessary. I'll redo my checks and update the site. Without it, I'm only using poolcfg to make changes, and the man page for poolcfg has:
    # man poolcfg
         If you use the -d option,
         the modifications occur to the kernel state. Actual  activa-
         tion  of  the  resulting configuration is achieved by way of
         the pooladm(1M) command.It seems to imply a pooladm command is necessary for activation (I used a pooladm -c).
    In Resources CPU1 it may be worth mentioning that you
    can immediately modify pool bindings for zones if you
    use poolbind.
    e.g.
    /usr/sbin/poolbind -p work1-pool -i zoneid workzone1thanks, I hadn't seen this before!
    At the end of Resource CPU 2. It isn't poold which
    decides how to allocate CPUs when a configuration is
    applied to a system using pooladm -c. This work is
    done inside libpool (3LIB) by the pool_conf_commit
    API.Ok, I haven't seen documentation on what specifically happens after typing pooladm -c. The documentation such as the poold man page draws a lot of attention to poold:
    # man poold
         poold periodically examines  the  load  on  the  system  and
         decides whether intervention is required to maintain optimal
         system performance with  respect  to  resource  consumption.
         poold also responds to externally initiated (with respect to
         poold) changes of either resource  configuration  or  objec-
         tives.
         If intervention is required, poold  attempts  to  reallocate
         the  available  resources  to ensure that performance objec-So a change in resource configuration sounds like it means "pooladm -c", and poold is responding.
    I'm not sure you meant pool_conf_commit, the man page describes it as writing the config to permanent storage - not triggering an allocation of CPUs.
    At my work blog, I have various hints, tips and
    tricks for Solaris Resource Pools. If you want to add
    a link to my blog (where I try and focus on Solaris
    Resource Management issues) feel free. It's at:
    http://blogs.sun.com/garypen
    Great, I've linked it already, and uploaded a new version (and I imagine I'll upload more versions as I learn more about resource controls).
    thanks,
    Brendan

  • Problem with Automatic Gain Control Example

    I tried to open AGC example here, i'm using labview 2013 and installed DSP module 8.6 but it didn't work.
    The project give warning at DSK6416,DSK6711,DSK6713 and speedy-33 and the VIs AGC, EMB sinewave form can't be found.
    I tried to install Speedy-33 driver separetly but it said that a later version is already installed.

    Unfortunately, teh DSP module is discontinued. There is no DSP Module available for LabVIEW 2009 or later. The version you have will only work for LabVIEW 8.6 or 8.6.1.
    This is another post with the same problem just for reference.
    http://forums.ni.com/t5/LabVIEW-Embedded/DSP-Modul​e-For-LabVIEW-2011/td-p/1956523
    Camilo V.
    Applications Engineer
    National Instruments
    www.ni.com/support

  • Drag control example and how to save an indicator value??

    Hi everyone,
    I want to drag boolean buttons on my front panel in the run time, how can I do it?
    I remember I have seen an ni example for that, it's a card on the front panel, but I don't remember the name TT anybody knows?
    and the second question is how to save an indicator value, like the first time you set the value and close the vi and run it again, the value will remain unless you change it in the second run time?
    thanks in advance 
    Solved!
    Go to Solution.

    THe attached (in LV 8.6) is a quick and dirty dragging example.
    When a mouse down event is detected the offset between the mouse and the top left corner is calculated and cached in a shift register.
    Mouse moves use the offset to etermine the new location.
    Mosue up clears a boolean used to track if we are actively dragging at the moment.
    Have fun!
    Ben
    Message Edited by Ben on 04-15-2009 07:54 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Drag.vi ‏11 KB
    Drag_This.PNG ‏59 KB

Maybe you are looking for

  • Photoshop CS - Saving file as jpg

    Hi I am using CS v8.0 and using a javascript action script. I seem to be having all kinds of problems saving the document as a .jpg though. I simply want to open all the files in a folder, resize the image and save the file with a different name (in

  • Displaying a group of data or info for the given key in a property file

    Hi, I have a property file suppose queries.properties. it contains the propertys and values as profile_1=abc profile_2=dfg profile_3=ser name_1=qwe name_2=dfg name_3=cbvb my requirement is when i pass the key profile then it has to give profile_1=abc

  • Not able to attach files to email account from my hard drive

    Firefox will not attach files (from my hard drive - mostly MS Word and PDF files) to my email accounts or job application sites. I tried using Internet Explorer and was able to attach files. So, the problem seem to be Firefox. I prefer to use Firefox

  • Report showing QTy shipped form particular sloc

    Hi , Is there any report which generates a list with items as followes: -Company -SLOC ; -SLOC Short name -SLOC Adress -Shipped Qty since Apr 2008 from the SLOC. please help. Reagrds chetan

  • Partitioning an existing HARD DRIVE on a Power PC G5

    I have a Dual 2.5 GHz PowerPC G5 with 4 GB DDR SDRAM running 10.5.6. The Hard Drive is 250GBs. I want to create a 110GB partition on it without erasing the data on the HARD DRIVE. I'm only using 47GBs of the Hard Drive now. Everytime I try using DISC