Control wrap (linefeed) in viewer

I have found that embedding a CHR(10) into a text field in Discoverer Plus makes a very nicely formatted column with word wrap turned on. This is very useful if you are displaying an address, list of phone #'s, etc.
Problem: it works fine in Plus, but is totally ignored in Viewer. In viewer it just runs on and wraps whenever the column width is exhausted. Is there any way to force a new line in a Viewer wrapped cell?
Example in Plus
123 Main Street
Costa Mesa, CA 92111
USA
Example in Viewer
123 Main Street Costa
Mesa, CA 92111 USA

Hi,
Viewer shows the data as html in the page and so all white space is ignored.
You could look at changing the viewer templates by changing the .uit files in the discoverer/templates directory on the server to change the html style (style="white-space:pre") for the cells changing the white space attribute so that white space is displayed on the page.
You can search this site for viewer config and viewer templates for details on how to change the viewer setup, but this is not a supported change and you would have to return the template files to their original state to be supported.
Rod West

Similar Messages

  • How can I turn off word wrap in the View Source output?

    I'm trying to extract HTML from Word and one way to do that is to save the Word file as a .htm file and then View Source in a browser and copy that. But the words are wrapped in the View Source file. I want each paragraph to be all on one line. Is there a setting for the View Source feature that will turn off word wrap?
    Once I have that done and copied into a plain text editor, I will use Search>Replace to get rid of all the stuff Word puts there and just end up with the simple paragraph tags at the end of each paragraph, all on one line.

    You can disable wrapping and syntax highlighting in the View menu in the Edit > View Source window.

  • N8 as remote control and life remote viewer for wi...

    I am going to buy wifi camera. I would like to use my N8 as remote control and life remote viewer.
    Is there any software for N8 Belle ?

    You need to contact the camera manufacturer and ask them if they are releasing an app for the N8 for that purpose. 

  • Text wrapping in code view

    In Preferences, I have checked the option Automatic wrapping
    after column
    76. However some rows can't wrap at the specified column
    because the tags in
    that rows can't be destributed in two lines. So, DW (8 and
    now CS3)
    hard-breake them at the end of the window, resulting in a new
    line without
    line number (I have Line numbers checked under View > Code
    view options
    menu).
    Is there a setting for not breaking those tags at the end of
    the window?
    (I'm only speaking about the long tags and not the plain
    text, that I srtill
    want it wrapped at column 76 so, I can't uncheck the Option
    Word wrap under
    View > Code view options menu, because it overrides the
    wrapping after
    column 76 option of the Preferences, making not only the long
    tags exceeding
    window's right edge, but plain text, too).
    Thank you in advance
    Please, remove hyphens to contact me

    Tun off this setting:
    View > Code View Options > Word Wrap
    HTH,
    Randy
    > In Preferences, I have checked the option Automatic
    wrapping after
    > column 76. However some rows can't wrap at the specified
    column because
    > the tags in that rows can't be destributed in two lines.
    So, DW (8 and
    > now CS3) hard-breake them at the end of the window,
    resulting in a new
    > line without line number (I have Line numbers checked
    under View > Code
    > view options menu).
    >
    > Is there a setting for not breaking those tags at the
    end of the window?
    > (I'm only speaking about the long tags and not the plain
    text, that I
    > srtill want it wrapped at column 76 so, I can't uncheck
    the Option Word
    > wrap under View > Code view options menu, because it
    overrides the
    > wrapping after column 76 option of the Preferences,
    making not only the
    > long tags exceeding window's right edge, but plain text,
    too).

  • Can the position and szing of a control element in a View be controlled from the ViewModel?

    Is it possible to change the position of a control, say a label, as a response to some action/operation from the ViewModel?  Like if one response to something is true then place the label in the top left corner.  If false, place the label
    in the lower right corner.  I realize you could have a label in each position and just set the visibility.  But can the position and sizing of said label be controlled from the View Model?  What would be a sample coding of this?  would
    it be in the xaml or combination of a method in the ViewModel and the xaml? 
    Rich P

    First off Rich, say TextBlock to yourself ten times.
    Use a TextBlock rather than a label.
    There are a bunch of different ways to do this and the easiest is to have two controls whose text is bound to the one property.
    Bind the Visibility of each to another 2 properties in the viewmodel.
    Collapse one and Visible the other.
    The reason for that is that it's easier.
    Technically, you could put one textblock in a grid and use margin to control this.  You could animate x y co-ordinates and move the textblock mysteriously across the window if you put your mind to it.
    Or you could put it in a row/column "cell" of a grid and change which cell it goes in - but that would involve some mechanism like messaging from the viewmodel to the view and is not really ideal if you can avoid it.
    I'd have a pair of textblocks, here's one:
    <TextBlock Name="TopLeftMsg"
    Text="{Binding Msg}"
    Visiblity="{Binding TopLeftVis}"
    Both would bind to a public string property msg in the viewmodel.
    They each get their own public visibility property  and that'd be switched between Visibility.Visible and Visibility.Collapsed.
    Sizing of textblocks is best fitted to content because all you see is the text.
    Textboxes are arguably different because you can see the things.
    Hope that helps.
    Recent Technet articles:
    Property List Editing;  
    Dynamic XAML

  • Inserting/updating data in control block based on view

    Hi!
    I`ve created a block based on a view to display data.
    I want this block to be insertable and updateable, that is I will use a on-insert/update trigger to call an insert/update procedure located in the database.
    When trying to change/insert a value in the block, the error message "Error: Can not insert into or update data in a view" pops up. I`ve tried to get rid of this error, without success.
    How can I make a data block based on a view insertable and updateable?
    My guess is that this have something to do with locking the records(there is no rowid in the view)... but I'm not sure.
    Pls advise!!

    Morten
    As well as on-update, on-insert, on-delete triggers you also need an on-lock,
    (even though it might just contain null;) otherwise the form will try to lock the view and fail.
    Actually your terminology is wrong, the block being based on a table or view is not a control block. A control block is not based on anything and has no default functionality for communicating with the database. If it was a control block, the on- triggers would not fire.

  • Issue in treeview control along with page viewer web part showing the sub sites from MMS

    hi,
    Am having a treeview control populates  with values from  MMS - Managed Metadata Service.
    [ Products ]
    ----->ms office 
                ----->word
                ----->excel
                 ---->powerpoint
    -------->Collaboration
                     ---->   sharepoint 2003
                     ---->  moss 2007
                     ----> sp 2010
                     -----> lync
     all these  values excel, word, powerpoint are sub sites created under ms-office site collection.
    and  sharepoint 2003, mos 2007, sp 2010, sp 2013 are  sub sites created under collaboration.
    now, on the page load, end user clicks on word and he should navigate to the  sub site "wordsite"  and it should show the home page of word sub site.
    we have created a  page viewer web part and  assigned the url property of the page viewer to the sub site url.
    but the issue is, when end user clicked  on the child node "powerpoint", the  page did a Post Back and treeview control immediately collpased and it shows the Products [top level - parent node] only.
    Am unable to set the current selected value- ie  here its excel and show the excel node in the trewview.
    how can i get this child tree node as the selected node.
    help is  highly appreciated!

    Check if below can help
    http://thechriskent.com/2012/05/09/changing-the-default-expansion-of-metadata-navigation-on-initial-page-load/

  • Word wrap enabled when viewing page source?

    Am using Safari Version 6.0.2 (8536.26.17). OS is 10.8.2. "Show Develop in menu bar" is checked. I would like word wrap enabled when I view the page source, scrolling horizontally is getting old. Thanks for any help, it's been frustrating!!

    It's been a few days, no response. I'm a bit surprised, as I would think there is a solution.
    Thanks again for any help, it would be highly appreciated!

  • Using wysiwyg text editor in drupal the latest firefox does not wrap text when viewing source code-chrome ie ok

    Using drupal ckeditor profile with wysiwyg . Firefox latest version is apparently not respecting the width of the i-frame text editor box and the text is not wrapping when viewing in source code mode. Chrome and IE are working as expected. Windows 7

    [https://support.mozilla.org/en-US/kb/where-go-developer-support Where to go for developer support]

  • Controlling Folio Order In Viewer

    Hi All-
    I have a quick viewer question. Is it possible for me to control the order of folios within the viewer? I am not creating sequential folios, so I would like one folio to remain the first in order within the viewer at all times.
    Is this possible with a pro account?
    thanks.
    Hank

    I'm not sure what's causing your content not to be ordered according to the Publication Date settings of the updated folios. Note that unpublishing and republishing can sometimes cause problems with folio updates not being available. If you need to unpublish a folio, you're better off creating a new folio with that same content.

  • Order of Control Panel's Camera View

    Is there a way to edit the order of camera views within the control panel? With six cameras, two iCamers2 have a 16:9 view and four iCamera 1000 have a 6:9 view in a jumbled order. I wonder if its a linear process whereby you have to delete cameras then add cameras in a desired order.  

    Just got an answer from Xfinity tech support:"Whatcha see is whatcha get"

  • Can I control content that is viewed through Firefox?

    Can I control the content or rating of what is viewed through Firefox?

    You should be able to. Check your car stereo's manual for specifics on how to do that.  You probably need to set your car stereo input to the paired Phone instead of FM or the CD player.

  • Control is disabled Page Viewer... :(

    Why is my Page Viewer control web part ribbon disabled on the Page.
    I have full control and ownership of the entire site collection and pages... :(
    #not happy
    Ronald Put

    You can use the Page Viewer Web Part only in a browser that supports the HTML IFRAME element. Try to use IE9 or 10
    Check if same issue on all pages and site collection.
    Check below article for more details on same:
    http://office.microsoft.com/en-in/sharepoint-foundation-help/display-a-web-page-on-a-sharepoint-page-by-adding-the-page-viewer-web-part-HA101857182.aspx

  • How to control IE10's "Compatibility View settings" via Group Policy

    First
    of all thanks for taking the time to read this.  I must let you know that I have limited experience with Group Policy so here it goes...
    Domain Controllers are 2008 R2 Datacenter and client computers are Win7 Pro with IE10
    I need to add several sites to the "Compatibility View settings" in IE10 and have these pushed out via Group Policy.
    I followed this to enable the "Use Policy List of Internet Explorer 7 sites:"
    Use
    Policy List of Internet Explorer 7 sites
    I even added the settings to both User Configuration as well as Computer Configuration.  However the computers on the domain wouldn't show these sites in
    IE even after forcing a GP update (gpupdate /force)
    Yes I did use top level domain names.
    Next I installed the Administrative Templates for Windows Internet Explorer 10 on the DC:
    Administrative Templates for Windows Internet Explorer 10
    this gave me an Inetres.adm file while I put in the same location as my other .adm files that Group Policy Manager sees (located at C:\Windows\SYSVOL\domain\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\Adm)
    I do see a bunch of .ADMX files located at C:\Windows\PolicyDefinitions
    on the DC.  I also see a lot of .ADML files located at C:\Windows\PolicyDefinitions\en-US.
    Where is my Central Store located that my Group Policy references?  How do I know what location GP is reading from?
    Now I installed the Administrative Templates (ADMX) for Windows Server 2008 R2 and Windows 7 from here:
    Administrative Templates (ADMX) for Windows Server 2008 R2 and
    Windows 7
    This gave me a "Win7-2008R2-admx.msi" package that I installed.  I took the defaults and extracted contents to:
    C:\Windows\PolicyDefinitions\Server 2008 Win7\PolicyDefinitions
    Are all of these .ADMX files supposed to be placed into my Central Store?
    If I mouse-over "Administrative Templates" in Group Policy Manager is says that the policy definitions are retrieved from the local machine.
    I then right-clicked on top of "Administrative
    Templates" in Group Policy Manager and highlighted Inetres and selected Delete.
    While in Add/Remove Templates I click on Add and it defaults to looking for "Policy Templates" and will not let me select and .ADM/.ADML/.ADMX files.
    What am I doing wrong here?
    How do I know that I'm using the most recent Inetres file?
    How do I know which file Group Policy Manager is using to manage the IE settings that are in:
    User Configuration->Administrative Templates->Windows Components->Internet Explorer->Compatibility View->Use Policy List of Internet
    Explorer 7 sites
    or
    Computer Configuration->Administrative Templates->Windows Components->Internet Explorer->Compatibility View->Use Policy List of
    Internet Explorer 7 sites.
    Is there anything else you can suggest?
    Many, many thanks in advance for any response

    Hi,
    Regarding your question, usually we create a Central Store for Administrative Templates (Both .admx and .adml files), and create a folder that is named PolicyDefinitions in the following location:
    \\FQDN\SYSVOL\FQDN\policies. The .adml files on the Windows computer
    are stored in a language-specific folder. For example, English (United States) .adml files are stored in a folder that is named "en-US." When you have copied all .admx and .adml files, the PolicyDefinitions folder on the domain controller should contain the
    .admx files and one or more folders that contain language-specific .adml files.
    Please refer to the following articles. You will get more helpful details about the Central Store for Group Policy Administrative Template files.
    How to create the Central Store for Group Policy Administrative Template files in Windows Vista
    http://support.microsoft.com/kb/929841
    Windows 7, Windows Server 2008 R2 and the Group Policy Central Store
    http://blogs.technet.com/b/askds/archive/2009/12/09/windows-7-windows-server-2008-r2-and-the-group-policy-central-store.aspx
    Based on your description, I understand you enable the setting “Use Policy List of Internet Explorer 7 sites”. However, didn’t show any sites in IE in client even after forcing a GP update
    (gpupdate /force). Please use command “gpresult” in clients to collect the GPOs, and then check whether the GPO contain the setting “Use Policy List of Internet Explorer 7 sites” was applied to clients or wasn’t.
    In addition, you also can change the related setting by using registry directly.
    Follow the path of the registry:
    HKEY_CURRENT_USER->Software->Policies->Microsoft->Internet Explorer->BrowserEmulation->PolicyList. (Create registry folders
    manually if not present)
    Right Click
    PolicyList ->New->String Value->Enter the name of the website. (Both under ‘Name’ and ‘Data’. For example,
    Value name: example.com Value data: example.com)
    There is a similar question, please read as a reference.
    Add manually URL on Compatibility View List in IE10
    http://social.msdn.microsoft.com/Forums/ie/en-US/5a15e861-d106-471e-a968-fdea15e31c45/add-manually-url-on-compatibility-view-list-in-ie10
    Hope this helps.
    Best regards,
    Justin Gu

  • How to bind UI control after having created view object

    Hi,
    I'm creating view object from an sql query
    vo = panelBinding.getApplication().getApplicationModule().createViewObjectFromQueryStmt("ViewObj", strSQL);
    and I want set model to a table
    table1.setModel((TableModel)panelBinding.bindUIControl("ViewObj", table1));
    but it doesn't work and shows null pointer exception

    Take a look at the static createAttributeListBinding() methods in JUTableBinding.
    Sascha

Maybe you are looking for