I have :  public Dictionary dict=Dictionary.getDictionary("dict_ro");

where i have to put variable "dict_ro" in the host page and how?



my host page looks like this:

<html>
    <head>
        <meta http-equiv="content-type" content="text/html;
charset=UTF-8">

       <link type="text/css" rel="stylesheet" href="MyProject.css">

       <title>My application</title>

       <script type="text/javascript" language="javascript"
src="myproject/myproject.nocache.js">
       </script>
   </head>

   <body>
        <script type="text/javascript">
         var dict_ro = {
               firstName = "prenume",
                lastName = "nume",
                phone = "telefon",
                addContact = "Adauga contact",
                add = "Adauga",
                getContacts = "Cauta clienti",
                get= "Cauta",
                listContacts = "Listare clienti",
                initResult = "Aplicatia a inceput"
    };
    </script>
     <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
style="position:absolute;width:0;height:0;border:0"></iframe>

    <noscript>
      <div style="width: 22em; position: absolute; left: 50%; margin-
left: -11em; color: red; background-color: white; border: 1px solid
red; padding: 4px; font-family: sans-serif">
        Your web browser must have JavaScript enabled
        </div>
    </noscript>

    <h1 id="appTitle"></h1>
  </body>
</html>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to