How to fire an event from Java Script
Hi,
Here is my problem: using JSF
I have a selectOneMenu list box when a value changes a valueChangeListner event is fire that all works great now the problem I'm able to add items to the list from a popup form using Java Script but I need the valueChangeListner to fireup every time I add a item any ideas how to do that
Thanks
Just do form.submit().
Similar Messages
-
How to get the parameter from Java Script into the Parameter crystal Report
Hi All,
Crystal Report is integrated with Oracle 10g. I created the base SQL query for col1, col2, col3 and col4. Java Script pass parameter value (185) to Col1.
My question is how to create crystal report to make Col1 as parameter and how to get the parameter value 185(Col1) from Java Script. Is there any additional code I need to include in the crystal report?
FYI.
Java script sends the right parameter value.There is no issue in java script.
This is an automatic scheduled process when batch runs, Java script should pass the parameter value and the crystal report should get the value and produce the output report.Not sure if this is an application question or if you are trying to hook into Crystal Reports parameter UI? If the later then no option other than report design. If an application then I can move this to the Java Forums.
If you are asking how to alter the parameters I suggest you remove the Java reference and post a new question so it's not confusing the issue.
Please clarify? -
How to print a Pdf from Java script
Hi,
I need to print a pdf from java script. In java script i have url of pdf. Is there any way to print pdf from java script?
I am able to print word doc by ActiveX. is there any activeX or something else which do the same thing for pdf?
Any help heartily esteemed to me.
Thanks
Kamlesh Sharmayou are cross postin .. your thread has been answered in the jsp jstl forums
-
How to Call a JSP from Java Script
Hi,
I want to call a jsp from Java Script.
I am having IntelliJ IDEA 4.5 (IDE) and weblogic server.
should i do anything on web.xml,weblogic.xml
I have written one jsp, Java script.
I want to call a jsp from Java scriptfunction submitf(){
document.xyz.action ='ReportSave.jsp';
document.xyz.method='POST';
document.xyz.submit();
<form name='xyz'>
<input type='text' name='text1'>
<input type='text' name='text2'>
<input type='button' name='xx' value='submit' onclick= submitf()>
</form>
Is this what u want???
Regards,
RAHUL -
How to fire a trigger from java in oracle
Is it possible to fire/ call a trigger from java ? Is there any way ?
Sure.
Simply INSERT/DELETE/UPDATE your rows according to the trigger definition. -
How to fire Dummy Query in Java Script using JSESSIONID?
Hi,
I have a Web App where the user is required to fill certain information which then goes to CRM.I have used SSO token to retreive the JSessionid and used the Jsessioid in subsequent requst/Now JSessionid expires after 10 mins of inactivity.
I want to fire Dummy or perhaps any query to CRM after every 9 mins so that the session does not expire.How do I do that
Can sombody give me the Javascript code for doing the same.
KINDLY HELPJust do form.submit().
-
Send an event from Java Web Service to BPEL
Hi,
I have a requirement where from an Async BPEL service I have to call a Java Web Service. After the completion of its task Java Web Service will fire an event that has to be consumed by the BPEL to initiate further process. Can anybody help me with how to send an event from Java Web Service and at the same time consume it in BPEL?
Thanks,
AnujSee the following posts for your answer
http://blogs.oracle.com/soabpm/entry/event_delivery_network_chapter
http://blogs.oracle.com/soabpm/entry/using_the_event_api_to_publish
http://guidoschmutz.wordpress.com/2010/01/12/using-the-event-api-to-publish-an-event-to-the-event-delivery-network-edn-the-spring-way/ -
How to call backing bean method from java script
Hi,
I would like to know how to call backing bean method from java script.
I am aware of serverListener and [AjaxAutoSuggest article|http://www.oracle.com/technology/products/jdev/tips/mills/AjaxAutoSuggest/AjaxAutoSuggest.html]
but i am running in to some issues with [AjaxAutoSuggest article|http://www.oracle.com/technology/products/jdev/tips/mills/AjaxAutoSuggest/AjaxAutoSuggest.html]
regarding which i asked for help in other thread with subject ....Question on AjaxAutoSuggest article (Ajax Transactions Using ADF and J...)
The reason why i posted is ( though i realise both are duplicates) .. that threads looks as a specific question to that article hence i would like to ask the quantified problem is asked in this thread.
So could any please letme know how to call backing bean method from java script
Thanks
Murali
Edited by: mchepuri on Oct 24, 2009 6:17 PM
Edited by: mchepuri on Oct 24, 2009 6:20 PMHello,
May know how to submit a button autoamtically on onload of page with clicking a welcome alert box. the submit button has managed button too to show a message on console using SOP.
the problem is.
1. before loading the page a javascript comes on which i clicked ok
2. the page gets loaded and the button is there which gets automatically clicked and the managed bean associated with prints a message on console using SOP.
I m trying to do this through server listener and click listener. the code is(adf jspx page)
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1" binding="#{backingBeanScope.backing_check4.d1}">
<af:form id="f1" binding="#{backingBeanScope.backing_check4.f1}">
<af:commandButton text="commandButton 1"
binding="#{backingBeanScope.backing_check4.cb1}"
id="cb1" action="#{beanCheck4.submit1}"/>
<af:clientListener type="click" method="delRow"/>
<af:serverListener type= "jsServerListener"
method="#{backingBeanScope.backing_check4.submit1}"/>
<f:facet name="metaContainer">
<af:resource type ="javascript">
x=confirm("hi");
// if(x){
delRow = function(event){
AdfCustomEvent.queue(event.getSource(), "jsServerListener", {}, false);
return true;
</af:resource>
</f:facet>
</af:form>
</af:document>
</f:view>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_check4-->
</jsp:root>
the backing bean code is -----
public class classCheck4 {
public classCheck4() {
public String submit1() {
System.out.println("hello");
return null;
} -
How to detect whether browser's java script disabled or not from server
How to detect whether browser's java script disabled or not from server side
I would use a hidden parameter created by a javascript. if this is null, javascript is disabled...
-
Triggering background job event from Unix script
Hi all,
I am having one question regarding triggering of background job in SAP using Events from Unix script. Is this possible? If so, can anyboy provide some sample code related to Unix script and how do we communicate to SAP from Unix system. Actually, here the backend of R/3 system is MSSQL. I am having a program in R/3 system which is scheduled as a background job based upon event trigger. I want to trigger that even from the unix script.
Appreciate for your help in advance.
Thanks,
Adithya KHi,
Check if this can help you
http://help.sap.com/saphelp_sm32/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/content.htm
Regards,
Atish -
How to call gnuplot command from java
Hi there,
In our course, we are required to develop an GUI for gnuplot. In case you don't know about gnuplot, it's a plotting program and has lots of command. We want to use java and swing, but now we don't know how to call gnuplot command from java, or how to execute a shell command(script) from java.
By the way, since we need read in files with several columns of data and allow user to select a column, we want to use JTable. Is that reasonable?
Thanks a lot for any suggestions!
JackHi, there:
Will using JTable add much overhead? I may have to use several JTables and switch among them. I can add scroll bar to or edit JTables, right?
BTW, do you have experience about gnuplot? Can I find the command tree of gnuplot somewhere? Or do you know a better place to post question about gnuplot? unix/linux group, maybe.
Thanks,
Jack
P.S. Would you guys answer my question after I use up my duke dollars? :- ) -
I'm not even sure if this is an extension or plug-in and all I can tell you is what I have already stated. I can only make one command at a time and after each one I get a pop-up from Java script that says uninstal set. I must depress ok to move on, but only for one more command and it starts over again. This also happened when I tried to instal firefox 4 a couple months ago and I deleted the program and went back to an earlier version.
Mail troubleshooting - Yosemite
Troubleshooting sending and receiving email messages
Troubleshooting sending email messages
SMTP servers keep going offline -
how can I remove Events from my Photo in iPhone
Connect to computer iTunes and uncheck under Photos > Events then do a sync.
-
How to fire an event dynamically in JSF Page
Hi All
How to fire an event dynamically in JSF Page?
Thanks
SudhakarHi,
Thanks for the response. I mean to say, if I create the components dynamically then how can I fire events for those components.
In otherwords,
If I create the Button dynamically with particular ID being set to that component, then how can I call button action event when the button is clicked??
Hope you understand
What is the role of MethodBinding mechanism here??
Thanks
Sudhakar Chavali -
How to raise an event from a program
Hi,
I am creating a workflow for HR, the person will request a basic pay change than, this will start the workflow. For this i am making a screen from where i need to triger the event for the workflow.
Does anybody has any idea? of how to raise an event from a program. or has anybody worked on a scenario like this
Khusro HabibYou can also use the FM SAP_WAPI_CREATE_EVENT which is a little newer I think. (I don't have access to a system today so that may not be the exact name of the FM but if you search SE37 under SAPWAPIEVENT* you should find it.
the parameters will be the event name, and the object key. The object key will be the key field of the workflow object you are using.
For example if you were using the saled document object then the object key would be the sales document number. Carefull how you enter the object key, it can be a little tricky on whether or not you need the leading zeros in the input parameter.
Hope this helps.
Brent
Maybe you are looking for
-
How to find a badi and how to find the method/methods for a transaction?
Hi all, i need to give a text either while creating customer (vd01) or changing customer(vd02)...thsi is via extras->texts.....then I have to double clik the text and go to change editor...and then i have to clik on insert line and then choose text e
-
How can you remove multiple gaps at one time between clips in Premiere Pro CS4?
I know about Right Click and Ripple Delete and Edit > Ripple delete - but this only works on 1 gap at a time. What about several/many gaps at one time? Please help!
-
i have a JMenu called jMenu2, in its action performed method i would like it to add to the bottom of its list a new JMenuItem while the program is running. private void jMenu2ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling
-
Can Java Applet Call the ASP Page
Hi, I would like to know whether the Java Applet can call the ASP page. If it can be done, how does the Java Applet get the value from ASP page? Please provide me some running example. Thanks.
-
Sun Access Manager - Authentication Error
Hello everyone, I'm trying to configure Sun Access Manager 7.0 with sun web server 6.1 and directory server 5.2 on windows xp. I'm getting the following error when I try to login with uid=amAdmin "Permission to perform the read operation denied to ui