Opening SearchPage as Child Window ..help Wanted !!
Hi guru's
I have requirement , where i need to open a searchPg as child window when user clicks on "Go" Button . Once this child window pops up ,user will key in search criteria(multiple parms) and the results will be displayed in Table. User then will select one of the rows and underlaying attributes are suppose to be sent back to main window .
I looked at few earlier threads on similiar stuff.. most of them want to open the window in new browser .. tried that already by settinig up Target Frame =_blank and destination URI to fixed ur in property platte . Thats all working good .
However , as its apparent .. my req is slightly differen.
I am not sure if this is standard practice of popping search window ..but we are trying to resuse some PG and hence this req.
pls let me know
To get the results back in the base page, this approach is to be followed. when you close the window, ensure that you have a button in the popupwindow that does a formSubmit before a window close.
Have an am to this region which is to be opened as PopWindow, this will get nested under baseAM when retainAM = y. Capture the formSubmit and post the values in the form of java.util.dictionary or any serializable string in the session or transaction and retrieve it in the base page.
Ensure that your base page also does a formSubmit when you close the window. to achieve this you can write a onClose handler js api to do a top.submit.
Similar Messages
-
in the toolbar when I press the email button, my email opens in a new window, when I want my mail to open in a new tab. Please can you help????
I don't think Firefox has a built-in email button. Do you have an add-on that created that button, or do you mean a button pinned to the Windows Taskbar?
If it's an add-on, check whether it has an settings available for window vs. tab. If this doesn't appear with the button itself (for example, using a drop-down triangle next to the button) you can check the Add-ons page. Either:
* Ctrl+Shift+a
* "3-bar" menu button (or Tools menu) > Add-ons
In the left column, click Extensions. Then check the list for the relevant extension and try its Options... button. -
Links open with a new window help
I'm trying make my links on my website open with a new window. This way the customer won't have to find his way back to the site. I found this thread-http://discussions.apple.com/thread.jspa?threadID=339861
It looks to be pretty helpful but I can't figure out how to edit the html file after I published it. Any suggestions?Welcome ny854
You might want to try using an html editor like Taco HTML Edit to open html files, I find it makes them much easier to read.
Your file is viewing as a web page because Safari is probably set as the default app to open html files.
What you need to do is press the "ctrl" key when you click on the file in your iDisk, this will give you a menu, choose Open With, then choose the app that you want to open the file with from the list that you see. If you use text edit (launch the app, go to Text Edit > Preferences > Click Open and Save > Check “Ignore rich text commands in html files”).
Will
1GHz G4, 15" PowerBook, Airport Network, 1G iPod Mini Mac OS X (10.4.6) www.willg4pb.com for iWeb tips -
Window.opener property from child window to parent window
Hi
When communicating between the child (popup) window to the parent window works fine as long as we pass the static reference to the window.opener
Example :
Main Page
form name = staticform
input name = col1
Popup Page
javascript :
window.opener.staticform.col1.value = some value
How can I use a dynamic reference for the staticform.col1 in the window.opener property to post the value back to the parent window ?
thanks for the help
sarmaActually, I think tolmank's would work... I've done basically the same thing before, but more like this (if it's generic, it's a good idea to have checks for the things being in existance). This is something I used in a generic color chooser I wrote in Javascript. Had multiple fields in one form using it for selecting different foreground/background colors.
<%
String form = request.getParameter("form");
String fgfield = request.getParameter("fgfield");
String bgfield = request.getParameter("bgfield");
%>
vfnSet = function() {
if(typeof(window.opener) == 'undefined' || window.opener == null) {
return;
if(typeof(window.opener.document.forms['<%= form %>']) == 'undefined') {
return;
var oForm = window.opener.document.forms['<%= form %>'];
if(typeof(oForm.<%= fgfield %>) == 'undefined') {
return;
if(typeof(oForm.<%= bgfield %>) == 'undefined') {
return;
oForm.<%= fgfield %>.value = document.forms['colorform'].foreground.value;
oForm.<%= bgfield %>.value = document.forms['colorform'].background.value;
} -
Close the existing child window and open a new child window [javascript]
Hi,
This is my code:
function doCreateNSubmit(reportName){
popWindow = openPop('','popdis','status=0,scrollbar=0',popWindow);
document.forms[0].target='popdis';
document.forms[0].onSubmit = popWindow;
document.forms[0].submit();
function openPop(winURL, winName, winFeatures, winObj)
var theWin;
if (winObj != null)
if (winObj && winObj.open && !winObj.closed) {
winObj.close();
theWin = window.open(winURL, winName, winFeatures);
return theWin;
I am getting memory read errors . Could you let me know , whts wrong in this code???
Thanks in adv,
Soneyy.
Message was edited by:
soneyy
Message was edited by:
soneyyThis code works
function openPop(winURL, winName, winFeatures, winObj)
if (winObj == null){
winObj = window.open(winURL, winName, winFeatures);
winObj.focus();
winObj.close();
winObj = null;
return winObj;
thanks,
sonal. -
Please Help : New session in child window
Hi Friends,
I am working on a application where i need to open a new session
i.e when ever i open a new child window , i should be able to create a new session.
I will appreciate u'r help .
Thank youYou have to disable using cookies for session tracking on the server and only use URL rewriting. Thus when you open the child window, you just use a URL that has no session ID in it.
-
when i open any pdf document in firefox it opens in a new window,
i want any open pdf documents to open in a new a tab, not a new window.?????????????/
-
How to create a Child Window without closing the parent Window
Hi All,
I have a requirement to create a child window without closing the parent window. I have to click an item in the parent window, then one child window should get open. The parent window should not be closed before closing the child window.
Kindly help me in this.
Thanks and Regards,
MyvizhiHi All,
I found the solution for this. I have created a new page. Then i created an item as link item style in the parent page and i have set the following properties in the Link item:
Destination URI : OA.jsp?page=/seagate/oracle/apps/seasoa/que/webui/SeaSoaHeaderDetailPG&headerId={@ErrHeaderId}&retainAM=Y&addBreadCrumb=Y&backPage=S
Target Frame : _blank
This is opening the new child window without closing the parent window.
Thanks and Regards,
Myvizhi -
Communicating between the parent and child windows in Struts
Hey,
I would like to know what is the best way to communicate between the child and parent windows on a struts based web application. For example i have a struts based jsp page. I call a child window from this page. On the child window i select few values and they have to be shown on the parent. What is the best way to achieve this in struts.
Thanks
in advance.
KMThe only way to do this without Javascript is to have the child window have a form and the form has a target defined as the name of the parent window (how to name it without using frames or having it open from another window, I'm not sure), and when you submit the form, it'll submit to the parent window/frame and you can process that form on the server and return the same parent page with the selected values.
Otherwise, you need Javascript to set form values to "window.opener" from the child window.
Either way, it's not really a Struts thing, technically. -
Parent child window functionality using CFM
In .cfm page I am trying to implement the following
functionality
I got a parent window contains a button.
On button click a child window should get open.
This child Window should get embed in that parent window
(like MDI application)
1)i.e While minimizing the parent window this child window
should also get minimized
2)While closing the parent window this child window should
also get closed
3) We should also be able to close the child window alone.
4) If you double click on the title bar of the child window
it should get maximized
5) Again double click on the title bar of the child window it
should get minimized.
I tried with <embed> tag but it seems its for audio ,
flash kind files.
If we can use <embed> tag means whats should be the
value of the "Type" attribute.
waiting for your valuable informationWindow handlers and controls are generally a function of the
browser and not really manipulatable using ColdFusion, as it runs
on server-side only, not client-side. JavaScript would be more the
thing to play with in this regard, although I don't think there is
an "onClose" event handler.
HOWEVER!
All browsers have a security feature that prevents pop-up
child windows from "hijacking" their parents window behaviors,
including resizing, moving, changing the toolbars, closing, etc.
This security feature cannot be bypassed, and is an integral
hard-coded aspect of all modern browsers. I suspect that what you
are looking to do may be impossible due to this one fact, unless
someone knows a bypass. -
Safari Beta 4 child window focus problem
It seems that Safari/Windows Beta 4 does not properly focus a child window. In my case, I'm using Javascript to directly intercept keystrokes. If a new page is opened in the same window, the keyboard works just fine. If it's opened in a child window, the keyboard is ignored until the window is manually focused (mouse click). This behaviour is unique to Safari on Windows. On the Mac, it's fine. On all other browsers and operating systems, it's fine.
You can see an example at http://sentientdata.com/focustest/kbug_demo.html .Sounds like it might be a question of the Developer forum? Or a some other forum on web design? This is a user-to-user tech support forum.
Best of luck. -
How come my safari windows disappear when I close my laptop and open again? The safari windows I wanted to keep running for the next time I open my laptop disappeared. Why? Help me.
Important note, do NOT sleep your macbook Air with headphones attached until this is resolved.
Ive done a good best of testing on same to confirm not to do that
also if you have the APP "BOOM" installed........ remove it -
ever since i put a child lock on my Mac its never been the same .. now i cant even open my yahoo mail without it wanting me to reinstall this, can someone please help me work this out
What "child lock" are you talking about?
Do you mean you set up a Managed account (Parental Controls), or some other software?
For Parental Controls, select the account in Users & Groups and uncheck the "Enable parental controls" checkbox. -
How to make the parent window inactive when a child window is opened
hi everybody, i am chaitanya. i am working on a window based application. there are some action events in it. when an event occurs then a child frame is opened prompting the user to confirm for yes or no.
the problem i got is, when the child window is opened the parent window is also active. I dont want this to happen. please help me to fix this problem.
thank you all in advance, have a nice day.Use a modal JDialog, or better still given the apps. requirement for input, a JOptionPane. The JOptionPane.showInputDialog() or JOptionPane.showConfirmDialog() methods seem well suited to the task.
-
I'm sorry if I'm not using the correct terminology. When I open a new window or a link I want it to open a whole new window so I have 500 open FireFox tabs in my taskbar if I open that many windows. I do not like having everything open in one window. Used to be I could find how to undo that but you changed everything on me and now only rocket scientists can use your application. If Chrome and Internet Explorer weren't so ridiculous, I would change. Thank you for any assistance you can provide.
This didn't help me at all. I want a separate window to open each time I open a new tab or bookmark. Currently when I open a new link it just adds a tab to the window already open so from my non-technie point of view, I only have one window open and have to go up top to see what is open vs. being able to look below in my taskbar and see what I have open.
Maybe you are looking for
-
I get an 'untitled' box come up at the top, and says it is playing 'untitled'? It looks like it would if it were playing a song from an album but has an icon that has a music note in it. I can play YouTube to the apple TV but it wont let me mirror t
-
Hello, I need help with a button. I created a button and set it up so that when you click and hold it, the button becomes lighter in color (I used Alpha). I want the button to stay this light color after i release the click. Right now it goes back to
-
How much is iPad2 going to cost ?
Hi all, well the cat is out of the bag now, so i can now ask questions about it, yeah. It looks a fantastic machine this new iPad2, but how much is it going to cost ?, i have seen no mention of this very important fact. I nearly bought an original iP
-
The plugin could not complete because of an unknown error
I keep getting this error message ever since yesterday using AI CS4. On Friday it was working fine, opened it up yesterday and this happened. It happens when I select certain tools such as rectangle (or any shape tool), magic wand and you cannot use
-
Firefox Not Responding after Installing Microsoft Office 10
After installing Microsoft Office 10 (student and home edition) on my laptop, I noticed that Firefox is going into the state 'Not Responding' every time I access it - it takes about 10 secs to 'think' and then comes back online. It continues to do th