How to extend MobileIconItemRenderer to display multiple lines of text?

Hi,
I am using Flex hero which has the added Mobile APIs.
Has anyone been able to extend the MobileIconItemRenderer to display multiple lines of text.
The current version of the MobileIconItemRenderer only displays 4 things: an image on the left, a label on the top to the right of the image , a message below the lable, which could be a sentence that can take multiple lines and an icon on the right.
So I would like to replace the messageField content with multiple single lines , one after the other.
Has anyone does this?
Otherwise, i suppose I would have to implement my own ItemRenderer if I want to customize the location of the components inside the item?
thank you

Hi,
I am using Flex hero which has the added Mobile APIs.
Has anyone been able to extend the MobileIconItemRenderer to display multiple lines of text.
The current version of the MobileIconItemRenderer only displays 4 things: an image on the left, a label on the top to the right of the image , a message below the lable, which could be a sentence that can take multiple lines and an icon on the right.
So I would like to replace the messageField content with multiple single lines , one after the other.
Has anyone does this?
Otherwise, i suppose I would have to implement my own ItemRenderer if I want to customize the location of the components inside the item?
thank you

Similar Messages

  • How to display multiple lines of texts in a single rows in ALV

    Hi,
    I have a unique requirement in which i have to display multiple lines if texts for a single rows in ALV Grid. Right now in my output it is coming in single line which is not visible fully because that text is more than 255 character. So i want to display the test by splitting into multiple lines and show it on output. Please suggest some solution for this if this is possible in ALV.
    Thanks,
    Raghav

    Hi Raghavendra,
    Its not possible to display multiple line in one row of an alv, but i think you can acheive it by splitting the whole text into multiple sub-text.
    For example, if your requirement is as below:
    Field #1          Field #2
    1                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(200 characters)
    2                    yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy(220 character)
    then you can break Field#2 value into say 50 character and then populate the internal table with repetative entries of Field#1 and the finally sort it by Field#1 value... as a result of which you output will be somewhat as below:
    Field#1          Field#2
    1                   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    2                   yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyy           
    Hope it will help you in meeting your requirement.
    Regards,
    Shradha

  • How to create a view to display Multiple lines of Text using ABAP WebDynpro

    Hi,
    I need to create a static view page in ABAP WebDynpro that displays Static text data in multiple paragraphs. I tried to use textview, formatted text, text edit controls by binding the textcontrol to a text object that is created in so10, but the output I am getting is only one line and the character count is limited to 60 to 65 characters.
    I would like to know which control needs to be used in ABAP Webdynpro to get multiple lines displayed with text formatting like Paragraph, Indenting and Size.....
    Thanks for your time!
    Madhavi.

    Find the sample codes:
      data sapscript_lines     type tlinetab.
      data sapscript_lines1     type tlinetab.
      data sapscript_tline     type tline.
      data sapscript_head      type thead.
      data text                type string.
      data formatted_text type ref to cl_wd_formatted_text.
      call function 'DOCU_GET'
        EXPORTING
          id                = 'TX'
          langu             = 'D' "Germany language
          object            = 'WDR_TEST_HELP_EXP1'
        IMPORTING
          head              = sapscript_head
        TABLES
          line              = sapscript_lines
        EXCEPTIONS
          no_docu_on_screen = 1
          no_docu_self_def  = 2
          no_docu_temp      = 3
          ret_code          = 4
          others            = 5.
      if sy-subrc <> 0.
        text = space.
      endif.
      formatted_text = cl_wd_formatted_text=>create_from_sapscript(
        sapscript_head  = sapscript_head
        sapscript_lines = sapscript_lines
      " set it into the context
      if Not ( formatted_text is initial ).
        wd_context->set_attribute(
        name  = 'FORMATTED'
        value = formatted_text->m_xml_text ).
      endif.
    clear sapscript_head.
    clear sapscript_lines.
    *Get the text created by SO10
    CALL FUNCTION 'READ_TEXT_INLINE'
      EXPORTING
        ID                    = 'ST'
        INLINE_COUNT          = 1
        LANGUAGE              = 'E' "English language
        NAME                  = '85XX_FOOTER'
        OBJECT                = 'TEXT'
      LOCAL_CAT             = ' '
    IMPORTING
       HEADER                = sapscript_head
      TABLES
        INLINES               = sapscript_lines1
        LINES                 = sapscript_lines
    EXCEPTIONS
      ID                    = 1
      LANGUAGE              = 2
      NAME                  = 3
      NOT_FOUND             = 4
      OBJECT                = 5
      REFERENCE_CHECK       = 6
      OTHERS                = 7
      formatted_text = cl_wd_formatted_text=>create_from_sapscript(
        sapscript_head  = sapscript_head
        sapscript_lines = sapscript_lines
      " set it into the context
      if Not ( formatted_text is initial ).
        wd_context->set_attribute(
        name  = 'FORMATTED1'
        value = formatted_text->m_xml_text ).
      endif.

  • How to display multiple lines in a text box defined in  steploop.

    Hi,
    I have a requirement to display data ( which is dynamic in nature. I determine data type,length etc dynamically) in a table format. I am using step loop for the same. I am facing a problem. Some field can be as long as 256 char long. Is there  any way to display multiple lines in text box defined in a step loop so that I can display the complete string as one entity.
    I can't use custom control as custom control can't be defined in a step loop or table controlI would really appreciate your help on this.
    Regards,
    Sanjeev

    Hello Sanjeev
    Perhaps it is possible to use a <b>mixed strategy</b> consisting of a classical table control (or, even better, an ALV grid list) where you display the first 250 character of the data and next to the table control you place a simple textedit control. When the user selects one of the text fragments in the table control the entire text will be displayed in the textedit control.
    Regards
      Uwe

  • Crystal report -How to display multiple lines in line chart?

    Hi,
    M struggling to display multiple lines in line chart. All the values m fetching it from database into data table in below format & data type
    Category(String).....year(Int).....graph_values(Int).....table_value(String)
    Test.........................2006.......... -100............................(100)
    Avg..........................2006..........20................................20
    Median......................2006...........5................................5
    Test..........................2007...........500.............................500
    Avg...........................2007............90..............................90
    Median.......................2007............45..............................45
    M using cross tab to display data and chart to plot line. Following fields I used in Cross tab Expert & Chart expert
    Cross tab expert-
    Rows u2013 category
    Columns u2013 year
    Summarized fields u2013 Min of table_value
    In Chart Expert u2013
    On Change of - Year
    Show values - graph values
    In cross tab m able to see the data properly but not in graph.I have three categories. Hence it should plot three lines in line chart but m able to see only one line for test category.
    FYI u2013 using VS 2008 and crystal report assembly version 10.5
    Urgent. Please reply soon.
    Thanks
    ThakurS

    I got the solution.
    In Chart Expert - I should use
    On Change of -- Year, Category
    Show values -- graph values
    Thanks,
    ThakurS

  • How to render multiple lines of text?

    Hi,
    I have a string variable in a backing bean,which holds multiple lines of text with newline character as the seperator.
    I have to display it in my jspx page.
    Which component is suggestable?
    Thanks,
    Lokesh.

    Hi Lokesh,
    Try the <tr:outputDocument/> component, it does just that, splitting each lines as paragraph elements.
    Regards,
    ~ Simon
    Edited by: Simon Lessard on Jan 28, 2009 1:44 PM

  • How to outline multiple lines of text

    how to I outline multiple lines of text to create a filled outline around a group of text like this:

    Bdog,
    You may (you have done some of it already):
    1) Create the Type and Type>Create Outlines;
    2) With the Group selected in the Appearance palette, in the flyout Add New Stroke and set the Stroke Weight and colour as desired, then drag the Stroke below the Contents;
    3) Object>Expand Appearance;
    4) Lock the original group with the letter shapes and Expand;
    5) Pathfinder>Unite, then lock the bottommost path and delete the rest which formed the holes;
    6) Unlock the original group with the letter shapes.
    You may also wish to simplify the outline.
    And what Kurt said.

  • How can I change or reduce the line spacing to single in a "multiple lines of text" column in a list?

    We keep many logs in a simple list format. One of the columns requires a description using the "multiple lines of text" default column. Sometimes the person making the entry needs to complete about 20-30 lines of text. Users are requesting we reduce
    the amount of space advanced between lines to save space and be more concise. Is there a way to reduce the line spacing for the column entries to single spacing without code?
    Maree N Percival

    We determined that the site column settings were incorrect for allowing single spacing, we changed the site column setting from "Enhanced rich text (Rich text with pictures, tables, and hyperlinks)" to  "Rich text (Bold, italics, text alignment, hyperlinks)"
    and it is now keeping the text in single spaced lines.
    <label for="onetidRichText">Specify the type of text to allow:</label> 
    <input id="onetidRichTextPlain" name="RichText" title="Plain text" type="radio" value="PLAIN" />
    <label for="onetidRichTextPlain">Plain text   </label>
    <input id="onetidRichTextCompatible" name="RichText" title="Rich text (Bold, italics, text alignment, hyperlinks)" type="radio" value="COMPATIBLE" />
    <label for="onetidRichTextCompatible">Rich text (Bold, italics, text alignment, hyperlinks)</label>
    <input id="onetidRichTextFullHtml" name="RichText" title="Enhanced rich text (Rich text with pictures, tables, and hyperlinks)" type="radio" value="FullHtml" />
    <label for="onetidRichTextFullHtml">Enhanced rich text (Rich text with pictures, tables, and hyperlinks)</label>
    Maree N Percival

  • Table Cell Editor which allows to input multiple lines of text...

    Hi there
    Does anyone know how to write a table cell editor which allows users to input multiple lines of text? please provide some sample if possible...
    Thanks
    Ken

    I'm assuming you also want the renderer to display multiple lines? if so, make a class that extends JTextArea and that implements the TableCellEditor and TableCellRenderer interfaces, then set instances of this as the editor and renderer for the TableColumn in question. The implementation of most of the methods in these interfaces is trivial, often just this.setBackground() based on the table.getSelectionBackground() or table.getBackground(), a this.setText() based on the value passed in, then just a 'return this'.
    You might want to make an abstract class which implements these interfaces for you, and which delegates to a simple abstract method that you override to return the renderer/editor component.
    Note that you must use two instances of the class you make, one for the renderer and one for the editor, since it must be able to be able to render the remainder of the table's cells without interfering with the JTextArea performing the editing. (alternatively you could make two classes that extend JTextArea, each just implementing one of the interfaces, but this is more effort I think.) Also note that you must increase the table's row height to get more than one row visible.

  • Publishing a text box to be multiple lines of text in SharePoint Form Library

    Hello
    I have some text boxes on an InfoPath form which is then published to a SharePoint form library. However, when the form creates columns in the form library, some of the text boxes are being published as Single Line of Text which then cuts off some of the
    text as users can type more the 255 characters in the text box.
    My question is how can I make sure that the form publishes the field as a multiple line of text instead? Some of the boxes did this by default but there are others that did not and I am missing text on them.
    Thanks

    When you add the control to the form, choose the Multi Line of text option instead of the single line of text option, if you are unsure, when you add the control to the form, right click it and select properties, from here you can change the data type
    from single line of text to multi line of text.
    Regards
    Sergio Giusti
    http://sergioblogs.blog.co.uk/
    Whenever you see a reply and if you think is helpful, click " Vote As Helpful". And whenever you see a reply being an answer to the question of the thread, click "
    Mark As Answer".

  • Text Fields of an External Content Type come across as Multiple Line of Text

    In SharePoint 2013 I have an external content type that consists of a couple of short (nvarchar)  fields (no more that 15 characters). When I use this ECT in a custom list the fields from the ECT end up as a "Note" type instead of "Text".
    I am not sure how this happens. I have verified this by accessing the list via poweshell where I see the Type being as "Note" and also the SchemaXml showing the colName attribute as "ntext".
    The strange thing is that initially when I created the web application and built my lists this was working.
    Any ideas or pointers would be appreciated.
    Thanks

    Hi,
    Based on your description, my understanding is that When you use the ECT in a custom list the fields from the ECT end up as a "Note" type instead of "Text".
    Have you ever changed column types from "Single line of text" to "Multiple Lines of Text" in list?http://www.sharepointdiary.com/2013/09/change-column-type-in-list-using-powershell.html
    External content types are made up of fields whose types are a subset of the primitive types of .NET. For each such .NET type, a rudimentary mapping to SharePoint’s field controls exists, describing a field’s visual appearance. Fields of type string for
    instance will, on the new and edit forms, render as a single-line text field.
    Besides, check whether the following link is useful:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/0fcb5a9f-8445-4a37-9e60-ac5e9e14e8f1/sharepoint-designer-external-content-type-shows-single-line-text?forum=sharepointgeneralprevious
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • Multiple Lines of Text not showing up

    Hi,
    Recently we have observed on a particular site in SharePoint farm that whenever we are adding list field of Multiline Text.
    It is not showing up in list forms (New, Display, Edit). Test is Multiple Lines of Text field. This is happening on all the existing as well as new lists.
    I searched for the issue but couldn't find any solution.
    Please guide me on this issue. Appreciate your help.
    Thanks,
    Rahul Babar
    ASP.NET, C# 4.0, Sharepoint 2007/2010, Infopath 2007/2010 Developer http://sharepoint247.wordpress.com/

    Hi Rahul,
    Per my understanding, the Multiple Line of Text column not showing up in all the form pages in one of your site.
    I suggest you do as follows to troubleshoot this issue in your environment:
    1. Is there any update or customization applied to this site recently?
    2. Please inspect the HTLM source code of the Multiple Line of Text field in NewForm page to see if there is corresponding HTML code in the page. In my page, the HTML
    code of the Multiple Line of Text field like this:
    3. If the HTML structure exists, then it is probably a CSS issue, please check if there is custom CSS style applied to this site which would conflict with the built-in
    style of the Multiple Line of Text field.
    Thanks 
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SELECTING MULTIPLE LINES OF TEXT

    Is there a way to select multiple lines of text that are not continuous?  e.g. - a list with 10 lines - can you select lines 1, 3, 5, & 7?  I am having to add additional formatting to a Table of Contents that is already done.  I have been using the 'bullets and numbers' to format 1 line at a time but then I cannot get the new numbers to 'align right'.  I want to be able to select all the lines that need the new numbers at once to see if I can get the alingment to work correctly.  I am trying to avoid having to re-do the whole thing.  Any help would be greatly appreciated.

    In order to use an ID genereated TOC you HAVE TO BE using paragraph styles, because theat's eaht the TOC picks up.
    For each paragraph style that you pick up, in the TOC dialog you have the ability to specify both a paragraph style for formatting the entry, and a character style for formatting the number if that should be different.
    Now for the bad news. There is no mechanism whatever for changing the number format for the page number from arabic to roman other than to select it and manually replace the number, in which case selecting anything other than the numbers, one at a time, is counterproductive, or changing the number style on the page itself, which is where it should be happening, in the numbering and section options. How are readers supposed to find page ix if no page in the publication actually carries the number ix?

  • How do you change the spacing between lines of text?

    using Dreamweaver 6 how do you change the spcing between lines of text. Not seeing it as a option in the page properties menu.

    Try CSS line-height property.
    Kenneth Kawamoto
    [link removed by moderator]

  • Sharepoint 2010 - Multiple line of text column with Plain text type

    Hi All,
    I have list where multiple lines of text with plain type column is used. When I start entering information in multiline text box in new form, I faced following problem,
    I typed enough information so that scroll bar is visible. When I stopped typing information, scrollbar automatically scrolled up and last few lines are not visible. But when I started typing again, my cursor is automatically placed at the end text and now I
    am able to see last lines.
    This issue occurs in IE8 version and not in other versions. Can anybody help me to resolve this issue or tell me this is bug in IE8?

    Try press ctr F5 and refresh the page to load it properly, also check in browser compatibility mode
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

Maybe you are looking for