• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Weird html structure when deployed in a War
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird html structure when deployed in a War


  • Subject: Weird html structure when deployed in a War
  • From: Gustavo Pizano <email@hidden>
  • Date: Wed, 3 Jun 2009 16:06:01 +0200

Hello.

I have been able to show at leas the main page of the application, had to change some paths in wthe web.xml..

Now I have a modalWidnow but its not displaying, I checked the console and I have this result:

    <div align = "center" style = "width:30%;margin:auto">
        <a href="" id="InlineEditEmployeeModalDialog" title="Login Window" return false;" >edit</a><script>
openAMD_InlineEditEmployeeModalDialog = function(titleBarText) {
    options = {slideUpDuration:0.2, method:'post', overlayDuration:0.2, overlayOpacity:0.5, width:300, slideDownDuration:0.2, title:'Login Window', autoFocusing:true, overlayClose:false, afterHide:function(v) {  AUL.request('/LDAPAuthentication/WebObjects/LDAPAuthentication.woa/ajax/0.1.1;jsessionid=1BE669512FE4D856C1319B0259E7A0CB.close', null, null, null);}};
    if (titleBarText) options.title = titleBarText;
    Modalbox.show('/LDAPAuthentication/WebObjects/LDAPAuthentication.woa/ajax/0.1.1;jsessionid=1BE669512FE4D856C1319B0259E7A0CB.open', options);


ERROR:!!!ReferenceError: Can't find variable: Modalbox
}
</script>

also the html structure its completly weird I have  the follwoing:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
    <head>
        <title></title>
    <script src=""
<script src=""
<script src=""
<script src=""
<link rel="stylesheet" type="text/css" href=""
</head>
    <body>
<!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" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Office Server Login Page</title>
    <style>
    #error {
        border-style: double;
        height: 5em;
        width: 50%;
        color: #ff0f1b;
        text-shadow: 2px 1px #c0c0c0;
        font-weight: bold;
        font-size: small;
        text-align: center;
        font-family: sans-serif;
    }
    </style>
   
</head>
<body>
<br>
<br>
<p></p>

...
...

notice that there are 2 <head> tags 2 html tags. ... so my guess the problem of the modal reference errors  its becuase that weird html structure... I dunno what else can I do.... all seem messed up, and i dunno who did it...

Any ideas?

Im deployin under Tomact on a linux machine.


Regards

Gustavo
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Fwd: Changed porject name, but when runing ant it generate the war file with the old project name
  • Next by Date: Re: Changed porject name, but when runing ant it generate the war file with the old project name
  • Previous by thread: Re: Changed porject name, but when runing ant it generate the war file with the old project name
  • Next by thread: [OT] kernel_task using 8 GB of RAM on Mac OS X Server
  • Index(es):
    • Date
    • Thread