PLSQL call for list view

Hello

Apex 4.2 - Mobile application

I want to call a procedure in a list view lspq.

This is a list of objects and then for the user final should be able to mark an item as a favorite.

I thought about the following approach:

the target of the link allows you to call a piece of javascript:

the target of the link: javascript:AddFavo();

"' link resulting: <a href="javascript:AddFavo();" Class= "interface user-link-inherit' > '.

at the page level:

JavaScript-> function and global variables declaration

function AddFavo() {}

Alert ("add to Favorites");

$.event.trigger ("AddFavoEvent");

}

Dynamic action

Event: Custom

Custom event: AddFavoEvent

Selection type: DOM object

DOM object: document

Condition:-no Condition

Action: run the plsql code

Unfortunately, this does not work.

Javascript does not occur and therefore the dynamic action is not

Does anyone have an idea how to solve this problem?

Thanks in advance

Sincere friendships Erik

Hi Erik,

The alert will? It all looks correct, it should be.

Check your console if there are errors. If a JavaScript elsewhere on the page gives an error none of the javascript code will not work.

If this is not the case, make an example on apex.oracle.com and I'll take a look.

Kind regards

Joni

Tags: Database

Similar Questions

  • Social media for list views Blog buttons

    I would like to put on my blog social media buttons, so that users can share the position in the list view. When I actually adds these buttons they share in fact any page where the list is located, rather than the part of this post. Anyone have this problem? All solutions?

    Use the url for the blog tags, you must define the social links to those URLs and not run by default where it will be the page as your conclusion.

  • With the help of QProperty for a label inside the list view

    Hello

    I wanted to assign the value of a label in the list view to a string QPROPERTY. I did it using Qt.myname = _app. QPropertyName. And Qt.myname attributed to label.

    It updates correctly during installation. But if I change the value, it is not updated within the display list, but working in another label that is outside the view of the list.

    It works for me

            ListView {
                property string myCppProperty: app.cppProperty
                listItemComponents: [
                    ListItemComponent {
                        Container {
                            id: listItemContainer
                            Label {
                                text: listItemContainer.ListItem.view.myCppProperty
                            }
                        }
                    }
                ]
            }
    
  • Problem with cursor Max for the PLSQL called by OAF Page

    All,

    We developed a custom and Self Service OFA this page page, we call PLSQL package to validate and insert the data into the database tables. It worked well, but when we deployed this form throughout the Organization (meaning more users), we reach the limits of MAX cursor for a session.

    This for allows Manager to update all their coordinated under, so in a session, a Manager may work on more than one employee so reach the limit of MAX cursor.

    Please help on how we can solve this problem, I checked all of the cursors used in the PLSQL package are closed properly.

    Ex PLSQL Call:

    String createRow = null;

    try {}

    OADBTransaction oadbtransaction = (OADBTransaction) pageContext.getApplicationModule (webBean) .getTransaction ();

    java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

    CallableStatement callablestatement = oadbtransaction.createCallableStatement ("start: 1: = xxx_hr_multiple_rates_pkg.is_create_job_row (pc_job_name = >: 2);") end; ", 1);

    callablestatement.setString (2, primaryJob.getText (pageContext));

    callablestatement.registerOutParameter(1,Types.VARCHAR);

    CallableStatement.Execute ();

    createRow = callablestatement.getString (1);

    String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

    System.out.println("CreateRow:"+CreateRow);

    CallableStatement.Close ();

    }

    catch (Exception e) {}

    e.printStackTrace ();

    pageContext.writeDiagnostics (this, try (), 1);

    }

    Thank you

    A

    Ankit,

    Please attach your PL/SQL code, so that we can have a look that the issue could be in that.

    In addition,

    Why do you call the code inside this test below? What is the link?

    String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

    Why do you need the code below? Delete this.

    java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

    Move the callablestatement.close ();  outside of try catch.

    See the link, if you need some examples below:

    Advice from the Oracle Johny: OAF: sample code to call the function PL/SQL of OA Framework

    See you soon

    AJ

  • How to list the columns for a view

    Dear experts

    I know how to list the columns in a table. This easy by querying the data USER_TAB_COLUMNS dictionary.

    But my problem is how to issue a query that returns the columns for a view?

    Thanks in advance

    USER_TAB_COLUMNS stores the metadata for both views.

    Select * from user_tab_columns where table_name = 'YOUR_VIEW_NAME"of order of column_id.    -Replace with your view_name (mandatory course)

    See you soon,.

    Manik.

  • How to get the list view in iTunes 12.4.3 for Windows

    Guys, I'm LOSING MY MIND. I had to re - download iTunes (which I refused to update in eternity because I know of updated versions are generally never good), and this new Interface is making me remove my hair and cry. Not only is it completely intuitive, but it makes it incredibly difficult to navigate.

    I'm seeing all my music in classic list view, which I know he can do. When I first loaded it upward, she appeared in list view, but the time that I started clicking around, it became this heavy nightmare of the image. Every article I've read has a UI that I don't HAVE, where there is a drop-down list of some sort. Does anyone know how? I have attached a screenshot. BTW, that blue icon that you THINK would be seen list said just what is the next song. Complete waste of space. Jesus, just put it in a status bar, or scroll across the top.

    FYI: the only changes that I made in the preferences has been disable anything itunes store or apple related radio because literally ALL itunes became ads.

    How can I view my mode music list in iTunes 12.4?

    In the drop-down list, select music. Once in the music, in the sidebar, select the songs and you should be intraditional list view.

  • View the calls for papers

    I'm content Chair EMP/BI for the Kscope16 Conference in Chicago. I would like to publish a call for contributions in the concerned areas.

    It of nothing that specifically prohibits this as far as I can see in the rules, FAQ or rules of conduct documents. The moderators have no problem with that? I don't really want to have my deleted messages simultaneously in eight areas and become a topic of conversation in the mod space...

    I do not think that a post from me on OTN involves any kind of support of the Oracle, but for what is interesting (and for those who don't know) Kscope is a 100% Oracle conference that enjoys the support of several "branches" of Oracle, OTN no less.

    I post here in order to achieve the OTN community managers (moniquevdb-Oracle, Laura Ramsey-Oracle and so on) for an 'official' answer and not to interview all the members, and very respectfully, I ask that someone don't not corresponding to the old description that wants to offer an opinion in a separate discussion. I'm sure that won't work.

    Thanks for your time.

    Product areas would not be the right place for this, but we can probably find a reasonable way to publish a call for contributions in a general area. I added you as a friend if you can me message directly. In the meantime I'll connect with Hocinebelatreche-Oracle and Oracle-valeriesimpson to make a recommendation.

  • Get the title or the content of the an element selected in the list view?

    Hello guys, I made a list view and I need to get the content of the selected item (item Ontriggerd)

    onTriggered: {}
    lable. Text =?
    navigationPane.push (bPage);
    }

    Thank you

    dataModel.data (row) returns a QVariant. To call ".someProperty", you will need to know the type of the object (int, string, etc.) and call the appropriate function (toInt, toString, etc.). For example, if your QVariant has elements of the string:

    lable. Text = dataModel.data (row) m:System.NET.SocketAddress.ToString ();

    An example aside, if she has a StandardListItem object:

    Label.Text = dataModel.data (row) .title ();

  • Just got yet another call for "Windows Service Station"

    Just got yet another call for "Windows service station', saying: I was hacked and my computer sends windows warning messages and if I didn't follow his instructions all my data would be deleted... An Indian-sounding guy named Sam... I played along and got a phone number, saying: I would like to remind him he said 0808 1890111 which is a UK addiction hotline...

    I played along 'Sam' gave me an extremely long code to type in something on the windows event viewer... I know it's a scam and we have these calls often 3 times a week for a few years now. I play at the same time or am quite rude and tell them to be ashamed of themselves, depending on my mood... I really wish that they would go, but I can't this blocks 'any number' because it is off the coast.
    Any suggestions on how to remove our number and the name of their list (I asked the scammers do, but they don't notice).

    Certainly a SCAM, you have made the right choice. Never to give them information and never leave access to your PC.

    It is difficult, if not impossible to remove your number from a list of scam once its on it. And it's hard to know how they got it in the first place. It could be a list simple phone book. Recording with things like Telephone Preference Service (United Kingdom) and asking to be made "Red" (BT - UK) can make it harder for them to get a number in the first place, but once they have it probably wont help. It can stop any other do however.

    There are devices like Call Blocker, which can be programmed for their calls not ring your line, but it depends on what number they release when they call. If their number is "held" and then some providers have a service to stop calls "deductions number' to ring your line. ACR service (BT - Uk).

    PS - the links above are a few examples of our services/devices to the United Kingdom for more information.

  • Web App search results to display the TASK parallel library instead of the list view

    Is it possible to get the search results Web App to view a presentation BPD instead of the standard list view?

    If it is possible the call would go on the form or on the page of results? (currently, use the same results page for several web applications.

    Thank you!

    Not quite sure what your after.

    You can send the results of research to a custom page, I think you did that? This page can have its own model.

    The module itself for the search results:

    {module_webappsresults, bkp, resultsPerPage, hideEmptyMessage, rowLength, sort}

    They are key elements where bkp being true means that search results will use the backup of the web application on the main list.

    If you apply the rule of custom template by adding a space and a model = "PATHTOFILE", you can specify the search results to use a custom template.

    http://helpx.Adobe.com/business-catalyst/partner/using-custom-templates-modules.html

    None of this is what your after?

  • Why isn't list view &gt; arrange by &gt; date modified, accurate?

    am new on el capitan and I noticed that the list view > arrange by > update is not correct.

    I modified just a folder on my hard drive by adding new things, but it's showing a date of last modified August 6, No 11.

    what constitutes 'Edit' a folder? I'm doing something wrong?

    Thank you for advice or suggestions.

    Abstractman23 wrote:

    I just modified a folder on my hard drive with new things...

    What does it mean exactly 'stuff' above means?

    This means that you have added new files directly under the folder (and not a subfolder level)?  That would be a change.

  • Cannot modify 'Recently added' to the title of the library to the list view.

    I am now using iTunes v12.4.0.119

    I chose the "recently added" to the title of the library and it seems stuck on the display of the album, I can't switch to the display of the list no matter what I do. I appreciate looking at album art, but I just can't stand the inefficiency of having all that unused space. I largely prefer a list view. I can not change anything on this playlist, less first how it is displayed.

    If I can't get it to display the list, I'll have to remove it. It is so shocking when all other points of view are set to list view and big boom-* dead space and visual clutter to album art page.

    Don't let me use a feature of good full advantage? No problem, I don't use it at all.

    Good day Starry001

    I hope this helps. Select 'Recently added' playlist on your sidebar, now in the menu bar go to "Display" and click on "View As"-> "Songs." Your playlist should now be displayed as a list of items. You can always switch between different views for each of your playlists.

  • BlackBerry Q10 how do I change BBM Contacts list view to "list"?

    My friend used BB Q10, she can't find any option to change BBM Contacts list view to 'list '. Can anyone help? Thank you.

    When you are in the list of BBM contacts, further down from the top, you can see "Settings" in the upper right. Touch it and then scroll down to "Contact Layout".

    Here you can choose between 'Grid' or 'list '. Choose 'list '.

    If please post if it works for you or not. Thank you.

  • How to create a circular list view?

    Hello

    I want to create a circular list view. I have 3 items in my list view. When I scroll the list horizontally I will show the 2nd and 3rd (from left to right Transition).  The third question, I need to show 1 point with the same effect of transition (from left to right). How can I achieve this. Please give any idea in this regard.

    Kind regards

    Naresh Kodumuri.

    The image will take a while to be approved in the future add a description to the sides of the picture if you want a quick answer.

    The risk once again said that a sample is not good enough for you and you want someone to write it for you, a good starting point for the circular controls is here...

    http://developer.BlackBerry.com/native/documentation/Cascades/dev/integrating_cpp_qml/custom_control...

  • How to get a total list of the call (call log list) of my application log?

    Please help me,

    t need to print all the call log as calls of missed calls and dailed recived calls means far daily previous lodlist, which aer available in phone call list so far

    http://supportforums.BlackBerry.com/T5/Java-development/log-phone-calls/Ta-p/444769

    Thanks to this, I can get currentday details only, I need daily list

    Thank you

    Code from the link you gave looks like he should get all connected normal calls going back as far as possible.

    Of course you can also get the FOLDER_MISSED_CALLS, but if you get only calls for one day then I wonder if there is a setting of bb to erase these data dialy.

Maybe you are looking for