No, it is the login page. This page leads to the

http://localhost:8080/telemarketing/faces/query.jsp

whose code is (note that it is incomplete because it crashes):

<html><head>
<link rel="stylesheet"
href="/telemarketing/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12693516/calendar.HtmlCalendarRenderer/WH/theme.css"
type="text/css" />
<link rel="stylesheet"
href="/telemarketing/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12693516/calendar.HtmlCalendarRenderer/DB/theme.css"
type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Benvenuto</title>
<style type="text/css">
    <!--
    .highlight { background-color: #A8D1E8; color=blue;}
    -->
</style>
</head><body id="j_id_jsp_470444661_3"><form id="queryaziende"
name="queryaziende" method="post" action="/telemarketing/faces/query.jsp"
enctype="application/x-www-form-urlencoded">
    <p>Benvenuto <label>Fabio</label>&nbsp;<label>Ferrari</label></p>
    <p>Provincia: <select name="queryaziende:j_id_jsp_470444661_7"
size="1">    <option value="PR">PR</option>    <option
value="BS">BS</option>    <option value="" selected="selected"></option>
<option value="TO">TO</option>    <option value="PZ">PZ</option>    <option
value="ZIBELLO">ZIBELLO</option>    <option value="SP">SP</option>
<option value="MI">MI</option></select>
    Stato: <select name="queryaziende:j_id_jsp_470444661_9" size="1">
<option value="x">Non interessato</option>    <option value="C">In
trattativa</option>    <option value="A">Acquisto
effettuato</option></select></p>

<span id="queryaziende:datainiz"><input id="queryaziende:datainiz.day"
name="queryaziende:datainiz.day" size="2" maxlength="2" /><select
id="queryaziende:datainiz.month" name="queryaziende:datainiz.month"
size="1"><option value="-1" selected="selected"></option>        <option
value="1">gennaio</option>        <option value="2">febbraio</option>
<option value="3">marzo</option>        <option value="4">aprile</option>
    <option value="5">maggio</option>        <option
value="6">giugno</option>        <option value="7">luglio</option>
<option value="8">agosto</option>        <option
value="9">settembre</option>        <option value="10">ottobre</option>
    <option value="11">novembre</option>        <option
value="12">dicembre</option></select><input id="queryaziende:datainiz.year"
name="queryaziende:datainiz.year" size="4" maxlength="4" />



2010/3/23 Jakob Korherr <[email protected]>

> Thanks!
>
> Is this the page that is supposed to render the calendar with the popup?
> Because I don't see the javascript needed for it here..
>
> Regards,
> Jakob
>
> 2010/3/23 Fabio F. <[email protected]>
>
> > Ah, ok.
> >
> > Here's login.jsp.
> >
> > <html>
> > <head>
> > <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> > <title>Login aziende</title>
> > </head>
> > <body>
> > <center><h1>Elenco aziende</h1></center>
> > <form id="login" name="login" method="post"
> > action="/telemarketing/faces/login.jsp"
> > enctype="application/x-www-form-urlencoded">
> >    <p>Entra</p>
> >    <p>Username: <input id="login:j_id_jsp_1876195572_2"
> > name="login:j_id_jsp_1876195572_2" type="text" value="fabio" /></p>
> >    <p>Password: <input type="password" name="login:j_id_jsp_1876195572_3"
> > /></p>
> >    <script type="text/javascript"><!--
> >
> >
> >    function oamSetHiddenInput(formname, name, value)
> >    {
> >        var form = document.forms[formname];
> >        if (typeof form == 'undefined')
> >        {
> >            form = document.getElementById(formName);
> >        }
> >
> >        if(typeof form.elements[name]!='undefined' &&
> > (form.elements[name].nodeName=='INPUT' ||
> > form.elements[name].nodeName=='input'))
> >        {
> >            form.elements[name].value=value;
> >        }
> >        else
> >        {
> >            var newInput = document.createElement('input');
> >            newInput.setAttribute('type','hidden');
> >            newInput.setAttribute('id',name);
> >            newInput.setAttribute('name',name);
> >            newInput.setAttribute('value',value);
> >            form.appendChild(newInput);
> >        }
> >
> >    }
> >
> >
> >    function oamClearHiddenInput(formname, name, value)
> >    {
> >        var form = document.forms[formname];
> >        if (typeof form == 'undefined')
> >        {
> >            form = document.getElementById(formName);
> >        }
> >
> >        var hInput = form.elements[name];
> >        if(typeof hInput !='undefined')
> >        {
> >            form.removeChild(hInput);
> >        }
> >
> >    }
> >
> >    function oamSubmitForm(formName, linkId, target, params)
> >    {
> >
> >        var clearFn = 'clearFormHiddenParams_'+formName.replace(/-/g,
> > '\$:').replace(/:/g,'_');
> >        if(typeof window[clearFn] =='function')
> >        {
> >            window[clearFn](formName);
> >        }
> >
> >        if(typeof window.getScrolling!='undefined')
> >        {
> >            oamSetHiddenInput(formName,'autoScroll',getScrolling());
> >        }
> >
> >        var form = document.forms[formName];
> >        if (typeof form == 'undefined')
> >        {
> >            form = document.getElementById(formName);
> >        }
> >
> >        var oldTarget = form.target;
> >        if(target != null)
> >        {
> >
> >            form.target=target;
> >        }
> >        if((typeof params!='undefined') && params != null)
> >        {
> >
> >            for(var i=0, param; (param = params[i]); i++)
> >            {
> >                oamSetHiddenInput(formName,param[0], param[1]);
> >            }
> >
> >        }
> >
> >        oamSetHiddenInput(formName,formName +':'+'_idcl',linkId);
> >
> >        if(form.onsubmit)
> >        {
> >            var result=form.onsubmit();
> >            if((typeof result=='undefined')||result)
> >            {
> >                try
> >                {
> >                    form.submit();
> >                }
> >                catch(e){}
> >            }
> >
> >        }
> >        else
> >        {
> >            try
> >            {
> >                form.submit();
> >            }
> >            catch(e){}
> >        }
> >
> >        form.target=oldTarget;
> >        if((typeof params!='undefined') && params != null)
> >        {
> >
> >            for(var i=0, param; (param = params[i]); i++)
> >            {
> >                oamClearHiddenInput(formName,param[0], param[1]);
> >            }
> >
> >        }
> >
> >        oamClearHiddenInput(formName,formName +':'+'_idcl',linkId);return
> > false;
> >    }
> >
> >
> > //--></script><input id="login:j_id_jsp_1876195572_4"
> > name="login:j_id_jsp_1876195572_4" type="submit" value="Login"
> > onclick="if(typeof
> >
> >
> window.getScrolling!='undefined'){oamSetHiddenInput('login','autoScroll',getScrolling());}"
> > />
> > <input type="hidden" name="autoScroll" />
> > <input type="hidden" name="login_SUBMIT" value="1" /><input type="hidden"
> > name="javax.faces.ViewState" id="javax.faces.ViewState"
> >
> >
> value="zIMgBuW/tce7OOILsjV0PiVTJ/AqSIX+uDFIECtrt49O49UDy2OA2ZSz0eJf6CsXjINRtpLixMffHDTl5zBAaQ=="
> > /></form>
> >
> > <script type="text/javascript"><!--
> >
> >    function getScrolling()
> >    {
> >        var x = 0; var y = 0;if (self.pageXOffset || self.pageYOffset)
> >        {
> >            x = self.pageXOffset;
> >            y = self.pageYOffset;
> >        }
> >         else if ((document.documentElement &&
> > document.documentElement.scrollLeft)||(document.documentElement &&
> > document.documentElement.scrollTop))
> >        {
> >            x = document.documentElement.scrollLeft;
> >            y = document.documentElement.scrollTop;
> >        }
> >         else if (document.body)
> >        {
> >            x = document.body.scrollLeft;
> >            y = document.body.scrollTop;
> >        }
> >        return x + "," + y;
> >    }
> >
> > //--></script>
> > </body>
> > </html>
> >
> > 2010/3/23 Jakob Korherr <[email protected]>
> >
> > > OK thanks for the URL.
> > >
> > > No I don't mean from the JSP, but from the generated HTML in the
> browser.
> > > Just open your login.jsp in the browser and view the HTML source.
> > >
> > > Regards,
> > > Jakob
> > >
> > >
> >
>

Reply via email to