How can I call a Page Process from the Select statement for Report Page

I'm able to call a javascript using the below:
img src="#IMAGE_PREFIX#add2.gif" border="0" alt="Icon 4" onClick="javascript:add_connect1('||CPORT.ID||')"
But Now,
I'd like to accomplish (2) New things:
1. instead of using,....... onClick="javascript:add_connect1,
I'd like to call a Page Process, onClick=
2. I'd like to be able to call two different processes onClick.
a. onClick="javascript:passBack('||ID||')"
b. onClick= <Please see my question #1 above>
Can someone please help me with the syntax for this,
If indeed it can even be done?
Thanks- Gary

Greg.
It seems that my situation is the one you describe in you second paragraph, where you mention:
you could then add the ID column value as a parameter to the javascript functionBut,
I do not know how to reference the variable in my javascript nor how to use it in my on-demand process.
If you can hellp me past this last little bump, then I think I will be able to use these skills in Sooo many different areas of my design.
Here's what I've got so far:
A. In the select statement I identify the javascript as:
onClick="javascript:connect_port('<font color=blue>''||ID||''</font>')";
B. In my javascript I have this:
<script language="JavaScript" type="text/javascript">
function connect_port(ID)
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=CONNECT_PORT',0);
gReturn = get.get();
get = null;
</script>
C. In my on demand function I have this:
BEGIN
INSERT INTO CCONNECTIONS_B
BLDG_ID,CLST_ID,PORT_ID,STRAND_ID
) VALUES
:P2004_BLDG_ID,:P2004_CLST_ID,:P2004_PORT_ID,:P2004_STRAND_ID1
END;
You can see that I dont know how to use the value for 'ID' in either the javascript or the On-Process function.
If you can help me out with this one, Then I can imitate it for the rest.
-Gary
Edited by: garyNboston on Apr 3, 2009 6:44 AM
Edited by: garyNboston on Apr 3, 2009 6:44 AM
Edited by: garyNboston on Apr 3, 2009 6:45 AM
Edited by: garyNboston on Apr 3, 2009 6:47 AM

Similar Messages

  • How can I  remove my credit card from the automatic billing for my account?

    How can I remove my credit card from the automatic billing for my account?

    The following has instructions for changing iTunes payment method: http://support.apple.com/kb/ht1918

  • Hii how can i chenge my iphone 4 from the current state in a compeny use to become sim free???thenks

    Hello,
    further to my email below, I am writing you again since I did not recieve any response.
    please advise if you can assist in opening the device I bought in your store to become SIM FREE. 
    In order to do that, as I was told by my wireless providor, the store where the device was purchased needs to contact Appple and provide them wth the SIM FREE code, so they can update it in Itunes for my device.
    Serial Number: QR*******4S
    ICCID Number: 89****************34
    IMEI Number: 01***********97
    <Serial Edited by Host>

    We are users just like you here, Apple can not be addressed by posting in these forums.
    If your phone can be unlocked by the provider, your company or the owner of the phone has to contact the provider and give them all the details about your contract, serial, etc.
    If unlocking is supported by the provider, to which the phone is locked to, the provider will pass on the info to Apple. This info will be sent to the iTunes database, and after a certain time, iTunes will inform you, that your phone has been unlocked.
    Check here if your phone can be unlocked by the provider:
    Locating iPhone wireless carriers

  • How can I call a plsql function from an attribute?

    I have an attribute defined in an element. I want execute a PLSQL function from the attribute, and display the returne value with an HTML template.
    I've defined the attribute's type like PLSQL, and I've put the called of the function in the value of the attribute, but it doesn't work. The only value I obtain is an URL (I think that is the URL of the function or someting like this).
    How can I call to my function from the attribute and display the returnes value in the page?
    Thanks.

    Thanks, but it doesn't work. I have an attribute called ID_BOL and I want to associate a sequence to that attribute. I've created a function, with the sequence. This function return de value of the sequence. I want taht the attribute takes the value of the sequenece dinamically.
    I've tried it, creating the type attribute like PLSQL, and calling the function from the attribute, but it doesn't work.
    How can I return the sequence value to my attribute?
    Thanks.

  • Can any one tell me how can i call a shell script from pl/sql

    i like to call shell script from pl/sql procedure.
    can any one suggest how can i do this

    Have you not mastered in asking the same kind of question ?
    First do write a script...
    no one will spoon feed you.
    How can i call a shell script from procedure
    How to call Shell Script from pl/sql block
    -Sk

  • How can i call mouse click event from keypress event???

    How can i call mouse click event from keypress event???
    I want same GUI changes to be occured at key press.....i.e . button going down & comming up.....
    for calculator

    Put all the code that happens on those events into a method. Then call that method from both events.

  • How can i call Apple in usa from Egypt to buy an iPhone from Apple store please who khnow the contacting number answer me :)

    how can i call Apple in usa from Egypt to buy an iPhone from Apple store please who khnow the contacting number answer me

    http://www.apple.com/eg/buy/
    There are three companies linked to towards the bottom right to purchase an iPhone from. Above those three is Arab Business Machine. Choose one, or check each one out.

  • How can i call forpro prg file from java

    Hai friends,
    I have a doubt,clear it.
    how can i call forpro prg file from java file
    by,
    N.Vijay

    Thanks to your reply,
    I have some print statements in my foxpro program file.
    Then i like to invoke that foxpro file from my java file
    This want i want..,
    by,
    N.Vijay

  • How-can-i-remove-my-skype-name-from-the-sign-in-sc...

    Guys this is absolute rubbish feature of the login application where people's login names get recorded in the dropdown menu. Is there any more permanent way of getting rid of this annoying privacy intrusive "feature"? I would like to have a profile with a username that is not going to appear at airports and my grandma's laptop after I log out of skype and no I do not want to go digging for app files to remove my entire history on each and every machine I use as suggested by your help files. Could you please advise if I'm missing something here?
    https://support.skype.com/en-gb/faq/FA11070/how-can-i-remove-my-skype-name-from-the-sign-in-screen-i...

    Unfortunately, the option to remove that feature is not available.  
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • How can i lookup a session bean from the client side

    how can i lookup a session bean from the client side...........i am using sun appserver..............
    this is my code.................[B]
    private final static String JNDI_NAME="ejb/LmsBean";
    private static String url="ldap://localhost:4848";
    Hashtable h=new Hashtable();
    h.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
    h.put(Context.PROVIDER_URL,url);
    System.out.println("Before Loading Context in Delegate");
    Context ctx=new InitialContext(h);
    System.out.println("Loaded Context in Delegate");
    Object obj=ctx.lookup(JNDI_NAME);
    System.out.println("Loaded Object in Delegate");
    System.out.println("Before Loading Home in Delegate");
    LmsHome home = (LmsHome )PortableRemoteObject.narrow(obj,com.parx.lms.controller.LmsHome.class);
    System.out.println("Loaded Home in Delegate");
    lms = home.create();
    System.out.println("Loaded remote in Delegate");
    [B]and i got the exception........
    Inside Client before calling delegate
    Before Loading Context in Delegate
    javax.naming.CommunicationException: Request: 1 cancelled
    javax.naming.CommunicationException: Request: 1 cancelled
    at com.sun.jndi.ldap.LdapRequest.getReplyBer(LdapRequest.java:60)
    at com.sun.jndi.ldap.Connection.readReply(Connection.java:405)
    at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:340)
    at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:171)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2640)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.ja
    va:136)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.jav
    a:66)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    62)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.parx.lms.lmsdelegate.LmsDelegate.getController(LmsDelegate.java:3
    0)
    at com.parx.lms.lmsdelegate.LmsDelegate.addUserDelegate(LmsDelegate.java
    :50)
    at com.parx.lms.client.consoleClient.Client.main(Unknown Source)
    pls go tru the exception and pls help.........

    That url string should be having the server name or ip instead of localhost.

  • How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    Hello,
    Try Mail>Preferences>Accounts icon>Account Information tab>Click on the Outgoing SMTP server drop down, choose edit Server list, highlight the old one & click Remove.
    (Such convolution is worthy of Windows® in my estimation)

  • How can open a html, pdf files from the server (c:\foldername\filename)

    Hi all,
    I am developing an application. in this app i have to implement RMI.
    My problem is this, How can a client open a files from the server.
    all the html, pdf files are stored in the server's directory like C:\audit\filename.
    There is a folder on the server's C directory which contains all the html , pdf files.
    please tell me how can a client open a file from the server using RMI.
    Please send me the solution as soon as possible.
    Thanks & Regards
    Bhavishya

    That's doing it the hard way. Why not use HTTP or FTP?

  • How can I move photos in iPhoto from the WEB Photo Stream or WEB Facebook to one of my Events?

    How can I move photos in iPhoto from the WEB Photo Stream or WEB Facebook to one of my Events?

    From PhotoStream either drag the photos form PS to the iPhoto window or set the iPhoto peference to automatically import PS photos
    From Facebook save to isk and import from there
    LN

  • How can I watch a Disney movie from the Disney website I have purchased movie cd and I can go to the website on by gateway computer but can't get it to play on my iPad it wants me to download flash but apple doesn't support flash or I can down loadQuickTi

    How can I watch a Disney movie from the Disney website I have purchased movie cd and I can go to the website on by gateway computer but can't get it to play on my iPad it wants me to download flash but apple doesn't support flash or I can down loadQuickTime but don't know how. Says to email website did that but takes me back to same place to email help

    Contact iTunes Customer Support, but honestly, there are no returns for iTunes purchases.

  • How can I transfer all my music from the apple ID account on my dad's computer to my new computer without burning like a hundred CD's?

    How can I transfer all my music from the apple ID account on my dad's computer to my new computer without burning like a hundred CD's?

    For non-iTunes purchases you need a third-party program like one of those discussed here:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

Maybe you are looking for

  • How do I move photos to Iphoto that were mailed to me as a Picasso download

    Just went on a vacation and one of my friends forwarded pictures from her Picasso account. I've saved them in documents but don't know how to download them into iphoto.

  • Error with jms receiver communication channel

    I am new to jms adapter I am getting ERROR:"Error connection due to missing class: com.ibm.mq.jms.MQQueueConnectionFactory. Please ensure that all needed resources are present in the JMS provider library: com.sap.aii.adapter.lib.sda". How to resolve

  • The same code behaving different in two files.

    The same code behaving different in two files. in pro*c file it is returning rows in sql file it is not returning any rows. please suggest me. regards, prasad.

  • Requisition created from a production order

    Hello, We have requisitions created via maintenance orders (from the R/3 components PM Plant Maintenance and Service Management - iw32).  creation indicator (eban.estkz) is 6 for production order and item category on req is d for services.  After the

  • AEBS drops connection on one computer but not other

    I have no idea what is going on. I have read a few threads in the AEBSn forum about intermittent dropouts after a firmware update, but mine is an older AEBSb/g. The strange thing is that I have my iBook and my iMac side-by-side, and most of the time