Change the HTML header section of the response ?

Dear All
I have a issue regarding running WDA on a very small screen (240x320).
In IE the application is very small and I need to zoom every time to see it.
I know that the command i HTML like this would do the trick (if this i placed i the head section)
meta name="MobileOptimized" content="width"`
meta name="viewport" content="width=240, height=320"`
But what can I do so that this "commands" will be passed on to the html response of my WDA application ?
Please help me
Best regards
Lars Bregnedal

You are not allowed access to the HTML payload or headers in Web Dynpro.  Web Dynpro represents a closed rendering environment.  Nor does Web Dynpro ABAP support mobile devices/browsers.

Similar Messages

  • How to change the response of human task if we are using the skip rule

    Hi,
    We have developed the request workflow in OIM11g for this we are using the Beneficiary Manager approval composite to approve the request by his manager.
    We are using the skip rule in the human task component to skip the user if the requester is beneficiary manager.
    After the skip rule is executing the the request is going to failed state because of the response it is sending to the OIM
    The skip rule is working as expected but the response sending to OIM is COMPLETED instead of APPROVE.
    Please let us know the steps to change the response to Approve after the skip rule is executed or how to add the response COMPLETED in OIM.
    Thanks

    You will have to write a conditional block outisde the task where you would check if the skip condition is met and if yes then you will have to hard code the approved conditions into the payload for the task outcome.
    <assign name="SetAutoApproveConditions">
                            <copy>
                                <from expression="string('APPROVE')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:outcome"/>
                            </copy>
                            <copy>
                                <from expression="string('COMPLETED')"/>
                                <to variable="ApprovalTask_1_globalVariable"
                                    part="payload"
                                    query="/task:task/task:systemAttributes/task:state"/>
                            </copy>
                        </assign>HTH,
    BB

  • How to change the response of the mighty mouse scroll ball?

    Is there a way to do it?
    thanks

    Do you mean the scrolling speed? If so go to system preferences/Keyboard&Mouse and there is a scrolling speed slider you can use to adjust it.
    Good luck.

  • Is there a limit to amount of code that can be added to the HTML Header?

    I've got several javascript functions in the HTML Header section of the page attributes. I recently added another function and now receive an HTTP 404 Not Found error at runtime when navigating to the page. When I remove the function the error is gone. I don't think there is anything wrong with the function because even when I copy and rename an existing working function, this error occurs...as if I've exceeded some size limit. Any ideas?

    I now have a better understanding after reading this thread: Javascript as static file or on filesystem?
    As the post indicates, there are essentially two ways of including a .js file:
    1) upload as static file to the workspace or application and refer to it using the #APP_IMAGES# or #WORKSPACE_IMAGES# tag.
    2) put it on the webserver as a file on the filesystem under the images directory and refer to it using the #IMAGE_PREFIX# tag.
    For now (since I don't have permissions to the file server directory) I have created a .js file and uploaded it as a static file in Shared Components. I referenced the file as below, but when I go the page at runtime, none of my functions are being utilized. Is it because the web server is not using this static file yet because of caching? Does it need to be restarted in order to start using the uploaded js file?
    <script type="text/javascript" src="#WORKSPACE_IMAGES#apex_selection_criteria_page.js">
    </script>

  • The bidder cannot change/edit the response

    hi experts:
       we use SRM7.0 with standalone scenario.
       the bidder create a response for a RFx. before the deadline ,  the bidder change the price is permitted in our company .
       thequestion is :
         in SRM,  the bidder can withdraw the response , and there is a button' Re-submit' , but there is no button"Edit" , why? and what shoud i do to make the bidders can  change the response.
      regards
         claud

    In your RFx header, you'd have to check the box "RFx Respondent Can Change RFx Responses" in order for a submitted bid to be changed by the bidder without the buyer initiating it ("return" the bid).

  • Why JSTL change the encoding of response?

    Dear all,
    I use JSTL to display multiple language, and it can work fine. I also have a servlet to let the user to select the display language. All the request and response encoding is set to UTF-8, but I found that when user choose language to Chinese, and the servlet set the Locale to ZH, and then, all the jsp file which use JSTL to display message, the response is set to "GB2312"!
    Why this happen? because the response encoding is gb2312, so I cannot get the user inputted Chinese character! I want still reserve the UTF-8, how can I do that? I just found that webapp 2.4 can set locale-encoding-mapping, but I am using tomcat4.1.4, which does not support 2.4.
    Any advice will be appreciate.
    Lichunlin

    Hi, everyone,
    I find that the setLocale method of Reponse will change the response encoding automatically according to the locale, for example, the page encoding is UTF-8, but after I set locale to "CN"(china), the encoding is changed to "GB2312", but I still want it is "UTF-8".
    So I have to change the message tag source code, to change the encoding back after the setLocale method invoke, it is not so good, but it can work now.
    Could you have any other advice? Thank you very much.
    Lichunlin
    Dear all,
    I use JSTL to display multiple language, and it can
    work fine. I also have a servlet to let the user to
    select the display language. All the request and
    response encoding is set to UTF-8, but I found that
    when user choose language to Chinese, and the servlet
    set the Locale to ZH, and then, all the jsp file which
    use JSTL to display message, the response is set to
    "GB2312"!
    Why this happen? because the response encoding is
    gb2312, so I cannot get the user inputted Chinese
    character! I want still reserve the UTF-8, how can I
    do that? I just found that webapp 2.4 can set
    locale-encoding-mapping, but I am using tomcat4.1.4,
    which does not support 2.4.
    Any advice will be appreciate.
    Lichunlin

  • Inconsistent behaviour of the response

    Hi Everyone,
    We have a very weird problem here. Our application is a servlet based app using iPlanet Enterprise 4.0 application server. The servlet response acts very inconsistent when we try to change the response type from text/html to something else in the application(to res.setContentType("application/vnd.ms-excel") for example). Sometimes it works but most of the time instead of opening results in MS Excel, output is being rendered as an HTML.
    Does anyone have any suggestions?
    Any help will be greatly appreciated.
    Thanks,
    YM

    First of all I am setting the response type by
    calling
    res.setResponseType("application/vnd.ms-excel");Then I call some classes to query the database and
    return the ResultSet, which I then pass to the
    formatting classes to create an HTML page and write
    the ResultSet in the form of an HTML table inside the
    page. After that's been done, I get PrintWriter out
    of the response and writing the page by calling
    PrintWriter out = res.getWriter();
    out.print(formatted_HTML_page);
    Sorry, I meant res.setContentType

  • The response is used by one or more tasks!!!!

    Hi everyone,
    I have a strange problem but i have no clue on how to solve this. In my existing process definition I want to modify description of one of the response codes. But it doesnt allow to save this process definition and says
    "The response is used by one or more tasks". Is there any way i can modify the response codes.
    Thanks,
    doki

    If at any point the response has been used, it is now in the audit logs and lists of tasks that have occured. If you want to change the responses, you would have to do an if statement at the end of your adapter to check for the normal response, and if it is equal to that, return a different response. Then you will be using the new response code and can change the description.
    -Kevin

  • Page Attribute HTML Header on Page 0

    Why is there no HTML Header section on Page 0? Seems that this would be an ideal place to define my page stlye to apply to all pages. I'm trying to increase the font-size to 14 for all my pages. Instead of doing it on each page, I thought it would more efficient to do it on Page 0, but I don't see an HTML Header section. Perhaps there's an easier way that I'm missing?

    Hi -
    You could add another css, but the cheap way is to download the existing css, find the class or classes that include the font size you'd like to bump up, and edit the css to change them. Then upload the changed css back up to your app.
    BTW a web development tool like the free Web Developer extension for Firefox (there are others) can be invaluable for identifying how css is styling a given object on your web page.
    Good luck.

  • HTML Header - Size Limit

    Forum
    Is there a limit to the size of the text that can be entered on a page's HTML Header Section ?
    We are seeing an application page fail when we add more lines to the section .... ( yes - they are valid syntax :-)). When we remove these lines - the page works again.
    Also if we add two lines , and then remove the 2 comment lines higher in the section , the page seems to work.
    Strange ...
    P.

    &lt;body onLoad="javascript:f_comm()";&gt;1. In the XHTML normally used in APEX 4.0 mark-up, all XHTML, including attribute/event handler names, must be in lower case: <tt>onclick</tt>, <tt>onfocus</tt>, <tt>onload</tt>...
    2. The "javascript:" pseudo-protocol is evil. There are a few places in APEX where we may have to resort to using it as a URL is all we're offered to work with, but it's always better to use an event handler of some kind, either inline or (better) registered dynamically at runtime following the principles of unobtrusive JavaScript. It absolutely should not be used in inline event handlers.
    3. Semicolons (";") are part of the JavaScript language, not XHTML, and so go within the quotes as part of the JS code.
    So:
    &lt;body onload="f_comm();"&gt;

  • I have 5 html pages that share a common header, footer, and sidebar. how do i use my nav bar to change the content of the body without duplicating a lot of code?

    i have 5 html pages that share a common header, footer, and sidebar. how do i use my nav bar to change the content of the body without duplicating a lot of code? thank you!

    i inherited the website. It’s for a non-profit and is not very
    sophisticated, and neither am I in webdesign. It currently has multiple
    pages that are identical except for that body section, so whenever i change
    the navigation (in the sidebar) I have to update every html page.  I want
    to have one basic page, and just call in the different body content based
    on the link the user selects from the nav bar. How can i do that using a
    script? i am using Dreamweaver.
    ~ in love and light ~
    Jeannie
    On Sat, Feb 7, 2015 at 4:07 AM, Ben Pleysier <[email protected]>

  • How to change the header and footer in the Section Breaks Next Page using OpenXML?

    I have a word document file in which I added a Section Break of Next Page, now I want to change the header and footer of that page.
    Scenario of example, I have a doc file which has four pages with headers and footers and added fifth page in the section break next page, I want to change the header and footer of the fifth page only. This is achievable manually by deselecting the Link to Previous
    button in the Word Application but I don't know how to change it using XML?
    My code that adds the new page in the section breaks is:
    class Program
    static void Main(string[] args)
    string path = @"C:\Riyaz\sample.docx";
    string strtxt = "Hello This is done by programmatically";
    OpenAndAddTextToWordDocument(path,strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    using (DocX document = DocX.Load(@"C:\Riyaz\sample.docx"))
    document.InsertSectionPageBreak();
    Paragraph p1 = document.InsertParagraph();
    p1.Append("This is new section");
    document.Save();
    Please help.

    Here is the sample for your reference:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using DocumentFormat.OpenXml;
    using DocumentFormat.OpenXml.Packaging;
    using DocumentFormat.OpenXml.Wordprocessing;
    namespace WordAddNewFooterHeader
    class Program
    static void Main(string[] args)
    string path = @"E:\Document\TestHeaderandfooter-Copy.docx";
    string strtxt = "OpenXML SDK";
    OpenAndAddTextToWordDocument(path, strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    // Open a WordprocessingDocument for editing using the filepath.
    WordprocessingDocument wordprocessingDocument = WordprocessingDocument.Open(filepath, true);
    MainDocumentPart part = wordprocessingDocument.MainDocumentPart;
    Body body = part.Document.Body;
    //create a new footer Id=rIdf2
    FooterPart footerPart2 = part.AddNewPart<FooterPart>("rIdf2");
    GenerateFooterPartContent(footerPart2);
    //create a new header Id=rIdh2
    HeaderPart headerPart2 = part.AddNewPart<HeaderPart>("rIdh2");
    GenerateHeaderPartContent(headerPart2);
    //replace the attribute of SectionProperties to add new footer and header
    SectionProperties lxml = body.GetFirstChild<SectionProperties>();
    lxml.GetFirstChild<HeaderReference>().Remove();
    lxml.GetFirstChild<FooterReference>().Remove();
    HeaderReference headerReference1 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = "rIdh2" };
    FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rIdf2" };
    lxml.Append(headerReference1);
    lxml.Append(footerReference1);
    //add the correlation of last Paragraph
    OpenXmlElement oxl = body.ChildElements.GetItem(body.ChildElements.Count - 2);
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    SectionProperties sectionProperties1 = new SectionProperties() { RsidR = oxl.GetAttribute("rsidR", oxl.NamespaceUri).Value };
    HeaderReference headerReference2 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.HeaderParts.FirstOrDefault()) };
    FooterReference footerReference2 = new FooterReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.FooterParts.FirstOrDefault()) };
    PageSize pageSize1 = new PageSize() { Width = (UInt32Value)12240U, Height = (UInt32Value)15840U };
    PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U };
    Columns columns1 = new Columns() { Space = "720" };
    DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };
    sectionProperties1.Append(headerReference2);
    sectionProperties1.Append(footerReference2);
    sectionProperties1.Append(pageSize1);
    sectionProperties1.Append(pageMargin1);
    sectionProperties1.Append(columns1);
    sectionProperties1.Append(docGrid1);
    paragraphProperties1.Append(sectionProperties1);
    oxl.InsertAt<ParagraphProperties>(paragraphProperties1, 0);
    body.InsertBefore<Paragraph>(GenerateParagraph(txt, oxl.GetAttribute("rsidRDefault", oxl.NamespaceUri).Value), body.GetFirstChild<SectionProperties>());
    part.Document.Save();
    wordprocessingDocument.Close();
    //Generate new Paragraph
    public static Paragraph GenerateParagraph(string text, string rsidR)
    Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = rsidR };
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    Tabs tabs1 = new Tabs();
    TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 5583 };
    tabs1.Append(tabStop1);
    paragraphProperties1.Append(tabs1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = text;
    run1.Append(text1);
    Run run2 = new Run();
    TabChar tabChar1 = new TabChar();
    run2.Append(tabChar1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    paragraph1.Append(run2);
    return paragraph1;
    static void GenerateHeaderPartContent(HeaderPart hpart)
    Header header1 = new Header();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Header" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    header1.Append(paragraph1);
    hpart.Header = header1;
    static void GenerateFooterPartContent(FooterPart fpart)
    Footer footer1 = new Footer();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Footer" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    footer1.Append(paragraph1);
    fpart.Footer = footer1;
    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.

  • Outbound Plain HTML Adapter how to change the html-header field "host"?

    Hello,
    I'm using XI 3.0 SP11 and want to transmit a message to a business partner using the Plain HTML Adapter.
    My problem is now that I need to change the default Html-Header field "host" because it seems that the adapter engine is converting it to lower case and is attaching the port-number which is causing trouble with the loadbalancer/applicationserver of our business partner.
    I tried to set the appropriate http-header value in the communication channel configuration, but the adapter engine is ignoring this value.
    Thanks in advance for any ideas.
    Sascha Fuchs
    Message was edited by: Sascha Fuchs

    Hi Sascha,
    unfortunately the Plain HTTP adapter is not running in the J2EE, therefore you cannot extend the functionality with an adapter module.
    I am not sure to understand the problem right. Why do you need to change the HTTP header? What is in it in your case and what should be?
    Regards
    Stefan

  • What is the difference if jsp code in head section or outside of HTML

    I am confused about what is the difference if I include jsp code inside <html><head> jsp code </head><html>, or outside of HTML tag?
    What is the difference if I put the jsp code inside head senction or in the body section?
    Thank you in advance!

    I may want to output some result from my java code to the screen, so I can see some of the variable values.
    If I use java code to get some variables before <HTML> tag, can I use <%=variable%> in the other sections like body or head to receive the results?

  • Can we change the Section heading in Lower letters

    Hi All,
    Can be change the heading of the section group according to our requirement.
    For example i want to add heading as Summary.
    Currently it is coming as all upper case letters.
    Please Suggest?
    Thanks,
    Malkit Singh

    Hello Malkit,
    To distinguish the header from the name of the fields a header is always capitalized even if you provide a fixed text in small letters in the UI Designer.
    Sorry,
       Horst

Maybe you are looking for

  • Switching between devices on Airplay?

    Hello! I received a new Apple TV for Christmas. I have an iPhone and so does one of my roommates, and another has an iPad. I was wondering if there was an easy way to switch between devices using Airplay on the Apple TV. As of now I've just been powe

  • Operations on tree nodes

    Hi everyone, it's me again, with another issue =) I need to be able to rename all node under a specific node in a hierarchy. Let's take this table and the following sample data. CREATE TABLE organisations   organ_id NUMBER(10) PRIMARY KEY,   parent_i

  • Service Entry

    Hi All I have the following situation. I have 1 service entry number for the following 2 services to be performed. Service Number 1000000188  Value 800 000.00 GR 5000000464 Value 200 000.00  Service industrial aircon GR 5000000464 Value 600 000.00 Se

  • Transparency Issue

    Hi, I have a cube with some transparent images on it... Lets just say I have 2 ImageViews add to the cube (opposite), call them imv0 and imv1 If I add imv0 before imv1, then position imv1 in front, I can correctly see through imv1 to imv0. But if i p

  • Help! Double BMP file

    it is needed to create a new BMP file exactly twice the height of an original BMP file(which is uncompressed), and consisting of two copies of the original image, one on top of the other . now I have modify the file size (ie. size of the bit map data