HTML client dark theme loading

If you use the dark theme, the header area shows white for a few seconds until the page is fully loaded. I was unable to find where to alter this in order to have the background dark while the screen loads. Anyone know how to do this?  Thanks.

Hi,
You can change the theme easily in the default.htm file.
Change light-theme.css and msls-light.css to dark-theme.css and msls-dark.css respectively to use the dark theme.  Alternatively, you may replace light-theme.css with a custom jQuery Mobile theme.
<link rel="stylesheet" type="text/css" href="Content/light-theme.css" />
<link rel="stylesheet" type="text/css" href="Content/msls-light.css" />
change above code to below:
<link rel="stylesheet" type="text/css" href="Content/dark-theme.css" />
<link rel="stylesheet" type="text/css" href="Content/msls-dark.css" />
 Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How can I wait till data is loaded and get the latest entities in HTML CLient

    This is my first try using a JavaScript component. I found a nice timeline-Scheduler on github:
    Timeline Javascript Scheduler
    I made an nearly empt new Screen and I am using LS only to get the data and to switch to the next date.
    This works fine for the first date I set in the created.
    But if I change to the next day, there are still the just loaded records. When I switch again to the following date I get the records from the day before...
    myapp.dispo.divcontainer_render = function (element, contentItem) {
    // We need this div for the timeline
    $(element).append('<div class="calendar"></div><div class="realtime-info"></div>');
    //Bind to the date
    contentItem.dataBind("screen.suchDispodat", function (value) {
    var querydat = value;
    var items = [];
    var sections = [];
    //The querydat is set to the right date but the records I get are from the last executed query.
    contentItem.screen.getQuerydispobydatfahrerorderfahrer(querydat).then(function (result) {
    var dispos = result.data;
    dispos.forEach(function (dispo) {
    How can I bind the refresh to something like data loaded?
    Helmut

    From:
    http://blogs.msdn.com/b/lightswitch/archive/2012/12/19/enhancing-lightswitch-controls-with-jquery-mobile-michael-zlatkovsky.aspx
    "You could use setTimeout (which is sometimes necessary – see Joe’s Custom Controls post
    for an example)"
    Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
    http://LightSwitchHelpWebsite.com

  • I have saved My Google Chrome bookmarks as HTML and want to import them into my mozilla bookmarks, when I go to import HTML it seems to load somthing but when I go back to check my bookmarks in mozilla they are not there. I would like to use mozilla more

    I have saved My Google Chrome bookmarks as HTML and want to import them into my mozilla bookmarks, when I go to import HTML it seems to load something but when I go back to check my bookmarks in mozilla they are not there. I would like to use mozilla more often then Chrome so I need please help keeping my Chrome bookmarks.

    @Carolyn:
    Yes, I did search before but restricted it to the past month, because I had the feeling that it’s worse now since the update to 5.1.10, but I may be wrong.
    It seems this is an old and unsolved common problem.
    @andy:
    “Top Sites” is hot, but I’ve never used that funny dots without any mouse-over text.
    After deleting (before starting Safari)  it’s restored by a default TopSites.plist, it seems these cookies
    - are only reloaded when viewing the Top Sites (?)
    - are not among my reappearing cookies, I have never seen such a cookie / cache on my system before (e.g. expedia, orbitz, monster, usatoday, disney, craigslist).
    And Top Sites would not explain why the Web Inspector has different infos regarding use of cookies and local storage than Safari’s “Privacy” tab.
    After playing with deleting TopSites.plist, without surfing, suddenly I have ”121 cookies or other data” at Safari’s Privacy tab, nearly all are listed as “Cache” or “Cache, Cookies” but the Web Inspector doesn’t show any of them, only my google.co.uk items.
    ---> Thanks, I’ll send a feedback to Apple.

  • Runtime Error in VS2012 (Update4) LightSwitch HTML Client

    I have a desktop (Silverlight) application, I upgraded the project to add the HTML Client. Now when I run the HTML Client, it shows this message box on the browser:
    "The application could not be loaded. Please try refreshing the page. Failed to load model: failed to parse the model JSON string. Failure reason: syntax error."
    I started my desktop application in VS2012 Update 2, and now it is in the Update 4. The interesting thing is that when I make new Project and then add HTML Client, I will not receive this error and it works fine.
    It shows this error only on that specific project (Which I started on VS2012 Update2, later Update3 and now Update4) and that project is very big (more than 100 tables and screens), therefore I can not make that from scratch again.
    I have to add HTML Client to my project. I really appreciate if someone can help me.

    "The application could not be loaded. Please try refreshing the page. Failed to load model: failed to parse the model JSON string. Failure reason: syntax error."
    Hi Keysen,
    First you need install Microsoft.LightSwitch.Client.JavaScript.Runtime 2.5.2. This update can be downloaded from the NuGet Gallery, see:
    http://www.nuget.org/packages/Microsoft.LightSwitch.Client.JavaScript.Runtime/
    Because this issue is project specific, you can also turn the build output, in the
    Options window, find Projects and Solutions >> 
    Build and Run. Find Diagnostic in the drop-down for MSBuild project build output verbosity. It will give detailed information why this happens.
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Diff between Java,Window and HTML Clients

    Hi can any body clear me
    what is the difference between
    1. JAVA Client
    2. Windows Client
    3. HTML Client.
    regards
    mmukesh

    The Windows client requires SAPGUI for Windows loaded on the dekstop (400+ MB of disk), but it works most efficiently.
    The HTML client requires an ITS and is not as efficient, but need no specialized software on the desktop.
    The Java client is almost never used except by Mac and Unix users!
    Cheers
    try searching SDN for SAPGUI variants for more details

  • Lightswitch HTML Client - Detail picker for each related List Item

    I have a doubt in Lightswitch Html Client application.
    Scenario:
    Suppose i have two tables  "Property" and "PropertyVaues".
    A Property can have many PropertyValues is the relationship between them.
    I want to show the data on screen like below:
    Property List:
    XYZ            [___10____(+)]
    MNO          [___abc____(+)]
    PQR           [___30.5___(+)]
    Xyz  is the list item
    assume [___10____(+)]  is the detail picker of
    PropertyValues which allow to select one value related to
    XYZ Property item, and same for other list items.
    Only Related "PropertyValues" for each list item must be available in the detail picker.
    Please help me out if any one has the solution to solve it.
    Or you can give me any other way to accomplish the above scenario.
    Thanks

    Hello Josh,
    I am implementing it on AddEdit screen.
                      (1)                                              
    (2)                           
    Screen description:
    [Note: Some Images are in my next post]
    1. Image(1) shows the list of properties (GSM, Mill Name, CMS). These Properties have its respective property values in drop down.
    2. When i select any value from the dropdown list (eg. 10 from GSM). the value is assigned to all other drop down.
    [shown in image(3) next post]
    (4) Again when suppose i select value for "Mill Name" Property as "Abc", it is assigned to all other drop down.
    [shown in image(4) next post]
    I want that a property value must be assigned to its respective Property only.
    Please help me on this. Or suggest me another way out to accomplish such scenario.
    Thanks
    Ravi Patel

  • I want to format time in HTML-Client

    I have a lot of ftime fields in different tables. In Germany time is formated  in military format.
    The time is a number of Maximum 4 digits and is formated as follow.  130 Looks 01:30  1415 = 14:15 (2:15 pm)
    I wrote a Little Javascript to Format the number and this works fine.
    But I don't want to copy this in every postRender of every time in every Screen.
    Is there  possibility to do this with a Little custom control, or in worse case to attach the code below to a lot of times, without copy and pasting them.
    myapp.BrowseDisposaetze.ende_postRender = function (element, contentItem) {
    contentItem.dataBind("value", function (value) {
    if (value) {
    var str = "000"+value;
    str = str.substring(str.length-4);
    str = str.substr(0, 2) + ":" + str.substr(2);
    $(element).text(str);
    Helmut

    Hello Helmut,
    a custom control I'm not Aware of. I have the same ask for colouring values and I use a custom function.
    Make a new js-Script (maybe: GlobalFunction.js) file and put this into your Scripts Folder. Add this file to your Default.htm where the other js File live.
    In your file GlobalFUnction.js add
    function ConvertMilitaryTime(p1)
    var str = "000"+p1;
                    str
    = str.substring(str.length-4);
                    str
    = str.substr(0,
    2) +
    ":" + str.substr(2);
                   return str;}
    In your HTML Client Function call your new Function
    contentItem.dataBind("value",
    function (value)
    $(element).text = ConvertMilitaryTime(value);
    }Hope this helps
    Kind Regards
    Thomas

  • Could not open HTML client page using internet explore

    I am using Lookout 4.5 and I am facing problem with web client. An error occuring while down loading html client page in internet explorer
    Attachments:
    I_am_using_lookout_4.doc ‏206 KB

    Hi Suki,
    Try the troubleshooting links below to help:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/D5F8511921D0352586256A330059DEF9?opendocument&node=DZ52188_US
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c2aea878c555e5e186256b2700625b5b?OpenDocument
    Be careful of you Internet Explorer security settings when using the web client. They need to allow the ActiveX object to be opened.
    Good Luck!
    Mike

  • SSRS reports from Lightswitch Html Client

    I have created a Lightswitch desktop application that list the available reports that are stored in a table and also provides a button that when clicked launches the web browser to the URL for the report on the SQL server. My problem is now I'm trying to
    create the HTML client for the application and have no experience with Java Script. Does anyone know how to accomplish the something that I did on the desktop application on the HTML client?
    Below is the code that I used to open the URL in the browser in the desktop application.
    Imports Microsoft.LightSwitch.Threading
    Imports System.Runtime.InteropServices.Automation
    Namespace LightSwitchApplication
    Public Class ListReports
    Private Sub RunReport_Execute()
    ' Write your code here.
    Dim uri As New Uri(ReportsSet.SelectedItem.ReportAddress) 'website stored in the ReportsSet.ReportAddress field
    If (AutomationFactory.IsAvailable) Then
    Dim shell = AutomationFactory.CreateObject("Shell.Application")
    shell.ShellExecute(uri.ToString)
    ElseIf (Not System.Windows.Application.Current.IsRunningOutOfBrowser) Then
    System.Windows.Browser.HtmlPage.Window.Navigate(uri, "_blank")
    End If
    End Sub
    End Class
    End Namespace

    This may help:
    Creating Reports in LightSwitch HTML Client
    // Show Loading message
    var LoadingDiv = $("<div></div>");
    var Loading = $("<h1>&nbsp;&nbsp;&nbsp;&nbsp;Loading Report...</h1>");
    Loading.appendTo(LoadingDiv);
    LoadingDiv.appendTo($(element));
    // Get Report
    var HTMLContent = $("<div></div>").html(
    "<object width='650px' height='650px' data='../reports/ReportViewer.aspx?SurveyId="
    + contentItem.screen.SurveyId + "'/>"
    // Make report appear on top of the Loading message
    HTMLContent.css({
    "margin-top": "-50px"
    HTMLContent.appendTo($(element));
    Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
    http://LightSwitchHelpWebsite.com

  • Difference between Analyzer Java & HTML Client

    Hi,Does anyone know all the differences between Analyzer Java & HTML Client.A couple of diffence I noticed are:1. HTML Client doesn't support Linked Reporting Objects (LRO)2. HTML Client doesn't seem to support Navigate functionality in Java client.Are there any more differences ?TIA.

    http://download.oracle.com/docs/cd/E11882_01/install.112/e10876/toc.htm
    Pertains to the client installation.
    This guide describes how to complete a default installation of Oracle Database Client in a new Oracle home directory. It describes how to perform one of the following installation types:
    Instant Client: Enables you to install only the shared libraries required by Oracle Call Interface applications that use the Instant Client feature. This installation type requires much less disk space than the other Oracle Database Client installation types.
    Instant Client includes Instant Client Light. You may want to use this version of Instant Client if your applications will generate error messages in American English only. The advantage of using Instant Client Light is that it has a smaller footprint than regular Instant Client: its shared libraries, which your applications must load, are only 30–32 MB as opposed to the 216 MB that regular Instant Client uses. Hence, your applications use less memory.
    Administrator: Enables applications to connect to an Oracle database on the local system or on a remote system. It also provides tools that let you administer an Oracle database.
    Runtime: Enables applications to connect to an Oracle database on the local system or on a remote system.
    Custom: Enables you to select individual components from the list of Administrator and Runtime components.
    "

  • Gnome-system-monitor (dark remix) 4 those using dark themes

    hey fellow archers,
    I'm a guy who digs dark themes, i am also someone who uses Gnome. Something that has irritated me for years is gnome-system-monitor ~ specifically, when using a dark theme. those white graphs (CPU graph), are just brutal. At work, i use CentOS on a couple of machines, while i don't use gnome with a server (obviously..lol) i have usedf CentOS with gnome before and had made note of the fact that it had a dark graph, and no ugly highlight bar in the 'system' tab, which was a little bit nicer on the eyes.
    well, today i decided to fix the default colors for that graph, and i also decided to remove the stupid cairo-gradient that greets you in the 'system' tab. i did this because i prefer a nice graphic, over having a plain gnome logo, and a tacky gradient, it just doesn't need to be there.
    here is what it looks like;
    here is my gitorious branch where the sources are available;
    git clone git://gitorious.org/gnome-system-monitor-blackgtk3/gnome-system-monitor-blackgtk3.git
    you all use archlinux, so i need not explain how to compile it and this is gnome-system-monitor 3.1.4 (development) but i have not noticed any bugs whatsoever.
    I am thinking of making a pkgbuild for AUR, that would pull from Gnome's git repo, and then apply a patch. Currently i have 2 roughed out patches (that work), but i have no experience writing patches, or even making pkgbuilds. if you are interested here is what i have got;
    1. black-graph.patch
    --- /home/ninez/Desktop/gnome-system-monitor/src/load-graph.cpp 2011-08-18 19:58:21.443838034 -0400
    +++ /home/ninez/Desktop/gnome-system-monitor-3.1.4-NINEZ/src/load-graph.cpp 2011-08-18 19:50:24.000000000 -0400
    @@ -76,7 +76,7 @@
    cairo_text_extents_t extents;
    num_bars = graph->num_bars();
    - graph->graph_dely = (graph->draw_height - 15) / num_bars; /* round to int to avoid AA blur */
    + graph->graph_dely = (graph->draw_height - 8) / num_bars; /* round to int to avoid AA blur */
    graph->real_draw_height = graph->graph_dely * num_bars;
    graph->graph_delx = (graph->draw_width - 2.0 - graph->rmargin - graph->indent) / (LoadGraph::NUM_POINTS - 3);
    graph->graph_buffer_offset = (int) (1.5 * graph->graph_delx) + FRAME_WIDTH ;
    @@ -88,66 +88,67 @@
    allocation.height);
    cr = cairo_create (graph->background);
    - // set the background colour
    + // set the background colour - cairo_set_source_rgb = outside of graph
    GtkStyle *style = gtk_widget_get_style (ProcData::get_instance()->notebook);
    - gdk_cairo_set_source_color (cr, &style->bg[GTK_STATE_NORMAL]);
    + gdk_cairo_set_source_color (cr, &style->bg[0, 0, 1, 1]);
    + cairo_set_source_rgb (cr, 0.10, 0.10, 0.10);
    cairo_paint (cr);
    /* draw frame */
    cairo_translate (cr, FRAME_WIDTH, FRAME_WIDTH);
    - /* Draw background rectangle */
    - cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
    - cairo_rectangle (cr, graph->rmargin + graph->indent, 0,
    + /* Draw background rectangle - inside graph */
    + cairo_set_source_rgb (cr, 0.10, 0.10, 0.10);
    + cairo_rectangle (cr, graph->rmargin + graph->indent, 1,
    graph->draw_width - graph->rmargin - graph->indent, graph->real_draw_height);
    cairo_fill(cr);
    - cairo_set_line_width (cr, 1.0);
    - cairo_set_dash (cr, dash, 2, 0);
    + cairo_set_line_width (cr, 2.0);
    + cairo_set_dash (cr, dash, 2, 1);
    cairo_set_font_size (cr, graph->fontsize);
    for (i = 0; i <= num_bars; ++i) {
    double y;
    if (i == 0)
    - y = 0.5 + graph->fontsize / 2.0;
    + y = 0.5 + graph->fontsize / 3.0;
    else if (i == num_bars)
    y = i * graph->graph_dely + 0.5;
    else
    - y = i * graph->graph_dely + graph->fontsize / 2.0;
    + y = i * graph->graph_dely + graph->fontsize / 4.0;
    - gdk_cairo_set_source_color (cr, &style->fg[GTK_STATE_NORMAL]);
    + gdk_cairo_set_source_color (cr, &style->fg[1]);
    if (graph->type == LOAD_GRAPH_NET) {
    // operation orders matters so it's 0 if i == num_bars
    unsigned rate = graph->net.max - (i * graph->net.max / num_bars);
    const std::string caption(procman::format_network_rate(rate, graph->net.max));
    cairo_text_extents (cr, caption.c_str(), &extents);
    - cairo_move_to (cr, graph->indent - extents.width + 20, y);
    + cairo_move_to (cr, graph->indent - extents.width + 40, y);
    cairo_show_text (cr, caption.c_str());
    } else {
    // operation orders matters so it's 0 if i == num_bars
    caption = g_strdup_printf("%d %%", 100 - i * (100 / num_bars));
    cairo_text_extents (cr, caption, &extents);
    - cairo_move_to (cr, graph->indent - extents.width + 20, y);
    + cairo_move_to (cr, graph->indent - extents.width + 40, y);
    cairo_show_text (cr, caption);
    g_free (caption);
    - cairo_set_source_rgba (cr, 0, 0, 0, 0.75);
    + cairo_set_source_rgba (cr, 0.7, 0.7, 0.7, 0.70);
    cairo_move_to (cr, graph->rmargin + graph->indent - 3, i * graph->graph_dely + 0.5);
    cairo_line_to (cr, graph->draw_width - 0.5, i * graph->graph_dely + 0.5);
    cairo_stroke (cr);
    - cairo_set_dash (cr, dash, 2, 1.5);
    + cairo_set_dash (cr, dash, 2, 0.20);
    const unsigned total_seconds = graph->speed * (LoadGraph::NUM_POINTS - 2) / 1000;
    for (unsigned int i = 0; i < 7; i++) {
    double x = (i) * (graph->draw_width - graph->rmargin - graph->indent) / 6;
    - cairo_set_source_rgba (cr, 0, 0, 0, 0.75);
    - cairo_move_to (cr, (ceil(x) + 0.5) + graph->rmargin + graph->indent, 0.5);
    - cairo_line_to (cr, (ceil(x) + 0.5) + graph->rmargin + graph->indent, graph->real_draw_height + 4.5);
    + cairo_set_source_rgba (cr, 0.7, 0.7, 0.7, 0.75);
    + cairo_move_to (cr, (ceil(x) + 0.3) + graph->rmargin + graph->indent, 0.3);
    + cairo_line_to (cr, (ceil(x) + 0.3) + graph->rmargin + graph->indent, graph->real_draw_height + 4.5);
    cairo_stroke(cr);
    unsigned seconds = total_seconds - i * total_seconds / 6;
    const char* format;
    @@ -158,7 +159,7 @@
    caption = g_strdup_printf(format, seconds);
    cairo_text_extents (cr, caption, &extents);
    cairo_move_to (cr, ((ceil(x) + 0.5) + graph->rmargin + graph->indent) - (extents.width/2), graph->draw_height);
    - gdk_cairo_set_source_color (cr, &style->fg[GTK_STATE_NORMAL]);
    + gdk_cairo_set_source_color (cr, &style->fg[1]);
    cairo_show_text (cr, caption);
    g_free (caption);
    @@ -226,20 +227,20 @@
    /* Subframe offset */
    x_offset += graph->rmargin - ((sample_width / graph->frames_per_unit) * graph->render_counter);
    - /* draw the graph */
    + /* draw the graph - LINE WIDTH 3 */
    cairo_t* cr;
    cr = gdk_cairo_create (window);
    - cairo_set_line_width (cr, 1);
    + cairo_set_line_width (cr, 2);
    cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND);
    cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND);
    - cairo_rectangle (cr, graph->rmargin + graph->indent + FRAME_WIDTH + 1, FRAME_WIDTH - 1,
    + cairo_rectangle (cr, graph->rmargin + graph->indent + FRAME_WIDTH + 2, FRAME_WIDTH - 2,
    graph->draw_width - graph->rmargin - graph->indent - 1, graph->real_draw_height + FRAME_WIDTH - 1);
    cairo_clip(cr);
    for (j = 0; j < graph->n; ++j) {
    - cairo_move_to (cr, x_offset, (1.0f - graph->data[0][j]) * graph->real_draw_height);
    + cairo_move_to (cr, x_offset, (1.0f - graph->data[1][j]) * graph->real_draw_height);
    gdk_cairo_set_source_color (cr, &(graph->colors [j]));
    for (i = 1; i < LoadGraph::NUM_POINTS; ++i) {
    2. no-highlight.patch
    --- /home/ninez/Desktop/gnome-system-monitor/src/sysinfo.cpp 2011-08-18 19:58:21.443838034 -0400
    +++ /home/ninez/Desktop/gnome-system-monitor-3.1.4-NINEZ/src/sysinfo.cpp 2011-08-18 16:03:52.000000000 -0400
    @@ -477,7 +477,7 @@
    style->base[GTK_STATE_SELECTED].green / 65535.0,
    style->base[GTK_STATE_SELECTED].blue / 65535.0,
    1.0);
    - cairo_pattern_add_color_stop_rgba(cp, 1.0,
    + cairo_pattern_add_color_stop_rgba(cp, 0.0,
    style->base[GTK_STATE_SELECTED].red / 65535.0,
    style->base[GTK_STATE_SELECTED].green / 65535.0,
    style->base[GTK_STATE_SELECTED].blue / 65535.0,
    EDIT: if you noticed the RGBA transparency where the icons are, that isn't a bug or something being misdrawn. My gtk3 theme is partially RGBA (in compiz only, not gnome-shell/mutter). the theme is 'Marples-black' found here;
    http://gnome-look.org/content/show.php?content=144240
    last note: My branch is only for the short term, until i get things sorted out. i also wanted to make the sources available to anyone, on any distro. so , it was easist to just quickly setup a branch, that anyone can pull from.
    cheerz
    Last edited by triplesquarednine (2011-08-19 03:58:42)

    triplesquarednine wrote:
    dodo3773 wrote:Yeah, if it wasn't for dark themes / stylish I would probably be blind by now ha ha ha. Have you though about putting it in the aur? Maybe calling it gnome-system-monitor-dark or something?
    I spend way too much time both at work/home in front of a computer. dark is the way to go. so much more relaxed on the eyes.
    Yes, i have (thought about putting it into AUR).  in the short term it was just quicker to throw it up on my gitorious though. As i said above, i haven't really made too many patches, and i currently only maintain one package in AUR, so i have a little reading to do, first. that's also why i posted my patches. in case someone has something to point out, aside from the obvious thing - which is that i need to modify the first part of the patch, as i can ditch a 1st couple directories ...
    Ideally, it will end up in AUR...  But, i will probably also have my gitorious branch sync'd to gnome's branch, and i will create a patch using GIT to maintain my branch ~ so that people outside the Arch community, can have easy access too. plus, who knows, i may change around some other things as well. in the 3-4 hours i have been using this 'mod', i am way happier than with the upstream version.
    cheerz
    Right on. Looking forward to further development. I will stay posted  (subscribed to thread).

  • Jasper report on HTML when one image loaded from database and for the other

    How to generate jasper report on HTML when one image loaded from database and for the other we give a image path
    My code
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
              exporter = new JRHtmlExporter();
              exporter.setParameter(JRExporterParameter.JASPER_PRINT, print);
              exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos);
              exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, strImageInputDirectory);
         exporter.setParameter(JRHtmlExporterParameter.IMAGES_DIR_NAME, strImageOutputPath == null ? "." : strImageOutputPath);
         exporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR, Boolean.TRUE);
         exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);
         exporter.setParameter(JRHtmlExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE);
              exporter.exportReport();
              byte[] bdata = ((ByteArrayOutputStream) baos).toByteArray();
    Can any one help pls
    Message was edited by:
    ameet.au

    hey sorry for posting it in this forum.
    but do u have sample code for making it work.. since i am able to do it on PDF format(image from Database and another stored in the webserver) using
    byte image[] =(byte[]) outData.get("image");
                        ByteArrayInputStream img = new ByteArrayInputStream(image);
                        hmimg.put("P_PARAMV3", img);
    print = JasperFillManager.fillReport(reportFileName, hmimg, jrxmlds);
    bdata= JasperExportManager.exportReportToPdf(print);

  • I updated my Macbook Pro last week to Lion.  I went to go import pictures from a memory card to my iPhoto, but only a portion of them loaded before my iPhoto froze and I had to Force Quit it. Now iPhoto won't even open... Help!

    I updated my Macbook Pro last week to Lion.  I went to go import pictures from a memory card to my iPhoto, but only a portion of them loaded before my iPhoto froze and I had to Force Quit it. Now iPhoto won't even open... Help!
    Please! I need an answer fast!!!!

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • HTML Client: How to get the content/value of a custom control?

    I made two Custom Controls named, "CustomControl_1" and "CustomControl_2". 
    In the render function of "CustomControl_1", how to access the value of "CustomControl_2"?
    For example,
    myapp.BrowseOrders.CustomControl_2_render = function (element, contentItem) {
    $(element).text("Some Value");
    myapp.BrowseOrders.CustomControl_1_render = function (element, contentItem) {
    $(element).text( Value of CustomControl_2 ? );

    I would recommend creating screen properties and binding the controls to those screen properties. Then you can easily get a reference to any value. See this article for an example of the process using custom controls:
    Using The Clippy Agent in the Visual
    Studio LightSwitch HTML Client
    Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
    http://LightSwitchHelpWebsite.com

  • Sizing the HTML client's content area above the footer

    As I'm fairly new to the intricacies of the HTML client, I've a simple question with hopefully a simple answer.
    Having designed the following screen (containing a custom scheduling control above a standard LS table) I've found that the footer (class: mssl-footer, data-role: footer) is overlaid on top of the content area (class: mssl-content, data-role: content): -
    As a result, the lower portion of the table is obscured (in the above screen-shot I've adjusted the opacity of the footer to illustrate this overlay).  As a consequence this will make scrolling the table and viewing the entries slightly awkward
    and it looks a bit messy.
    So the question I have is, what's the 'best-practice' approach to avoid this overlay and have the content area stop short just above the footer?
    Any guidance on how to address this would be appreciated.
    Kind regards,
    Chris

    I don't know the answer but I would love to see a sample project that uses this custom control. I need to implement something very similar but am not a developer just and admin trying to use Lightswitch in a small business.
    Hi Dave,
    I've only just noticed your question regarding the scheduling control (as it was posted against a temporary user account I don't monitor) so apologies for the delay in replying.
    The control in the screen-shot is the
    dhtmlxScheduler which works very well with LightSwitch and offers a great set of features.
    Also, for Sergey, we addressed the sizing issue with a change to the msls LightSwitch library as covered in the following post: -
    HTML Client Custom Control Stretch to Container Sizing Bug, Problem?
    HTH,
    Chris

Maybe you are looking for

  • Mapping a rogue CLIENT in WCS with 4404

    Hi. Im running a 4404 (4.1.171.0) and WCS. I imported all the maps, placed the AP's etc. Looks great! I can find rogue AP's no problem and place them on the map with the skull and crossbones. However I cant figure out how to do rogue CLIENT mapping.

  • Win32 api interface

    Does anyone have any information on the win32 api i would like to write a java application that woudl allow me to list all of the task names in the taskmanger Something like Win32::Setupsup for perl

  • "SING Glyphlet Manager / AI glyph creation" are gone?

    The captioned features cannot be found in CS5 CJK edition. Can anyone clarify that is it true or not? Thank you.

  • Restore a Database with Differential

    Hello All, I'm new to this forum after read a few question error it given me little bit more understanding. But here's my problem I was create a database implement some tables than make a 'Full Backup' and input information on the table before make a

  • Why cant i see my photos that i have on my phone on the computer?

    Why cant i see my photos that i have on my phone on the computer? For some reason, since i moved my itunes to an external hard drive, all sorts of issues keep happening. I cant see any of my photos when just plugging into a computer not with my itune