BBUI.js how to have the item id list-arrow-text to a detail screen

I use BBUI.js and on my screen, I have a text-arrow-list with the elements.

How to pass the data bb-item value to a window of details to retrieve and display more details there?
This may be really obvious, but I don't see how do and any help would be appreciated.

Excerpt from the list screen. He is firing onclick of the item in the list.
openListItem: function() {}
var value = this.getAttribute('data-bb-value');
bb.pushScreen ("detail.html" + "?") ID = "(+ value, 'detail');"
}

It's the charge of the detail screen where the Iwoudl like access id
detailScreen = {}
load: {function (element)}
How do I access the query string of the url in the pushScreen or the id of the list?
}

Please let me know if my question is not clear enough. Thank you.

I don't think that we have added the ability to pass parameters through pushScreen().

You'll need follow the overall status in your own public variable/object.  Now click the element, you will need to save the value in an object / a global variable.

There is an bb.onscreenready event which you can subscribe to which fires before the new screen is treated by the Toolbox... It will pass the part of the screen you can handle until the style is applied.

There are details in the Readme that give more information on how this works... Just do a search on the page of "onscreenready".

Tags: BlackBerry Developers

Similar Questions

  • How to choose the item value list based on another value of list item

    Hello friends,
    I have two list items named xxx and yyy... OK, my problem is I want to choose a value of yyy list item based on the value of article xxx...

    Example: I select 'Computer' in xxx... Based on this I want to choose the item values in yyy as a monitor, keyboard, mouse, etc... This must be done at run time. How can I do this... Give me a few examples of code [pls tell me trigger appropriate to place this encodings]
    Thanks in advance,
    Battistelli

    Very simple to use the LOV and query of the lov which is attached to the YYY field, use the query as below...

    SELECT columns
    FROM table
    WHERE column_name = :XXX_FIELD
    

    Use the ENTER OF LIST Yes property for the YYY field.

    -Clément

  • How to enumerate the items in list

    Hello

    I have two lists, one is filled with the list of the IPs of DB by httprequest and another is empty and accept drag and drop for the first list.

    Now, I would like to list IPs all dropped in the second list.

    Can anyone advice me how to do?

    Thnx

    Thank you for the help, but I found the solution:

    var objTest:Object = ips.dataProvider;

    for (var strTest:String in objTest)
    {
    mx.controls.Alert.show (objTest [strTest] .ip);
    }

  • How to lock the items in a document?

    How to lock the items in a document?, I've seen a lot of tips on how to know if the object is locked, but I find no advice as lock.

    Hello

    This can be answered very quickly:

    app.activeDocument.pageItems [0] .locked = true; or vice versa: locked = false;

    Have fun

  • How to restore the item recent tabs to favorites tree? I accidentally deleted.

    How to restore the item recent Tags to favorites tree? I accidentally deleted.

    See:

    Or create a new bookmark:

    Name: Recent Tags
    Location: place:type=6&sort=14&maxResults=10
    

    Close and restart Firefox.

  • How to have the sidebar with thumbnails by default in the application preview? Whenever I open a PDF file, there is no sidebar.

    How to have the sidebar with thumbnails by default in the application preview?

    I'm on OSX El Capitan 10.11.3 on iMac, and whenever I open a PDF file, there is no sidebar. I have to every time click on the Sidebar icon, then select the thumbnails. I would like to be on by default, but cannot find the option or how to edit the plist file...

    If the thumbnails is checked in the menu 'View' preview, it should always open a PDF file with the open sidebar. Unless of course, it's a single page PDF.

  • Hello, I ' have download Ligtroom and photoshop cc, I ask in the 'English' version, but I l ' have received in English, how to have the English version, thanks for your response, good day.

    Hello, I want the English version of photoshop and ligtroom, but I l ' have received in English, how to have the version English, thank you very much for your answer, good day.

    Please follow change in version; French: English

    (Double Post)

  • My pages to scroll. I have the items pinned to the top left, that causes the problem?

    My pages to scroll. I have the items pinned to the top left, that causes the problem?

    I thought about it. I had to UN-pin of each element, let them float. Thanks for your reply.

  • How to control the number of lines of text below the image in the slideshow module?

    Lightroom 3.3

    How to control the number of lines of text below the image in the slideshow module?  I have an image with 36 words in the caption field which exports like two lines GOOD.!  I have another image with 57 words in the field of legend who runs the page and shows only a VERY BAD line.  With 57 words I can't do the single-line text box small enough to keep the text does not spread out of the page.

    Ideas?

    On the Mac platform and I expect similar under Windows, just hit enter or return key will not help. Instead, you will have to hit the keys Ctrl + Enter or Ctrl + return. This forces a new line. Windows may use a different modifier key. The screenshot below shows that it is possible. Unfortunately, you need to add the text via the caption or Description field in the library module.

  • How to display the drop-down list box in MS excel by using labview report generation toolkit? pleasepost code block diagram?

    How to display the drop-down list box in MS excel by using labview report generation toolkit? Please post the block diagram of the code so that I can able to generate from the drop-down list box in excel with the menu drop-down...

    Like this. (edition, use the reference forms instead of the reference to the worksheet)

    Ben64

  • How to customize the expiration of session WARNING text messages?

    Jdev 11.1.1.4 ALICE BC & ADF Faces

    Requirement: How to customize the expiration of session WARNING text messages?

    I am able to assign the expiry warning time and session time-out period
    <context-param>     
    <param-name>oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_TIMEOUT</param-name>     
    <param-value>300</param-value> 
    </context-param>
    
    <session-config>
        <session-timeout>6</session-timeout>
      </session-config> 
    I want to show a messge like
    ' your session will expire in XX minutes, do you want to continue? "
    Any help will be appreciated.

    ~ Abhijit

    These are other resource strings:

    ...
        {"af_document.PRE_SESSION_TIMEOUT_MSG", "This page will expire unless a response is received within {0} minutes. Click OK to prevent expiration."},
        {"af_document.PRE_SESSION_TIMEOUT_MSG_SECOND", "This page will expire unless a response is received within {0} seconds. Click OK to prevent expiration."},
        {"af_document.PRE_SESSION_TIMEOUT_CONFIRM_TITLE", "Expiration Warning"},
    ...
    

    Timo

  • my selection panel collapses with each change or adjustment - even though I have the item selected in the code - how do I keep this from happening?

    I first choose the relevant source in the code, and open it in the area of the selector Panel of CSS designer.  But once I try to make changes the selection panel collapses and turns off after the first change.  So, I have to select the source in the Sources pane again, reselect in the Panel of selectors and making another change. And so on...  What I am doing wrong?

    Mine doesn't show anything in the CSS designer panel when I make a selection in Code Vew. It will appear only the css defined for a given element, if I select this element in Design view first. If I navigate using the Windows Sources and selectors sub in the Panel CSS Designer itself, it works the same in both. I almost never use it but it does not have what you have explained in my version of CBWMS, so I would say that you have a slight corruption in the program.

    That is, does make a difference if you have the Live View running or not?

    You might try to clear the configuration cache/program staff record: removing a corrupt cache file

    Or restore preferences if the cache does not do the trick: restore preferences | Dreamweaver CS4, CS5, CS6, CS5.5http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html

  • How to change the items in a drop-down list box that is part of an array of clusters

    Hello

    In the attached vi, I have an array of clusters and each cluster contains two drop-down list boxes. How can I edit the items in the drop-down list box 1 for all elements in the array? (All elements of list box 1 has the same elements.)

    By way of illustration, I have also included the case of trivila, for example, edit the items in a separate drop-down list box that is is not part of an array of clusters (combo box 3). Please notify. Thank you.

    Peter

    Right click on the drop-down list box and select Create-> Node-> String() property. Place it on the block diagram. Change to write (right click) and then feed him an array of strings.

  • How to create the trigger WHEN-LIST-CHANGED to the text at the level of the item element

    Hi all
    I have a requirement that is to say that I developed on the form that contains an emp (empno, sal, job) details in the field of the form.job table (text element) contains lov. My requirement is when I select values in the lov it must create a new record in this tabular form. I did ' t get trigger WHEN-LIST-CHANGED at the level of the element for the work of i.e text point.

    I tried this requirement by making the point of work as working fine.i of an item.it list used NEXT-ITEM KEY also to make the this.but is not our business requirements.

    When lov changes he needs to create a new line.

    How we do that. Can someone give me an idea please

    Thank you

    Hello
    In the text element, you can use trigger KEY-LISTVAL and try to use the code as...

    LIST_VALUES;
    IF :FORM.ITEM_NAME IS NOT NULL THEN
      CREATE_RECORD;
    END IF;
    

    When list change trigger only for the LIST_ITEMS and fires when you try to change the list_item

    -Clément

  • How to have the plugins of the language of the parameters to the language of the system's default system locale?

    I have an English Windows system with English as the language of the system. All of my software, including Firefox are in English. However, I have the settings the Russian value default system locale. This has no effect on the UI program, but in Firefox, it changes the language for all plugins. How can I stop this? I just want everything in English. I found everything about this topic: config.

    Oh, sorry, it seems that the problem is due to the extension of pencil. Disable all spent in English. He just happened to be one of the first I ever installed.

    I'll go the penalty instead of its developers. Thank you for your time.

Maybe you are looking for

  • Speed in my Podcasts

    Thanks to the new format on my podcasts, I can't find the speed controls. They are not where they were before and seem on the contrary were replaced by the second symbols 15 forwards or backwards. Any ideas how I can access?

  • HP Scanjet 4300C compatibility with Windows 7

    I did an upgrade from Windows XP to Windows 7 and my scanner HP Scanjet 4300C seems to be properly installed in Windows 7, but nothing happens when I try to scan. In the Panel, the Scanner seems to work, but when I try to add a scanning profile I get

  • I have a problem in installing Service Pack 3 on my Dell Inspiron 510 m laptop running on Windows Xp home edition. Help, please!

    During the installation of Service Pack 3 on my laptop Windows Xp Home edition, I get a message 'Insert CD - Microsoft Office Xp' Professional with Front Page.  I don't have all the CDs of origin provided by Dell but that you can't find CD with a nam

  • Answer question 6500 wireless fax

    I was just off a cannon MFP HP 6500, instructions aren't really good! My question is that the HP can be set to auto-answer, which is a pain when you also have an answering machine connected to the line, so I turned off auto-answer, I just used the la

  • DVD plays jerky.

    I have a Dell Inspiron 1525 under XP Professional SP3. Recently, I tried to copy a DVD of the integral TSST CD/DVD RW +. The drive apparently had a lot of mistakes on this issue and I was unable to complete the copy. During the attempt, the player so