Jump to content

pflam

uniGUI Subscriber
  • Posts

    34
  • Joined

  • Last visited

Posts posted by pflam

  1. Hi,

    We have run the Invicti Vulnerability webscan against our website, it reported that the HTTP header "X-Frame-Options" and "X-XSS-Protection" are missing. We have added these headers already and tested working on our website. Then we notice that the scan tool is calling some non-existence URI and our website returned an error page response as follow:

    HTTP/1.1 400 Bad Request
    Server: Microsoft-HTTPAPI/2.0
    Connection: close
    Content-Length: 324
    Content-Type: text/html; charset=us-ascii Date: Mon, 27 Feb 2023 14:32:12 GMT

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
    <HTML><HEAD><TITLE>Bad Request</TITLE>
    <META
    HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Bad Request - Invalid URL</h2>
    <hr><p>
    HTTP Error 400. The request URL is invalid.</p> </BODY></HTML>

    We are hosting the website using Microsoft IIS. We have set the error page code status 400 to point to our custom page, however it didn't open our custom page as you see above. 

    Does anyone has any idea? Thanks.

  2. Hi,

            image.png.2ff43ab8e764482de6c01767823c1d47.png

    I found that it will show title bar & 'collapsed bar' at the same time in some iphone modal.

    if i use "header.setvisible(false)", then there is no 'bar' to 'collapse' after panel is shown.

    is there any solution to only show one bar?

     

    thank you.

     

     

  3. Hi,

    any solution to change the layout when it is collapsed?

     

    another issue, the button is not shown properly when open the page at the first time. Any solution?

    image.png.4a4e307906aebc7521d41088819203db.png

     

    Thank You.

     

  4. i change it to border, but the problem still exists.

    my problem is why the title bar will change back to default one when it is collapsed.

                 image.png.9ca1acc4afd9a2809ca22cf07e38b54b.png

     

    I change the panel by using the below:

    CustomCSS:

    .ColorTitle .x-panel-header-default
    {
       background-image: none;
       background-color: #4682B4;

       font-size: 18px;
    }

    clientevent > unitEvents:

    function beforeInit(sender, config)
    {
      config.cls = 'ColorTitle';
    }
     

    Thank You.

     

  5. Hi,

    the bar is changed back to the origin layout when it is collapsed.

    i set Layoutconfig.Region = north, or  Layoutconfig.Width=100%

               image.png.a1c5e631dadd43ac2aa0124c379cf837.png

     

               image.png.9ca1acc4afd9a2809ca22cf07e38b54b.png

     

    If i remove Region or Width value, then it cannot expand with form.

             image.png.9e2e1d62c311d1d94a09d832368d0c52.png

     

    Any solution?

     

    Thank You.

     

     

     

  6. Hi,

    in my actual project, the containerpanels are not displayed as what i designed.

    Example, In the attached test program, the order of the containerpanel is from 4 to 1.

    Is there a way to show the containerpanel in the order 1 to 4 by using layout properties?

    Or other way to change 'display order' of the controls?

     

     

    Thank You.

    Control_Order.zip

  7. Hi,

    I have added one side menu, and its width will be changed when browser is resized. It is working properly when browser is resized In the beginning;

    however, 'OnScreenResize' only fired in the first time the form is showed after i added containerPanels.

    MainFormDisplayMode = mfPage

    AlignmentControl = uniAlignmentClient

     

    How can I solved it? or is there any other way to call my 'SideMenuResize' procedure when browser is resized?

     

    Thank You.

     

     

  8. I would like to change the position of control based on different size of mobile.

    image.png.699d2a43555581364e83284d7474e2f1.png

    image.png.439896ff6ab7270942091d71046b531d.png

    It is working in main form.

     

    image.png.7c7cc22196b7474b80595ae8d1f29779.pngimage.png.2978197f66988662de61a871c08a9527.png

    but it does not work when i copy the code to 2nd form.

     

    Can anyone help to check what is the problem?

    Or any other way to get the same result?
    Thank You.

     

     

     

    ResponsibleApp.zip

  9. Hi Sherzod,

    I still cannot customize the mEdit and mRadio.

    2) mEdit - I need to change the font size to 9, and edit box's height to 22 (and set left margin to 0). however, the text cannot fully be shown.

                      UnimEdit001.jpg.f55555b67ee43a315f39c6b9c4f23e4f.jpg

    3) The mRadio button is not clear after i change the background color to gray. Is it possible to change the color?

     

    Thank You.

  10. Hi,

    I use the below code to change the caption and button in web application; however, it does not work in mobile application.

           messagedlg('test', mtError, [mbOK], Nil);

           UniSession.AddJS('Ext.get("messagebox-1001_header-title-textEl").setText("Your Caption")');
           UniSession.AddJS('Ext.get("button-1005-btnInnerEl").setText("Your Button")');

     

    Can anyone help?

     

     

×
×
  • Create New...