Hi friends,
I am very very new to programing. i have a one main window
from that window i am opening one modal window using
showmodaldialog (m.jp...).
in that modal window i have a form. when i click save button in the
form, the for has to submit and the modal window has to close. and the
parent window have to refresh itself.
this is my modal window page.
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<html:html>
<HEAD>
<%@ page
language="java"
contentType="te xt/html; charset=ISO-8859-1"
pageEncoding="I SO-8859-1"
%>
<META http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<META name="GENERATOR " content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="theme/Master.css" rel="stylesheet " type="text/css">
<LINK href="css/SNet.css" rel="stylesheet " type="text/css">
<STYLE>
.tablnk {height:100%;te xt-align:center;wi dth:100;
border-right-style:solid;
border-color:backgroun d;
border-width:thin}
.abs {position:absol ute}
.rel {position:relat ive}
</STYLE>
<TITLE></TITLE>
<!--<script type="text/javascript">
function SendInfo(){
var txtVal = document.formPo p.ContName.valu e;
window.opener.d ocument.supDeta il.hconName.val ue = txtVal;
window.close();
}
</script>-->
</HEAD>
<BODY class="backgrnd " LEFTMARGIN=0 TOPMARGIN=0 BOTTOMMARGIN=0>
<html:form action="/addContact">
<center>
<table border =1 width="365" cellspacing="0" >
<tr align="center" valign="top">
<td height="153">
<table width="365" border="0" cellspacing="0" >
<tr class="title">
<td align=center width="365">
Add Contact
</td>
<td align=center width="1" height="23">
<input type=submit value="Save" class="yUP" />
</td>
<td align=center width="1">
<td align=center width="1">
</td>
</tr>
</table>
<table width="365" border="0" cellspacing="0" >
<TR class="title2">
<td width="365" align="left"> <center> </center>
</td>
<td class=ROdata align =left width="198"></td>
</TR>
</TABLE>
<table width="365" border="0" height="110" cellspacing="0" >
<html:hidden property="lsKey " value=""/>
<SCRIPT>documen t.all.lsKey.val ue =
window.dialogAr guments.hkey.va lue;</SCRIPT>
<tr>
<td height="24" class="rolabel" >Name </td>
<td colspan="2" height="24" class="rodata">
<html:text property="lscNa me" value="" maxlength = "20"
size="40"/>
</td>
</tr>
<tr>
<td height="25" class="rolabel" >Title</td>
<td height="25" class="rodata">
<html:text property="lscTi tle" value="" maxlength =
"15"/>
</td>
</tr>
<tr>
<td height="25" class="rolabel" >Phone</td>
<td height="25" class="rodata">
<html:text property="lscPh one" value="" maxlength = "13"
/>
</td>
</tr>
<tr>
<td height="25" class="rolabel" >Note</td>
<td height="25" class="rodata">
<html:textare a property="lscNo te" rows="8" cols="30"
value="" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</html:form>
</body>
</html:html>
i dont know how to set frame . pls help me i am very new to
programing. this is very very urgent.
pls help e to find solution.
Thanks a lot in advance. 1 6104 st********@yaho o.co.in wrote: I am very very new to programing.
The first thing you SHOULD learn is what a newsgroup is and how to
ask questions (about programming) in a newsgroup properly; this is
not a (paid) support forum but a discussion group. The newsgroup's
FAQ would be a good start, you could continue reading
<http://www.catb.org/~esr/faqs/smart-questions.html> .
i have a one main window from that window i am opening one modal window using showmodaldialog (m.jp...). in that modal window i have a form. when i click save button in the form, the for has to submit and the modal window has to close. and the parent window have to refresh itself.
this is my modal window page.
Your source code contains non-(X)HTML/J(ava)Script content that looks like
as it is to be pre-parsed by a server-side component. Such source code is
of little to no use here since the server-side component (here: presumably
an ASP application) may create any content that contributes to the
(dys)functional ity of the document which cannot be guessed by outsiders.
On the other hand, the only J(ava)Script content is commented out.
So you should either post the code received by your user agent (menu View,
menu item Source Code or similar) or -- which I strongly recommend here,
considering the code's length to be expected -- post the URL of your web
site, or create a minimized test case and post its URL.
i dont know how to set frame .
What do you mean by that? There are no frames in the usual sense
involved here.
pls help me i am very new to programing.
Yes, you already wrote that. I am not that forgetful, you know.
this is very very urgent.
This may surprise you: The word "urgent", its comparison and synonyms
often cause the opposite behavior than expected on the reader, since we
all have very very *very* urgent business to attend to which comes first.
pls help e to find solution.
Please learn how to post.
Thanks a lot in advance.
Ditto.
Note that I have a good day today, usually I would not have bothered to
answer such a posting (considering its presentation, including its lack
of thought in general and orthography in special) which may be the reason
why this is AFAIS the only followup to date (see above).
HTH & HAND
PointedEars
-- Was muß ich ändern, damit es wieder funkt?
Eine größere Antenne holen?
-- Mario Müller in dcs.moz
<b0************ @ID-110599.news.dfn cis.de> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Patrick Lim |
last post by:
Here is the problem:
I have written a non-modal frame class in Java for displaying help
text when a user is using an application. It works as desired in that
if the user selects "help" again, the same frame is used -- this is
done using a singleton. The user can do other stuff in the main
window while the help window is up.
However, when I have a modal dialog pop-up to get information from the
user, it blocks events to the help...
|
by: martin de vroom |
last post by:
Hi,
I have a web page that opens a modal dialog (client side) in the
following manner
onclick="window.showModalDialog('/dialog.asp',null,'dialogHeight: 200px;
dialogWidth: 400px; dialogTop: 300px; dialogLeft: 150px; edge: Sunken;
center: Yes; help: No; resizable: No; status: No;');">
and the page loads in the modal dialog no problem.
|
by: Joel |
last post by:
Hi there,
My original window (A) opens a modal dialog window (B).
In B, you fill out a form and submit it to itself for
processing. When B reloads, it knows that is successfully
processed the form and it suppose to close itself after
returning "1" or "0" to A.
My problem is that B will never close. When I submit it,
it kind of opens a new window and close that one before
|
by: jeff |
last post by:
Hello,
I have a form that submits it's values to a pop-up window. I've
simplied the code:
<form name="formname" action="action.php" target="windowName"
method="post" onsubmit="window.open('', this.target,
'dialog,modal,scrollbars=yes,resizable=no,width=300,height=200,left=362,top=284');">
|
by: amith |
last post by:
Hi,
I have a javascript, calendar.js which i use to enable my client to
select the date. This calendar pops up on the click of a gif image.
But the problem is that this poped up window is not modal in nature(i
do not want the user to go the parent page unless he selects some date
in the calendar popup).
In the javascript calendar.js he has used window.open() function to
pop up the window. i just want to know whether we have any...
| |
by: Matt |
last post by:
I want to know how to submit the form data to a modal dialog window? The
following is page1.asp, and when the user clicks submit button, it will post
the form data to page2.asp by opening a new window. But I want modal dialog
window, any ideas??
<form action="page2.asp" method="post" target="_blank">
<input type="text" name="username">
<input type="submit" name="submit">
</form>
|
by: gopal srinivasan |
last post by:
I need to know how to close a parent modal window when child modal
window opens, also i need to know the syntax for writing document on
the modal window on the fly, like what we do in case of normal window.
Actually, I tried to close the parent window from the child modal
window using
parent.close syntax in onload event in child modal window. It actually
closes the parent modal window, but the child modal window is not
opened, why it is...
|
by: sthrudel |
last post by:
Hi!
I'm working on a web application in Asp.net and what I would like to
have is a cross borwser modal dialog which accepts user's input.
I would like to catch what the user clicked on the dialog. To be more
specific I want to have a confirmation dialog that is shown when a user
clicks on a Delete button (which deletes some values from database). If
Yes is pressed the delete action is processed otherwise modal dialog is
closed.
|
by: John Kotuby |
last post by:
Hi all...
I am bulding an application and wish to use custom Modal dialog windows.
According to a couple of recent articles I have seen, the newer Mozilla
browsers (actually I think they said Netscape) supported syntax like :
window.open(URL ,"diagwin","modal=1, width=30");
For IE I use :
window.showModalDialog
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |