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="javascript:void(0)" id="InlineEditEmployeeModalDialog"
title="Login Window" onclick="openAMD_InlineEditEmployeeModalDialog();
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="/LDAPAuthentication/WebObjects/LDAPAuthentication.woa/_wr_;jsessionid=1BE669512FE4D856C1319B0259E7A0CB/wodata=/Data/JSP/localhost/WO/Applications/LDAPAuthentication/WEB-INF/LDAPAuthentication.woa/Contents/Frameworks/Ajax.framework/WebServerResources/prototype.js"></script>
<script
src="/LDAPAuthentication/WebObjects/LDAPAuthentication.woa/_wr_;jsessionid=1BE669512FE4D856C1319B0259E7A0CB/wodata=/Data/JSP/localhost/WO/Applications/LDAPAuthentication/WEB-INF/LDAPAuthentication.woa/Contents/Frameworks/Ajax.framework/WebServerResources/wonder.js"></script>
<script
src="/LDAPAuthentication/WebObjects/LDAPAuthentication.woa/_wr_;jsessionid=1BE669512FE4D856C1319B0259E7A0CB/wodata=/Data/JSP/localhost/WO/Applications/LDAPAuthentication/WEB-INF/LDAPAuthentication.woa/Contents/Frameworks/Ajax.framework/WebServerResources/effects.js"></script>
<script
src="/LDAPAuthentication/WebObjects/LDAPAuthentication.woa/_wr_;jsessionid=1BE669512FE4D856C1319B0259E7A0CB/wodata=/Data/JSP/localhost/WO/Applications/LDAPAuthentication/WEB-INF/LDAPAuthentication.woa/Contents/Frameworks/Ajax.framework/WebServerResources/modalbox.js"></script>
<link rel="stylesheet" type="text/css"
href="/LDAPAuthentication/WebObjects/LDAPAuthentication.woa/_wr_;jsessionid=1BE669512FE4D856C1319B0259E7A0CB/wodata=/Data/JSP/localhost/WO/Applications/LDAPAuthentication/WEB-INF/LDAPAuthentication.woa/Contents/Frameworks/Ajax.framework/WebServerResources/modalbox.css"/>
</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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]