Update and Reset Button

HI Experts
I am using given bellow code to Edit Employee data. i dont know how to update this data and go back to Brose Form and want also place ReSet Button
i know i can easily do that using DataEdit Tag but using DataEdit Tag i am not been able to customize data entry
The Code is
<body>
<h2>Employee Edit Form</h2>
<jbo:ApplicationModule id="Bssbc4jModule" definition="BSSJSP.Bssbc4jModule" releasemode="Stateful" />
<jbo:DataSource id="DeptData" rangesize="6" appid="Bssbc4jModule" viewobject="DeptView1" />
<jbo:DataSource id="EmpData" rangesize="6" appid="Bssbc4jModule" viewobject="EmpView1" />
<jbo:DataSource id="JobData" rangesize="6" appid="Bssbc4jModule" viewobject="JobsView1" />
<form action="/EmpEdit.jsp" name="emp_form" method="post">
<table cellspacing="2" cellpadding="1" border="0" width="50%">
<tr>
<td>Employee ID</td>
<td><jbo:InputRender datasource="EmpData" dataitem="Empno" formname="emp_form" ></jbo:InputRender>
</td>
</tr>
<tr>
<td>Employee Name</td>
<td><jbo:InputRender datasource="EmpData" dataitem="Ename" formname="emp_form" ></jbo:InputRender>
</td>
</tr>
<tr>
<td>Job Description</td>
<td><jbo:InputSelect multiple="false" datasource="EmpData" dataitem="Job" displaydatasource="JobData" displaydataitem="Jobtitle" displayvaluedataitem="Jobid" ></jbo:InputSelect>
</td>
</tr>
<tr>
<td>Hire Date</td>
<td><jbo:InputDate datasource="EmpData" dataitem="Hiredate" formname="emp_form" readonly="true" ></jbo:InputDate>
</td>
</tr>
<tr>
<td>Salary</td>
<td><jbo:InputText datasource="EmpData" dataitem="Sal" maxlength="5" readonly="false" ></jbo:InputText>
</td>
</tr>
<tr>
<td>Department</td>
<td><jbo:InputSelectLOV datasource="EmpData" dataitem="Deptno" displaydatasource="DeptData" displaydataitem="Dname" displayvaluedataitem="Deptno" formname="emp_form" ></jbo:InputSelectLOV>
</td>
</tr>
</table>
</form>
// i use this but its not working
<uix:submitButton id="Update" formName="emp_form" destination="EmpBrowse.jsp" name="Update" text="Update" />
<uix:resetButton id="ReSet" formName="emp_form" name="ReSet" />
<jbo:ReleasePageResources />
</body>

See this thread for customizing the layout of a DataEdit component:
Working with DataEdit Tag
The DataEdit is intended to render all fields in the datasource on the screen. If you only want one field you can simply open a form tag, add an input field, add submit buttons (html submit buttons) and close the form tag. If you add a DataHandler to the page it will even do the DML for you.

Similar Messages

  • How to get the submit and Reset buttons on bottom of the page?

    while viewing a parametric form in the web browser i get SUBMIT
    and RESET buttons on the top of the form which doesnt look good.
    I tried pasting the whole html available by default in the
    Before Form Value(where the submit and reset buttons are
    defined) in the After Form Value property of the report property
    pallette. Though the layout appears as i wanted but its not
    passing the parameters values to the query but generates an
    error " REP-0788 Warning : The value of restricted LOV parameter
    BV_FROM_DATE is not among the selected values.". What can be the
    solution to this problem? Your Help is much appreciated. And
    also the report generated in the Runtime Previewer shows all the
    colors of the fields but its not shown on the web browser where
    can i define them...Your Help!!!!Thank you very much in
    advance..

    when you select 'list of values for the parameters' there is a choice box that says 'restrict list to Predetermined values'. Don't select it. This will solve your first problem.
    Second:When you run the report on the web you must choose ' desformat=htmlcss' then you can display the report as in the preview window. But still you can't see the same view in the web browser on report builder. It is still not good. As I sad before you can see the right view when publishing on the web.

  • How can I make easier case structure? Or can it possible to have one Pause and reset button in same structure.??

    hello,
    I am tring to convert my main test vi in case structure so latter on i can make some changes in that for example i want creat one pause button and reset button in that.
    I am not so much familer with case structure i want your guidence that how can i make my vi in globle case stucture in that i m having case 1 ,case 2...
    i already tried for that but then i got confused.
    here i am attaching my .llb file in that aa.vi is my main testing vi.
    will you plese guide me so i can make confort vi in case structure.
    Or can it possible to have one pause button and one reset button in same stucture,so User can pause or reset execution at any time when they want.
    Thank you very much in advance.
    Attachments:
    aa.llb ‏3338 KB

    Hello,
    I have change my entire structure ,now is it possible to have pause and reset button.
    here i have attached my changed vi.
    if still any changes required then please suggest me.
    Thank you.
    Attachments:
    aa.vi ‏75 KB
    aa1.llb ‏3333 KB

  • Need reset box with flip-flop green LED and reset button

    Before I build up a large number of these, is there an off-the-shelf box with flip-flop green LED and reset button?

    Hi,  I'm not sure what you mean.  Are you looking for a phsyical project box witha built in reset switch and LED?  Or are you talking about a LabVIEW template?
    Chris Bakker
    National Instruments
    Applications Engineer
    Check out LabVIEW 2009 and the New X-series DAQ!

  • Problem with SAVE and RESET button in WAD

    Hi all,
    We have two queries embedded in save template and we have created two different save and reset buttons for each query. But if i execute save or reset for one query it is working for both the queries. Can i restrict the SAVE and RESET button for a particular query.

    Hi Tilak,
         It appears that though there are two reset buttons, the HTML code for the webtemplete is not arranged to restrict the reset function of the button for each dataprovider used. This may cause the reset function to act globally on all dataproviders . In the XHTML code, please pass a unique instruction to each reset function, such that each instruction corresponds to a unique dataprovider.
    Thanks,
    Nithin Reddy

  • Submit and Reset Buttons in oracle Reports Previewer

    Hi....
    When i generate a report from Form 10g it displays Parameter previewer....
    It shows submit and reset button in the top and then list the other paramet values...
    Now my client wants the submit button and reset button after the list of parameters not in the top.
    As i am new to oracle 10g can anyone help me....
    plz direct me to the forum if it is discussed earlier...
    Thanx in advance....

    Hello,
    The HTML displaying the Submit and Reset buttons is defined in the "Before Form Value property" :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_rpesc_before_form_value.htm
    You can move the HTML code to the property "After Form Value property"
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_rpesc_after_form_value.htm
    in order to display these buttons at the bottom of the parameter form page ...
    Regards

  • Send and reset buttons won't work on contact form

    Hey, I'm using Flash CS3 and ActionScript 2. I've created a simple contact page, inside a movie clip (because I got it fading in and out), I've put the script on the main timeline, so not inside the movie, but the send and reset buttons won't respond all. I've checked the instance names and spellings are correct, here's the script I'm using:
    contact_tween.send_button.onPress = function() {
             if (name eq "" or subject eq "" or message eq "" or email eq "") {
                   stop();
             } else {
             loadVariablesNum("form.php", 0, "POST");
             gotoAndPlay(211);
    contact_tween.reset_button.onPress = function() {
         name="";
         subject="";
         message="";
         email="";
    so, what am I doing wrong? any help appreciated, thanks.
    ps. contact_tween is the name of movie I created to fade the whole contact page in and out.

    ok, i've got the send button working, it was the script on the keyframe that controls the contact form, i copied the code from an older version of the contact file where the send button works. i've checked all the frames, and made sure there aren't any unnecessary instance names, duplicate or otherwise. only thing is the reset button still doesn't work.
    another thing i'm not sure of, do i need to upload the swf and php files to a server, or should i be able to get a test email in my inbox if i test it from my computer without uploading?

  • I have a wifi connection but "safari cannot open the page because it is not connected to the internet" I have reset everything; I have used Itunes to update and reset. Still no good. It worked until 2 days ago

    I have a wifi connection but "safari cannot open the page because it is not connected to the internet" I have reset everything; I have used Itunes to update and reset. Still no good. It worked until 2 days ago

    Reset everything.. did you do this?
    Tap Settings / General / Reset / Reset Network Settings
    If you're already been there, done that, could be a third party app preventing Safari from accessing the web.
    Re sync your apps 5 at a time, then test the iPad.

  • Exit and Reset Buttons

    Hi i'm trying to make the exit and reset buttons work.
    Everything works exept for these two and I do'nt understand why.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class PuntenInterface extends JFrame implements ActionListener{
        private JPanel panelknop = new JPanel(new GridLayout(4,1));
        private JButton knop1 = new JButton("Punt1");
        private JButton knop2 = new JButton("Punt2");
        private JButton knop3 = new JButton("Punt3");
        private JButton knop4 = new JButton("Teken");
        private JPanel paneltext = new JPanel(new GridLayout(1,4));
        private JTextField textveld1 = new JTextField();
        private JTextField textveld2 = new JTextField();
        private JLabel xcoord = new JLabel("X-Coordinaat: ");
        private JLabel ycoord = new JLabel("  Y-Coordiaat: ");
        private JPanel coordinaten = new JPanel(new GridLayout(4,1));
        private JLabel coordp1 = new JLabel();
        private JLabel coordp2 = new JLabel();
        private JLabel coordp3 = new JLabel();
        private JLabel geef = new JLabel("Geef de coordinaten van de drie punten in:");
        private JPanel quit = new JPanel(new GridLayout(1,3));
        private JButton reset = new JButton("Reset");
        private JButton exit = new JButton("Quit");
        private JPanel tekening = new JPanel();
                   Punt p1 = new Punt(0, 0);
                   Punt p2 = new Punt(0, 0);
                   Punt p3 = new Punt(0, 0);
        public PuntenInterface(){
              setTitle("PuntenInterface");
              setBounds(500,500,800,800);
              Container c = getContentPane();
                    c.setLayout(null);
              panelknop.setBounds(50,30,100,400);
                    c.add(panelknop);
                    panelknop.add(knop1);
                    panelknop.add(knop2);
                    panelknop.add(knop3);
                    panelknop.add(knop4);
                    paneltext.setBounds(160,30,300,30);
                    c.add(paneltext);
                    paneltext.add(xcoord);
                    paneltext.add(textveld1);
                    paneltext.add(ycoord);
                    paneltext.add(textveld2);
                    knop1.addActionListener(this);
                    knop2.addActionListener(this);
                    knop3.addActionListener(this);
                    knop4.addActionListener(this);
                    coordinaten.setBounds(160,80,400,100);
                    c.add(coordinaten);
                    coordinaten.add(geef);
                    coordinaten.add(coordp1);
                    coordinaten.add(coordp2);
                    coordinaten.add(coordp3);
                    quit.setBounds(160,450,200,30);
                    c.add(quit);
                    quit.add(reset);
                    quit.add(exit);
                    tekening.setBounds(160,150,400,400);
                    setVisible(true);
    public void actionPerformed(ActionEvent e){
            int x = 0;
            int y = 0;
            String sx = textveld1.getText();
            if (!sx.equals("")){
                x = Integer.parseInt(sx);
                textveld1.setText("");
            String sy = textveld2.getText();
            if (!sy.equals("")){
                y = Integer.parseInt(sy);
                textveld2.setText("");
            Object source = e.getSource();
            if (source == knop1){
                p1 = new Punt(x,y);
            else if (source == knop2){
                 p2 = new Punt(x,y);
            else if (source == knop3){
                  p3 = new Punt(x,y);
            else if (source == knop4){
                Puntenframe3 pf = new Puntenframe3(p1,p2,p3);
            if (source == knop1){
                int Coordinaat1 = Integer.parseInt(sx);
                int Coordinaat2 = Integer.parseInt(sy);
                coordp1.setText("X-Coordinaat punt 1:  " + Coordinaat1 + " ,Y-Coordinaat punt 1:  " + Coordinaat2);
                else if (source == knop2){
                int Coordinaat3 = Integer.parseInt(sx);
                int Coordinaat4 = Integer.parseInt(sy);
                coordp2.setText("X-Coordinaat punt 2:  " + Coordinaat3 + " ,Y-Coordinaat punt 2:  " + Coordinaat4);
                else if (source == knop3){
                int Coordinaat5 = Integer.parseInt(sx);
                int Coordinaat6 = Integer.parseInt(sy);
                coordp3.setText("X-Coordinaat punt 3:  " + Coordinaat5 + " ,Y-Coordinaat punt 3:  " + Coordinaat6);
            if (source == reset){
            textveld1.setText("");
            textveld2.setText("");
            coordp1.setText("");
            coordp2.setText("");
            coordp3.setText("");
            if (source == exit){
                System.exit(0);
    }Thanks very much

    Take your knop1 button for example. What do you do with that button that you're not doing with your reset button?
    Hint: action listener.

  • Sound not working after checking for driver updates and resetting bios

    I am running a  (HP Pavilion dv7-6c60us Entertainment Notebook PC)
    I had muted the sound and did a system upgrad prompted by my HP assistant after logging on.   Now when I try to get sound nothing happens.  So I went out to the support site and checked for driver updates and none were found.  So I then went into my system bios and reset it as stated in a support for sound not working and still no sound.   HOW DO I GET MY SOUND TO WORK AGAIN?

     From your models support page Download & Save the latest Audio driver.Go into Control Panel,Programs & Features- Uninstall IDT software.Restart the laptop. After Windows loads, install IDT audio using the downloaded file.
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=5218...
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Submit and Reset button not working

    Hi, am new in the forum, php, dreamweaver and flash.
    i have been working on a website for my client using flash, and i had to create a form
    on my contact page that user can use to submit their queries.
    i managed to download a step by step code using php. It guided me through everything
    but my problem is once i uploaded the website on the server the button submit and reset it not doing it job.
    here is the website. www.kulaevent.com
    it takes couple second for the contact form to appear.
    Please help, please

    Thank you
    I have checked the link you gave and i managed to update my form and i uploaded
    on the site and it worked.
    Thanks again

  • Adding update and delete buttons to a  Report from SQL Query

    There is an option when creating a QBE to add update and delete
    links which i find quite useful, but this option doesn't seem to
    be possible on a Report from SQL Query. Do i need to do
    something special to add them? is the option located in a
    different place?

    Hi,
    You can only add Update ,Delete in QBE Reports,
    there is no option in Portal which can be used to
    have these buttons in the Reports from Query Wizard or
    Report from SQL Query.
    Thanks
    Vineet

  • HT4061 Need help...my I-pad is frozen on an i-cloud backup update, and OK button won't work.  How do I fix?

    Hi all!  I can't get into my i-pad because the screen is frozen on an i-cloud back-up alert.  The OK button won't respond.  I can't even turn off the i-pad.  Please help if you can.  Thank you!

    Try this:
    Reset: Hold the Sleep/Wake and Home buttons and don’t let go until the screen goes dark and the Apple logo appears (no data will be lost)

  • Need different processes for Update and Delete buttons

    I'm using a customized version of the Issue Tracker sample application. I've added a table called project_person(project_id,person_id) so that a project can have multiple people assigned to it and so that one person can have multiple projects. I have a form report that lists all of the projects with an edit link which opens one project. On the individual project page, there are page items for each of the columns in the project table and a item for the person assigned to the project--this item is pulled from the separate project_person table. I have two buttons--Delete and Apply Changes. If you click on Apply Changes, the project table should be updated and then the project_person table if the assignment was changed. If you click on Delete, it should delete the project_person record first and then delete the project record. I created a new conditional pl/sql process that updated two tables if 'Apply Changes' button is cliicked. I then created a separate conditional process when the Delete button is clicked. This conditional process checks to see if a record in the project_person table exists, and if so, delete the record. Then delete the project record.
    The update process works fine. The delete process reloads the list of projects with a success message at the top without actually doing a delete and I have no idea why. Does anyone have any suggestions?
    I am not using the automatic row processing, but should I? Or is it ok to have the two separate conditions for the two different buttons?

    Hello again Miah,
    Check the "Sequence Number" for your processes. Typically, APEX will increment by 10, each time you create a Page Process as I recall. You can set this to be any number you want; even if you duplicate the sequence number (ie: you can have multiple Sequence 10 processes).
    Make sure that your Delete process is firing properly and walk through the logic in the source code to be sure that any "IF" or "WHERE" logic is satisfied. For example:
    Begin
      delete from emp_table
        where 1=2;
    End;If this was your page process code - you would receive a SUCCESS message because the PL/SQL code executed successfully, even though nothing will be deleted since 1 will NEVER equal 2.
    So, check Delete Source carefully.
    {size:14}{color:green}Can you post the code from your delete page process here?{color}{size}
    Good luck,
    Don.
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :)
    Edited by: dfcii© on Oct 27, 2009 10:55 AM

  • LMS 4.2.1: Save and Reset Button not woking on Syslog Purge Settings page

    Hello,
    Did anyone notice that Save button is not woking on Syslog Purge Settings page  (Admin > Network > Purge Settings > Syslog Purge Settings) when Email: field is not empty. An Reset button is not working at all.This is the Cisco Prime LMS 4.2.1.
    Is it only my LMS server or you all have this bug?
    Regards,
    Marija

    I did a test on a system (LMS 4.2.1, W2k8 R2) and had the same issue, so this really looks like a bug in the GUI;

Maybe you are looking for

  • Inter-company billing stock tranport order

    Dear all, We are having a scenario where in  we are doing STO using purchase order document type NB, but in the purchase order we are not getting the "condition tab". Have created a pricing procedur for STO. But in the MM- Purchasing- Conditions- Def

  • Webcams for ipad 1?

    Hi does anyone know if there are any webcams that work with iPad 1? either using the camera connection kit/adapter or via a bluetooth? thanks.

  • Subcontrating scarp quantity  in Bom

    Hi pp gurus How to handle the subcontrating item scrap my scenerio is like this "x " item will be send out side for subcontract for one operation while receiving "y" item plus some scrap "s" will come inside. How to create the Bom and how to handle t

  • Initial sync of Books will wipe out all music???

    I have an iPhone 4 running iOS 4.3, and I'm running the most recent version of iTunes. In iTunes on the Summary page for my phone, I have "Manually manage music and videos" selected.  I have loaded up my iPhone with about 10 gig of music, which took

  • After updating to ios7 my 4S keeps dropping calls and having a bad connection?

    I recently received a refurbished "like new" 4S from Verizon, which was working fine until I did the ios7 update.  I did a network reset and that didn't help, and then I did a hard reset and still the same problem.  Is this a phone issue? or a Verizo