Adding headers/lables to a selector

I was wondering if anyone had found an easy way to add header/labels to a selector.

I have a 3 column selector (hours: minutes: seconds) and I would like to add a header above/below the selector to each column.  I did initially by adding 3 labels and spacing align them above each column, but I'm not sure it's the best solution.

I prefer not to add it as the first value in the DataProviders, because those who are numbers not valid and I also chose a default value for seconds on the initial load.

Thanks for the help.

What would you like to create a UIComponent class and add the switch and position the labels in the substitution draw() method?  You can then instantiate and add this new control available to your container.

Tags: BlackBerry Developers

Similar Questions

  • line added to the custom report selector

    I made a report with some tables and I want to add the line with all the lines selector. Is that someone has an idea how to add line selector in the custom report


    Concerning

    Published by: Adi on January 20, 2010 23:21

    ADI
    Change the select list of the query of the report to add a "checkbox" as shown in the example below

    Select
    other_columns...
    apex_item.checkbox(1,'row_identifier') Row_selector
    table

    CITY

  • Adding headers to excel sheet

    Hi all

    I use one. File in CSV format for import process in FDM. I want to give a few topics to my map, which should not be a problem during the import process. Now, I do not use any kind of positions in my. File to CSV format with the exception of the names of columns and my data. Please help me :)

    Thanks in adv!

    Hi put some headings you want in your file, it should not be a problem. My sugesstion would be to make the first character of the first field a single character as a '!' which is not used as starting for other lines of data character. You can then do a check for this in the import format and skip all the lines that correspond to this criterion.

    Published by: SH on November 17, 2011 11:33

  • Add headers custom Blackberry push Message (OS 6-7)

    Hello

    Veuileez tell me how to add the custom headers in Push Blackberry Message in addition to "text/plain", the Blackberry Push Messages work perfectly, but I have to add the custom headers for some information content.

    I tried adding headers to the content class to push initiator end but unable to receive connection in object client side in the analysis (bad PushInputStream, connection conn), so please let me know how to do it.

    Thank you

    The payload is the only place where you have the control to set the data, the rest is standards-based and cannot be customized.

  • Sort values in the selector column in OBIEE 11 g

    Hello gurus,

    We migrated OBIEE 10 g to OBIEE 11 g (11.1.1.6). Have a few queries related to the column selectors:

    1. when I change the view of column Chooser in 11 g, the columns selected in a particular column selector is not visible. As a result, I am unable to change the properties of the columns. Why is it like this?

    2. is it possible to rearrange the columns in a column Chooser? I want to sort the values alphabetically. I have to add the values in the column selector, the way that I want it to appear in the menu drop-down or is there any method by which I can sort the values after adding them to the colum selector?

    Appreciate any help.

    Thank you and best regards,
    RG

    Hello Rahul,

    I encountered this problem in 11.1.1.5 version. This is the bug,

    Bug 12937182 : AFTER upgrade, the PROPERTIES of the COLUMNS do NOT WORK IN the COLUMN SELECTOR

    SIAS Oracle, this problem has been fixed in 11.1.1.6, it seems that there is always.

    Yes to the second query, it has no option to sort otherwise that manually to remove the columns.

    Kind regards
    DpKa

  • Problem in the scroll bars when the screen is not any field focus...

    Hi all

    I have a screen on which I need to display a list of items. and the list total appears at the bottom of the list. everything works fine if the lily a few number of lines. but as soon as the number of rows and Lily exceeds the length of the screen, there is the problem. I don't see the total at the bottom because I can't scroll the list. Here is the code in my class. in the class list, I use a CustomGridManager, which shows data in a table (I downloaded it). I made a few changes in the present. the code for this handler is also attached. Please tell me what changes should I make, so that the screen can be the object of a scroll. (Please go through the code)...

    SerializableAttribute public class MyClass extends {screen

    public MyClass (dataList DataList []) {}

    Super(Manager.VERTICAL_SCROLLBAR |) Manager.VERTICAL_SCROLL);

    Super();

    int noOfColumns = 2;

    int noOfRows = dataList.length;

    int [] columnWidth = {50.50};

    CustomGridManager gfmHeader = new CustomGridManager (noOfColumns, 0, columnWidth);

    Adding headers

    LabelField lblHdrCol1 = new LabelField ("Col1");

    gfmHeader.add (lblHdrCol1);

    LabelField lblHdrCol2 = new LabelField ("Col2");

    gfmHeader.add (lblHdrCol2);

    VerticalFieldManager vfmTitle = new VerticalFieldManager();

    vfmTitle.add (new LabelField ("my class"));

    vfmTitle.add (gfmHeader);

    setTitle (vfmTitle);

    Addition of body

    GFM CustomGridManager = new CustomGridManager (noOfColumns, 0, columnWidth);

    for (int i = 0; i)< noofrows;="">

    LabelField lblICol1 = new LabelField (dataList [i] .getCol1 ());

    GFM. Add (lblICol1);

    LabelField lblICol2 = new LabelField (dataList [i] .getCol2 ());

    GFM. Add (lblICol2);

    Adding a footer

    CustomGridManager gfmFooter = new CustomGridManager (noOfColumns, 0, columnWidth);

    LabelField lblFtrTotal = new LabelField ("Total");

    gfmFooter.add (lblFtrTotal);

    LabelField lblFtrValue = new LabelField ("CalculatedValue");

    gfmFooter.add (lblFtrValue);

    Add (gfmHeader);

    Add (new SeparatorField());

    Add (GFM);

    Add (new SeparatorField());

    Add (gfmFooter);

    Add (new SeparatorField());

    }

    ======================================================

    SerializableAttribute public class CustomGridManager extends Manager {}

    private int [] columnWidths;

    private int [] staticColumnWidth;

    private int columns;

    private int allRowHeight = - 1;

    /**

    * Built a new CustomGridManager with the number of columns specified.

    * Lines will be added to the need to display the fields.

    * Fields will be added to the grid in the order they are added to this Manager.

    to complete each row from left to right:

    *

    * For example, a Manager 2 column:

    *

    * [Field1] [Field2]

    * [Field3] [Field4]

    * [Sphere5]

    *

    * Column widths are equal, and the Manager will attempt to use the entire available width.

    Each line height will be equal to the height of the field higher in the same row.

    * Styles positional field are met, then the fields that are smaller than the row/column

    * they can be set to left, right, up down, or centered. They have by default at the top left.

    *

    @param columns number of columns in the grid

    @param style

    */

    public GridFieldManager (columns int, long style) {}

    Super(Manager.VERTICAL_SCROLLBAR |) Manager.VERTICAL_SCROLL);

    Super (style);

    This.colonnes = columns;

    }

    /**

    *

    @param columns columns number of columns in the grid

    @param style

    @param columnWidths width of each column in a table

    */

    public GridFieldManager (columns int, long style, int [] columnWidths) {}

    Super(Manager.VERTICAL_SCROLLBAR |) Manager.VERTICAL_SCROLL);

    Super (style);

    This.colonnes = columns;

    this.staticColumnWidth = columnWidths;

    }

    protected boolean navigationMovement (int dx, int dy, int, int time status) {}

    int focusIndex = getFieldWithFocusIndex();

    While (dy > 0) {}

    focusIndex += columns;

    {If (focusIndex > = {getFieldCount())}

    Returns false; The focus moves on this manager

    }

    else {}

    Field f = getField (focusIndex);

    If (f.isFocusable ()) {/ / only move the focus on the fields of the object of focus}

    f.setFocus ();

    -DY;

    }

    }

    }

    While (dy< 0)="">

    focusIndex = columns;

    If (focusIndex< 0)="">

    Returns false;

    }

    else {}

    Field f = getField (focusIndex);

    If (f.isFocusable ()) {}

    f.setFocus ();

    DY ++;

    }

    }

    }

    While (dx > 0) {}

    focusIndex ++;

    {If (focusIndex > = {getFieldCount())}

    Returns false;

    }

    else {}

    Field f = getField (focusIndex);

    If (f.isFocusable ()) {}

    f.setFocus ();

    -DX;

    }

    }

    }

    While (dx< 0)="">

    -focusIndex;

    If (focusIndex< 0)="">

    Returns false;

    }

    else {}

    Field f = getField (focusIndex);

    If (f.isFocusable ()) {}

    f.setFocus ();

    DX ++;

    }

    }

    }

    Returns true;

    }

    protected void sublayout (int width, int height) {}

    int y = 0;

    columnWidths = new int [columns];

    If (staticColumnWidth == null: staticColumnWidth.length)<= 0)="">

    for (int i = 0; i)< columns;="" i++)="">

    columnWidths [i] = width/columns;

    }

    } else {}

    for (int i = 0; i)< columns;="" i++)="">

    columnWidths [i] = (width * staticColumnWidth [i]) / 100;

    }

    }

    On the field [] fields = Field [new columnWidths.length];

    currentColumn int = 0;

    rowHeight = 0 int;

    for (int i = 0; i)< getfieldcount();="" i++)="">

    fields [currentColumn] = getField (i);

    layoutChild (fields [currentColumn], columnWidths [currentColumn], height-y);

    If (fields [currentColumn] .getHeight () > rowHeight) {}

    rowHeight = fields [currentColumn] .getHeight ();

    }

    currentColumn ++;

    {If (currentColumn == columnWidths.length | I == {getFieldCount () - 1)}

    int x = 0;

    If (this.allRowHeight > = 0) {}

    rowHeight = this.allRowHeight;

    }

    for (int c = 0; c)< currentcolumn;="" c++)="">

    long fieldStyle is fields [c] .getStyle ();.

    int fieldXOffset = 0;

    long fieldHalign = fieldStyle & Field.FIELD_HALIGN_MASK;

    If (fieldHalign == Field.FIELD_RIGHT) {}

    fieldXOffset = columnWidths [c] - fields [c] .getWidth ();

    }

    Else if (fieldHalign == Field.FIELD_HCENTER) {}

    fieldXOffset = (columnWidths [c] - fields [c] .getWidth ()) / 2;

    }

    int fieldYOffset = 0;

    long fieldValign = fieldStyle & Field.FIELD_VALIGN_MASK;

    If (fieldValign == Field.FIELD_BOTTOM) {}

    fieldYOffset = rowHeight - fields [c] .getHeight ();

    }

    Else if (fieldValign == Field.FIELD_VCENTER) {}

    fieldYOffset = (rowHeight-fields [c] .getHeight ()) / 2;

    }

    setPositionChild (fields [c], x + fieldXOffset, y + fieldYOffset);

    x += columnWidths [c];

    }

    currentColumn = 0;

    y += rowHeight.

    }

    If (y > = height) {}

    break;

    }

    }

    totalWidth int = 0;

    for (int i = 0; i)< columnwidths.length;="" i++)="">

    totalWidth += columnWidths [i];

    }

    setExtent (totalWidth, Math.min (y, height));

    }

    }

    Do you really want now fields is active.

    You can try adding a NullField after your Manager - a NullField is active, if it does not size.

    Other than that, you can try the substitution of navigationMovement and Manager.setVerticalScroll to go up and down the window scrolling.  I think it should work, although I never did.  You can control the scope of the first Manager to ensure that you do not have to scroll through to the end.

  • Adobe Reader (iPad) - Option to synchronize Google Drive

    I noticed that you can now synchronize the Adobe Reader app on my iPad with Dropbox. Are there any plans on adding the Google Reader option?

    In the latest version of Acrobat Reader, we have added support for the Document Selector iOS that allows you to open files of many clouds and other applications that support it.

    You can get more details here:

    Several Options in Acrobat Reader Mobile storage | Adobe Document Cloud

  • OSB: Security: Business Service: configuration of the password Digest in BS

    Hello

    I have a requirement to connect to the target WS. We pass the user name and password (password digest). The target URL is the same, but we have 7 password different and based on a logic that we need to use any one of the password and call the service.

    I can able to connect to the service by adding headers security and demand from business.

    But when you call the proxy business how do I generate the soap headers with collection of password, Nonce, Timestamp.

    This is the header that I used in BS and it works fine.

    " < soapenv:mustUnderstand wsse: Security = '1' xmlns:wsse = ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd ">

    " < wsu:Timestamp WSU: ID = 'Timestamp-13' xmlns:wsu = ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd ">

    < wsu: created > 2014-07-08T 22: 28:25.395Z < / wsu: created >

    < wsu: expires > 2014-07-08T 22: 29:25.395Z < / wsu: expires >

    < / wsu:Timestamp >

    " < wsse: UsernameToken WSU: ID = 'UsernameToken-12' xmlns:wsu = ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd ">

    user name < wsse:Username > < / wsse:Username >

    " < wsse:Password Type = ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest "> passworddigesy < / wsse:Password > .

    " < wsse:Nonce EncodingType =" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-SOAP-message-security-1.0#base64Binary "> announced < / wsse:Nonce > .

    < wsu: created > 2014-07-08T 21: 23:08.455Z < / wsu: created >

    < / wsse: UsernameToken >

    < / wsse: Security >

    Because the password is different do we need to use several business service or can use only one?

    Please provide your comments.

    Concerning

    Use GOSA username token client_policy at the service of the company. Do not substitute the csf - key in politics and set up a service account PASS-THROUGH at the service of the company.

    No need for multiple business. Let me know if this solved your problem or not.

  • Vcac rest api group

    Hello

    I try to GET to https://VRA_URL:8443/darwin/api/2.0/group but I get no answer.

    Added headers:

    1 content-Type: application/json

    2 permission: carrier < token >

    Am I missing something?

    Darwin's App Services?  I am familiar with this... but I know how to get a business group IaaS through the REST API of vRA if that is what you want.

  • FAP overlap Dinopio PDF

    Hi all

    Without a transaction, we use Dinopio to generate PDF files for from the documaker library forms (we use doCallAPI of PTEs).

    The intent is to store these PDF templates in a repository.

    The pdf is so like the "screenshot" of the form that can be seen in Documaker Studio (eventually, all fields are empty and no rule of FORM level is running).

    We have a case where we have a couple of footers conditional, placed at the same position. So, one of them will be printed at any time.

    However, the Dinopio will be the two footers printed on the PDF (no rules don't run!) and they overlap only.

    Is it possible to avoid this duplication?

    Thank you!

    Navin


    Print sample / proof of a raw form will print exactly as it is designed - with sections that overlap - because there is no way for the system to know if overlap is intentional or not. For example, sometimes people design pages where there is a background template that represents the appearance of the pre-printed paper. In this case, the sections are intentionally superimposed on top of the background to give the same appearance that would be on a printed page.

    Even if you thought it should be a way to just have the sections that overlap, added each other instead of overlap which would make the content of your page as long as the definition of the actual page. In this case, the PDF viewer would limit what you could see in the definition of the page and you missing content. This may seem acceptable when it is only a small footer, as in this case, however if you had overlapping headers? By adding headers one after another would push all the other sections to the bottom of the page and you may lose a content you want to see.

    So there really isn't anything that evidence may know that sections are not intentionally overlapped, and he does not want to change the size of your page in the final result.

  • navigation bar won't fill the entire width of the page

    Hello!

    Everything takes this page uniformly l to r except the navigation bar. If I change the width of each area of 146 to 147, it ends up being too big and the last box falls below. I tried to make 100% and makes each all width box. What I can do, so there is no space on the right? Thank you very much!

    Here is the current link on the site:

    http://kobwebsecure.com/elitedesigner/

    Have you tried adding padding 1px on the selector css below (as illustrated, second item in the list)

    UL. MenuBarHorizontal li
    {
    margin: 0;
    padding: 1px 0;
    list-style-type: none;
    do-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    Width: 146px;
    float: left;
    border: thin solid #fff;
    background-color: #333;
    }

  • Trying in vain the nested model CS4

    I created a page with a header and footer with 1 available pass header and footer fixed and most later recorded as a model after I had designed page like I wanted. I had put a Spry menu bar in the header area and the editable main content div after implementation of the model. Creating child pages from this model is is very well conducted. Then, I decided to add a secondary navigation bar on the side for a second series of pages on the site after reading DW CS4 Missing Manual (p. 755 McFarland). He gave this example as a good time to use nested templates. I created a new template (nested model) on the original model, then add a div tag in the div of the main content (the editable area only) placed a new bar from Spry menus in the div tag I added the div as compound selector, named .oneColFixCtrHdr #sidebar.

    Everything went smoothly, except one (planned, I guess) coupling. Being in an editable area, the side menu is editable as well, and wanted further changes to the sidebar of the nested model to reflect down to child pages. So, I followed McFarland and insert an editable region empty in the sidebar div to overcome this obstacle. That did not work as he claimed he would. Although changes in the sidebar now appear on the pages of the child, the main content div was more editbable in the pages of the child. I tried a creative work around trying to temporarily insert an editable region empty in the div sidebar to change the sidebar that would lead down to the pages of the child; then after making these changes, remove the editable empty that I inserted, so that the main content div would resume its editibility in the pages of the child. It worked, except a serious hitch - when changes have been made to the menu in the sidebar model nested (with the inserted editable empty), content for the main content div of the nested model is transferred to the child pages as well - lose any content already existed in the pages of the child. That won't work!

    I wonder if originally the sidebar should be put in place in the main model as a separate region of the div. of main content but, I didn't have a sidebar in the original model, which seems to complicate things.

    I also wonder if what I'm doing could not achieved by the implementation of the sidebar as an optional region in the main model instead of trying to achieve with a nested model (have not already tried optional regions, so I don't know). I'm not too deeply in the design, so I'm ready to go direction to get the best possible results, even if I have to go back a bit. I spent many hours trying to understand this point, and it baffled me. It's all part of the learning process, I guess...

    Oh, you're right. You put some of the menus in optional regions. Well, why not put javascript code at the bottom of the page also in optional areas? Then you can turn off the power when you don't need them both on when you need it.

    In this way, the javascript code to show nor cause warnings warning because it won't be there!

    About how the var at the bottom of the page code work with menu bars, don't forget that there are also linked javascript file which is the real engine behind the functioning of the menu bar. And you may also notice, especially on the pages where you have two menu bars, each variable set at the bottom of the page is unique. If I have read and understood a little better Javascript, I could be more specific, but suffice it to say that these assignments to variables at the bottom of the page file as much as say in javascript, "see this MenuBar1 up there? Do the work for me... And see MenuBar2 up there? This work, also. »

    For the brothers of the Atonement, my link is the Director of Internet Communications at Graymoor. He praised the work of an artist in New York. Then he hired me to do the job of the Spry menu bar (in all kinds of weather... so to speak). We got along well, and he decided that he would rather call all the coding to me. But we have worked very closely together... He knew what he wanted in the end, and I knew how to get there. When one of us has tried something new, we have conferred and came with the best result.

    Now, I'm writing a description of how the functions of the site (for its use and this possibility "in the case of one of getting us hit by a bus"... hopefully it never comes to that!) The interesting part of the employment relationship, is that I never met the gentleman face to face until after the site was launched, and we worked on it for 9 months.

    Ah, modern life!

    Beth

  • Problem with 2 columns.

    , I work with Dreamweaver 8 through the tutorials to create a web site with two columns.  Of course, I'm a newbie.  Below is the code in my CSS file, but my main problem is that when I added the "left margin" my selector "#content" it does not separate the column, the content is always leaning on my sample image.  Can someone identify an error in the code because I am confused.  The sample site is http://mediatracks.com/basiclayout1.html If that helps.

    Thank you in advance.

    HTML, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset {}

    margin: 0;

    padding: 0;

    border: 0;

    }

    {body

    background-color: #666666;

    color: #666666;

    fonts: 80% Verdana, Arial, Helvetica, without serif.

    margin: 0px;

    padding: 0px;

    text-align: center;

    }

    {#wrapper}

    width: 770px;

    background-color: #FFFFFF;

    margin: auto 10px;

    border: 1px solid #000000;

    text-align: left;

    }

    #banner {}

    height: 110px;

    background-image: url (.. / graphics/bmw.jpg);

    background-repeat: no-repeat;

    }

    #nav {}

    border-bottom: 1px solid #000000;

    }

    #nav ul {}

    padding: 0;

    margin: 0;

    background-color: #00FF99;

    }

    #nav ul li {}

    display: inline;

    padding: 0;

    margin: 0;

    }

    #nav ul li a {}

    do-size: 80%;

    color: #FFFFFF;

    background-color: #3333CC;

    text-decoration: none;

    Padding: 25px 0 0 25px;

    border-right: 1px solid #000000;

    text-align: center;

    Width: 9è;

    }

    #nav ul li a: hover, #nav ul li a: focus {}

    background-color: #990000;

    }

    #content p {}

    margin left: 200px;

    margin: 20px;

    }

    #content h1 {}

    color: #003366;

    padding: 0;

    margin: 20px;

    }

    #content h2 {}

    color: #003366;

    padding: 0;

    margin: 20px;

    }

    {.leftimage}

    float: left;

    margin: 20px 0 10px 0;

    border: 1px solid #000000;

    }

    {.rightimage}

    float: right;

    margin: 0 0 20px 15px;

    border: 1px solid #000000;

    Width: 150px;

    }

    {.clearit}

    display: block;

    clear: both;

    }

    #footer {}

    border-top: 1px solid #000000;

    background-color: #003366;

    color: #FFFFFF;

    }

    #footer p {}

    -font size: 70%;

    padding: 3px;

    }

    {#leftcol}

    margin-left: 10px;

    top of the margin: 20px;

    float: left;

    Width: 170px;

    height: 150px;

    background-color: #FFFF00;

    }

    You are welcome!

    and for learning, please refer to the following links:

    http://www.dynamicdrive.com/style/layouts/category/C9/

    http://www.456bereastreet.com/lab/developing_with_web_standards/csslayout/2-Col/

    Kind regards

    Vinay

  • How to see the headers added by the service of the company in OSB

    Hello

    I configured the custom policy and the service account for the business service. This is the message digest of user name and password.

    I called the Sales Department of the proxy service. I do not see the headers are filled in the $outbound or the headers when you test the test console service.

    Do we need to explicitly add soap headers in the message flow or will business service can take care of him also how can we see the headers?

    Concerning

    SOAP headers will be updated in the service of business. No need to do anything in the pipeline. If you want to see the headers put a monitor tcp between the commercial service and the web service (called of business).

  • Variables added to the URLS in the headers

    What is the purpose of numeric variables added to links of files CSS in the header HTML Muse are used?

    Muse Variable in CSS.JPG

    The purpose of these query strings described here - http://forums.adobe.com/thread/996154.

    Thank you

    Vinayak

Maybe you are looking for