NavigationPane - Action of the elements in a central list?

I'm new to NDK/stunts/C++, I looked through the samples and documentation but have not found what I want to do.

Our application consists of several "pages" / data entry screens. I would use the NavigationPane method and have an easy way for employees to access a specific page. For example, tapping the button list page, then the full menu on the side blades in view, they choose the page.

I want to do is to have a file that contains all the elements of my action so that each page pulls right away for details, or even the ActionItem set bar. Is it still possible? Any suggestions on where to start?

Hope I did it is a little light...

Hello

I was wondering if you had solved your problem or were still in need of support.

Graham

Tags: BlackBerry Developers

Similar Questions

  • Dynamic action - compare the elements in Date - Show Alert

    This is my first attempt to create a dynamic Action. I am creating a dynamic Action that displays an alert if a user enters a date in an article in date picker (P1_DATE1), which is less then another date in a different element (P1_DATE2).

    Event = change
    Select Type = item (s)
    product (s) = P1_DATE1
    Condition = less than
    Value = <? >

    If the condition is true, it must trigger an action type 'alert '. The alert text should read something like "Date1 precedes Date2.

    I'm not sure what syntax to use in the value element. It seems not that I element values in the element of reference value.


    How can I create a dynamic Action that will assess if P1_DATE1 < P1_DATE2 when P1_DATE1 is changed and show a warning if this is true?

    Kind regards
    Todd

    Change the status of "javascript expression", and then assign the expression $v ('P1_DATE1')<$v('P1_DATE2'). then="" add="" a="" true="" action="" in="" which="" you="" do="" the="">

  • Where is stored the elements of location bar list?

    When the URL by typing in the location bar a menu item drop-down list is displayed.

    Is there somewhere in firefox where the list of items is stored?
    If so, is that in a format I can go through and see each item?

    Thank you

    That data is stored in the places.sqlite file in the profile folder. A program or SQLIte manager add-on allows to query and view this data.

  • Difficulty to remove the element of ArrayDataModel in DeleteActionItem

    Hello

    I have a ListView that is filled with an ArrayDataModel. When I add data to the ArrayDataModel, it works very well. But when I want to delete a data model element in a DeleteAction I get the following error:

    asset:///Main.qml:112: ReferenceError: Can't find variable: theDataModel
    

    Here is my code:

    import bb.cascades 1.2
    import bb.cascades.pickers 1.0
    import bb.data 1.0
    
    import myApplicationData 1.0
    
    NavigationPane {
        id: navigationPane
    
        onCreationCompleted: Qt.app = app
    
        Page {
    
            content: Container {
    
                ListView {
                    id: listview
                    objectName: "listview"
    
                    dataModel: ArrayDataModel {
                        id: theDataModel
    
                        property bool empty: true
    
                        onItemAdded: empty = isEmpty()
                        onItemRemoved: empty = isEmpty()
                        onItemUpdated: empty = isEmpty()
                        onItemsChanged: empty = isEmpty()
                    }
    
                    // Use a ListItemComponent to determine which property in the
                    // data model is displayed for each list item
                    listItemComponents: [
                        ListItemComponent {
    
                            StandardListItem {
                                // Display the value of an item's title property
                                // in the list
    
                        id: component
    
                                title: ListItemData.name
                                description: ListItemData.path
                                imageSource: "asset:///images/icon.png"
    
                                contextActions: [
                                    // Add a set of four actions to the context menu for
                                    // a list item
                                    ActionSet {
                                        title: "Protocol"
    
                                        DeleteActionItem {
                                            onTriggered: {
                                                component.ListItem.view.dataModel.itemRemoved(component.ListItem.indexPath)
                                                theDataModel.removeAt(component.ListItem.indexPath) <---------------- Here I want to remove the data from theDataModel again but I get the error message: "asset:///Main.qml:112: ReferenceError: Can't find variable: theDataModel"
                                                app.ShowToast("Protokoll wurde gelöscht")
                                                app.ShowToastWithoutButton("Protokoll gelöscht")
                                            }
                                        }
                                    } // end of ActionSet
                                ]
    
                                textFormat: TextFormat.Auto
                                status: ""
                                imageSpaceReserved: true
    
                            }
                        }
                    ]
            } // end of Container
    
            actions: [
                ActionItem {
                    title: "Open"
                    imageSource: "asset:///icons/ic_open.png"
                    ActionBar.placement: ActionBarPlacement.OnBar
    
                    onTriggered: {
                        filePicker.open()
                    }
                }
            ]
    
            attachedObjects: [
                FilePicker {
                    id: filePicker
    
                    property string selectedFile
    
                    mode: FilePickerMode.Picker
    
                    type: FileType.Other
                    title: "Open document..."
                    viewMode: FilePickerViewMode.Default
                    sortBy: FilePickerSortFlag.Default
                    defaultType: FileType.Other
                    onFileSelected: {
    
                        selectedFile = selectedFiles[0];
    
                       *select file and fill it to data model *                    var data = {                                "name": name,                                "path": path,                            }                   theDataModel.append(data);  <-------------- here I append the data to theDataModel
                    }
                }
            ]
    
        }
    }
    

    It's the wrong way to access the data model? or how can I remove an item from this data model, when I remove it from the list?

    Try,

    component "". ListItem.view.dataModel.removeAt

  • API for open action for the listview element menu.

    Hello!

    Is there an API to open the action menu with elements of action for CustomListItem?

    A possible solution is to create a custom menu like ActionMenu standard with managers and signals defined by the user.

    Anybody know standard way?

    There is no way to open ContectMenu programmatically, but one of the solutions to use the selection of the element (with listview onTriggered slot) and ActionMenu.

  • Is there anyway to reverse the update of the Action point status to the element of the MOTHER company

    Instead of having two articles about the Meeting Minutes BP for the status of the line item and the other for the status of the Action which is quite confuse end users, is the Action the Action element anyway to reverse day point BP to the State of MA Business billing without having two articles.

    Please notify.

    Mohamed Hussein

    Hi Mohamed/Samba,

    There is a solution to remove confusion for the end user. It requires a cool little General admin config, but it works beautifully from a point of view of the end-user. It's a little complicated to describe, but I'll do my best.

    -Create a new SPD DD called, for example, ActionItemStatus. You must create a corresponding list of values in the list of DD pp, for example: pending, complete, canceled.

    -Then you create 1 again for each status value (all configured with the new "ActionItemStatus" DD, in my example here it is 3 News: ifAIStatusPending, ifAIStatusComplete, ifAIStatusCanceled)

    -You add the 3 news to the single instance BP (information on the project)

    -On the BP MM change you the former status of action point TO use the old DD for the new "ActionItemStatus" DD

    -On the BP THE remove you the former status of point of Action IN the form of HAVE it (does not need more)

    -You add the 3 news to higher forms HAVE (hidden block) and then configure to auto-pop of the single instance BP "project information".

    -Now the thing: you config have all 3 of Reverse-auto-pop line MM point "Action point rank" OF using the new conditional RAP, RAP that is as follows:

    -RAP OF "ifAIStatusPending" when superior HAVE form status = pending

    -RAP OF "ifAIStatusComplete" when superior HAVE form status = Complete

    -RAP OF "ifAIStatusCanceled" when superior HAVE form status = canceled

    - As an end user you then go to the "Project information" unique instance BP and set each of the news as follows: ifAIStatusPending = 'Pending', ifAIStatusComplete = 'Complete', ifAIStatusCanceled is "Cancel".

    -Create a new record of MM, what should happen now:

    -new record MM created

    -user adds a line item I (HAVE status is empty at this time)

    -l' user completes the form MM and "send."

    -a new record of I is created automatically by the MM section

    -l' higher State of form HAVE the folder is "pending".

    -l' user sees only the registration State (which is queued)

    -the 3 news in the hidden AI top shape block get AP with the values of the instance unique record of BP

    -Because the higher status form is = pending the "ifAIStatusPending" on the hidden block will automatically be RAP it's value to the MM line item

    -L' user responsible for completing the action item done their work, and then sets HAVE 'action' to complete and "send."

    -L' higher State of form HAVE past from "pending" to "complete."

    -Because the higher status form is = full of 'ifAIStatusComplete' on the hidden block will automatically be RAP it's value to the MM line item

    Upshot

    -l' end user sees only a single State in the superior form of AI that is automatically defined according to workflow actions/measures

    -l' end user sees only a single State on the MM line which also automatically changes the status to HAVE it (with RAP)

    As I said, there is an overload of config admin, but there is a lot of value from an end-user perspective, then sometimes worth the pain of the admin! In addition, it is difficult to describe, so if you can not follow my explanation please let me know and I'll try to clarify.

    Good luck.

    Ian

  • value of the element is not common when used in dynamic action

    I'm learning the 5 apex and I wanted to create a page that would update the fields in a record by entering the unique id of the recording using a dynamic action with plsql.

    When I click on the button update the value of the element of the text uses the previous value and not the input current. The 'works' update, but the ID values are not appropriate.

    How can I make sure that when I click on the update button, the dynamic action will get the current value of the text element and not the previous (when the page was submitted)?

    I created a quick demo or what I was testing in apex.oracle.com and always gives me the same result.

    dacoellov wrote:

    I'm learning the 5 apex and I wanted to create a page that would update the fields in a record by entering the unique id of the recording using a dynamic action with plsql.

    When I click on the button update the value of the element of the text uses the previous value and not the input current. The 'works' update, but the ID values are not appropriate.

    How can I make sure that when I click on the update button, the dynamic action will get the current value of the text element and not the previous (when the page was submitted)?

    I created a quick demo or what I was testing in apex.oracle.com and always gives me the same result.

    What dynamic action event and what types of action are involved here? Provide details, or better yet share identification information of developer comments for the apex.oracle.com workspace so that we can see the demo.

    If the dynamic action executes an SQL statement or a PL/SQL process on the server that requires page updated element values in session state, specify these items as part of dynamic action Page to submit items .

  • dynamic action sets the value of the element, but not save to DB on submit

    I'm working on a page where the value of several to show only the page elements are defined using a dynamic Action.  They are set when the user selects a value in a list of selection (and is based on the value of the selection list).  Dynamic action is triggered on a list selection change event and then runs the real action "set the value.  The selection list displays the names of sales representative.  The three fields dynamically filled are the org structure (that is, their chain management).

    For the action to set the value, I use a defined Type of SQL statement:

    Select VP, DIR, MGR

    of SALES_ORG where SSR =: P20_SSR

    In the affected elements, I have fixed Type of selection to the 'item (s)"and the value of the Item (s) for 'P20_GVP, P20_DIR, P20_MGR.

    Dynamic action works fine for the display of the page (that is, when I select a sales representative in the selection list dynamic action properly updated only display value fields three).  This page is a form in which the user submits information relating to the rep.  When the page is sent, all fields are filled in a new record of DB with the exception of three that were populated dynamically above.  These fields get the values NULL.

    When the dynamic action updates the values in the three fields is - it does not set the value of session?  Why these fields don't are not taken into account in the submit other ideas > process Page?

    I use 5 APEX with Chrome on Mac (Yosemite).

    Thanks for the note.  I didn't only display the items could not be used in this way.  I think I'll take a different approach with the design; given that the org structure is in another table that I can simply refer to that by rep when necessary rather than saving the information uploaded to the page of the form.  The reason why I have not fill the screen only the points of loading the page is because I don't know what the values should be until the user selects a sales representative in the selection list.

    I'll change the design to one of the following:

    1) change the display only items of standard text field.  NOTE: if I make the text read-only field that causes other problems when loading (I get the message "violation of protection Session state").

    OR

    2) do not include org structure in the download folder and just refer to table org Rep when necessary.

    Thank you!

    Steve

  • Can not set a value by the executed dynamic action on the page element "selection list."

    I created an agenda of the page 'list of selection' and I want to when I change a value in another element of the page set only 'screen '.

    I created a dynamic action on the page element "selection list" for this.

    These are the dynamic action attribute:

    When:

    ======

    Event: change

    Selection type: point

    Article: P29_PURCHASE_ORDER

    Condition: No strings attached

    Advanced:

    ========

    Scope of the event: static

    Identification:

    ==========

    Action: Set

    The ' Action Page when the changed value "attribute of the element of 'list of selection' = 'None', and when I run form the dynamic action run and set the value for once and do not update the value according to the change in the article"list of selection. "

    Note: when I change the previous attribute of 'Redirect and set', dynamic action run and properly value, but the value was hidden soon

    I want to value when the value of change of select list according to this change successfully.

    Please, advice me,

    Best regards

    Mustafa Ezzat

    Hello

    you set the value of the 'Page elements to submit' to P29_PURCHASE_ORDER?

    Then, the SQL statement would use the current selected value.

    This is the help text says: "specify a list separated by commas of the elements of the page that will be submitted to the server and therefore available for use in your"SQL statement"," PL/SQL Expression"or"Body of the PL/SQL function".»

    Kind regards

    Erik-jan

  • Access to the element in a dynamic PL/SQL trigger Action?

    Hello

    I have a form that is used to calculate the volume of a (large) number of tanks based on the heights of tank is entered.

    I have a PL/SQL procedure that performs the calculation: it receives the name of the tank and the height and calculates the volume (each tank may have different physical characteristics).

    I didn't create a dynamic Action by tank (I'm lazy and the number of tanks is important!). I currently have a dynamic Action that is triggered whenever one of the heights of the tank on the form changes. The PL/SQL action called the calculation for each tank. FOR EXAMPLE

    :P1_TANK1_VOL := tank.vol('TANK1', :P1_TANK1_HEIGHT);
    :P1_TANK2_VOL := tank.vol('TANK2', :P1_TANK2_HEIGHT);
    ...
    :P1_TANK50_VOL := tank.vol('TANK50', :P1_TANK50_HEIGHT);
    
    

    This works, but is to perform calculations of 50 whenever one is necessary, and can seem slow.

    Is there a way to identify the trigger for the action of PL/SQL? FOR EXAMPLE

    IF TriggeringElement = 'P1_TANK1_HEIGHT' THEN
    :P1_TANK1_VOL := tank.vol('TANK1',:P1_TANK1_HEIGHT);
    END IF;
    
    

    Any ideas?

    No PL/SQL directly. You could do a JavaScript action before your PL/SQL and write the id (which is the name of the element in the APEX), the item trigger in a hidden item, submit it to your PL/SQL action and now you know how it started.

    Kind regards

    Joni

  • Back to zero/recalculate value if the element with dynamic action

    Hi all

    What I have is a part of "total amount". When the other elements on the form are filled, these values are subtracted from the total. My problem is that when a few points to say a filled out, but then set to zero, the figure in the total does not reset. If no new figure added, are more excluded.

    For example:
    total = 10
    Value of 1 changed to 5. Total = 5.
    Value of item 2 changed to 1. Total = 4.
    Value of 1 changed to 2. Total = 2.

    I find it tricky is because the total is derived from an action of current setpoint led other points. Finally, I would like to reset or re - run the calculation for the total, without duplicating the original action of the set value. I tried to use a dynamic action "Refresh" but I don't think that work in this way. Is there another way?

    Why not save the original value to an item hidden page (or even in a global variable set before you run the JS calculation for the first time in javascript).
    During the reset, set the value of the element with the value of the hidden (or variable).

  • Action of the notification rule

    Instead of the default 'e-mail' notification, is it possible to change the world action of the rules to run a command?

    Thank you

    Rachel

    Hi Rachel

    linking of individual actions to the rules is the kind of old school. Would you consider to create an event rule that fires on alarms and performs the (centrally) activity-based?

    See you soon

    Nils

  • Point for the action Menu spacing: set an action item to appear in the menu of the action at the bottom?

    How do you define an action item to appear in the menu of the action at the bottom? As the point to delete shown here:

    https://developer.BlackBerry.com/Cascades/documentation/Getting_started/porting/mapping.html

    You would most likely want to start with https://developer.blackberry.com/cascades/reference/bb__cascades__deleteactionitem.html and discover the parent class.

    The text suggests that the title and icon appear in the standard only if you do not specify your own when you add the element, so there is hope, you can fake it.

  • Tips: APEX 5 r IR by a dynamic action after the text fields complete

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    Now if I create a button that submits page or redirects to this page my report can be updated with the values of user entered without problem, basic stuff.  If I create the settings section as a dialog box model once again that I can get the update report as this dialogue submits the page as well as the report can refresh according to closed dialog option.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    I am struggling to get this to work and I even tried to copy these settings and do them as hidden for example bind input P1_A to P1_A_Hidden by a dynamic action and have the report where clause =: P1_A_HIDDEN, but have not managed to get this working.

    It's possible?  I know its easy to simply send the page and make it work, but I want the experience to be quite uniform for the user and act as you never leave the page.

    I saw on the packages of the app in the chart example.  The bubble chart has a list selector (salary) and the table updates dynamically, it seems so that the process can occur, but I need the user to enter text and not use selection lists.

    My apologies if I missed any, but I can give you more if it helps.

    Concerning

    1972903b-5166-494e-8355-08d9d4006e96 wrote:

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    The button simply trigger a unique dynamic action of refreshment on the IR region. Session state for page elements must be processed automatically by specifying them in the property Page to submit Items of the IR region.

    Please ensure that you have updated your forum profile with a recognizable username instead of "1972903b-5166-494e-8355-08d9d4006e96": Video tutorial how to change username available

  • Dynamic action - when the 'event' and 'condition' seems to have no sense

    Step by step, I am trying to get free Javascript coding so I can rely on what natively offers the Apex. It was an interesting experience, however I have noticed certain situations sicesdonneessontdisponibles options seems to have no sense, at least to date, and you will certainly help me which can be cleared up. I tried to put one of them into words. I just created a new dynamic action that will just set the focus to an element whenever my page is loaded.

    Why my new dynamic action allows me to choose the "Page loading" event and condition "sucks"? I don't understand why this combination is available. There is probably no effect anyway, but I decided to leave the condition "without condition."

    Thanks in advance.

    Franklin.Jr wrote:

    Step by step, I am trying to get free Javascript coding so I can rely on what natively offers the Apex. It was an interesting experience, however I have noticed certain situations sicesdonneessontdisponibles options seems to have no sense, at least to date, and you will certainly help me which can be cleared up. I tried to put one of them into words. I just created a new dynamic action that will just set the focus to an element whenever my page is loaded.

    Why my new dynamic action allows me to choose the "Page loading" event and condition "sucks"? I don't understand why this combination is available. There is probably no effect anyway, but I decided to leave the condition "without condition."

    It's just that there is a basic LOV status of one size for all types of events. Most of the conditions it contains is relevant to events associated with the elements. "Page Load" + "sucks" doesn't in fact make sense, but 'P4_END_DATE' + 'is null' fact. The Condition property remains visible and active so that the option "JavaScript expression" are available, as this can be used to make any event conditional.

Maybe you are looking for

  • Where are my rules of mail under macOS Sierra?

    Hello I lost all my rules of mail after upgrade to OSX 'El Capitan' to macOS Sierra. Appears that the rule of 'Apple News' as shown in the image below. Any help appreciated. Thank you.

  • How to reverse my previous update on my MAcBook Pro Yosemite OS X10.10.5

    On 16 July 2016, I've updated my adobe flash player. After that time, I had an ads in my tool bar that the name is Megabackup continuously popup on my screen all the time. I tried to delete it, but without success. My question is how do I restore my

  • Re: I have to restart Flashcards to operate

    When I start my laptop, the maps do not work by default. I have to "restart flashcards" in Start/Toshiba utility, then they work OK. When I got the laptop, they worked properly. What happened, and how can I make them work at startup?

  • Satellite A200 - upgrade to 1 tera HARD drive

    Hi guys,.MY laptop Satellite A200-10w, I want to ask you if there is a place to install the second HARD drive or not, and then I put my 1 TB HDD (1 tera) or the motherboard does not support this? Thank you

  • HP Pavilion HPE: Ability to upgrade the video card

    Hi I have a desktop HP Pavilion HPE h8-1100 AMD Angelica with a 300w power supply. The current map graphic is a Radeon HD 6450.  I want to upgrade to the best game card that my pc will support.  Any help and options would be greatly appreciated. Than