Show
Ignore:
Timestamp:
03/08/12 19:25:02 (9 years ago)
Author:
noliveira
Message:

Developments on Online Application

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • middleware-online/trunk/webapp/src/main/webapp/morada.jsp

    r72 r81  
    55                rb = ResourceBundle.getBundle("webapp", new Locale(request.getParameter("l"), request.getParameter("c")));     
    66        } else { 
    7                 rb = ResourceBundle.getBundle("webapp"); 
     7            final String DEFAULT_COUNTRY = "PT"; 
     8            final String DEFAULT_LANGUAGE = "pt"; 
     9                rb = ResourceBundle.getBundle("webapp", new Locale(DEFAULT_LANGUAGE, DEFAULT_COUNTRY)); 
    810        } 
    911%> 
     
    1416        function invalidPIN() { 
    1517                var msg = "<%=rb.getString("codigos_pin.invalidPIN.pinstatus")%> " + PIN.getAttemptsLeft()      + " <%=rb.getString("codigos_pin.invalidPIN.attempts")%>"; 
    16                 alert(msg); 
     18                alertMsg(msg, 3000); 
    1719        } 
    1820 
     
    2628 
    2729        function askForAddressPIN() { 
    28                 genericAskForPINInsertion(getApplet().getAddressPINType()); 
     30                genericAskForPINInsertion(getApplet().getAddressPINType().toString()); 
    2931 
    3032                interval = setInterval( 
     
    5355        } 
    5456</script> 
    55 <div id="content"> 
    56         <div id="center_content"> 
     57<div id="content_address"> 
     58        <div id="center_content_address"> 
    5759                <form action="" method=""> 
    5860                        <div class="floatLeft">