Automatic reset of form data???

I built a simple form that is emailed out. How do i get the data on the online form to not show what the previous person typed in and mailed if he happens to double click in the text field box???

Hi Shankar,
As far as i know there aare no docs available which describe this process in detail.
Also you will have to use the import and export method to export the SLD objects for the first time. In my opinion Automatic forwarding of SLD data is only for the changes that have been to these objects once they have been imported for the first time. However i am not very sure about this. You may try refering to the Config Guide for XI and the How To CMS guide.
Regards
Sidharth
Sidharth

Similar Messages

  • Automatically populating a Form from data stored in Access

    Hi,
    I need help automatically populating a form from data stored in Access. The form needs to have specific fields that are updated from an Access database. I want to be able to enter a site number and have the subsequent list of information (approximately 35 pieces of data) populate. I DO NOT want to update the Access database via the form. The form is for quick viewing and documentation only, not data entry. Currently I've been doing this with VB in Access which exported the data to a Word Document which was then saved as a PDF. It seems easier and less troublesome to go directly to the PDF form, but I can't figure out how!
    I have already connected my database to the form using OLEDB.
    I don't want a dropdown list and I don't want buttons to scroll through the sites (I've already found out how to do that through this forum).
    Any help would be very much appreciated!!

    Some more help to get started in this.. would be really appreciated..Are you trying to come up with the graphs yourself? IF so, are you familiar with MVC?

  • Reset form data, show records page by page,  disable delete link if 1row

    1. When u click on a Reset button complete form data should be cleared. How to achieve this
    2. I have some of the records displaying data.. i got a delete button from datacontrol opertions tab... I need to disable this delete button when the number or rows displayed is only one. how can i achieve this
    3. After a search criteria is performed i need only 20 records to be displayed showing 1-20 then there should be a link on next which can take me to next page where i need to show the next set of 20 records .. just like the feature we have in gmail

    Hi,
    Try this code:
    // reset all the child uicomponents
    private void resetValueInputItems(AdfFacesContext adfFacesContext,
    UIComponent component){
    List<UIComponent> items = component.getChildren();
    for ( UIComponent item : items ) {
    resetValueInputItems(adfFacesContext,item);
    if ( item instanceof RichInputText ) {
    RichInputText input = (RichInputText)item;
    if ( !input.isDisabled() ) {
    input.resetValue() ;
    adfFacesContext.addPartialTarget(input);
    } else if ( item instanceof RichInputDate ) {
    RichInputDate input = (RichInputDate)item;
    if ( !input.isDisabled() ) {
    input.resetValue() ;
    adfFacesContext.addPartialTarget(input);
    }

  • I am no longer able to turn off cellular data usage for individual apps.  When I turn most of them off, they just automatically reset themselves to allow data usage.  Any thoughts?

    I am no longer able to turn off cellular data usage for individual apps. 
    When I turn most of them off, they just automatically reset themselves to allow data usage.
    Any thoughts?

    I am definately having the same problem and cannot believe there are no answers or even support that this problem exists.  I never have to post on forumns, I read what is usually readilly availiable for the craziest of problems. 
    Anyways, the problem is just that, I can toggle off a individual app's setting of cellular data availability, but it changes right back on rescreening.  After restarting, resetting etc, it seems that the big Apple Apps are the biggest offenders.  Music is a very important one, Podcasts can kill you very quickly, app store, Photos, Facetime, Stocks?!?!?!
    When one searches for solutions I have to see hundreds of links to "How great is ios7, you can turn off cellular data for individual apps FOR DUMMIES!".  I am a dedicated apple fool since the Apple IIe (long time), but when they run afowl it is usually really bad.  Why offer an on/off switch if the setting is always on?
    I am writing just to add support to the existence of this problem, not so much for people to offer ideas of solutions as I now believe it is in the coding.
    Thank you

  • Problem with transfering unicode form data in MULTIPART/FORM-DATA

    HI experts,
    I have this web based multilingual application. Page 1(form6.jsp) is basic registeration form with 5 fields and one image upload to the server. Page 2(verify.jsp) is another jsp page for verification of UTF data entered in page 1.
    page 2 (verify.jsp) also uses a bean called (verify.java) for picking up values. page 3(insertEntry.jsp) is the page for inserting that data into the Database and uses a bean called (logicbean.java).
    Now, the problem im facing here is that if i use multipart/form-data, the unicode text filled in page1 is shown as garbage when its is transfered to page2 and displayed on page2. It is all gibberish. But if i do not use multipart/form-data, the unicode text transfered from page1 to page2 is displayed perfectly on page2.Im using devenagari(UTF) language for filling in details.
    // form6.jsp
    <%@ page language="java" pageEncoding="UTF-8"%>
    <%@ page import="java.util.*,java.text.*" %>
    <%@ page import="com.oreilly.servlet.*" %>
    <%
    request.setCharacterEncoding("UTF-8");
    %>
    <HTML>
    <HEAD>
    <TITLE>
    <%=session.getValue("main.title")%>
    </TITLE>
    </HEAD>
    <h1><center><%=session.getValue("main.head")%><Center>
    <BODY background="brown.bmp">
    <form name=form6 action="verify.jsp" method="post" enctype="multipart/form-data">
    <center>
    <font>
    <table border=1>
    <tr>
    <td colspan=2><center><img src="asok.bmp"></center>
    </tr>
    <tr>
    <td >
    <b>1.)<%=session.getValue("main.ec")%></b>
    </td>
    <td></td>
    </tr>
    <tr>
    <td align="right"><b><%=session.getValue("main.ecname")%></b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="votername"></td>
    <td></td>
    </tr>
    <tr>
    <td align="right"> <b><%=session.getValue("main.ecsurname")%></b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="votersurname"></td>
    <td></td>
    </tr>
    <tr>
    <td align="left"><b>2.)<%=session.getValue("main.rel")%></b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
    <select name="relation" onchange="if(this.selectedIndex!=0){this.form.texthiddenrelation.value=this.options[this.selectedIndex].value}" size="1">
                                       <option>Choose</option>
    <option value="father">Father</option>
    <option value="mother">Mother</option>
    <option value="husband">Husband</option>
    </select>
    <input type="hidden" name="texthiddenrelation" />
    </td>
    </tr>
    <tr>
    <td align="right"><b><%=session.getValue("main.relname")%></b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="parentname">
    <td></td>
    </tr>
    <tr>
    <td align="right"><b><%=session.getValue("main.relsurname")%>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</b><input type="text" name="parentsurname">
    <td></td>
    </tr>
    <tr>
    <td align="right"><b>3.)<%=session.getValue("main.sex")%></b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
    <select name="sex" onchange="if(this.selectedIndex!=0){this.form.texthiddensex.value=this.options[this.selectedIndex].value}" size="1">
                                            <option>Choose</option>
                                            <option value="male">Male</option>
    <option value="female">Female</option>
    <option value="other">Other</option>
    </select>
    <input type="hidden" name="texthiddensex" /> </td>
    <td align="right"><b><%=session.getValue("form6.image")%><input type ="file" name=pic1 onchange={this.form.pic.value=this.form.pic1.value}><input type= hidden name=pic> </b></td>
    </tr>
    <tr>
    <td colspan=2><b>4.)<%=session.getValue("main.age")%></b><input type="text" name="age">
    </td>
    </tr>
    <tr>
    <td><b>5.)<%=session.getValue("main.dob")%></b>
    <td><b><%=session.getValue("main.dobday")%></b> <select name="cmbday">
    <option value="1"> 1 </option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">10</option>
    <option value="10">11</option>
    <option value="11">12</option>
    <option value="12">13</option>
    <option value="13">14</option>
    <option value="14">15</option>
    <option value="15">16</option>
    <option value="16">17</option>
    <option value="17">18</option>
    <option value="18">19</option>
    <option value="19">20</option>
    <option value="20">21</option>
    <option value="21">22</option>
    <option value="22">23</option>
    <option value="23">24</option>
    <option value="24">25</option>
    <option value="25">26</option>
    <option value="26">27</option>
    <option value="28">28</option>
    <option value="29">29</option>
    <option value="30">30</option>
    <option value="31">31</option>
    </select>
    <b><%=session.getValue("main.dobmonth")%></b><select name="cmbmonth">
    <option value="jan">JAN</option>
    <option value="feb">FEB</option>
    <option value="mar">MAR</option>
    <option value="apr">APR</option>
    <option value="may">MAY</option>
    <option value="jun">JUN</option>
    <option value="jul">JUL</option>
    <option value="aug">AUG</option>
    <option value="sep">SEPT</option>
    <option value="oct">OCT</option>
    <option value="nov">NOV</option>
    <option value="dec">DEC</option>
    </select>
    <b><%=session.getValue("main.dobyear")%></b> <select name="cmbyear" onchange="if(this.form.cmbday.selectedIndex!=0 && this.form.cmbmonth.selectedIndex!=0 && this.form.cmbyear.selectedIndex!=0){this.form.mergedage.value=this.form.cmbday.options[this.form.cmbday.selectedIndex].value +' '+this.form.cmbmonth.options[this.form.cmbmonth.selectedIndex].text +' '+ this.form.cmbyear.options[this.form.cmbmonth.selectedIndex].value}" size="1">
    <option value="1970">1970</option>
    <option value="1971">1971</option>
    <option value="1972">1972</option>
    <option value="1973">1973</option>
    <option value="1974">1974</option>
    <option value="1975">1975</option>
    <option value="1976">1976</option>
    <option value="1977">1977</option>
    <option value="1978">1978</option>
    <option value="1979">1979</option>
    <option value="1980">1980</option>
    <option value="1981">1981</option>
    <option value="1982">1982</option>
    <option value="1983">1983</option>
    <option value="1984">1984</option>
    <option value="1985">1985</option>
    <option value="1986">1986</option>
    <option value="1987">1987</option>
    <option value="1988">1988</option>
    <option value="1989">1989</option>
    <option value="1990">1990</option>
    <option>
    </select>
    <input type="hidden" name="mergedage">
    </tr>
    <tr>
    <td colspan=2><b>6.)<%=session.getValue("main.add")%></b>
    </tr>
    <tr>
    <td align="right"><b><%=session.getValue("main.addline1")%></b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="address1" value=""></td>
    <td><b><%=session.getValue("main.addstate")%></b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="state"></td>
    </tr>
    <tr>
    <td align="right"><b><%=session.getValue("main.addline2")%></b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="address2" onChange="this.form.finaladdress.value=this.form.address1.value + ';' + this.value;"> <input type="hidden" name="finaladdress"> </td>
    <td><b><%=session.getValue("main.addcity")%>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</b><input type="text" name="city"></td>
    </tr>
    <tr>
    <td align="right"> <b><%=session.getValue("main.addpin")%></b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="pincode">
    <td></td>
    </tr>
    <tr>
    <td ><b>7.)<%=session.getValue("main.const")%></b> <input type="text" name="constituency">
    <td ><b>8.)<%=session.getValue("main.id")%></b> &nbsp&nbsp<input type="text" name="refno">
    </tr>
    <tr>
    <td colspan="2"><center><input type="reset" name="reset" value="<%=session.getValue("button.reset")%>">&nbsp&nbsp<input type=submit name=Submit value="<%=session.getValue("button.submit")%>"></center></td>
    </tr>
    <tr>
    <td>
    </td>
    </tr>
    </form>
    </font>
    </BODY>
    </HTML>
    // verify.jsp
    <%@ page language="java" pageEncoding="UTF-8"%>
    <jsp:useBean id="verify" class="pack.verify" scope="request"/>
    <%@ page import="com.oreilly.servlet.*" %>
    <%@ page import="java.util.*,java.text.*" %>
    <%!
    MultipartRequest mp;
    // ParameterParser pp;
    %>
    <!-- Perform the actions on the bean. -->
    <%
    //pp.setCharacterEncoding("utf-8");
    %>
    <%
    try
    mp = new MultipartRequest(request, "d:/Files");
    out.println("DONE");
    /* Set the request object.*/
    /* The request object is implicitly available in the JSP page.*/
    verify.setRequest(mp);
    /* Insert the employee data into the database.*/
    verify.verifyEntry();
    //verify.setscope();
    /* Run the query to retrieve the employee data from the database.*/
    //logicbean.runQuery();
    catch (Exception e)
    System.out.println(e.getMessage());
    %>
    <HTML>
    <HEAD>
    <LINK href="theme/Master.css" rel="stylesheet" type="text/css">
    <TITLE>
    </TITLE>
    </HEAD>
    <BODY background="brown.bmp">
    <form name=form6 action="insertEntry.jsp" method="POST">
    <center>
    <table border=3>
    <tr>
    <td colspan=2><center><img src="asok.bmp"></center>
    </tr>
    <tr>
    <td >
    <b>1.)<%=session.getValue("main.ec")%></b>
    </td>
    <td rowspan=3>
    <image src="<%=verify.getpic()%>" width="85" hieght="85">
    </td>
    </tr>
    <tr>
    <td > &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<b><%=session.getValue("main.ecname")%></b> <%=verify.getvotername()%>&nbsp&nbsp<input type="hidden" value= "<%=verify.getvotername()%>" name="votername"></td>
    </tr>
    <tr >
    <td> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<b><%=session.getValue("main.ecsurname")%></b><%=verify.getvotersurname()%>
    <input type="hidden" value= "<%=verify.getvotersurname()%>" name="votersurname"></td>
    </tr>
    <tr>
    <td ><b>2.)<%=session.getValue("main.rel")%></b><input type="hidden" value= "<%=verify.getvoterrelation()%>" name="texthiddenrelation"></td>
    <td><%=verify.getvoterrelation()%></td>
    </tr>
    <tr>
    <td >&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<b><%=session.getValue("main.relname")%></b>&nbsp&nbsp&nbsp <input type="hidden" value= "<%=verify.getparentname()%>" name="parentname"></td>
    <td><%=verify.getparentname()%></td>
    </tr>
    <tr>
    <td >&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<b><%=session.getValue("main.relsurname")%></b><input type="hidden" value= "<%=verify.getparentsurname()%>" name="parentsurname"></td>
    <td><%=verify.getparentsurname()%></td>
    </tr>
    <tr>
    <td><b>3.)<%=session.getValue("main.sex")%></b><input type="hidden" value= "<%=verify.getsex()%>" name="texthiddensex"></td>
    <td><%=verify.getsex()%></td>
    </tr>
    <tr>
    <td ><b>4.)<%=session.getValue("main.age")%></B><input type="hidden" value= "<%=verify.getage()%>" name="age"></td>
    <td><%=verify.getage()%></td>
    </tr>
    <tr>
    <td><b>5.)<%=session.getValue("main.dob")%></b> <input type="hidden" value= "<%=verify.getdob()%>" name="mergedage"></td>
    <td> <%=verify.getdob()%></td>
    </tr>
    <tr>
    <td colspan=2><b>
    6.)<b><%=session.getValue("main.add")%></b></td>
    </tr>
    <tr>
    <td> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<b><%=session.getValue("verify.add")%></b><input type="hidden" value= "<%=verify.getadderess()%>" name="finaladdress"> </td>
    <td><%=verify.getadderess()%></td>
    </tr>
    <tr>
    <td >&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<b><%=session.getValue("main.addpin")%></b><input type="hidden" value= "<%=verify.getpin()%>" name="pincode"></td>
    <td><%=verify.getpin()%></td>
    </tr>
    <tr>
    <td>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<b><%=session.getValue("main.addstate")%></b><input type="hidden" value= "<%=verify.getstate()%>" name="state"></td>
    <td><%=verify.getstate()%></td>
    </tr>
    <tr>
    <td><b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<%=session.getValue("main.addcity")%></b><input type="hidden" value= "<%=verify.getcity()%>" name="city"></td>
    <td><%=verify.getcity()%></td>
    </tr>
    <tr>
    <td><b>7.)<%=session.getValue("main.const")%></b> <input type="hidden" value= "<%=verify.getconst()%>" name="constituency"></td>
    <td><%=verify.getconst()%></td>
    </tr>
    <tr>
    <td><b>8.)<%=session.getValue("main.id")%></b> <input type="hidden" value= "<%=verify.getrefno()%>" name="refno"></td>
    <td><%=verify.getrefno()%></td>
    </tr>
    <tr>
    <td colspan="2"><center><INPUT TYPE="button" VALUE="<%=session.getValue("ie.back")%>" onClick="history.go(-1)">
    <input type=submit name=Submit value="<%=session.getValue("button.submit")%>"></center><input type="hidden" value= "<%=verify.getpic()%>" name="pic"></td>
    </tr>
    </form>
    </BODY>
    </HTML>
    //verify.java
    package pack;
    import java.lang.*;
    import java.sql.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.oreilly.servlet.*;
    import com.oreilly.servlet.ParameterParser.*;
    * @author Administrator
    * To change this generated comment edit the template variable "typecomment":
    * Window>Preferences>Java>Templates.
    * To enable and disable the creation of type comments go to
    * Window>Preferences>Java>Code Generation.
    public class verify {
    String votername = "";
    String votersurname = "";
    String texthiddenrelation="";
    String parentname = "";
    String parentsurname = "";
    String gender = "";
    String texthiddensex="";
    String age = "";
    String dob = "";
    String mergedage="";
    String address = "";
    String finaladdress="";
    String pincode = "";
    String state = "";
    String city = "";
    String constituency = "";
    String refno = "";
    MultipartRequest request = null;
    Connection dbConn = null;
    ParameterParser pp;
    private String voternameParam;
    * Set the request object. This is used for getting parameters.
    public void setRequest(MultipartRequest request)
    this.request = request;
    public void verifyEntry()
    throws Exception
    /* Connect to the database.*/
    //pp.setCharacterEncoding("utf-8");
    //String nameParam = request.getParameter("name");
    MultipartRequest mp;
    System.out.println("connected to db2 through insertemployee");
    /* Get all the parameters from the calling HTML form.*/
    String voternameParam = request.getParameter("votername");
    System.out.println("the votername is " + request.getParameter("votername"));
    System.out.println(voternameParam);
    String votersurnameParam = request.getParameter("votersurname");
    System.out.println("the votersurname is " + request.getParameter("votersurname"));
    String hiddenrelationParam = request.getParameter("texthiddenrelation");
    System.out.println("the relation is " + request.getParameter("texthiddenrelation"));
    String parentnameParam = request.getParameter("parentname");
    System.out.println("the parentname is " + request.getParameter("parentname"));
    String parentsurnameParam = request.getParameter("parentsurname");
    System.out.println("the parentsurname is " + request.getParameter("parentsurname"));
    String ageParam = request.getParameter("age");
    System.out.println("the age is " + request.getParameter("age"));
    String mergedageParam = request.getParameter("mergedage");
    System.out.println("the mergedage is " + request.getParameter("mergedage"));
    String hiddensexParam = request.getParameter("texthiddensex");
    System.out.println("the hiddensex is " + request.getParameter("texthiddensex"));
    //String dobParam = request.getParameter("dob");
    //System.out.println("the dob is " + request.getParameter("dob"));
    String finaladdressParam = request.getParameter("finaladdress");
    System.out.println("the finaladdress is " + request.getParameter("finaladdress"));
    String pincodeParam = request.getParameter("pincode");
    System.out.println("the pincode is " + request.getParameter("pincode"));
    String stateParam = request.getParameter("state");
    System.out.println("the state is " + request.getParameter("state"));
    String cityParam = request.getParameter("city");
    System.out.println("the city is " + request.getParameter("city"));
    String constituencyParam = request.getParameter("constituency");
    System.out.println("the constituency is " + request.getParameter("constituency"));
    String refnoParam = request.getParameter("refno");
    System.out.println("the refno is " + request.getParameter("refno"));
    System.out.println("encoding = " + System.getProperty("file.encoding"));
    public String getvotername()
    return request.getParameter("votername");
    public String getvotersurname()
    return request.getParameter("votersurname");
    public String getvoterrelation()
    return request.getParameter("texthiddenrelation");
    public String getparentname()
    return request.getParameter("parentname");
    public String getparentsurname()
    return request.getParameter("parentsurname");
    public String getage()
    return request.getParameter("age");
    public String getsex()
    return request.getParameter("texthiddensex");
    public String getadderess()
    return request.getParameter("finaladdress");
    public String getpin()
    return request.getParameter("pincode");
    public String getstate()
    return request.getParameter("state");
    public String getcity()
    return request.getParameter("city");
    public String getconst()
    return request.getParameter("constituency");
    public String getrefno()
    return request.getParameter("refno");
    public String getdob()
    return request.getParameter("mergedage");
    public String getpic()
    //String a=request.getParameter("pic");
    //a=a.substring(a.lastIndexOf("/")+1);
    //System.out.print("Java path is "+a);     
    //Enumeration enum=request.getFileNames();
    //while(enum.hasMoreElements())
    //     String abc=(String)enum.nextElement();
    //     System.out.print("Java the path is "+abc);     
    return request.getParameter("pic");
    String votername1;
    //public void setScope()
    //request.setAttribute("votername1" ,voternameParam );
    //insertEntry.jsp
    <jsp:useBean id="logicbean" class="pack.logicbean" scope="request"/>
    <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
    <%@ page import="java.util.*,java.text.*" %>
    <%@ page import="com.oreilly.servlet.*" %>
    <%
    request.setCharacterEncoding("UTF-8");
    %>
    <!-- Perform the actions on the bean. -->
    <%
    request.setCharacterEncoding("UTF-8");
    %>
    <%
    try
    /* Set the request object.*/
    /* The request object is implicitly available in the JSP page.*/
    logicbean.setRequest(request);
    //MultiPartRequest mp=MultiPartRequest(request,"E:\Files");
    /* Insert the employee data into the database.*/
    logicbean.insertEntry();
    /* Run the query to retrieve the employee data from the database.*/
    //logicbean.runQueryInsert();
    catch (Exception e)
    System.out.println(e.getMessage());
    %>
    <HTML>
    <HEAD>
    <TITLE>
    Insert Record
    </TITLE>
    </HEAD>
    <BODY background="brown.bmp">
    <center><H2><%=session.getValue("ie.label")%>
    </H2>
    <font face = "Devanagari MT for IBM" size = +2>
    <b><%=session.getValue("ie.sd")%>|<%=session.getValue("ie.home")%></b>
    </font>
    </center>
    </BODY>
    </HTML>
    I have narrowed down the problem to the point where i understand that the "request.getParameter()" function for multipart is not able to understand or read UTF data properly. The out.println prints garbage from this function on the console. im using WAS
    plz help
    thanx in advance
    caffaine

    hi,
    To solve your problem Servlet Filters
    FILTER PROGRAM
    ===============
    package filters;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.UnavailableException;
    public class SetCharacterEncodingFilter implements Filter {
    // ----------------------------------------------------- Instance Variables
    * The default character encoding to set for requests that pass through
    * this filter.
    protected String encoding = null;
    * The filter configuration object we are associated with. If this value
    * is null, this filter instance is not currently configured.
    protected FilterConfig filterConfig = null;
    * Should a character encoding specified by the client be ignored?
    protected boolean ignore = true;
    // --------------------------------------------------------- Public Methods
    * Take this filter out of service.
    public void destroy() {
    this.encoding = null;
    this.filterConfig = null;
    * Select and set (if specified) the character encoding to be used to
    * interpret request parameters for this request.
    * @param request The servlet request we are processing
    * @param result The servlet response we are creating
    * @param chain The filter chain we are processing
    * @exception IOException if an input/output error occurs
    * @exception ServletException if a servlet error occurs
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain)
         throws IOException, ServletException {
    // Conditionally select and set the character encoding to be used
    if (ignore || (request.getCharacterEncoding() == null)) {
    String encoding = selectEncoding(request);
    if (encoding != null)
    request.setCharacterEncoding(encoding);
         // Pass control on to the next filter
    chain.doFilter(request, response);
    * Place this filter into service.
    * @param filterConfig The filter configuration object
    public void init(FilterConfig filterConfig) throws ServletException {
         this.filterConfig = filterConfig;
    this.encoding = filterConfig.getInitParameter("encoding");
    String value = filterConfig.getInitParameter("ignore");
    if (value == null)
    this.ignore = true;
    else if (value.equalsIgnoreCase("true"))
    this.ignore = true;
    else if (value.equalsIgnoreCase("yes"))
    this.ignore = true;
    else
    this.ignore = false;
    // ------------------------------------------------------ Protected Methods
    * Select an appropriate character encoding to be used, based on the
    * characteristics of the current request and/or filter initialization
    * parameters. If no character encoding should be set, return
    * <code>null</code>.
    * <p>
    * The default implementation unconditionally returns the value configured
    * by the <strong>encoding</strong> initialization parameter for this
    * filter.
    * @param request The servlet request we are processing
    protected String selectEncoding(ServletRequest request) {
    return (this.encoding);
    web-xml entry
    +++++++++++
    <filter>     
         <filter-name>Set Character Encoding</filter-name>
    <filter-class>filters.SetCharacterEncodingFilter</filter-class>
              <init-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>Set Character Encoding</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>

  • I keep getting this pop up. This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location? Can you please help me figure out how to get this to stop!

    This pop up has been occurring about once a minute when I am on certain sites.
    This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location?
    How do I get it to stop?

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Toolbars -> unselect All Unwanted toolbars
    -> go Tools Menu -> Clear Recent History ->'' Time range to clear: '''select EVERYTHING''''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies & Cache''' -> click "Clear Now"
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> Firefox will: select "Use custom settings for history" -> REMOVE Checkmark from "Permanent Private Browsing mode" -> place CHECKMARKS on:
    1) Remember my Browsing History 2) Remember Download History 3) Remember Search History 4) Accept Cookies from sites -> select "Exceptions..." button -> Click "Remove All Sites" at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire"
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
    -> Click OK on Options window
    -> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select all Unwanted Search Engines and click Remove -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • Automatically add a current date at the end of the comments

    Hi,
    I have a form on a table with 5 fields... on one the field I am asking my users to enter comments...
    I am looking for a functionality to automatically add a current date at the end of the comments, only when they are updated or newly filled in...
    Please advice how can I do it... I am anticipating some sort of a trigger on column (when the data is modified)...
    Thanks

    automatically add a current date at the end of the comments, only when they are updated or newly filled inDo you want to add the date to the page item itself and hence show it to the end user as and when its changed, thn
    Assuming comments item is named '*P1_COMMENTS* , add the following to the "execute on load"
    $('P1_COMMENTS').change( function(){
      var d = new Date();
      $s('P1_COMMENTS', $v('P1_COMMENTS')+ d.toUTCString() );
    });If its to be done only when updating ie in the PLSQL block
    UPDATE <table name>
    SET <comments _column> = (  SELECT DECODE(  NVL(<comments _column>,'')
                                                                          ,NVL(:P1_COMMENTS,'')
                                                                          ,<comments _column>
                                                                          ,:P1_COMMENTS||TOCHAR(SYSDATE,'DD-MON-YYY')
                                                  FROM DUAL
    WHERE <condition>

  • Using Javascript to reset a form on document load

    I am trying to reset all field vaules on a acrobat form to the default values, when the form is initially loaded.  I am trying to use the resetForm() method in a document level script, but not having any luck.
    I have been able to reset fields after user inputs such as a button that resets the form, or a script the will reset a form prior to importing field data... but I need to ensure all data is removed from the form when the form first loads
    Any ideas?

    I believe you mean a document level JavaScript, Entering Document Level Scripts, since a Folder level script would require the placing of the code into one of the Acrobat Application's JavaScript folder on the user machine, Entering Folder Level Scripts. Placing the JS code as a Document Level Sept will clear the form when the form is opened. One could also use the Page Open action if additional code is added to prevent re clearing the form if part of a multi page document and one navigates back to the original page.
    You should also consider turning off auto complete and auto caching of form data.
    Minimizing Exposure of Personal Information on Public Computers

  • Compiling form data: how to add FDF data?

    Hi there
    I've created a PDF form and am testing the distribution and compilation process. I created the form in Acrobat. I suspect most of the end users will have Reader, so after having distributed it through the Acrobat wizard (to myself) I filled it in with Reader and sent it back (the FDF file).
    When I open this FDF file from my email application, it doesn't automatically add it to the data set created in the distribution process. Instead it says that the data file cannot be located and asks if I'd like to browse for it. I do so, find it, and the completed form opens in Reader, not Acrobat. I can get around this by ctrl-clicking in Mail and telling it to open with Acrobat.
    However, when I do manage to get the completed form open in Acrobat it does not add the data to the spreadsheet field at the top. If I try to Import Data, the FDF file is greyed out – it wants a PDF. And if I import the FDF by going to Forms > Manage form data > Import data..., it shows the completed form but not the data in the spreadsheet again.
    So, how can I add this FDF data to the data set and get it to display in the spreadsheet area? Alternatively, how can I save this completed form as a PDF (not a data set as happens if I go File > Save) so that I can import that into the data set?
    I hope I've explained it clearly enough! Any help would be appreciated.

    Priya,
    Preview the iview and try shiftright click or ctrlright click and add the additional fields.
    if it doesnot work then you need to customise the code as per the requirements.

  • How To Reset a Form (Not as easy as you would think)?

    Hi All,
    I'm unable to get a form to reset its value when using a commandButton that has immediate set to true.
    I've got a simple little jsf page that has a form and a datatable. The form is bound to an object in a class I'm using to handle the view, the datatable is bound to a dataModel from the same handler class. The functionality I have is quite simple:
    a user clicks on a commandLink in a row of the datatable
    the corresponding object is loaded into a "currentObject" property of the handler class
    the form fields are mapped to the "currentObject" property of the handler.
    The user may update or reset the form.
    The goal is to have the reset commandButton set the "currentObject" property of the handler class to null (or a new, unpopulated object) so that the fields of the form are set to blank again on render. This works fine as long as I don't use immediate="true". When I do use the immediate=true attribute, the "currentObject" variable is, indeed, set to null, but the form still renders with the old "currentObject" values in it!!
    I have to use immediate="true" because there is validation going on for the form that I want to avoid.
    If I use a commandButton type="reset", the fields are not cleared because the reset functionality of the browser (ie6 and firefox) resets the fields to the values they were at the time the form was displayed--the very values I wish to totally remove!
    This seems like such a common, simple thing to do. What am I missing?
    Thanks,
    John

    I have a similiar problem, and maybe putting buttons in a different form is the answer:
    I have a page with a selectOneListbox on the left, and a set of inputs on the right. The listbox represents the available beans to select, and the set of inputs contains all the editable fields for the beans. Basically this is just a bean editor.
    There is a command Button beneath the listbox for viewing a bean. When this button is clicked, the set of inputs are populated with that bean's data.
    There is also a command button beneath the set of inputs that allows the user to save their changes.
    All of these elements are in the same form tag.
    JSF jsp:
    <f:view>
      <h:form>
        <h:panelGrid columns="2">
          <h:panelGrid columns="2">
            <h:selectOneListbox size="10" value="#{editor.selectedBean}" >
              <f: selectItems value="#{editor.beanSelectItemCollection}" />
            </h:selectOneListbox>
            <h:commandButton actionListener="#{editor.view}" value="View" />
          </h:panelGrid>
          <h:panelGrid  columns="2">
            <h:inputText value="#{editor.editingBean.property}" />
            <h:commandButton actionListener="#{editor.save}" value="Save" />
          </h:panelGrid>
        </h:panelGrid>
      </h:form>
    </f:view>Editor bean:
    public class Editor {
      // use a blank bean as default
      // so the editor is populated with blanks
      private Bean editingBean = new Bean();
      // don't initially select any beans
      private Bean selectedBean = null;
      private Map beans = new HashMap();
      public Editor() {
      public void save(ActionEvent e) {
        beans.put(editingBean.getId(), editingBean);
      public void view (ActionEvent e) {
        editingBean = (Bean)selectedBean.clone();
      // getters and setters
      public Bean getEditingBean() {
        return editingBean;
      public void setEditingBean(Bean b) {
        editingBean = b;
      public Bean getSelectedBean() {
        return selectedBean;
      public void setSelectedBean(Bean b) {
        selectedBean = b;
      // before entering the JSP for this bean, this method should be called
      // to populate the editor
      public void setBeans(Collection c) {
        beans.clear();
        for (Iterator i = c.iterator(); i.hasNext(); ) {
          Bean b = (Bean)i.next();
          beans.put(b.getId(), b);
      public Collection getBeans() {
        return beans.values();
      public Collection getBeanSelectItemCollection() {
        Collection items = new ArrayList(beans.size());
        for (Iterator i = beans.values().iterator(); i.hasNext(); ) {
          items.add(new SelectItem(bean, bean.getProperty());
        return items;
    }Here comes the problem:
    If I want to set fields as required or use any of the JSF validation functionality, my view usecase breaks. This happens if the user views bean1 changes some data to be invalid/not existant and then tries to view bean2. If they don't click the save button, validation/required should not be checked. My initial thought is that I should be able to set my view button and view listbox to be immediate. This does properly update the view listbox, but then if I change the values in the backing bean for the set of inputs, those changes are never updated to the screen, and the set of inputs is still populated with bean1's data even though the backing bean for all those inputs is now bean2.
    It appears that the view never requeries the backing bean when responseComplete() is called (which happens with an immediate command). Is this a bug in faces, or is this how the spec says it is supposed to behave? If this is the correct behavior what is a better practice to acheieve my usecase?
    My current workaround is to ignore faces validation and manually validate when the user clicks the save command, and then manually set the messages for the bad components. Obviously, this is not an ideal solution, but I was hoping that this faces behavior was incorrect and thus my solution would be temporary.
    I'm not tied to a specific solution, but I am discouraged that Adam says in order to reset the set of inputs, we have to manually update the model during the apply request values phase.

  • Automatic export of form results?

    I have a form that different users will receive, they will fill out, click submit, and then Tracker will do its thing for me. That is great in order for ME to see the results. I need two supervisors to also see the form data. Right now, I email them an Excel document with the results in it. But, if I am not here or out sick or something, the supervisors wouldn't receive any data. Is there any way to automate a distribution to them?
    So, in other words, clicking "Submit" on a form sends the info to Adobe.com and alerts me via the Tracker. But how can another person also be alerted and able to see the data?

    I am not sure if this will work, but when you are in form designer, in the submit button object validation, you can add multiple emails seperated by a comma.

  • Automatic Generation of form Printing for an Order

    Hi,
    In an Order one line itme dates are like this <b>from 29.03.2007 to 29.03.2008</b>.
    Here year is splitted into 2 parts. One is <b>1st of Jan to 30th June</b>, second one is <b>1st July to 31st Dec</b>.
               So that my requirement is like this.
    1) I need to print the form automatically when an Order is created.
    2) Every <b>June 15th</b> and <b>Dec 15th</b>  I need to print the form for that Order
        automatically with some other data.
    *--Similarly I need to trigger the form in this way automatically for all Orders.
    How can I trigger the Form automaticall for the above requirement.
    Regards,
    Balavardhan.K

    simple,
    create one new program  not driver program . Then u have to call that FORM
    1.Get all the data created during the dates.
    split the data into , based on the date ranges.
    2.
    loop at itab1.
    perform open_form
                write_form
                close_form
    endloop.
    loop at itab2.
    endloop.
    1) I need to print the form automatically when an Order is created.<b>---->COnfig</b>
    2) Every June 15th and Dec 15th I need to print the form for that Order
    automatically with some other data.
    <b>---> what ? what u split ?</b>
    *--Similarly I need to trigger the form in this way automatically for all Orders.
    <b>---> Config+ABAP</b>
    How can I trigger the Form automaticall for the above requirement
    Regards
    Prabhu

  • Contact Form data to Google Docs/Contacts?

    In Adobe Muse CC, I want to create a single-line signup form just like the following I have already created using the form widget:
    However I would like the results to be sent straight to a spreadsheet in Google Docs, or more preferably straight into my Google Contacts so that I start building an email list from the submissions (I use Google Apps for Business).
    And if at all possible to have a tag in Google Contacts associated with them automatically so that I know who in my contacts list came from my website form.
    Is there any way that I can do this?
    Is this a feature of Business Catalyst webBasics subscription?
    Can I do this using a site hosted somewhere other than Business Catalyst?
    Thanks in advance.

    Hi,
    Unfortunately there is no direct way to link your webform to a Google Spreadsheet using Muse. But You can try to export your site as html and use some code like PHP. Here is a helpful article,
    http://www.farinspace.com/saving-form-data-to-google-spreadsheets/
    Note: Business Catalyst does not support PHP or any server side scripting language
    With webbasic subscription, it is not possible, As you donot have the access to the CRM, you can see the detailed Plan Breakdown here, to see what is included in which plan.
    http://helpx.adobe.com/business-catalyst/kb/detailed-plan-breakdown.html
    In Business Catalayst there is a feature called mailing list, you can use it, check the guide below
    http://helpx.adobe.com/business-catalyst/sbo/create-email-marketing-mailing-list.html
    Regarding Godaddy, I have no idea, how they work, so it's better you reach out to there technical support to get a detailed instructions

  • Automatic reset problem (Palm Centro)

    Recently, my phone begins to have a new problem.
    When I use the phone, it automatically resets if I touch the screen during the conversation.
    It disrupt my conversation.
    I had done hard reset; but, the problem came up again.
    What can I do?

    Did the problem immediately return when you finished the Hard Reset, or after doing a HotSync?  If the latter, then the problem is software-related and saved on your computer.
    Did the phone get damaged in any way?  Get wet?
    Here's my normal help file for clearing out reset problems:
    As with most problems that occur on a Palm phone or PDA, it is either software or hardware related and we have to determine which one.
    Best method is to first make a complete backup of your unit to your SD card using the free "NVBackup" (available from http://www.freewarepalm.com) After the backup is complete, Hard Reset the unit, then test to see if full functionality returns.
    Perform a Hard Reset as described in this Palm KB article: http://kb.palm.com/wps/portal/kb/common/article/45050_en.html
    DO NOT HOTSYNC YET! Test the unit before reinstalling any software. If the unit works correctly, your problem is being caused by a "drug interaction" of software - maybe one rogue program, or a combination of several. You'll have to reinstall the third-party programs one or a few at a time to find the problem one. To avoid re-installing a software issue, rename your /Backup directory in your Palm folder (on a PC it's found here: C/Program Files/Palm(One)/"your HotSync ID name truncated"/Backup) to something like "/BackupOLD". Now perform the HotSync, choose your HotSync name you've been using, and all your PIM data will return, but not the third-party programs. Test for functionality again. If all is good, start installing the old programs from your /BackupOLD directory one (or a few if brave) at a time.
    If the unit does not work after a Hard Reset is performed correctly, then it may be Hardware-related. (If it's a connection problem via either BlueTooth or Wifi, be sure nothing has changed on the unit you're trying to connect to!)
    Hope this has helped,
    Wyrenut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Methods of opening emailed form data

    Hi, I would like to know if there is any way to streamline opening data submitted using the submit email function in LiveCycle Designer 7. Is there anyway to have the data open in the form automatically when the email is received from the customer? It seems quite tedious to rename and save the data file, then go find the appropriate pdf, open it, and then go and import the data. Any ideas???
    Nathan

    > Is there anyway to have the data open in the form automatically when the email is received from the customer?
    No absolutely not. Mail programs have locked out this kind of thing
    very strongly - it would be like saying "how can I have this program
    run automatically when I attach it and send it to a customer".
    > It seems quite tedious to rename and save the data file, then go find the appropriate pdf, open it, and then go and import the data.
    That sounds a bit tedious, though perhaps necessary if there is to be
    any kind of system to storing the files you receive (this is why web
    solutions are so much more preferable).
    But in general you don't have to open the PDF then import the data IF
    the PDF was originally on a web site. Opening the form data will be
    enough, as it will contain the URL of the original data file. This
    won't work, however, if you sent the user a local copy to fill, as it
    will contain the filename THEY used.
    Aandi Inston

Maybe you are looking for

  • Unable to print to my Oki C3200 via Airport Express

    Hi I wish to print wirelessly via Airport Express using my Oki C3200 printer. I have followed all the recommended install procedures. I am using a Windows Vista Home Premium 32 bit PC, have configured the printer with Bonjour for Windows, and still c

  • Can i return my imac bought yesterday?

    I just bought a new iMac yesterday, but i sow on different sites that next week a new iMac is comeing... can i return it back, to give me the new one? in how many days can I return it back? I am liveing in Spain (maybe it might help you this) Thank y

  • Where is a downloaded PDF form?

    I've tried many times to download my PDF form but everytime I do I can't find it. I get the bar saying it's exporting, and then downloading the form but then nothing. Have searched my entire computer but it's nowhere to be found! Any ideas? Thanks

  • Pop up in Word

    I get a "Windows Security" pop up in Word 2010 requesting my credentials. Whatever password I type in the pop up will not go away.

  • Why some fonts don't display properly

    I use Windows 7, Pagemake 7 (with update 7.01) Some fonts don't display properly in pagemaker file. Sometimes they look blank; sometimes display in part and the rest as blank. In fit-in Window view, sometimes a page displays properly, and next page i