Problem with af:form to open it in a new tab
Hello
I am trying to open a link in a new tab when you click the button. Here is my code for the same
JSPX
< af:panelGroupLayout id = "pgl47" layout = "horizontal" halign = "left" >
< af:form targetFrame = "_blank" id = "f1" >
< af:commandButton text = "Click me" id = "cb3".
actionListener = "#{pageFlowScope.Bean.method}" > "
< / af:commandButton >
< / af:form >
< / af:panelGroupLayout >
Bean.Method:
the method public void (ActionEvent actionEvent) {}
ectx = FacesContext.getCurrentInstance () .getExternalContext ();
request = (HttpServletRequest) ectx.getRequest ();
session = request.getSession (false);
try {}
ectx.redirect ("https://google.com" "");
} catch (IOException e) {}
}
}
But at the click of the button, my link opens on the same page and not in new tab as expected
Hello
Always mention your JDev version. Specific no reason why you use the command button? Have you tried to use the Go button? You can set the destination and the target to achieve your usecase.
Arun-
Tags: Java
Similar Questions
-
Problem with pdf for the opening of the health gov Web site.
Problem with pdf for the opening of the health gov Web site. I use my ipad in Safari and have installed the application to adobreader. Healthcare gov support only suggested to disable the pop-up blocker. I did, and I couldn't always open the file. No problem on a desktop computer regardless of the browser.
In my view, they spend on their web server to a document ECM server authentication. Someone else has the problem?
I tried the Penguin, Chrome and Atomic browsers on the ipad and the same issue.
Thank you!
Keren
Okay, actually, I think that there is a problem with the type of form. It is a form of a special kind (called a form XFA or Designer, for what it's worth), which can be opened with Adobe Reader and only on Mac or Windows. There is no iPad software that can read these.
-
problem with Safari and the opening of sites
problem with Safari and the opening of sites
Please describe the problem in more detail?
Try to reset the settings of Safari:
1. open Safari
2. click on the Safari menu at the top (to the right of the Apple logo)
3. Select the Preferences/Privacy tab
4. click on remove all data from the Web site
5. close Safari.
Remove cache Safari files:
1. click on finder
2. look for the menu GO to top
3. click on GO and hold down the option key. This will show a user library folder.
4. click library and find the Caches folder
5. in the folder caches com.apple.Safari Ouvrezledossier
6. move the Cache.db file Trash.
This should solve the problem. If it does not help, try to disable the Safari extensions
1. open Safari
2. click on the Safari menu at the top (to the right of the Apple logo)
3. Select Preferences
4. find the Extensions tab
5 disable all extensions of
6. relaunch Safari
-
I don't have the same experience in the Web design, but I create a using Adobe Muse. Everything works on the site expect Web contact form. If I use a gmail account I get the form but or my domain email I get nothing. I am in contact Godaddy for help but they don't know what to do...
The domain is ensmarble.com. Can someone help on this topic?
What should I do or how should I solve this problem?
Thank you.
Hi filiper79629728,
There is an easy solution if you use GoDaddy's Web hosting. Just a warning, this only works if you use GoDaddy Web hosting and forms of the Muse. This isn't a problem with Muse for as long as it is a setting that needs to be adjusted on all that the host you are using.
- Place the shape in the Muse. Make sure to add the correct settings, that is, the e-mail address that will receive the forms.
- Next step is to navigate to your cPanel on GoDaddy. This is where you manage your web hosting.
- On the main page of cPanel, scroll up to where it says ": Email".
- Click on "MX", which is located just below the 'accounts '. This is the mail server setting. By default, GoDaddy assume you are using a GoDaddy mail account.
- Make sure "Remote mail server" is checked on and that "Local mail server" is turned off.
- Your form should now be functional.
The problem with the forms of the Muse and GoDaddy is that GoDaddy assumes that you will welcome your emails via GoDaddy. If you have configured an e-mail address for your shape in the Muse that isn't an e-mail address hosted GoDaddy, GoDaddy and then do not accept by default. You must give permission to GoDaddy to send a form to what GoDaddy considers that an email "at a distance".
I hope this works for anyone who has struggled with form when using of Muse forms that are hosted on GoDaddy servers.
Thank you
Ankush.
-
I have problems with the form widget. When I created my forms, I need to leave out the line, one email because my client does not want the message line and two because those who have tried to fill the online form cannot submit because the 'email' box keep rejecting their email address valid. And I just tried to remove the line in my form and it does not allow me to delete or to mark it as not necessary either.
Currently, there is no way around the field email forms of the Muse. Another option is to have a look at Jotforms or another third-party provider of shape that Muse has widgets for.
-
I am trying to publish in my domain on windows server, but I have a problem with the form...
The server must be linux to work the form?
Thanks in advance for your help...
Thank you Brad... but how can I understand if a Linux server support? I try to do something in particular?
-
No matter where I right click on a webpage displayed (NOT the bar menu at the top of the screen), in computer text highlighted, a white spot in a Web page, or whatever it is, the shortcut menu for a hyperlink appears upward (with options to open it in a new tab, window or private (, bookmarking), and none of these options actually do anything, even if it is a hyperlink, I'm clicking. With the help of shortcuts like Ctrl + click on work very well. I have not recently installed plug-ins, and it only started a few hours ago. Wat do I do?
Try disabling Firebug and see how it is.
-
Why did FF open image in a new tab with focus and black background?
Whenever I used to open image in a new tab, it would always appear in the upper left corner, with a white background. Since my upgrade to 11.0, it is now focused on the force with a black background, I hate. How can I change this?
This is a new feature in Firefox to enhance the visibility of the images open in a new tab. However, if you want to disable, you can install https://addons.mozilla.org/en-US/firefox/addon/old-default-image-style/, which will return the change for you.
-
Opening links in a new tab will also load the link on the problem of temporamental currnt tab that comes and goes. Sometimes using links from google as well. Never had this problem before. Also the SafeSearch feature on google has itself locked on strict, not too much problem, but has happened at the same time my links and tabs not working like I want.
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.org/KB/safe+mode
-
Anyone who has a problem with the system crashes when importing using the new interface to import
Anyone who has a problem with the system crashes when importing using the new interface to import
Can specify you what Adobe program you use so that we do that your post is in the right forum?
-
The other day, I noticed that my search box stop working. Even when I go to options and click on search, it will not be open to the top of the tab to the search options. Today, I noticed that when I right click on a link, it brings up a long list of options, but the only one I want to work is the "Open link in a new tab." Unfortunately, it does not work. I ran Spybot, Malwarebytes and Microsoft Defender and what malware, they found, it does not solve the problem. I even tried Firefox in Safe Mode and updated, but still questions. Any help would be appreciated.
Hi, this is probably because something on your system has crushed all providers default search in firefox. to recover it please download and reinstall firefox to https://www.mozilla.org/firefox/all/ on top of your existing version.
Since it is a behavior often caused by adware on a system, please also run a scan complete of your different system with security tools like the free version of malwarebytes and adwcleaner.
-
Firefox opens not favourites in new tabs more
I use Firefox with Tab Mix Plus under Linux Fedora for a long time. So, if I right click on a bookmark, and then select open in a new tab, nothing happens. I tried to use the keyboard shortcut, but it does no good. However, if I have rght-click on a link I can open it in a new tab.
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.org/KB/safe+mode
-
Right-click menu changed: used to be the first "Open link in a new window", "Open link in a new tab" second; in 4.0, the opposite is true. Can I customize 4.0 to switch back?
To change the order of these items, use the following:
You must update the following (your versions have known security problems):
- Shockwave Flash 10.2 r152
- Next-generation Java plug-in 1.6.0_22 for Mozilla browsers
- Check your plugin versions on one of the following links:
- http://www.Mozilla.com/en-us/pluginCheck/
- https://www-trunk.stage.Mozilla.com/en-us/pluginCheck/
- Note: plugin check page lacks information about all versions of the plugin
- Update the Flash plugin to the latest version.
- Download and SAVE to your desktop, so you can find the Setup program later
- If you do not have the current version, click on the "Player Download Center" link on the 'download and information' or 'Download manual installers' below
- Once the download is complete, exit Firefox
- Click on the installer, you just download and install
- Windows 7 and Vista: will need to right click on the installer and choose 'run as administrator '.
- Launch Firefox and recheck your version or up to the download link below to test the installation
- Download and information: http://www.adobe.com/software/flash/about/
- Use Firefox to go to the site above to update the Firefox plugin (will also install the plugin for most other browsers, except IE)
- Use IE to go to the site above to update the ActiveX to IE
- Download manual installers.
- http://kb2.Adobe.com/CPS/191/tn_19166.html#main_ManualInstaller
- Note the separate links for:
- Plugin for Firefox and most other browsers
- ActiveX for IE
- Update the Java plugin to the latest version.
- Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java platform: download JRE)
- Don't forget to uncheck the toolbar Yahoo option during installation if you do not want to install.
- Don't forget to uncheck the toolbar Yahoo option during installation if you do not want to install.
- See also "Manual Update" in this article for update from the Java Control Panel in Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
- Removal of older versions (if required): http://www.java.com/en/download/faq/remove_olderversions.xml
- Remove several extensions of Console Java (if necessary): _ http://kb.mozillazine.org/Firefox: _FAQs_:_Install_Java #Multiple_Java_Console_extensions
- Java test: http://www.java.com/en/download/help/testvm.xml
- Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java platform: download JRE)
-
Open link in a new tab function when Middle-click there just disappeared.
Hello! Open link in a new tab function when Middle-click there just disappeared; now, when I Middle - click on the link, nothing happens - no new tab, just nothing! It comes not with a mouse, I tried another mouse and it's average click and even in other browsers works; Right click and 'Open link in a new tab' (as well as other options menu) to work correctly. No idea what happened? Thank you!
You can have an add-on which interferes with middle-click behavior. To test this try the procedure described in article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .
-
By pressing the scroll wheel of the mouse does not open link in a new tab
Since the upgrade to Version 38.0.1, this action no longer works. I can right-click and select a link to open it in a new tab, but pressing the mouse wheel is no longer works as a shortcut.
Please correct or advise if there is a setting that I can shape to get this feature.
Thank you.
It is with the middle clicking a link on a web page or is not all click workplace?
Is required to work Ctrl and left click to open the link in a new tab?
Have you checked the settings in the mouse driver software to click on the scroll wheel?
Maybe you are looking for
-
Hey, I need help☹️ my battery dies so fast and what suite 26% it's just farm off☹️
Hey, I need help my battery dies so fast and when on 26% it's just... If turned off on me I need help
-
I just need addons to work again. I tried like 7 different add-ons and all refer them the error, "not compatible".
-
I have a slatebook Jelly bean 4.3 android running. I forgot the password lock screen, I should be able to correct by a factory reset power off. Holding the power and volume buttons as shown, but nothing happens. Any ideas?
-
I get an error 646 on kb2092914 program. I do not have this program on my computer. What should I do?
-
How can I take my old favorite files and put them in my new E-mail (favorite files)
Original title: Move favorites Please help me: I had to get a new e-mail address because I could not remember my password to my old address. I got my new E - Mail address-OKAY My Question? How can I take my favorite and put files in my new E-mail (