Re: FW: Struts2 - Open page in same tab

2017-08-14 Thread Yasser Zamani
nt.regSubmitForm.method ="POST"; > document.regSubmitForm.action = url; > document.regSubmitForm.submit(); > } > > -Original Message----- > From: Yasser Zamani [mailto:yasser.zam...@live.com] > Sent: Saturday, August 12, 2017 12:12 AM > T

Re: FW: Struts2 - Open page in same tab

2017-08-12 Thread Yasser Zamani
; because the second tab then has a confirmation and a close button which > closes that tab, but then the other (with this code) is still open. Any > ideas? > > -Original Message----- > From: Deborah White > Sent: Thursday, August 10, 2017 1:11 PM > To: 'Struts User

Re: Struts2 - Open page in same tab

2017-08-10 Thread Dave Newton
On Thu, Aug 10, 2017 at 5:14 PM, Deborah White wrote: > I removed target attribute but when I click Next, it opens a new tab. It's tough to understand what's going on. You have a few JS functions that open new windows, but it's not clear to me when or why they'd be called. Dave

RE: Struts2 - Open page in same tab

2017-08-10 Thread Deborah White
I removed target attribute but when I click Next, it opens a new tab. -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Thursday, August 10, 2017 1:35 PM To: Struts Users Mailing List Subject: Re: Struts2 - Open page in same tab Same window is the default. On

Re: Struts2 - Open page in same tab

2017-08-10 Thread Dave Newton
ist > Subject: Re: Struts2 - Open page in same tab > > 2017-08-10 22:10 GMT+02:00 Deborah White : > > ENCTYPE="multipart/form-data" action="" target="_self"> > > I would remove the "target"

RE: Struts2 - Open page in same tab

2017-08-10 Thread Deborah White
If I want it to open in the same tab? -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Thursday, August 10, 2017 1:16 PM To: Struts Users Mailing List Subject: Re: Struts2 - Open page in same tab 2017-08-10 22:10 GMT+02:00 Deborah White : > action="

Re: Struts2 - Open page in same tab

2017-08-10 Thread Lukasz Lenart
2017-08-10 22:10 GMT+02:00 Deborah White : > action="" target="_self"> I would remove the "target" attribute Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apach

RE: Struts2 - Open page in same tab

2017-08-10 Thread Deborah White
quot; /> " />

Re: Struts2 - Open page in same tab

2017-08-10 Thread Lukasz Lenart
Please post the whole form or at lease form definition Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.

Struts2 - Open page in same tab

2017-08-10 Thread Deborah White
> I have a page that is opening a new tab instead of the same tab. Since I am > somewhat new to jquery, ajax and struts, I'm wondering if someone can help me. > > > I have this in my jsp: > > function continueToNext() { > document.getElementById("payByCheck").value = payByChec