Display/popup a message in Page designed in 11.5.10.2 OA Framework

Hi All,
Iam trying to develop a page using jdeveloper and I would like to display or popup a message when a button/link is clicked. Does anyone suggest me how can I do this ?
Thanks
Skumar

Skumar,
OAF question are better out here {forum:id=210}
Timo

Similar Messages

  • How to display the return message in popup window

    Hi Experts,
    In WDA i want to display the return message through popup window.
    Regards,
    M.Chella Meenal.

    hi Chella Meenal ,
    you can generate the popup using popup factory class also , look at the below sample code for displaying message in a popup , and you can do your own configurating like visible , enable the buttons you want ..
    data:
        lr_component type ref to if_wd_component,
        ls_conf type wdr_popup_to_confirm,
        lt_texts     type string_table.
      ls_conf-window_position = '1'.
      ls_conf-button_1-text = 'OK'.
      ls_conf-button_1-icon = 'ICON_OKAY'.
      ls_conf-button_1-enabled = 'X'.
      ls_conf-button_1-visible = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE.
      ls_conf-button_2-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
      ls_conf-button_cancel-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
      lr_component = wd_comp_controller->wd_get_api( ).
      append 'some text' to lt_texts.
      cl_wd_popup_factory=>popup_to_confirm(
          component        = lr_component
          text             = lt_texts
          CONFIGURATION    = ls_conf
          window_title     = 'some title' ).
    Regards
    Chinnaiya P

  • Getting a 404 message for pages that the menus that have a french accent in the menu name, other pages display fine.

    Hello, Using muse June 2014 release. After uploading all files to Godaddy web hosting, all menu that have a french accent in the menu name are giving a 404 message page not found, whereas all my other pages that do not have french accents are displaying normally. For the time being, I have removed accents in 3 of the menus, but would prefer to show them. In earlier version of muse everything was working fine. I've also been getting this message: "MuseJSAssert: Error calling selector function:TypeError: $(...).toBrowserWidth is not a function" ; the header of the page shifts to the left of the screen whereas the body items stay centered.
    I've deleted everything on the web hosting ftp site and re uploaded everything but does not fix the problem.
    Thank you Dorene.

    I uploaded it within Muse "Upload to FTP hose".
    However, this morning when I was getting the error message "MuseJSAssert: Error calling selector function:TypeError: $(...).toBrowserWidth is not a function" ; my header was shifting left on some pages and not all and at this time I was not getting the 404 error yet. So I deleted everything from the root of the Godaddy web host and re uploaded and thats when it started giving me the error messages of page not found only on the pages with french accents in the menus. Could I have deleted something in the root that should stay there, but I'm thinking if it should not be deleted it would be locked. Thank you Zak for keeping with and and helping me find this problem. I'm helping out some friends with the new campground they purchased and I look pretty bad with these pages not showing up.

  • Trying to display an error message on my JSF page

    Hi,
    I'm very new to JSF and hopefully this will be easy to answer. I'm trying to display an error message when a user fails to login correctly. I have this on my login page:
    <h:message for="userid" id="inputError"></h:message>
    and in the login bean that handles the login, I invoke this method when the login fails, passing in the appropriate error string
         private void setError(String error) {
              FacesContext ctx = FacesContext.getCurrentInstance();
              FacesMessage fm = new FacesMessage();
              fm.setSeverity(FacesMessage.SEVERITY_ERROR);
              fm.setSummary(error);
              fm.setDetail("ERROR: " + error);          
              ctx.addMessage("userid", fm);
    But the error is not displaying upon a failed login and so I'm wondering if there is something more I need to do. Your help is appreciated, - Dave

    To get the "real" client id use
    ctx.addMessage(myComponent.getClientId(ctx), fm);and bind the userid input text to your backbean
    view code:
    <input binding="#{bean.myComponent}" ...backbean code:
    private UIInput myComponent;
    // getter/setter
    public UIInput getMyComponent() { return this.myComponent; }
    public void setMyComponent(UIInput myComponent) {
        this.myComponent = myComponent;
    }I hope this helps...

  • How to display Popup message in ABAP Web Dynpro

    Hi All,
    Is it possible to display popup messages like SAP to collect information from the user? is it possible to display information messages like SAP? If possible, Please let me know how to handle in Web Dynpro.
    Thanks & Regards,
    IA Kumar.

    Agree with the two firend on my head :).
    you can find a demo from:   SWDP_TEST&#65288;package&#65289;-->   WDR_TEST_POPUPS also.
    I have a lazy idea, two step:
    1. create a popup function module;
    2.call the function module;
    function module:--Begin--
    FUNCTION ZFUNM_CONFIRM .
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(P_API) TYPE REF TO  IF_WD_VIEW_CONTROLLER
    *"     REFERENCE(P_CMP_API) TYPE REF TO  IF_WD_COMPONENT
      DATA:
        L_WINDOW_MANAGER      TYPE REF TO IF_WD_WINDOW_MANAGER,
        L_CMP_API             TYPE REF TO IF_WD_COMPONENT,
        L_API_MAIN            TYPE REF TO IF_WD_VIEW_CONTROLLER,
        L_POPUP               TYPE REF TO IF_WD_WINDOW,
        L_TEXT                TYPE STRING_TABLE.
       wd_this               type ref to IF_MAIN,
       wd_comp_controller    TYPE REF TO IG_COMPONENTCONTROLLER.
       l_api_main = wd_this->wd_get_api( ).
    l_cmp_api = wd_comp_controller->wd_get_api( ).
      L_WINDOW_MANAGER = P_CMP_API->GET_WINDOW_MANAGER( ).
      APPEND 'POPUP text' TO L_TEXT.
      L_POPUP = L_WINDOW_MANAGER->CREATE_POPUP_TO_CONFIRM(
                  TEXT                   =  L_TEXT
                  BUTTON_KIND            = 4
                  MESSAGE_TYPE           = 1
                  CLOSE_BUTTON           = ''
                  WINDOW_TITLE           = 'messagebox Title'
                 WINDOW_LEFT_POSITION   = L_CONF_CONTEXT-WINDOW_LEFT_POSITION
                 WINDOW_TOP_POSITION    = L_CONF_CONTEXT-WINDOW_TOP_POSITION
                 WINDOW_POSITION        = L_CONF_CONTEXT-WINDOW_POSITION
                 WINDOW_WIDTH           = L_CONF_CONTEXT-WINDOW_WIDTH
                 WINDOW_HEIGHT          = L_CONF_CONTEXT-WINDOW_HEIGHT
      L_POPUP->SUBSCRIBE_TO_BUTTON_EVENT(
              BUTTON             = IF_WD_WINDOW=>CO_BUTTON_YES
              ACTION_NAME        = 'YES'
              ACTION_VIEW        = P_API
              IS_DEFAULT_BUTTON  = ABAP_TRUE ).
      L_POPUP->SUBSCRIBE_TO_BUTTON_EVENT(
              BUTTON             = IF_WD_WINDOW=>CO_BUTTON_NO
              ACTION_NAME        = 'NO'
              ACTION_VIEW        = P_API
              IS_DEFAULT_BUTTON  = ABAP_FALSE ).
      L_POPUP->OPEN( ).
    ENDFUNCTION.
    function module:--End--
    call the function module  Begin----
    METHOD ONACTIONDELETE .
      DATA:
        L_API                               TYPE REF TO IF_WD_VIEW_CONTROLLER,
        L_CMP_API                           TYPE REF TO IF_WD_COMPONENT,
        NODE_ZTAB_PROJ                      TYPE REF TO IF_WD_CONTEXT_NODE,
        ELEM_ZTAB_PROJ                      TYPE REF TO IF_WD_CONTEXT_ELEMENT,
        STRU_ZTAB_PROJ                      TYPE IF_ZV_PROJ_DISPLAY=>ELEMENT_ZTAB_PROJ,
        SELECTED_ELEM                       TYPE  WDR_CONTEXT_ELEMENT_SET .
      navigate from <CONTEXT> to <ZTAB_PROJ> via lead selection
      L_API = WD_THIS->WD_GET_API( ).
      L_CMP_API = WD_COMP_CONTROLLER->WD_GET_API( ).
      CALL FUNCTION 'ZFUNM_CONFIRM'
        EXPORTING
          P_API     = L_API
          P_CMP_API = L_CMP_API.
      IF WD_THIS->A_DEL = ''.
        EXIT.
      ENDIF.
      NODE_ZTAB_PROJ = WD_CONTEXT->GET_CHILD_NODE( NAME = IF_ZV_PROJ_DISPLAY=>WDCTX_ZTAB_PROJ ).
      IF ( NODE_ZTAB_PROJ IS INITIAL ).
        EXIT.
      ENDIF.
      ELEM_ZTAB_PROJ = NODE_ZTAB_PROJ->GET_LEAD_SELECTION( ).
      ELEM_ZTAB_PROJ->GET_STATIC_ATTRIBUTES(
        IMPORTING
          STATIC_ATTRIBUTES = STRU_ZTAB_PROJ ).
      DELETE FROM ZTAB_PROJ
      WHERE COMCODE = STRU_ZTAB_PROJ-COMCODE
        AND PROJID  = STRU_ZTAB_PROJ-PROJID.
      WD_THIS->ONACTIONSELECT(
        WDEVENT = WDEVENT                        " Ref to cl_Wd_Custom_Event
    LOOP AT selected_elem .
    ENDLOOP.
      ELEM_ZTAB_PROJ
      @TODO handle not set lead selection
      alternative access  via index
      Elem_Ztab_Proj = Node_Ztab_Proj->get_Element( Index = 1 ).
      @TODO handle non existant child
      if ( Elem_Ztab_Proj is initial ).
      endif.
      get all declared attributes
    ELEM_ZTAB_PROJ->GET_STATIC_ATTRIBUTES(
       IMPORTING
         STATIC_ATTRIBUTES = STRU_ZTAB_PROJ ).
    ENDMETHOD.
    call the function module  End----

  • How to display a user message on WEBI Home page ?

    Hi all,
    How to display a user message on WEBI Home page ?
    like when ever the data gets scheduled at etl side i want to display a message a message on info view home page "new data is uploading" is this is possible to do ?

    Unfortunately this is not possible to do "out of the box".  There aren't any pre-configured options that will let you do this.  You're only real option is to try and modify the infoview source code yourself to do this.
    Regards,
    Shawn

  • Page designer show small view when using page template and cannot be run

    Dear Experts,
    I need to make some page templates.
    I have build 2 simple page templates, let say template0 & template1 which template1 using template0.
    It show no any problem until I close my Jdeveloper & reopen it.
    When I reopen template1, it show so small in designer (Jdeveloper window).
    Is there any wrong?
    I have build another template, just 1 template.
    When I used it at the first time, no any strange behavior occur.
    After ... (I don't exactly when), it give me the same view in my designer.
    Then I force to use my first tempate (template1 which used template0 inside), I cannot run my application at all.
    After wait several minutes, I found error log in my log messages.
    *#### Server Instance DefaultServer could not be started: Server Instance was terminated.*
    Above the message, I found another error messages:
    *Jun 7, 2009 5:40:19 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: null/tag:xmlContent/id:dte_160d74a
    org.xml.sax.SAXParseException: <Line 69, Column 7>: XML-20100: (Fatal Error) Expected 'EOF'.
    *     at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)*
    Is there anyone that can help me to find out why this error occured?
    Should I raise this problem to metalink or just can post it in this forum?
    Many thanks for your supporting...
    N.B: Below I attach my template0 (AHM000.jspx) and template1 (AHM001.jspx)
    Best regards,
    Dominic Chandra
    AHM000.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ahmwebtemplateBundleAHM000"
    value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <af:pageTemplateDef var="attrs">
    <af:panelSplitter orientation="vertical" splitterPosition="60">
    <f:facet name="first">
    <af:decorativeBox theme="dark" topHeight="0px">
    <f:facet name="center">
    <af:panelHeader text="#{attrs.pageTitle}">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend">
    <af:panelGroupLayout>
    <af:outputText value="#{attrs.pageName}"/>
    <af:outputText value="#{sessionScope.userState.userName}"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="info">
    <af:statusIndicator/>
    </f:facet>
    </af:panelHeader>
    </f:facet>
    <f:facet name="top"/>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="second">
    <af:panelSplitter orientation="vertical" positionedFromEnd="true"
    splitterPosition="20">
    <f:facet name="first">
    <af:decorativeBox theme="light" topHeight="0px">
    <f:facet name="center">
    <af:facetRef facetName="mainArea"/>
    </f:facet>
    <f:facet name="top"/>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="second">
    <af:panelGroupLayout inlineStyle="text-align:right;">
    <af:outputText value="#{ahmwebtemplateBundleAHM000.VERSION} #{attrs.appVersion}"
    inlineStyle="color:Navy;"/>
    <af:outputText value="© 2009 PT Astra Honda Motor"
    inlineStyle="color:Navy; font-weight:bold;"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelSplitter>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>AHM000</display-name>
    <facet>
    <description>Main Area</description>
    <facet-name>mainArea</facet-name>
    </facet>
    <attribute>
    <attribute-name>pageTitle</attribute-name>
    <attribute-class>java.lang.String</attribute-class>
    <default-value>Page Title</default-value>
    <required>true</required>
    </attribute>
    <attribute>
    <attribute-name>
    pageName
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    ahmxxyyynnnznn
    </default-value>
    <required>
    true
    </required>
    </attribute>
    <attribute>
    <attribute-name>
    appVersion
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    1.0.0
    </default-value>
    </attribute>
    </component>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>
    AHM001.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ahmwebtemplateBundleAHM001"
    value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <af:pageTemplateDef var="attrs">
    <af:pageTemplate viewId="/template/AHM000.jspx">
    <f:facet name="mainArea">
    <af:panelSplitter splitterPosition="#{attrs.searchAreaPosition}">
    <f:facet name="first">
    <af:facetRef facetName="searchArea"/>
    </f:facet>
    <f:facet name="second">
    <af:panelSplitter positionedFromEnd="true"
    splitterPosition="#{attrs.infoAreaPosition}">
    <f:facet name="first">
    <af:facetRef facetName="mainArea"/>
    </f:facet>
    <f:facet name="second">
    <af:facetRef facetName="infoArea"/>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    <f:attribute name="pageTitle"
    value="#{attrs.pageTitle}"/>
    <f:attribute name="pageName" value="#{attrs.pageName}"/>
    <f:attribute name="appVersion" value="#{attrs.appVersion}"/>
    </af:pageTemplate>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>AHM001</display-name>
    <facet>
    <description>Search Area</description>
    <facet-name>searchArea</facet-name>
    </facet>
    <facet>
    <description>Main Area</description>
    <facet-name>mainArea</facet-name>
    </facet>
    <facet>
    <description>Info Area</description>
    <facet-name>infoArea</facet-name>
    </facet>
    <attribute>
    <attribute-name>pageTitle</attribute-name>
    <attribute-class>java.lang.String</attribute-class>
    <default-value>Page Title</default-value>
    <required>true</required>
    </attribute>
    <attribute>
    <attribute-name>
    pageName
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    ahmxxyyynnnznn
    </default-value>
    <required>
    true
    </required>
    </attribute>
    <attribute>
    <attribute-name>
    appVersion
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    1.0.0
    </default-value>
    </attribute>
    <attribute>
    <attribute-name>
    searchAreaPosition
    </attribute-name>
    <attribute-class>
    java.lang.Integer
    </attribute-class>
    <default-value>
    200
    </default-value>
    </attribute>
    <attribute>
    <attribute-name>
    infoAreaPosition
    </attribute-name>
    <attribute-class>
    java.lang.Integer
    </attribute-class>
    <default-value>
    200
    </default-value>
    </attribute>
    </component>
    <af:decorativeBox>
    <f:facet name="center"/>
    <f:facet name="top"/>
    </af:decorativeBox>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>

    Hi...
    Thanks for asking....
    As I put in my post before, I include template0 in my template1, as seen in template1 (AHM001):
    <af:pageTemplateDef var="attrs">
    *<af:pageTemplate viewId="/template/AHM000.jspx">*
    I use AHM000 inside AHM001. I use this approach to build many template based on one basic design.
    Actually, I don't think the problem is in page template usage because as I submitted paralel to Metalink, I've already not called template0 in template1 but I copy template0's contents to template1.
    Unfortunately, page designer show small view and below error messages still occured.
    *Jun 7, 2009 10:25:20 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: /AhmTestTemplate-ViewController1-context-root/template/AHM001.jspx/tag:xmlContent/id:null
    org.xml.sax.SAXParseException: <Line 115, Column 51>: XML-20100: (Fatal Error) Expected 'EOF'.
    Fortunately my application can be run already altough the error message still logged.
    Many thanks,
    Dominic C.

  • How to display the eror message in the iView

    Hi
    I want to check the user input in the client side and display an error message in the iView instead of displaying the error message as an alert
    it is ok when I tried to do it as an alert
    alert('ERROR MESSAGE');
    but the problem is how to display the error message as a text in the iView ...
    I wrote the below code..
    any one can see it and has any sugestion?
    Thanks
    =============
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <%
    String compid = "";
    String message = "";
    %>
    <hbj:content id="MyContent">
    <hbj:page title = "Selection Screen">
    <hbj:form id = "myForm">
    <br>
    <br>
    <br>
    <center>
    <H3>Benefits Statement </H3>
    <H4>Selection Screen</H4>
    <hbj:gridLayout
    id="FSSLayout"
    debugMode="False"
    width="40%"
    cellSpacing="5"
    >
    <hbj:gridLayoutCell
    rowIndex="1"
    columnIndex="1"
    width="10%"
    horizontalAlignment="LEFT"
    style="WildStyle"
    >
    <hbj:label
    id="label_inputPernr"
    required="TRUE"
    text="Personal Number:"
    design="LABEL"
    labelFor="inputPernr"
    />
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="1"
    columnIndex="2"
    width="40%"
    horizontalAlignment="LEFT"
    >
    <hbj:inputField id = "inputPernr"
    >
    <%
    compid=MyContent.getParamIdForComponent(inputPernr);
    %>
    </hbj:inputField>
    </hbj:gridLayoutCell>
    <hbj:gridLayoutCell
    rowIndex="10"
    columnIndex="1"
    width="40%"
    horizontalAlignment="CENTER"
    colSpan="2"
    >
    <hbj:button id = "myButton" text="Submit.." design="EMPHASIZED"
    tooltip="Click me to submit this form" onClick="ClickEvent" onClientClick="validRequired()">
    </hbj:button>
    </hbj:gridLayoutCell>
    </hbj:gridLayout>
    </center>
    <p font="Arial" size=20><%= message%></p>
    </hbj:form>
    <SCRIPT LANGUAGE="Javascript">
    function validRequired()
    var myvar = document.getElementById('<%=compid%>').value;
    var ivID='<%=componentRequest.getComponentContext().getContextName()%>';
    if (myvar = " ")
    message = "Enter Employee Number";
    ivuRefresh(ivID);
    htmlbevent.cancelSubmit=true;
    </SCRIPT>
    </hbj:page>
    </hbj:content>

    No problem, here is an example of some html code and javascript that you can adapt to your needs. You can display this standalone to see how it works.
    I hope this helps
    <html>
         <head>
              <script language="JavaScript">
                   function validateForm(){
                        if(document.getElementById("nameField").value == "")
                             document.getElementById("errormessage").innerHTML = "Please enter the Name";
                        else if(document.getElementById("ageField").value == "")
                             document.getElementById("errormessage").innerHTML = "Please enter the Age";
                        else if(document.getElementById("idField").value == "")
                             document.getElementById("errormessage").innerHTML = "Please enter the id";                         
                        else
                             document.getElementById("errormessage").innerHTML = "";
              </script>
         </head>
         <body>
              <table border="0" cellpadding="0" cellspacing="0">
                   <tr>
                     <td>Name</td>
                     <td><input type="input" id="nameField" name="nameField"></td>
                   </tr>
                   <tr>
                     <td>Age</td>
                     <td><input type="input" id="ageField" name="ageField"></td>
                   </tr>
                   <tr>
                     <td>Id</td>
                     <td><input type="input" id="idField" name="idField"></td>
                   </tr>
                   <tr><td><font color="red"><span id="errormessage"></span></font></td></tr>
                   <tr><td><input type="button" name="validate" onClick="validateForm()" value="Click to validate"/></td></tr>
              </table>
         </body>
    </html>

  • Apex 5 Page Designer Suggestion and Bug

    Hi Apex Team,
    I would like to make a suggestion and report a bug related to the Page Designer.
    1. When editing the properties of an item on the Page Designer, there are two “CSS Classes” options, one under Appearance and another under Advanced (Show All options). My guess is they refer to the Item CSS Classes and HTML Form Element CSS Classes from the Component/Tree View; but this is not obvious for someone that comes new to Apex straight to the Page Designer. I would suggest renaming one of them with a more meaningful name to remove ambiguity.
    2. On the same item’s property on the Page Designer, by going to the List of Values Icon (^) of the CSS Classes or Custom Attributes, after the popup window opens, by clicking twice on the Go (>) button, the results are quadruplicated, even worse by quickly clicking multiple times. This does not happen for the Format Mask popup window.
    Thank you,
    Erick

    Hi Gerald,
    Saving the pivot view as primary default report works fine.  When you defined the pivot, did you save the setting as primary default settings (Actions > Save Report > Save As Default Report Settings, select primary)? Once you save, the report will display in pivot view when you come back to the page or reset the report.  If there is still an issue, please let me know the reproducible steps.
    Regards,
    Christina

  • Centred page design using layers

    Hi I use layers to design my web pages but would like to
    centre them, so they always
    appear in the centre of the page by default rather than
    aligned to the left hand side as positioned.
    (if you vierw my site you will see how its aligned to the
    left but would like to centre it )
    http://www.chrisleslie.co.uk)
    I know if you design with tables and you centre the page
    design it always appears centre but
    ist his possible with layers?????please, any help much
    appreciated. im using dreamweaver 8......
    chris

    > Hi I use layers to design my web pages
    This is usually a very poor choice - here's why....
    http://www.great-web-sights.com/g_layer-overlap.asp
    > ist his possible with layers?????
    Certainly.
    Change this -
    </head>
    to this -
    <style type="text/css">
    <!--
    body { text-align:center; }
    #wrapper { text-align:left; width:760px; margin:0
    auto;position:relative; }
    /* 760px will display on an 800px screen maximized browser
    window without */
    /* horizontal scrollbars. */
    -->
    </style>
    </head>
    change this -
    <body ...>
    to this -
    <body ...>
    <div id="wrapper">
    and this -
    </body>
    to this -
    <!-- /wrapper -->
    </div>
    </body>
    and see if that helps.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "chrisleslie" <[email protected]> wrote in
    message
    news:fj0pl2$oh3$[email protected]..
    > Hi I use layers to design my web pages but would like to
    centre them, so
    > they
    > always
    > appear in the centre of the page by default rather than
    aligned to the
    > left
    > hand side as positioned.
    > (if you vierw my site you will see how its aligned to
    the left but would
    > like
    > to centre it )
    >
    http://www.chrisleslie.co.uk)
    >
    >
    > I know if you design with tables and you centre the page
    design it always
    > appears centre but
    > ist his possible with layers?????please, any help much
    appreciated. im
    > using
    > dreamweaver 8......
    > chris
    >
    >
    >

  • How to display an alert message on click of link in tableview

    Hi,
    Following is the code for a tableview in layout section of a BSP( i have specified only one tableview column here). The requirement is to display an alert message on click of link in the first column that is "evbeg". Can anyone please help me how to achieve this? Appreciate quick response on this.
    CREATE OBJECT lr_dateiterator TYPE cl_lso_bsp_it_trdates
                EXPORTING im_application = application
                im_tform = trainingform.
            <htmlb:tableView id            = "dates"
                                 table         = "<%= dates %>"
                                 iterator      = "<%= lr_dateiterator %>"
                                 width         = "100%"
                                 rowCount      = "<%= lp_len %>"
                                 footerVisible = "FALSE"
                                 sort          = "SERVER" >
                  <htmlb:tableViewColumn columnName    = "evbeg"
                                         type          = "user"
                                         title         = "<%= otr(LSO_FRONTEND/schedule) %>"
                                         tooltipHeader = "<%= otr(LSO_FRONTEND/schedule) %>"
                                         sort          = "TRUE" >
                  </htmlb:tableViewColum>
    Thanks and Regards,
    Archana.

    you have to code in the iterator for this.
    in the render_cellstart method of the iterator you need to code.
    this is for a column.
    when 'MATNR'.
    data: text type string.
    text = 'disp_alert()'.   "this java script i placed in the page
    data: lo_link type ref to cl_htmlb_link.
      create object lo_link.
         lo_link->id = p_cell_id.
         lo_link->onclientclick = text.
         lo_link->text = <fs>-matnr.
         p_replacement_bee = lo_link.
    below is the java script i added in my page..
    <  sc ri   pt type="text/javasc ript"   >
    f u n  ction disp_alert()
    a  l e  rt("helloworld");
    < /s  c ript >

  • How to show modal window without popup in a web page using javascript

    Hi,
    How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
    pls help me.....

    Thanx for ur reply,
    Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page...

  • Display picture in messages totally  pixelated when seeing it with yahoo messenger for windows

    Hello,
    I'm using messages to chat with my yahoo messenger account  at work and yahoo messenger for windows at home.
    When I log into Yahoo with messages, my yahoo display picture is updated automatically with the one I have choose in messages.
    My problem is that this picture is totally pixelated when you see it on yahoo messenger for windows. It seems that Messages is changing its size.
    As the size in Yahoo messenger for windows is bigger it appears pixelated!
    If I choose no display picture in messages, the one I have choose with yahoo messenger for windows disappear when I'm logging with it.
    Is there a way that messages do not update the display picture each time I'm logging to Yahoo?
    I suppose that there is no solution to this problem but I wanted to be sure.
    Anyway thanks for your help.

    HI,
    Thanks for the Path.
    This does seem to show all the Recents from the Contacts App > My Card, the Login Pic and the Messages Buddy List pic.
    I think in Mountain Lion these were either separate items  or the .plist that is in the current place listed the app/location the pic was used.
    I have looked at the pictures in the folder (.png and thumbnail .tiffs) and the .plist and it does seem to be all the pics I have used in all three places over the last few months.
    The Yahoo account is logged in not through IMAgent that FaceTime and Messages use for other Accounts but from the IMServicePluginAgent.
    In Mountain Lion this used to list a Buddy Pic server as well as a straightforward login.
    Using Little Snitch I am not seeing that in Mavericks.
    Seems you may have to change your Pic on a web page for your Yahoo account.
    Edit
    for the Points
    9:22 pm      Friday; November 8, 2013
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    Message was edited by: Ralph Johns (UK)

  • When starting FireFox, a message is displayed "script error" message related to Chrome - FireFox will not start regardless of the answer I select - how can I get FireFox to display so I can turn off all plug-ins? Safe Mode does the same thing.

    This problem isn't on this system - but a system I support at our church.
    When FireFox is started the first display is the message "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: chrome://tavgp/content/libs/include.js:1101". There are two option buttons - Continue and Stop Script. Selecting either button closes that window - BUT the FireFox window is never displayed.

    Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    *Download the full Firefox installer and save the file to the desktop<br>https://www.mozilla.org/en-US/firefox/all/
    If possible uninstall your current Firefox version to cleanup the Windows registry and settings in security software.
    *Do NOT remove "personal data" when you uninstall your current Firefox version, because this will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure NOT to remove personal data when you uninstall Firefox as that will remove all Firefox profile folders and you lose your personal data.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Display an error message during a few seconds

    Hi!
    When submitting a form, I am displaying a error message saying that the actions performed work fine. Afterwards I would like this message to disappear after a few seconds. How can I do that ?
    in the function called by my action button that submit the form i have:
    public void saveForm() {
    // .... operations ....
    context.addMessage(null,new FacesMessage("Everything is ok"));
    }

    Hi,
    I doubt if there is anything you can do from the action method
    saveForm(), however this you can do it from the client side just
    put some seconds delay in onload method in javascript and
    redirect to some other page.
    Thanks
    Ansar

Maybe you are looking for

  • I have a problem with Arabic text

    Hi, I hope that you can help? I am doing a newsletter which I have an arabic translation of in a word document. When I copy and paste into Illustrator it changes the font (it says times new roman in the word doc, but the illustrator version comes out

  • Can you change the Tab Leader in InDesign?

    I have a large text document that I'm working with. I have some tabs set up, nothing special or anything. I need to tab over without the leader on a few lines. Is there a way to change the leader to nothing for just a few lines? Thanks in advance!

  • Is it possible to create a zoom region by window in Flash player

    Hi all I am desperately looking online to see it this is possible: And not having much luck,  The user views our map in flashplayer and can zoom into an area by defining a window (left hand mouse button, click >hold and drag to define size of window.

  • Assigning of Classes to superior classes Using SXDA_Tools...Urgent

    Hi All, I have a requirement in which i have to create classes(Material classes, CL01) and subclasses for them. In the second step i will have to assign the created sub classes to their respective superior classes. I could create classes using batch

  • I got a question

    alright i bought my imac around 4 months ago and im wanting to take it back because i realize i could of gotten a macbook pro 15 inch i5 and a 27 inch led display and have the both luxury of having a desktop and a portable laptop is there any way i c