Alert srceen in JSP

Hi,
New to JSP, do we have a function to pop up an alert message in JSP?
Thanks.
Jason

This was just an example. Did you expect me to write all of the code he wants? Just trying to show what it would like. JSP is a page. It can include beans, Javascript and of course HTML tags. So it is amateur to say that it is not JSP and it is javascript. Even if you built your page with .java file you must write: <HEAD> and <BODY> and the rest tags. That doesnt me that your page is not JSP!

Similar Messages

  • Using window.alert in a jsp file

    I am creating a website, when a user is found invalid I want to display an alert. The code is below
        if( invalid )
             window.alert( "Invalide user" );
             response.sendRedirect( "login.jsp" );
       }  The problem is that window.alert is not working, Please tell how to solve this problem.
    Thanks

    You need to distinguish between the serverside Java programming language and the clientside Javascript scripting language. Those are two completely different languages. The alert() is a Javascript function, not a Java class/method.

  • Polish , turkish text not decoding in the alert boxes in JSP file

    Hi All,
    Currently I am working on application in the J2ee development perspective in NWDI  and this contains many Jsp pages.As per the business requirement we need to make this application support Polish and turkish languages , for this we have maintained properties files .
    I have encoded the polish and turkish text using the u201CHTML Unicode format encodingu201D hence when checked the url in the IE with Polish and turkish locale all the characters are getting decoded properly ,but i have a proplem with the text in the alert boxes i.e. the special characters in the text displayed in the alert boxes is not getting  decoded at all eg:"Wprowad&#378; numer konta BP" whereas it has to display as "Wprowadź numer konta BP:
    Also i have used java encode also to achieve the same and for this "?" is getting displayed i.e. it is not getting properly decoded.
    I have also used native2ascii method in this also it is getting decoded but not correctly i.e. "?" is displayed
    Please note that the alert boxes are written in the script tag in the JSP page.
    Request you to kindly help me in resolving the issue at the earliest as this is a very critical issue in my project now.
    Thanks and Regards,
    Nishita Salver

    Hi nishita,
    We had a similar problem in one of my projects, but what i remember is we have kept the ascii value for that character directly in the properties files and tried to encode it, this way i resolved my problem.
    Try this way and let me know the result.
    Regards,
    Saleem Mohammad.

  • How to suppress the HTTPS alert in a JSP page?

    Hi,
    I have a JSP page which is https,
    If I try to move from that page to another https site or refresh the same page ,
    I am getting the security alert ,
    How to suppress that alert
    Please help me out,
    It is more urgent ....

    I think it is possible because i have seen some sites in the internet which is https but I didnt see any alert for that
    Please help me out

  • Problem in Struts JSP

    Hi All,
    I have a problem in the JSP where I am using two select list boxes for displaying two lists of size 4, I can transfer the values from one list box to another using buttons. The html part is as mentioned below:
    <td colSpan="2">
    <html:radio property="types" value="all" onclick="greyOutTypes(true);fb_MoveAllOptions(transSearchQueryForm.availableTypes, transSearchQueryForm.selectedTypes);displayVal()"/><bean:message key="label.report.allTypes" />
    <bean:message key="label.report.or"/>
    <html:radio property="types" value="select" onclick="greyOutTypes(false);fb_MoveAllOptions(transSearchQueryForm.selectedTypes, transSearchQueryForm.availableTypes);displayVal()"/>
    <bean:message key="label.report.selectTypes" />
    </td>
    </tr>
    <tr>
    <td>
    <br>
    </td>
    <td colSpan="4">
    <table cellpadding="0" cellspacing="2" border="0">
    <tr>
    <td colspan=3>
    <bean:message key="label.report.availableTypes"/>
    </td>
    <td>
    <bean:message key="label.report.selectedTypes"/>
    </td>
    </tr>
    <tr>
    <td>
    <bean:define name="transSearchQueryForm" id="availableTypesCollection" property="availableTypesTM" />
    <html:select size="4" property="availableTypes" multiple="true" styleClass="lists" >
    <html:options collection="availableTypesCollection" property="key" labelProperty="value" />
    </html:select>
    </td>
    <td vAlign=center align=middle>
    <p>
    <input type="button" name="btRemoveGroup" class="smallbutton" value="<" onclick="javascript:fb_SelectBoxMoveSelectedOptions(transSearchQueryForm.selectedTypes, transSearchQueryForm.availableTypes);displayVal()">
    <br>
    <input type="button" name="btRemoveAllGroups" class="smallbutton" value="<<" onclick="javascript:fb_MoveAllOptions(transSearchQueryForm.selectedTypes, transSearchQueryForm.availableTypes);displayVal()">
    </p>
    </td>
    <td vAlign=center align=middle>
    <p>
    <input type="button" name="btAddGroup" class="smallbutton" value=">" onclick="javascript:fb_SelectBoxMoveSelectedOptions(transSearchQueryForm.availableTypes, transSearchQueryForm.selectedTypes);displayVal()">
    <br>
    <input type="button" name="btAddAllGroups" class="smallbutton" value=">>" onclick="javascript:fb_MoveAllOptions(transSearchQueryForm.availableTypes, transSearchQueryForm.selectedTypes);displayVal()">
    </p>
    </td>
    <td>
    <bean:define name="transSearchQueryForm" id="selectedTypesCollection" property="selectedTypesTM" />
    <html:select property="selectedTypes" multiple="true" size="4" styleClass="lists" >
    <html:options collection="selectedTypesCollection" property="key" labelProperty="value" />
    </html:select>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    The transfer of values works fine when we select one or more values by individually selecting them. But this fails to work when we do a move all or we click on the Select radio button which eventually does a move all.
    After analyzing we found that when we do a move all then the form bean does not get updated with the changes made by the user; like suppose we move all from the Select list to Available list then the availableTypes array (which is associated with the Select for Available Types) show all the types moved to it which is correct but the selectedTypes array (which is associated with the Select for Select Types) also shows all the types in the form bean so when the JSP is reloaded then both the lists boxes show the same entries (all the entries on either side), thus duplicating each entry and causing an error.
    The same work absolutely correctly when we manually select one or more entries from either of the list boxes. Meaning both the form bean arrays reflect what the user has selected on the screen.
    The methods called on click of the buttons are clearly setting and removing entries selected from the two arrays. We put alerts in the JSP to see the changes in the arrays and they reflect correct values. But once the control has been transferred to the java classes we view the form bean values of the same two arrays which show different values.
    Please let me know how I can make the changes of the user reflect in the form bean somehow!
    Thanks,
    Regards,
    Abhishek Arora

    Hi,
    I have similar code, and i have used java script, i hope it is usefull and it is quite simple in fact very simple
    <html>
    <head>
         <script language="javascript">
              function moveDualList(leftlist,rightlist)
                   if(leftlist.selectedIndex==-1)
                        alert("Nothing Slected To Transfer");
                   else
                        newDestList = new Array( rightlist.options.length );
                        var len = 0;
                        for( len = 0; len < rightlist.options.length; len++ )
                             newDestList[ len ] = new Option(rightlist.options[ len ].text,rightlist.options[ len ].value,rightlist.options[ len ].defaultSelected, rightlist.options[ len ].selected);
                             var styletextinlist = rightlist.options[len].style.cssText;
                             newDestList[ len ].style.cssText = styletextinlist;
                        for(var i=0;i<leftlist.options.length;i++)
                             if((leftlist.options!=null) && (leftlist.options[i].selected==true))
                                  newDestList[ len ] = new Option(leftlist.options[i].text, leftlist.options[i].value, leftlist.options[i].defaultSelected, leftlist.options[i].selected);
                                  var styletextinlist = leftlist.options[i].style.cssText;
                                  newDestList[ len ].style.cssText = styletextinlist;                              
                                  len++;
                        for ( var j = 0; j < newDestList.length; j++ )
                        if ( newDestList[ j ] != null )
                             rightlist.options[ j ] = newDestList[ j ];                    
                        for( var i = leftlist.length -1; i >= 0 ; i--)
                        if ( leftlist.options[i] != null && ( leftlist.options[i].selected == true))
                             leftlist.options[i]=null;                                                  
         </script>
    </head>
         <body>
              <center>
                   <form name="coolform">     
                   <table border="0">
                        <tr>
                             <td rowspan="2">
                                  <select size="10" name="leftlist" multiple>
                                       <option style = "color:RED">One
                                       <option style = "color:BLUE">Two
                                       <option style = "color:GREEN">Three
                                  </select>
                             </td>
                             <td align="center"><input type="button" value="Add>>" name = "added" onClick="moveDualList(document.coolform.leftlist,document.coolform.rightlist)"></td>
                             <td rowspan="2">
                                  <select name="rightlist" size="10" multiple>                                   
                                  </select>
                             </td>
                        </tr>
                        <tr>     
                             <td><input type="button" value="Rem<<" onClick="moveDualList(document.coolform.rightlist,document.coolform.leftlist)"></td>
                        </tr>
                   </table>
                   </form>
              </center>
         </body>     
    </html>

  • 'session' is undefined - javascript error in my JSF/JSP page

    I have the following JSF/JSP page. In onLoad() I invoke a javascript function func(). In this method, I attempt to lookup an attribute from the Http Session. When I run my application, my page is loaded with but the icon on the lower left corner of the browser indicated that there was an error. When I viewed the error, it read : 'session' is undefined.
    The 'session' variable is available in a JSP page.
    So why does my code not work from within a JSF application.
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:ui="http://www.sun.com/web/ui">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>   
        <f:view>
            <ui:page binding="#{bean.page1}" id="page1">
                <ui:html binding="#{bean.html1}" id="html1">
                    <ui:head binding="#{bean.head1}" id="head1">
                        </ui:head>
                    <ui:body binding="#{bean.body1}" onLoad="func()" id="body1" style="-rave-layout: grid">
                        <ui:form binding="#{bean.form1}" id="form1">                       
                            <h:inputText binding="#{bean.inputText}" id="inputText"/>
                        </ui:form>
                    </ui:body>
                </ui:html>
            </ui:page>
        </f:view>
        <script type="text/javascript">
            function func(){                  
                    alert("in func()");
                    var y = session.getAttribute("test");
                    alert(y);
        </script>
    </jsp:root>thanks,
    tsc

    Because :
    Session.getAtrribute is java-code that can only run on the server
    and
    var y = session.getAttribute is javascript-code run on the client.

  • Alert box on form load

    can anyone plz tell me how can i display an alert box on jsp page load

    Standard way is for the form to have an onload event on the body that invokes some javascript.
    <body onload="alert('Hello World')">Or more likely
    <script language="javascript">
      function loadFormEvent(){
          var message = "<%= messageToOutput %>";
          alert(message);
    </script>
    <body onload="loadFormEvent()">Thats a very basic/broken example that won't work in all cases, but should communicate the basics.
    cheers,
    evnafets

  • How can i display collection of  records in HTML Table using DWR framework

    Dear All,
    Just i start using the Direct Web Remoting framework.I am worrying to get the list of records to display html table using this concept.I did the same like.
    index.js
    var cellFuncs = [
    function(data) { return data; },
    function(data) { return data.toUpperCase(); },
    function(data) { return "<input type='button' value='Test' onclick='alert(\"Hi\");'/>";  },
    function(data) { return count++; }
    function update() {
    var name = dwr.util.getValue("demoName");
    Demo.sayHello(name, function(data) {    dwr.util.setValue("demoReply", data);   } );
    var count = 1;
    dwr.util.addRows( "tabs",[ 'Africa', 'America', 'Asia', 'Australasia', 'Europe' ], cellFuncs);
    alert("hai");
    index.jsp
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type='text/javascript' src='dwr/engine.js'> </script>
    <script type='text/javascript' src='dwr/util.js'> </script>
    <script type='text/javascript' src='dwr/interface/Demo.js'> </script>
    <script type="text/javascript" src='index.js'> </script>
    </head>
    <body>
    <div id="tabContents">
    <div id="demoDiv">
    <p>
    Name:
    <input type="text" id="demoName" value="Joe"/>
    <input value="Send" type="button" onclick="update()"/>
    Reply: <span id="demoReply" style="background:#eeffdd; padding-left:4px; padding-right:4px;"></span>
         <table id="tabl1">
         <tbody id="tabs">
         <tr>
         <td>name</td>
         <td>name1</td>
         <td>name2</td>
         <td>name3sdf</td>
         </tr>
         <tbody>
         </table>
    </p>
    </div>
    </div>
    </body>
    </html>
    dwr.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://getahead.org/dwr/dwr20.dtd">
    <dwr>
    <allow>
    <!-- simpletext -->
    <create creator="new" javascript="Demo">
    <param name="class" value="org.getahead.dwrdemo.simpletext.Demo"/>
    </create>
    </allow>
    </dwr>
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app id="dwr">
    <display-name>DWR (Direct Web Remoting)</display-name>
    <description>A Simple Demo DWR</description>
    <servlet>
    <servlet-name>dwr-invoker</servlet-name>
    <display-name>DWR Servlet</display-name>
    <description>Direct Web Remoter Servlet</description>
    <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
    <init-param>
    <param-name>debug</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>activeReverseAjaxEnabled</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>initApplicationScopeCreatorsAtStartup</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>maxWaitAfterWrite</param-name>
    <param-value>500</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>dwr-invoker</servlet-name>
    <url-pattern>/dwr/*</url-pattern>
    </servlet-mapping>
    </web-app>
    Demo.java
    package org.getahead.dwrdemo.simpletext;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import org.directwebremoting.WebContext;
    import org.directwebremoting.WebContextFactory;
    public class Demo
    public String sayHello(String name)
    return "Hello, " + name;
    the sayHello() is printing the display.But the table rows not updating.But its object expected.So can you tell me where i need to change and how to add the pagination for the table like 10 by 10 records to display.
    Please help me.
    Saravanan

    Hi Brian,
    OAF supports the master-detail based design. You can very well implement your model. You can use 2 VO for your 2 objects and link them using a ViewLink. Check OAF Dev guide for more details.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • RFC Timeout

    Hi,
    I have a scenario HTTP> XI> RFC
    It is synchronos scenario.
    There can be HTTP timeout or RFC timeout.
    HTTP Timeout will return HTTP Error 500.
    In case of RFC timeout in XI I want to send timeout error in Response.
    Is this possible without BPM (I know I can catch system exception in block )
    Thanks in advance.
    Beena.

    Hi Aamir,
    I dont want to send alert but my JSP page should receive xml Response with \
    <Error>Timeout<Error>
    Thanks,
    Beena

  • Accessing Applet in javascript.

    I have an applet renedered using java plugin. thru object tag. I want to access public method of this applet thru javascript. Anybody has any idea or sample code please send it accross.
    following is the HTML code
    Regards
    <html>
    <head><title>Sostenuto</title><script language=javascript>
    function callme()
    alert(document.applets.length);
    alert(document.PumaApplet.jsp('testing'));
    </script></head>
    <body BGCOLOR="#ffffff" LINK="#000099" topmargin=0 leftmargin=0 SCROLL='auto' onload="callme()"><SCRIPT LANGUAGE="JavaScript"><!--
    var info = navigator.userAgent; var ns = false;var ie = (info.indexOf("MSIE") > 0 && info.indexOf("Win") > 0 && info.indexOf("Windows 3.1") < 0);
    //--></SCRIPT>
    <COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
    var ns = (navigator.appName.indexOf("Netscape") >= 0 && ((info.indexOf("Win") > 0 && info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
    //--></SCRIPT></COMMENT>
    <SCRIPT LANGUAGE="JavaScript"><!--
    if (_ie == true)
    document.writeln('<OBJECT id="PumaApplet" classid="clsid:CAFEEFAC-0013-0001-0001-ABCDEFFEDCBA" WIDTH=1024 HEIGHT=768 codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_3_1_01a-win.cab#Version=1,3,1,01"><NOEMBED><XMP>');
    else if (_ns == true)
    document.writeln('<EMBED type="application/x-java-applet;version=1.1.2" java_CODE="PumaApplet.class" java_CODEBASE="." ARCHIVE="/Client_Sostenuto.jar" WIDTH=1024 HEIGHT=768 pluginspage="http://java.sun.com/products/plugin/1.1.2/plugin-install.html"><NOEMBED><XMP>');
    //--></SCRIPT>
    <APPLET CODE="com.sunrisesw.puma.presentation.applet.PumaApplet.class" archive='Client_Sostenuto.jar' CODEBASE = 'http://163.122.39.142:8080/' WIDTH=1024 HEIGHT=768 ></XMP>
    <PARAM NAME=CODE VALUE="com.sunrisesw.puma.presentation.applet.PumaApplet">
    <PARAM NAME=CODEBASE VALUE="http://163.122.39.142:8080/">
    <PARAM NAME=ARCHIVE VALUE="Client_Sostenuto.jar"><PARAM NAME = SERVLETURL VALUE= /servlet/sostenuto><param name="serial_number" value=To1010mC8917201832472555At>
    <PARAM NAME="CENTRALTIME" VALUE=" 2003-04-01 19:50:13.855"><PARAM NAME="PWDREMINDER" VALUE=" ">
    </APPLET>
    </body >
    </html>

    PS: MAYSCRIPT (imho) is for the reverse - accessing javascript from java With IE6.0/NN7.02 and JRE1.4.2beta, I've found that html file no longer needs to be converted with htmlconverter. Furthermore:
    1) a simple <APPLET>...</APPLET> tag is all that is needed (i.e., no longer is there a need for <OBJECT>...</OBJECT> for IE, or <EMBED>...</EMBED> for NN).
    2) MAYSCRIPT="true" is all that's needed for Java<-->JavaScript communications via LiveConnect.
    For a demonstration, check out the link shown below:
    http://www.aokabc.com
    ;o)
    V.V.

  • Printing alert message in a jsp form a common file.

    Hi all,
    I have a file in which i have to print an alert message. Now the contents of the alert msg are in a common file with the extension" .properties ". in this .properties file the msg that has to be printed is kept in the following manner
    errors.abc.trialMsg=Hi.
    so now i have to do something like this
    alert("Hi");
    except that it cant bee hard coded in the jsp itself but has to be as a constant in the .properties file.
    something like alert(errors.abc.trialMsg);
    but im not sure what should be the correct syntax for it to work....cud someone help me.

    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
    <fmt:message key="errors.abc.trialMsg"/>Pozz
    Rale

  • How to use JOptionPane in jsp, instead of javascript message alert box?

    HI,
    How to use JOptionPane in jsp,
    instead of javascript "message alert box"?
    I hate javascript,
    I'd like to only use java in jsp. don't use javascript.
    javascript is client side,
    jsp is server side. i know that.
    how to... instead of javascript box?
    how to use ... message box in webpage?
    don't use applet,,,, don't use javascript,,,
    hm...zzzZzz
    I hate javascript..T.T
    <SCRIPT language=JavaScript>
    alert("hate javascript");
    </SCRIPT>
    ===>>>>
    In this way,,
    JOptionPane.showOptionDialog(null,"I love java")
    I'd like to only use jsp and java and html...in webpage.
    don't use javascript....
    Why? don't sun provide message box in jsp, instead of javascrip box?
    Why?
    Edited by: seong-ki on Nov 4, 2007 8:38 PM

    Drugs are bad, m'kay?

  • How to Show the Alerts inside the Form in JSP?

    Hello
    I am having parent form inside that thru one of the links,opening
    a small another JSP. Inside the small another JSP, i am validating
    the Screen and giving alerts. While Validating, the Alerts are coming
    outside the small another JSP and appearing in the Parent Big Page.
    I want the alert to appear in the small Another JSP. What to do?
    Thanks

    When you submit, the whole form is submitted. thats why you are getting alerts like that.
    you can use HTML frames to avoid these. but it is not possible to have frames inside a form. you have to have forms inside a frame. submit that particular frame's form so that only that part will be refreshed with messages/alerts.
    the otherway is paint the screen as it was earlier just change the inner jsp content. its seems you are getting only alerts cos the information is same.
    -sun

  • Urgent Help Please..How to show an alert in jsp if servlet has an exception

    Hi
    I am calling a servlet from popup jsp.
    When the values are submitted from the jsp I am calling the servlet where i have functionality to send an email. But if email fails in the servlet I have to return to the popupjsp and show an alert to the user.
    If any body knows please help.
    thanks in advance.

    Hi,
    Do like this :
    In the servlet's doPost() method, add codes in the manner
    mentioned below.
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{
    PrintWriter out = response.getWriter();
    try{
    //throw new Exception();
    catch(Exception ex){
    out.println("<html><body>");
    out.println("<script language='javaScript'>");
    out.println("alert('Exception Occured Servlet...');</script>");
    out.println("</body></html>");
    Hope it helps.
    Regards,
    Sudhir

  • Could not display Alert component in Visualweb JSP page

    Hi All,
    I am having difficulty getting the Ajax Autovalidation Alert Component to work in Netbeans Visualweb 6.5 on Windows XP with the following steps:
    ( i ) Set autoValidate attribute of firstnametextField and lastnametextField to "true" from property windows of Page1.jsp.
    ( ii ) Drag the Alert component of Page1.jsp and modified it's default id attribute to "form1:autoValidateAlert". Some how Netbeans change this attribute in the property window to "form1_autoValidateAlert" instead.
    ( iii ) Add notify="form1:autoValidateAlert" to Page1.jsp file for both firstnametextField and lastnametextField as follows:
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page id="page1">
                <webuijsf:html id="html1">
                    <webuijsf:head id="head1">
                        <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                    </webuijsf:head>
                    <webuijsf:body id="body1" style="-rave-layout: grid">
                        <webuijsf:form id="form1">
                            <webuijsf:button actionExpression="#{Page1.button1_action}" binding="#{Page1.button1}" id="button1"
                                style="left: 130px; top: 144px; position: absolute" text="Submit"/>
                            <webuijsf:textField autoValidate="true" binding="#{Page1.firstNametextField}" columns="10" id="firstNametextField" label="First Name"
                                notify="form1:autoValidateAlert" required="true" style="left: 52px; top: 48px; position: absolute" text="#{SessionBean1.page1FirstName}"/>
                            <webuijsf:textField binding="#{Page1.middleNametextField}" columns="10" id="middleNametextField" label="Middle Name"
                                style="left: 47px; top: 71px; position: absolute" text="#{SessionBean1.page1MiddleName}"/>
                            <webuijsf:textField autoValidate="true" binding="#{Page1.lastNametextField}" columns="10" id="lastNametextField" label="Last Name"
                                notify="form1:autoValidateAlert" required="true" style="left: 53px; top: 94px; position: absolute" text="#{SessionBean1.page1LastName}"/>
                            <webuijsf:dropDown id="salutationdropDown" items="#{Page1.salutationdropDownDefaultOptions.options}" label="Salutation"
                                selected="#{SessionBean1.page1Salution}" style="left: 75px; top: 118px; position: absolute"/>
                            <webuijsf:alert id="autoValidateAlert" style="position: absolute; left: 96px; top: 216px"/>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>However, the Alert Component does not pop up after leaving First Name or Last Name text field blank prior to entering the field such as middlenametextField...
    Your suggestion would appreciated.
    Thanks,
    Jack

    timo
    Please be patient and wait for an answer in the other thread...
    how can i display the declarative components on the jsp page, am not able to diplay in runtime but can see decalarative components in design
    Edited by: Tshifhiwa on 2012/06/26 8:26 PM

Maybe you are looking for

  • Iphoto books in Bahrain

    I am a New Zealander living in Bahrain. I want to order an iphoto book but my NZ account doesn't allow me to have a book shipped outside NZ. If I set up an account in Bahrain will I be able to purchase an iphoto book and have it sent to me in Bahrain

  • External battery for my 3GS.

    Iphone 3Gs does not recognize my backup battery charger.  I have an external battery from Brookstone that charges my phone when I cannot connect to the wall.  The phone no longer recognizes my charger. 

  • Can ESB satisfy these publish / subscribe requirements?

    I have some requirements that I thing ESB should be able to help me to achieve. I effectively have a central system that needs to update some other systems, depending on the data it could be 1 system or 5 systems to be updated. The requirements I thi

  • Multiple Outputs One Input

    Hi, I have about four labview files which have outputs that must go into a single VI with only one input. The problem I have is labview will not let you wire multiple sources into a single sink. I have a state machine setup where it goes through a it

  • Line break not works in my query!!

    Hi I have a query which returns my data as string with comma(','). here is my query : declare @strTasks nvarchar(max) set @strTasks=(SELECT distinct(stuff( select ',' + t1.TaskTitle from Tasks t1 order by t1.DueTime for xml path('') ),1,1,'')) Tasks