Integrate OpenOffice in web applications
1) Approach - Problem 1
I would like to integrate OpenWord in a web application,
meaning that some objects in my web application will have related OpenWord files
and the user should be able to edit this files online.
(Files should be kept on server side.)
So from my web application I should have Open Word running as Applet
and editing files on the web server.
Can this be possible?
2) Problem 2
I tried to run the SimpleViewer applet provided in SDK examples but it does not work because the pipe-name is composed by using the user.name property
which of course my applet can not read.
Thank you,
PS: I posted this subject on OpenOffice forum also but maybe some people here have already experience like this.
Don't cross-post:
http://forum.java.sun.com/thread.jsp?thread=496751&forum=31&message=2342926
http://forum.java.sun.com/thread.jsp?thread=496750&forum=63&message=2342922
http://forum.java.sun.com/thread.jsp?thread=496749&forum=45&message=2342920
http://forum.java.sun.com/thread.jsp?thread=496748&forum=331&message=2342919
MOD
Similar Messages
-
How to integrate a flex build in a web application running on jBoss 5.1
Hi,
I have two flex builds for a messaging application that I have to integrate with my web application running on Jboss 5.1 . I have tried hot deploying the builds into the default deploy folder of Jboss,but that approach doesn't seem to work(maybe because I may need to make war out of the flex builds). Can someone tell me an approach of how to accomplish this. Can I leverage BLAZEDS for this purpose.
Thanks
Rohit KumarHi,
Go through Re: Web Dynpro and Smart Forms.
Regards,
Satyajit. -
How to integrate custom web application within Fusion Environment?
Hi all,
I have created a simple custom web application with JDeveloper (11.1.1.6.2).
From JDeveloper this application is running successfully through the IntegratedWebLogicServer connected with our Fusion Database.
Now I want to integrate this custom web application within our our Fusion Environment (11.1.4).
The final goal is to make it available inside the navigator menu in Fusion Applications.
I need some guidance how to get this done.
For example I have created an EAR-file. Where should this file be deployed?
How can I create an entry in the navigation menu pointing to this web application?
The web application should be handled just like seeded pages. (no additional security, login, etc.) How do I manage that?
I have checked several Oracle Guides and forums (also blogs.oracle.com/fadevrel), but still it is not clear to me.
Maybe I am on the wrong track, I don't know.
Kind regards,
Cor van DongenHow you deploy your EAR depends on the type of environment you have. For "OnSite" deployment you would need to contact the production system administrator to have your application deployed on the production WLS. The administrator would decide where and how the application is deployed, the process would be specific to the site.
The security behavior depends on the configuration, e.g. when you enable security on your application various [url http://docs.oracle.com/cd/E14571_01/web.1111/b31974/adding_security.htm#BGBDEHFH]files are created / updated. When deployed to production these configurations need to be changed to suite the production instance, i.e. in development environments authentication is enforced by security constraints while in production this is achieved e.g. using OAM policies. The specific details depend on the instance.
For Cloud environments you would need to deploy the application e.g. on [url https://cloud.oracle.com/mycloud/f?p=service:home:0]Java Cloud Service instance as applications cannot be deployed on the Cloud production instance.
To integrate with the navigator menu refer to the [url http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e16691/ext_nm.htm]Customizing the Navigator Menu documentation.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/ -
Integrating a Java web application into the SAP NetWeaver Portal
Hello experts,
We have a requirement to integrate a Java based web application into the SAP NetWeaver Portal using iView/iFrame technology. The Java based web application is completely independent from the SAP environment but should be displayed as part of the SAP Portal environment. The other requirement is the main navigation menu for the Java based web application should be configured and provided in the SAP Portal.
Any pointers on how exactly this can be done would be of great help.
Also how can the SSO (Single-Sign-On) to the Java application be implemented so that the user can logon to the java application through the portal without providing the user credentials again.
Thanks in advance.Hi,
I think you can use URL iviews to integrate your java web application with EP. you have the option of doing SSO with the application as well.
Have a look at the sap help material
http://help.sap.com/saphelp_nw04/helpdata/en/f5/eb51730e6a11d7b84900047582c9f7/frameset.htm
http://wiki.sdn.sap.com/wiki/display/BOBJ/CreateURLiviewintotheSAPEP+portal
Regards,
Ganesh N -
To integrate a web report in a web application
hi,
i have created a web report using ReportBuilder (wizard).
i have saved that file as a jsp,
my question is can i integrate that web report in any web application ,if yes how? plz let me know.
thx
abdul.Hi Abdul,
The answer is yes, you can integrate your report in any web application as any other normal JSP. You can package the JSP as part of a WAR and deploy it on an application server. The only requirements are:
reports_tld.jar must be available to the application. You can put in inside the WEB-INF/lib directory of the web application.
Reports Server must be available to the JSP. If you are using Oracle9iAS for deploying the JSP, the Reports server is automatically available. If you are using some other application server like WebLogic, you can use the J2EE Thin Client (http://otn.oracle.com/products/reports/htdocs/getstart/examples/Tools/index.html)
Also see the following thread on this Forum for deployment instructions:
Where to put jsp files for web layout report?
Navneet. -
10+ Oracle Web applications integrate with OIM
Hi,
We have more than 10 Oracle iAS based web/forms/reports applications in the corp, and some are 9ias R1 and some are 10gR2. Some do not have the OID tied to and some do not have OID. As you know, each oracle ias has its own user repository.
We are asked to integrate all the iAS applications to a central OIM, means one OID to manage all of the user accounts for all the iAS applications. I think the 1st of all we need to bring all to current OAS version 10gR2, then integrate all togather with one OIM(OID). How do we do the integtation? any one could point the relevant document?
TIAIf you need provisioning, your product is OIM. OAM
controls access to web applicationes. If you need to
provision different apps, and each one has its own
user repository, you will need to deploy an OIM
connector for each of them.I have done the integration of OIM 10.1.4.2 with Oracle Apps 11i and now consider on adding other standalone applications such web apps, discoverer to the system. Seems from your answer, we do not need OAM. We only want the accounts managed at the central OIM. Let me know if i am wrong.
Thanks -
Question about how to integrate struts web application into Weblogic Portal
hi, I'm using Weblogic8.1 Portal and workshop to integrate my existing struts web applications. I know that the struts web application can be imported and integrated as a portlet. But I'm not sure how to integrate the corresponding EJB module into portal?
any help appreciated!!should be simple...
copy all the jpfs and other classes appropriately into a new portal app.
Create a new Java Page Flow portlet.
That should be it.
The major thing to watch for is how your navigation etc change.
Kunal Mittal -
How to integrate BeX Web Applications into Solution Manager
Dear All,
I am integrating the BeX Web Applications into Solution Manager. My Scenario is to add a button named 'Support' wherein when I click the button it should take me to the solman BSP Page. I have saved the two templates - oadhoc & 0adhoc_table by making it 'Z' and added a button in Zadhoc_table. but when I click the button it is not picking the values of an object from the first template.
Kindly help me to get the solution.
Best Regards,
PriyaBasis Team,
Please check this document link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ad0a4b07-0301-0010-5095-ef7615676fc0
Hope this document link helps you.
Thanks
Mona -
Integrate Web application with Oracle BPM
Hi,
Can you guide me in achieving the following scenario:
1. Integration web application with oracle BPM
Say, I have a application where I need to trigger an event to call Oracle BPM. For ex: On click of submit button call the Oracle BPM workflow to do some process and then revert back to the same application with an alert or status message. Please let me know the steps to acheive this.
Thanks
STHi,
I take from this description that you currently have your Web Application and you would possibly like to trigger or create an instance into an OBPM business process. If this is the case, you have several options available here:
a) Use PAPI (Java API).
b) Use PAPI-Ws (SOAP API).
c) Use some sort of communication channel that the process is implemented to listen (for example a JMS Queue or Topic).
For the first 2, you can try to take a look into the official Documentation page for OBPM through this link: http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/index.html (Check the For Developers section).
If I have miss interpreted your question, please do not hesitate to provide more details.
Cheers,
eduardoc. -
Register non web application on SSO
how can i register non web application ? I have installed app server , oid and was able to sync with active directory. I need to integrate and have a single sign on for all my application . What will be the next step ?
Thanks Kiran for your prompt response. I dont have any web based application. I have some of the applications where backends are oracle and sybase. How can a provide a single sign on for the application. Once the user enters his user name or password. If he has the prvilege the use multiple apps he dont have to enter username and password for each application. I had syn with windows AD. I have oracle db on unix. I believe i have to sync with EM users for all oracle db. what about sybase ?? how can i have the single sign on . I have OID, IAS installed on a single windows server.
Yesterda when i restarted the server i got the following error. when i checked the opmnctl status
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | OC4J_SECURITY | N/A | Down
HTTP_Server | HTTP_Server | 2088 | Alive
OID | OID | N/A | Down
earlier oc4j_security and OID was alive now only http_server is alive
when i tried to start the process i get the following errors
E:\OraHome_1\opmn\bin>opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=CV2K3TESTAPP02:6200
1 of 3 processes started.
ias-instance id=iasrep.cv2k3testapp02.corp.cvpsnet.net
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/OC4J_SECURITY/default_island
Error
--> Process (pid=0)
oid dependency failed
OID
failed to start a managed process because a dependency check failed
Log:
none
ias-component/process-type/process-set:
OID/OID/OID
Error
--> Process (pid=0)
database dependency failed
iasrep
failed to start a managed process because a dependency check failed
Log:
I would appreciate if anyone could help me -
Web Application and Java Application
Hello,
I have a standalone Java application and a web application (JSP/Servlets) that I would like integrate. The standalone app. should send some information to my web app (which is not a problem), but then the user can be at this web app. for a while and then once he sees something he likes here, he can select it which should take him BACK to the standalone application. My question is whether something like this is possible?
If so, then how do i do it.
Also the web app and the standalone app run to 2 separate machines and 2 different JVM's.
Any kind of help will be great.
ThanksWell let me describe the scenario in detail
We have a standalone java application that is good to search for data across an enterprise database. We also have another application which is web based and uses jsp's and servlets and is good for displaying data in different ways, let's say different kind of graps. Now the user will typically search for something using the standalone application and once he finds what he is looking for, then he might say that he wants to graph the selected data using this web application. Now this part is not too difficult as the standalone app can simply POST the selected information to the web app and the web app can then plot the graph. However, the tricky part is that this web application has the capability to allow the user to select let's say a bar and then get additional info. on that bar. Now to get this additional info. the web app. must contact the standalone app and tell it what bar was selected to get the additional info.
so my concern is how does the web app contact the standalone app. or even KNOW about this web app. Also, RMI is pretty flaky and i would much rather use web services to accomplish it. If that is the only way to go that is.
Hope that helps. -
"SSO" for non-sap web application using SAPGUI to browse?
I have a web application (non SAP) and the user base are also SAP users in an ABAP system.
To strengthen the authentication in the web app, I wanted to implement SSO
authentication as we pity the users for having to remember so many strong pw's and I
dont like LDAP based pw sync or other technology I dont understand, because then we are
just yet another application with the same pw...
We are having technical problems implementing SSO on the web app side, and are anyway a
bit sceptical about the user admin / role admin assignment if we get it to work.
So I have created a transaction in SAP which browses the web app and the intention is to
send the SAP sy-uname as the web app user. We can control this using s_tcode, and
an own auth object on the WAS side and a check on the session type before the connection is
established. In this sense we are dependent on the SAP concept implemented, but even so:
The role assignment is controlled in the web app itself -> so assume that I am not overly
worried about unauthorized access to the web application, as they would not have any
system role for it as their sy-uname does not exist. (Infact we can monitor this)
The browser on the front end is the SAPGUI with html controls on the SAP side.
I would be interested in knowing whether anyone else has experience with this approach, and
whether there are any areas to be carefull of?
I would also like to know whether this is a strategic error?
Kind regards,
JuliusHi Julius,
well, if that web application would run on the same ABAP backend system then the solution described in <a href="http://service.sap.com/~iron/fm/011000358700000431401997E/0612670">SAP Note 612670</a> would be applicable:
a so-called "Re-entrance ticket" (based on the "SAP logon ticket" SSO proceedings) is issued, transported via the SAPGUI connection and back to the system via the invoked HTML control.
But for non-SAP web applications that does not help.
In that case only X.509 client certificates can be used for SSO. Actually, the web application could then also be invoked directly (independent from the SAPGUI session). The user is authenticated based on the X.509 client certificate - and not based on the ABAP userID (of the SAPGUI session).
Well, if you don't mind the effort you could also use the "SAP Logon Ticket evaluation library" (sapssoext, see <a href="http://service.sap.com/~iron/fm/011000358700000431401997E/0304450">SAP Note 304450</a>) to evalute the SAP logon ticket externally. You'll then need to have a "stub application" at the ABAP side that triggers the http redirect to your external web application. Not a nice solution but a possible one.
In the future SAML browser artifacts would be an option (preferable to integrate non-SAP applications). But currently that's not available (for NWAS ABAP).
Cheers, Wolfgang -
Integration of a web application running on tomcat
Hi all experts,
I want to integrate a web application running Apache Tomcat/5.5.20.
it's login page(jsp page) have two input box uid and pwd.Login Application
calls a servlet in Apache Tomcat/5.5.20 web.xml.
For Accessing the loging page url is http://2.2.3.2:8080/uportal/Login
I tried with app integrator
URL Template <System.protocol>://<System.server>:<System.port><System.uri>?<Authentication>
URL Template fragment for User Mapping is
login=<MappedUser>&passwd=<MappedPassword>
But its giving error
description The server encountered an internal error () that prevented it from fulfilling this request.
java.lang.NullPointerException
ubq.base.UEncryptionService.encrypt(UEncryptionService.java:29)
ubq.base.UUserManager.loginUser(UUserManager.java:25)
ubq.base.ULoginServlet.doPost(ULoginServlet.java:106)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Can any body help me ,My problem is that i cant change any code in backend application.
Thanks in advance.
Regd,
SanjayHi Sanjay,
Does the Tomcat is in the local System?
If it is in local system try to run the application using
<serverhost>://localhost:8080/......
else for remote server
Its always safe to add an entry (alias name) in drivers/hosts file with the ip address of the server like
2.2.3.2 myLocalServer
Now try to run and see.
Thanks,
Swathi
PS:points are welcome:-) -
Hi
I have TFS server installed and working with other SharePoint farm. (TFS installed, SharePoint extension installed and Granted Access for TFS.
When Setup TFS - SharePoint Web Application Settings, It ask for the three values:
Web Application URL:
Central Administration URL:
Default Location of team project collection sites:
What notice about the TFS sites that are working is that they are Path Based Site Collection. Created with SharePoint Web Application managed path (like
http://spserver/sites/tfs_site1) and so it easy to see it will work.
Web Application URL: http://spserver
CA URL : http://spserver:portnumber
Default Location : Sites or any managed path
We start using Host Name Site Collection (HNSC) to get the benefit of multiple unique site name without having multiple web application for each. Work great but when we tried to setup and extend TFS service on the HNSC, we could
not get them to work and got errors when trying different variation of path URL.
After doing lot of searching on this, I came up pretty empty and I don't know if that is possible so my question is Have anyone able to setup TFS to work with SharePoint 2013 Host Name Site Collection?
If you have, a simple yes will be great but please share or even if anyone think it is possible or not possible, please share too.
Thanks in advance for any comment / suggestion.
SwanlHi Swanl,
I’m afraid that we cannot setup TFS to work with SharePoint 2013 Host Name Site Collection.
Also you can initial a new thread in Visual Studio Team Foundation Server forums:
Team Foundation Server – General: http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=tfsgeneral
More experts for Team Foundation Server will assist you, then you will get more information relation to your issue.
For integrating SharePoint 2013 with Team Foundation Server 2013 you can have a look at the following blog:
http://nakedalm.com/integrate-sharepoint-2013-with-team-foundation-server-2013/
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact [email protected]
Eric Tao
TechNet Community Support -
Problem in JSF with Swing in a web application
hi
i am using jsf for my online projects.my problem is that when i use Swing concept ,the server is closed automatically when i click the swing dialog option 'OK', how can i protect server being closed automatically when user click the the options of Swing dialog box.it is so tedious because my application is going to integrate
with online server?
my swing java file is
* FileExistsDialog.java
package com.obs.ftw.util.alert;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.Rectangle2D;
import java.util.*;
import javax.swing.*;
import javax.swing.plaf.metal.MetalLookAndFeel;
* FileExistsDialog: A JOptionPane-like dialog that displays the message
* that a file exists.
public class FileExistsDialog extends JDialog {
* The component that gets the focus when the window is first opened
private Component initialFocusOwner = null;
* Command string for replace action (e.g., a button).
* This string is never presented to the user and should
* not be internationalized.
private String CMD_REPLACE = "OK"/*NOI18N*/;
* Command string for a cancel action (e.g., a button).
* This string is never presented to the user and should
* not be internationalized.
private String CMD_CANCEL = "CANCEL"/*NOI18N*/;
// Components we need to access after initialization
private JButton replaceButton = null;
private JButton cancelButton = null;
public FileExistsDialog(){
System.out.println("INSIDE THE FILE EXIST DIALOG");
JFrame frame = new JFrame() {
public Dimension getPreferredSize() {
return new Dimension(200,100);
frame.setTitle("Debugging frame");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.pack();
frame.setVisible(false);
FileExistsDialog dialog = new FileExistsDialog(frame, true);
dialog.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent event) {
System.exit(0);
public void windowClosed(WindowEvent event) {
System.exit(0);
dialog.pack();
dialog.setVisible(true);
* Creates a new FileExistsDialog
* @param parent parent frame
* @param modal modal flag
public FileExistsDialog(Frame parent,boolean modal) {
super(parent, modal);
//initResources();
System.out.println("INSIDE THE FILE EXIST DIALOG CONSTRUCTOR");
initComponents();
pack();
* Determines the locale, loads resources
/* public void initResources() {
Locale locale = Locale.getDefault();
resources = ResourceBundle.getBundle(
"samples.resources.bundles.FileExistsDialogResources", locale);
imagePath = resources.getString("images.path");
}*/ // initResources()
* Sets all of the buttons to be the same size. This is done
* dynamically after the buttons are created, so that the layout
* automatically adjusts to the locale-specific strings.
private void equalizeButtonSizes() {
System.out.println("INSIDE THE equalizeButtonSizes()");
String[] labels = new String[] {
replaceButton.getText(),
cancelButton.getText()
// Get the largest width and height
Dimension maxSize= new Dimension(0,0);
Rectangle2D textBounds = null;
Dimension textSize = null;
FontMetrics metrics =
replaceButton.getFontMetrics(replaceButton.getFont());
Graphics g = getGraphics();
for (int i = 0; i < labels.length; ++i) {
textBounds = metrics.getStringBounds(labels, g);
maxSize.width =
Math.max(maxSize.width, (int)textBounds.getWidth());
maxSize.height =
Math.max(maxSize.height, (int)textBounds.getHeight());
Insets insets =
replaceButton.getBorder().getBorderInsets(replaceButton);
maxSize.width += insets.left + insets.right;
maxSize.height += insets.top + insets.bottom;
// reset preferred and maximum size since BoxLayout takes both
// into account
replaceButton.setPreferredSize((Dimension)maxSize.clone());
cancelButton.setPreferredSize((Dimension)maxSize.clone());
replaceButton.setMaximumSize((Dimension)maxSize.clone());
cancelButton.setMaximumSize((Dimension)maxSize.clone());
} // equalizeButtonSizes()
* This method is called from within the constructor to
* initialize the dialog.
private void initComponents() {
System.out.println("INSIDE THE initComponents()");
// Configure the window, itself
Container contents = getContentPane();
contents.setLayout(new GridBagLayout ());
GridBagConstraints constraints = null;
setTitle("Waring");
// accessibility - all applets, frames, and dialogs should
// have descriptions
this.getAccessibleContext().setAccessibleDescription("Descriptions");
addWindowListener(new WindowAdapter() {
public void windowOpened(WindowEvent event) {
// For some reason the window opens with no focus owner,
// so we need to force the issue
if (initialFocusOwner != null) {
initialFocusOwner.requestFocus();
// Only do this the 1st time the window is opened
initialFocusOwner = null;
public void windowClosing(WindowEvent event) {
System.out.println("INSIDE THE windowClosing");
// Treat it like a cancel
windowAction(CMD_CANCEL);
// image
JLabel imageLabel = new JLabel();
imageLabel.setIcon(
new ImageIcon("/images/degraded_large.gif"));
// accessibility - set name so that low vision users get a description
imageLabel.getAccessibleContext().setAccessibleName("OK");
constraints = new GridBagConstraints ();
constraints.gridheight = 2;
constraints.insets = new Insets(12, 33, 0, 0);
constraints.anchor = GridBagConstraints.NORTHEAST;
contents.add(imageLabel, constraints);
// header
JLabel headerLabel = new JLabel ();
headerLabel.setText("SAMPLE");
headerLabel.setForeground(
new Color(MetalLookAndFeel.getBlack().getRGB()));
constraints = new GridBagConstraints ();
constraints.insets = new Insets(12, 12, 0, 11);
constraints.anchor = GridBagConstraints.WEST;
contents.add(headerLabel, constraints);
// Actual text of the message
JTextArea contentTextArea = new JTextArea();
contentTextArea.setEditable(false);
contentTextArea.setText("SAMPLE");
contentTextArea.setBackground(
new Color(MetalLookAndFeel.getControl().getRGB()));
// accessibility -- every component that can have the
// keyboard focus must have a name. This text area has no
// label, so the name must be set explicitly (if it had a
// label, the name would be pulled from the label).
contentTextArea.getAccessibleContext().setAccessibleName(
"CONTENTNAME");
constraints = new GridBagConstraints ();
constraints.gridx = 1;
constraints.gridy = 1;
constraints.insets = new Insets(0, 12, 0, 11);
constraints.anchor = GridBagConstraints.WEST;
contents.add(contentTextArea, constraints);
// Buttons
JPanel buttonPanel = new JPanel();
buttonPanel.setLayout (new BoxLayout(buttonPanel, 0));
replaceButton = new JButton();
replaceButton.setActionCommand(CMD_REPLACE);
replaceButton.setText("OK");
replaceButton.setToolTipText("TO OK");
replaceButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent event) {
windowAction(event);
buttonPanel.add(replaceButton);
// spacing
buttonPanel.add(Box.createRigidArea(new Dimension(5,0)));
cancelButton = new JButton();
cancelButton.setActionCommand(CMD_CANCEL);
cancelButton.setText("CANCEL");
cancelButton.setNextFocusableComponent(replaceButton);
cancelButton.setToolTipText("TO CANCEL");
cancelButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent event) {
windowAction(event);
buttonPanel.add(cancelButton);
constraints = new GridBagConstraints ();
constraints.gridx = 1;
constraints.gridy = 2;
constraints.insets = new Insets(12, 12, 11, 11);
constraints.anchor = GridBagConstraints.WEST;
contents.add(buttonPanel, constraints);
// Equalize the sizes of all the buttons
equalizeButtonSizes();
// For some reason, the dialog appears with no input focus.
// We added a window listener above to force the issue
initialFocusOwner = replaceButton;
} // initComponents()
* The user has selected an option. Here we close and dispose the dialog.
* If actionCommand is an ActionEvent, getCommandString() is called,
* otherwise toString() is used to get the action command.
* @param actionCommand may be null
private void windowAction(Object actionCommand) {
System.out.println("INSIDE THE WINDOW ACTION");
String cmd = null;
if (actionCommand != null) {
if (actionCommand instanceof ActionEvent) {
cmd = ((ActionEvent)actionCommand).getActionCommand();
} else {
cmd = actionCommand.toString();
if (cmd == null) {
// do nothing
} else if (cmd.equals(CMD_REPLACE)) {
System.out.println("your replace code here...");
} else if (cmd.equals(CMD_CANCEL)) {
System.out.println("your cancel code here...");
setVisible(false);
dispose();
} // windowAction()
* This main() is provided for debugging purposes, to display a
* sample dialog.
// main()
} // class FileExistsDialog
and calling java function is
public String fileDialog(){
return "Success";
public void processFile(ActionEvent event){
System.out.println("INSIDE THE FILE DIALOG");
FileExistsDialog file = new FileExistsDialog();
System.out.println("SUCCESS");
called from
<h:commandButton action="#{userLogin.fileDialog}" actionListener="#{userLogin.processFile}"></h:commandButton>
pls help me as soon
advance thanks
rgds
oasisdesertsSwing is GUI library for use in desktop applications.
JSF is a web application framework which runs on an application server and is accessed by clients via web browsers.
To fully understand what you have done, try accessing your application from a different machine than the server.
To answer your question, don't invoke System.exit() if you would like the process to continue. But that is the least of your problems.
Maybe you are looking for
-
How do I remove a device from my iCloud account?
Hi, my daughters iphone is connected to my icloud account. How do I remove her device from that account? Thanks.
-
How to bind data (from database) to the Dictionary structure in Web Dynpro
Hi, I am getting Hashtable object from the database related classes and I want to bind this data to the Dictionary field in Web Dynpro. So, I can bind this Dictionary field type to the Context variable. Please let me know the detailed procedure. Than
-
PSE6.0 organizer import CR2 files results in 'no preview'
When I import Canon CR2 files from my camera using the PSE Organizer (Windows "import with PSE6") I often get no RAW preview/thumbnails; a thumbnail is created for some of the imported RAW pictures but most of them not. When I have opened the picture
-
Need Information about 1Z0-033
Hi i Like to write Oracle9i Database: Performance Tuning(1Z0-033) exam. And now only I am learning PL/SQL. And when i ask my instructor abt this exam(Oracle 9i Database: Performance Tuning(1Z0-033)), she told I suppose to have OCA certificate for ent
-
Pro Elements 9 video not working
Hi, I just recently bought pro elements 9 and installed it in a file on my extern harddrive. Somehow the video won't play allthough the sound works fine when pushing the play button on the shots i drag into the timeline. I do have an old computer, an