How to do submit without any button

Hi ,
i am using Jdev 10.1.3.1 .
i am using JSF ADF BC Technology. i am having a problem. how to do submit the values in inputHidden field without submit or any button.
even i bind the method in valueChangeListner like below.it is not submit.Am i did any mistake? plz go thru this code and help me.
Hidden there is no auto submit attribute.
Code:
<af:form>
<af:inputHidden id="startDate"
value="#{bindings.Eventdate.inputValue}"
valueChangeListener="#{bindings.Execute.execute}"
required="false"/>
<af:commandLink text="search" actionListener="#bindings.Execute.execute}"/>
OR
<af:commandButton actionListener="#{bindings.Execute.execute}"
text="Search"
disabled="#{!bindings.Execute.enabled}"/>
</af:form>
i dont want to use command link or command button for action. how to submit the value in hidden field which is set by javascript function to the corresponding action.
could you please help me out regarding this?? .
Thanks & Regards,
Arun

Let me see if I have your use case correctly:
The user views the page, and some event triggers some Javascript code. The Javascript code needs to set the values of a hidden field, then submit the form, executing the action named Execute in the bindings.
First of all, get rid of the valueChangeListener. If you were to use a valueChangeListener, it would have to reference a method in a backing bean that takes a valueChangeEvent as its argument and returns void. Now try this - I haven't tried it myself, so I don't know that it will work, but I think it will. On your page:
<af:form id="theForm" defaultCommand="executeButton">
  <af:inputHidden id="startDate" value="#{bindings.Eventdate.inputValue}" />
  <af:commandButton id="executeButton"
                                actionListener="#{bindings.Execute.execute}"
                                text="Search"
                                disabled="#{!bindings.Execute.enabled}"
                                inlineStyle="display: none;" />
</af:form>And in your Javascript function:
document.theForm.submit();The basic idea is that the defaultCommand property of the form says that any submit of the form defaults to the button with the id=executeButton, unless some other button or link is explicitly clicked. The button has an inlineStyle with display none, which hides it from the user. Then the Javascript submits the form which ought to execute the default command.

Similar Messages

  • In LabVIEW 3.0.1, how to open a VI *diagram* (opens panel only without any buttons or menus)?

    I need to edit the diagram of an old LabVIEW 3.0.1 VI, which is running on a old Windows 3.11 computer (yes indeed!).
    When clicking on the VI, or when opening it from the file-menu, the frontpanel opens without title- and menu-bars, and without any button-bars. And there is no "right-clicking" in Windows 3.11. The VI does not open in Run-mode, it just does not show any clickable buttons (so I can't even start or stop it this way; normally it is called from another VI). Thus I can't do "view diagram", and thus I can't reach the diagram.
    Do you know of any shortcuts, key combinations or other workarounds to get to the diagram? None of the tricks which work on Windows 95 and higher seem to work here. And I am not familiar with this old LabVIEW version.
    Message Edited by Geert_2 on 06-18-2007 11:24 AM

    If it is not running, I think <ctrl> w is the old LV shortcut to get to the diagram.  I would open a new VI , and insert it in the diagram.  but hmmm, it has been ages... so not sure if <ctrl> double click will jump you straight to the diagram of the subvi...
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • How to attach sound to any button?which will continue that sound.

    Hi,
    Am working on Flash cs5.Can anyone tell me how to attach sound to any button?which will play after click on button.this sound should play continue till 2-3 scenes ahead.Am working on project which has 3 button with diffrent sound.and the sound button contains some scene which has volume seter.I mean,if user want to hear that sound in slow,medium or high pitch.the code should set as per this.Its in as 2.
    This site is like "karaoke".just the sound is classical music.It will continue on software and user will sing a song.
    Can anyone help me?At working on this from last 2 months.and its hard for me to get perfect answer.

    Add your sound clip to the library and give it a Linkage ID of "mySoundClip"
    Assume your button is in frame 1.
    GIve your button the instance name of "mySoundBtn". And put this code on frame 1 (timeline).
    stop();
    mySoundBtn.onRelease = function () {
              mySoundC = new Sound(this);
              mySoundC.attachSound("mySoundClip");
              mySoundC.start(0, 10);  //10 represents the number of loops
              gotoAndPlay(2);
    than put this code on the timeline frame where you need the sounsd to stop.
    stopAllSounds();
    Also If you want to be able to play the sound from your local disk without attaching it to the swf, use .loadSound("the url", true);

  • HT4623 Why the volume of iPhone keeps going down without any button being pushed

    The volume of my iPhone keeps going down without any button being pushed, why?

    Hello there Saber7,
    If I understand correctly, the phone seems to think the phones volume up is constantly being pressedbut the button still clicks when you press it. This should be easy to isolate to hardware or software, so I would start by quitting all the apps that are running on the phone:
    iOS: Force an app to close
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that reset the device and test the issue again:
    iOS: Turning off and on (restarting) and resetting

  • How to unsilence iphone without side button?

    how to unsilence iphone 2g without side button?

    I would assume you are asking about how to mute a first generation iPhone (original) and the mute button is missing???

  • How do I restore without any wifi connectivity?

    My apologies if this has already been asked. My iPad 2 will not connect to the wifi. It does not even pick up any SSIDs in the list of available connections. I have iTunes 11.1.1 on Mac on the computer connectivity side, and my iPad was just updated to the latest version of iOS (7.0.2?)
    Things I have tried:
    Turn wifi on/off
    Restart
    Reset network settings
    I suspect a hardware issue but I want to exhaust the software possibilities first.
    I have connected to iTunes and attempted to restore, however I cannot restore from iTunes because Find my iPad is on. In order to turn it off, I need to enter my Apple ID on the iPad itself, which obviously will not work without wifi connectivity (no 3G on this model). I have also attempted to first Erase all Settings from the iPad, but this also requires an Apple ID authentication. How can I restore this without any sort of internet connectivity? I can connect via USB to iTunes and I can't believe there's no way to make that happen

    Ha...well, thanks for finally being honest!!
    No problems...even though what you said made sense with regard to sync happening automatically (and, for me, happening quickly enough that I didn't see what as happening) I didn't mention in this thread that I created the following situation that I hinted at above.
    There was a game app that had data associated with it on my iPad that my son has been playing with an accidentally threw out.  I had a backup created because, with the new computer, I upgraded the iPad to OS 5.  I thought I could plug in, choose a backup to restore from, and get the app and some data back.  Well, I tried it...being unfamiliar with the process and whatever...and it did NOT work. PROBLEM was that before trying to restore, I REINSTALLED the app from iTunes and it came in a 'fresh install"....no data.  I then unplugged the iPad to try it out and that is when I realized no data was transferred.  When I plugged back in to finally do the restore, I think it BACKED UP THE NO-DATA app thereby erasing any chance I had and recoving the app's old data.
    I mean...I think that is what happened....hence all my questions that you have been helping with!!
    Now...since ya LIED to me ...I have another question!!:
    Where exactly are those backups??  I know some stuff here in my new Lion is now hidden when, back in 10.4.11 at least, I could look through the folders.  I found user/music/iTunes/iTunes Media/Mobile Applications and, in there, a bunch of "ipa" files associated with my iPad...but I haven't found the preferences folder location that you speak of...
    And if you find an explanation or more info, thanks...but don't have to kill yourself!

  • How to Bock customer without any transaction for the past one year

    dear Guru
    how can i bock customer without any transaction for the past one year .
    regards
    Praveen

    Hi Praveen,
    To Block Cuistomer Go to XD02 -
    > Give ur Customer Number -> Get in-> GO to EXTRAS------->Click on Blocking Data.
    You Can Block Customer At "Order Block" "Delivery Block" "Billing Block" 
    But for Past one year?
    Regards,
    Seegal
    Edited by: Raga on Apr 7, 2010 10:51 AM

  • How to share disks without any volume manager

    Hello:
    Do I have to use volume manager, either Solstice or VxVM, in order to establish disk sharing in between a two-nodes Sun Cluster?
    The Sun Cluster consists of 2 1405s and shares a D1000. The scdidadm �L shows:

    12 solarisd1k:/dev/rdsk/c5t8d0 /dev/did/rdsk/d12
    12 solarisa1k:/dev/rdsk/c5t8d0 /dev/did/rdsk/d12
    13 solarisd1k:/dev/rdsk/c5t9d0 /dev/did/rdsk/d13
    13 solarisa1k:/dev/rdsk/c5t9d0 /dev/did/rdsk/d13

    Without implementing any volume manager, how can I share a disk? Such as disk d13?
    I created a mount point /global13 on both nodes, use command
    # mount /dev/global/dsk/d13s0 /global13
    to mount this device. I can see the disk from both nodes. I created a file on /global13 from node solarisa1k, then, from node solarisd1k, it shows 0 block.
    Thanks in advance.
    Warren

    To mount a device globally, either use # mount �g or use global flag on the /etc/vfstab file.

  • How remote monitoring works -- without any agents at remote machine

    Using JAVA, Is there any way to execute a system level command on the remote machine and get back the data to the host machine.
    It should work something like this, my application resides on Windows, and it should send a system command to the remote machine (Solaris) like vmstat and getback the resultant output to my application. This should be achieved without installing any agents at the remote machines.
    Suggest me some good advice to design this application.

    Most Unix boxes run a Telnet serverActually, if the sysadmins are smart, there's no
    telnet server nor a telnet client in sight - they've
    been removed and sshd is running. Most (if I
    remember correctly) Linux distros now do not
    install telnetd by default, but sshd is. I use
    Linux/Solaris 100% of the time, at work and at home,
    and I can't even remember the last time I fired up
    "telnet."This is a good point and hints to the fact that any application must define and document
    its dependencies. In this case the application must document that the appropriate server daemon
    must be running for it to work, whether telnetd, rshd or sshd. No assumptions can be made about any
    of these daemons as they can all be turned off and not running.
    For this application to run the user must be able to turn on the required daemon at the required
    server. This is not the same but somewhat equivalent to requiring the installation of a
    specialized daemon at the server. In all cases the user must have administrative access to the server,
    either directly or indirectly.

  • HT1386 How do I synch without device button?

    The device button doesn't appear on my itunes when I open it. How do I synch?

    Try
    iOS: Device not recognized in iTunes for Windows
    I would start with               
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    New cable and different USB port?
    Runs this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Try on another computer to help determine if computer or iPod problem
    If this started after updating iTunes, and you still have problem after doing the above,  likely you will have to wait for a update to iTunes.

  • How to paint panel without any flashing

    Hello,
    i'm painting a panel with image,but before this image is painted ,it's drawed with Graphics.
    Could any tell me a way to avoid any flashing,while repainting
    Thanks in advance!!!

    use the following code in your prog:
    public void update(Graphics g)
         paint(g);
    this will remove flashing to a great extent.

  • How to recieve iMessages without any wifi

    I dont have a data plan (only talk and text)
    and my dad has an iphone and when im not in a wifi zone - i do not receive his imessages
    How do I make it so it uses my carrier/ charges me to receive iMessages from fellow Imessangers when no wifi is available?

    Buy a data plan.
    iMessages uses data network.

  • HT202159 Tried restarting download from the "Purchases" tab but the app comes out with "an error ocurred " message and I the button next to it is grey without any text or action. Please help, cannot dowload bad piggies game

    Tried restarting download from the "Purchases" tab but the app comes out with "an error ocurred " message and I the button next to it is grey without any text or action. Please help, cannot dowload bad piggies game

    Hi aaronvilla,
    Sorry to hear you are having issues with your iTunes Store purchase.   The following information should help you with this:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    To report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase, follow these steps:
    Find the email receipt for your purchase.
    Click Report a Problem under the app that is having the issue.
    When prompted, enter the Apple ID and password you used to purchase the item, then click Report a Problem.
    Click Report a Problem next to the item you are having an issue with.
    From the Choose Problem dropdown menu, choose the appropriate issue.
    Follow the onscreen instructions and—if prompted—type a description of the problem into the text field.
    Click Submit to have your issue reviewed.
    Hope this helps ....
    - Judy

  • How do I a form submit without losing page parametes on other portlets?

    I have a page with several portlets. How can I make one of the portlets do a form submit without losing page parameters in other portlets?
    If I do a submit only the controls in the form I have submitted are passed which means I loose parameters that where passed earlier.
    I looked at the code the portal uses for the next button and I see that it does a POST with the action being the complete current URL with existing parameters. When I do this I cannot access the form variables in my dynamic page.

    There are 3 steps to the balancing act of image weight (file size) vs image quality
    1) image dimensions (on screen height x width measured in pixels is all that counts). Smaller dimensions = smaller file size.
    2) compressed file type (JPEG for photos, PNG or GIF for everything else). Choose the right file type for your image.
    3) quality of the final compressed image - visually comparing the final image for "acceptableness" (less artifacts) vs final file size
    There are plenty of tutorials online
    http://inobscuro.com/tutorials/read/35/
    http://sixrevisions.com/web_design/comprehensive-guide-saving-images-for-web/

  • How can we call "SP.UI.Notify.addNotification" methods in sharepoint designer page(.aspx) load without any onclick control?

    Hello Friends,
    How can we call "SP.UI.Notify.addNotification" methods in sharepoint designer page(.aspx) load without any onclick control?
    Scenario: When i was open my page i need to show below script,But here i used button control.
    <script type="text/javascript" src="/_layouts/14/MicrosoftAjax.js"></script><script src="/_layouts/14/sp.runtime.js" type="text/javascript"></script>
    <script src="/_layouts/14/sp.js" type="text/javascript"></script><script type="text/javascript">
    var strNotificationID;
    function showNofication()
     strNotificationID = SP.UI.Notify.addNotification("<font color='#AA0000'>In Progress..</font> <img src='/_Layouts/Images/kpiprogressbar.gif' align='absmiddle'> ", false);
    </script>
    <div class="ms-toolpanefooter"><input class="UserButton" onclick="Javascript:showNofication();" type="button" value="Show Nofitication"/> </div>
    Thanks
    Reddy

    Hi  Reddy,
    You can use the window.onload method for achieving your demand as below:
    <script type="text/javascript">
    window.onload=function(){
    </script>
    Hope this helps!
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • DS XI3.2 SP1 - Problem when starting RFC server from management console

    Hi, We're using DataServices XI 3.2 SP1 FP1 on a windows 2008 server 64bits to load SAP BW. We have set up an external system in SAP BW called "DI_SOURCE" and then successfully created a RFC server interface (DI_SOURCE) within the management console.

  • How to choose Mail (Mapi) when clicking "Export" in the Report Viewer

    I'm using .net 2008 and CR 2008 for reporting. In a form I placed the ReportViewer. Everything works fine. Here my problem: When I click "Export" in the Viewer I get the File-Dialog with Excel, Word, PDF. But I'm missing the Dialog where I can choose

  • PHP / MySQL / Stored Procedures

    I'm trying to call a stored procedure on my site which uses php / mySQL 5.x. I've got the procedure working in the database so that when I call it from within a MySQL client it executes and returns the results I need, but Dreamweaver doesn't even "se

  • Php/mysql ajax toggle div

    Hi, I have recently started using ajax in my pages, and I am very impressed! But my skills have not yet developed and I am using a code snippet off the internet to do what I want. I have a hidden div tag called photo to which I want to load images in

  • Is Satellite C50-A441 preinstalled with Win 8.1 English language?

    I haven't managed to get a straight answer on the microsoft forum so am posting here. The following product ( [C50-A441|http://www.toshibamea.com/ComputerProduct/4/Satellite_C50-A441/52956?pageid=4] ) is advertised as Windows 8.1 Single Language 64-b