Autocomplete on Form Values

Current browsers by default have this "nice" feature which ask users to save their login's and passwords and help them also "remember" values entered into previous fields. This can be turned off by adding "autocomplete='false'" in the form tag.
With Sun JES Identity Manager there doesn't appear to be away to set this option. We would prefer to keep users from "saving" their login credentials to IdM to avoid their credentials being saved on "non-managed" machines and providing people who come in after them to gain access to their accounts or finding what they entered into fields (especially when fields are like people's SSN). Is there anyway to set a parameter to affect this globally? Or at least for the login screen? I'm sure I could just modify the login screen and make it more of a static page, but I would like to try to keep it as is.
If there isn't a method for this, how are others of you dealing with this? Or do you see this as a non-issue?
If it matters I'm using 6.0M3 SP1 of JES IdM.
Thanks.
Thomas Cramer

Thomas,
Yes, I have come across this as a security finding. There is no direct way to do this other than modifying the underlying .class file (com.waveset.ui.util.html.HtmlPage) in the IDM code and adding autocomplete='off' to the login form. I had decompiled the class file and had the changes approved by Sun.
Hope this helps.

Similar Messages

  • Form values null.

    Hi,
    I am having a form field in my jsp page and on sumit I am passing the request to a servlet but in the servlet the form values are null even though i have entered the values in the field. Can any one please help me.
    I am posting my jsp and servlet.
    My jsp page <body>
    <body>
            <form action="LoginHandler" method="post" onsubmit="return ValidateForm(this)">
                <p><label> Login ID</label> <br />
                <input type="text" name="Username" size="10" /><br />
                </p>
                <p><label>Password</label> <br />
                <input type="password" name="Password" size="10" /></p>
                <p><input type="submit" value="Submit" class="textfont" /></p>
            </form>
        </body>
    My servlet
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import communication.ServerComm;
    public class LoginHandler extends HttpServlet {
        ServerComm server;
        public void init(ServletConfig config) throws ServletException {
            super.init(config);
            server = new ServerComm();
          public void destroy() {
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            server.openConnection();
          //gets null value here
            String username = (String)request.getAttribute("Username");
            String password = (String)request.getAttribute("Password");
            /*other expressions*/
       protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        public String getServletInfo() {
            return "Short description";
    }Thank you.

    You are calling request.getAttribute().
    You should be calling request.getParameter().
    Attributes vs Parameters
    A parameter is a name/value pair sent with a request - they are always Strings. They are read only - ie can only getParameter()
    An Attribute is a java object you want to save. Attributes can be at the page, request, session or application level. They can be any java object type. You have both get/set attribute calls.
    Cheers,
    evnafets

  • Making a JSP Form read only based on the form value present in DB

    I need suggestions/examples as i am newbie into java stream.
    I have two JSP pages 'Add Page' and 'Edit Page' .
    Add Page -> In add Page,I have many text boxes,select drop-downs options. In one select drop-down I have values as Locked and open .I can save this page contents in DB by entering those form values.
    Edit Page -> In eidtPage,once saved in DB, based on 'select drop-down- Locked and open' If it is locked i have to make all the fields (text boxes and select drop downs) as read only and if it is open i have to make it editable.
    I am taking all the values from DB,setting to 'form bean' and then setting up the values in session and forwarding it to JSP page to populate there .I am using beehive net UI tages in JSP. Please help me out.

    Not sure I'm following what you want, but this might help:
    In your select tag, put something like an 'onchange' event that calls a javascript function. In the javascript function it you add code to enable or disable your other fields based on the item selected from the drop down box.
    To determine what item was selected in a select tag, you write something like the following. I'm not sure of the exact syntax. You can look it up in a javascript book:
    var optionSelected = document.forms[0].selectTagName.options[document.forms[0].selectTagName.selectedIndex].value;
    To enable or disable a textfield, search for this in google:
    'jquery disable input'

  • JSP form values lost upon servlet request (RequestDispatcher)

    Hello,
    I have a query screen (jsp) that calls a servlet and gets results. However, although the results or errors display just fine (I do a setAttribute for them), I lose the initial values in the query form (values that the user input - which are stored in the request object). Shouldn't those values be maintained and displayed, since I'm using the RequestDispatcher and thus, I should have the same request object? Thank you, C Turner
    *****My JSP (the related code)*****
    <jsp:useBean id="form" class="com.foo.ActivityBean" scope="session">
    <jsp:setProperty name="form" property="*"
    </jsp:useBean>
    <HTML>
    <BODY>
    <FORM ACTION="ActivityFormHandler" METHOD="POST">
    <P><B>From Date</B>
    <INPUT TYPE="TEXT" NAME="fromDate" SIZE="9" VALUE="<jsp:getProperty name="form" property="fromDate"/>">
    <P><B>To Date</B>
    <INPUT TYPE="TEXT" NAME="fromDate" SIZE="9" VALUE="<jsp:getProperty name="form" property="toDate"/>">
    *****Java from my HttpServlet, ActivityFormHandler (acting as a formhandler)*****
    if (errors.size() == 0) {
    ActivityBean myActivityBean = new ActivityBean();
    myActivityBean.setBeanQueryValues(acctNumber, department, fromDate, toDate);
    Vector resultsVector = null;
    try {
    resultsVector = myActivityBean.executeQuery();
    } catch (CreateException ce) {
    errors.add("There was a problem retrieving the requested data from the database.");
    request.setAttribute("results", resultsVector);
    } else {
    //Data is not okay.
    String[] errorArray = (String[])errors.toArray(new String[errors.size()]);
    request.setAttribute("errors", errorArray);
    RequestDispatcher rd;
    rd = getServletContext().getRequestDispatcher("/public_html/ActivityQuery.jsp");
    //rd.forward(request, response);
    rd.include(request, response);

    For those interested in my question, here's what I figured out.
    Instead of:
    <INPUT TYPE="TEXT" NAME="fromDate" SIZE="9" VALUE="<jsp:getProperty name="form" property="fromDate"/>">
    Use:
    <INPUT TYPE="TEXT" NAME="fromDate" SIZE="9" VALUE="<%out.print(request.getParameter("fromDate"));%>">
    This allows the input field to persist the query value instead of blanking it out when the results are displayed. -ct

  • How to create a form value bean.

    Hi to all,
    In my page I have one lov. It gives Address and Addressid. I want to show the address details (only ) to User. I dnt want to show the addressid. But I passed the addressid to database.
    Set the Addressid in form value and set the Address in msgtextbean. Pass the Addressid to database. Is it possible?
    I want to know how to create formvalue bean dynamically. Anyone knows plz let me know..
    Thanks in Advance
    Regards
    Senthur

    Hi Senthur,
    Why you want to create it dynamically? You can create it at design time itself.
    For your requirement create on formvalue item, create another LOV mapping that provide and set there item name from LOV region and return item.
    Regards,
    Reetesh Sharma

  • Getting error while trying to set text for form value field in oaf

    Hi ALL,
    When i am trying to set text for a form value type field it is giving null pointer exception, please help me out.
    I tried below way.
    OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item11");
                containlineid.setText(pageContext,"test");
    Thanks

    HI Keerthi,
    I am able to set and get the value now, i am able to see the data in my log window, but in my page it is erroring out, giving null pointer exception.
    after commenting the two lines setting and getting value page is running fine, so any clue on this, please check the below code.
    public class XXDPECONTAINLINESCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
          OARawTextBean startDIVTagRawBean =
          (OARawTextBean) webBean.findChildRecursive("DivStart");
          System.out.println("debhorizontal"+ startDIVTagRawBean);
    // addScrollBarsToTable(pageContext, webBean,"DivStart", "DivEnd", true , "400",true,"400");
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
         String preplenish = pageContext.getParameter("item1");
          String pworkorder = pageContext.getParameter("item2");
          String pdmr = pageContext.getParameter("item4");
          String punloading = pageContext.getParameter("item6");
          String prrnum=pageContext.getParameter("item16");
          String pworknum=pageContext.getParameter("item14");
          String pdtr=pageContext.getParameter("item13");  
          Serializable param[] = {preplenish,pworkorder,pdmr,punloading,prrnum,pworknum,pdtr};
          OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
          if(pageContext.getParameter("item11")!=null)
            if(am !=null)
              am.invokeMethod("getSearchData",param);
          if (pageContext.getParameter("item30") != null) {
            String recout = (String)am.invokeMethod("getSelectedData");
               System.out.println("deb multi select test"+recout);        
                System.out.println("1111test1"+pageContext.getParameter("item32")); 
                OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item32");
                System.out.println("1111test2"+pageContext.getParameter("item32"));
                //containlineid.setValue(pageContext,recout);
                System.out.println("1111"+pageContext.getParameter("item32"));
              ///  System.out.println("22222"+containlineid.getValue(pageContext));
            containlineid.setValue(pageContext,recout);
            containlineid.getValue(pageContext);                            
               System.out.println("1111test3"+pageContext.getParameter("item32"));
    --------------Error it is giving in the page as----------------
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at _OA._jspService(_OA.java:71) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ## Detail 0 ## java.lang.NullPointerException at xxdpe.oracle.apps.ak.xxdpecontain.webui.XXDPECONTAINLINESCO.processFormRequest(XXDPECONTAINLINESCO.java:123) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormRequest(Unknown Source
    Thnaks

  • How to get the value of the current form values after "save" in MD form

    Hi,
    I am trying to run a procedure using the form values right after I save the current records in a master-detail form. When I pass the value using p_session.get_value to the procedure, there is only null value passed. I checked the package body generated and found that the OnReset function runs immediately following the saving of the current records and this onReset function is called within the OnSave procedure. So when I save the current changes, I loose the values in the p_session. Any PL/SQL code I write after OnSave, does not get any p_session value.
    Interestingly, in case of just one table form, the OnReset is not within the OnInsert function and it is possible to get the p_session values. OnReset runs after OnInsert and within this two functions we can write any pl/sql code on the Insert button PL/SQL handler.
    I have the following questions:
    1. Why is the procedure written differently in case of master-detail form ? Why is the OnReset inside the OnSave ? How do we write codes which we want to execute before onReset and after OnSave ?
    2. I want to run a procedure after onSave and before OnReset. How do I do that ? Do I have to change the package manually ?
    3. If the above is not possible, I can also try to store the values I need to run the procedure before I save in some variable. How do I do that ? It seems I cannot declare variables to store session values inside the pl/sql event code on Save button, because it gives me error. The variable declaration code goes in between the begin and end of genesys.. procedure and that is not allowed in pl/sql
    Please help me with this. I definitely need to run a procedure after saving for almost all of my forms. Otherwise I am not sure what to do with my development. I am completely stuck with this. Thanks a lot for helping me out.
    Mainak

    Never mind. I found the answer.

  • How do I pass a form value to Google Analytics

    I would like to pass a form value to Google Analytics. ie. if the user enters a value and submits the form, on the confirmation page I'd like to read the value and other form fields and pass those populate the Google Analytics tracking code ie. populate this withthe form values:
    _gaq.push(['_addItem',
          '1234',         // order ID - necessary to associate item with transaction
          'DD44',         // SKU/code - required
          'T-Shirt',      // product name - necessary to associate revenue with product
          'Olive Medium', // category or variation
          '11.99',        // unit price - required
          '1'             // quantity - required

    How about this - bind an ajax call to google analytics to the form submit button (change the type from submit to button or suppress the default event), having the form itself only submit after the ajax call is successful? No need to even worry about the confirmation page then.

  • Hacking into the form values file to retrieve a post after closing a window

    Okay, I'd just finished editing and re-editing a very long post and was doublechecking some of the links when I inadvertedly closed the entire window instead of merely closing the tabbed page I'd brought the new link up on to test it.
    I poked around and found a long binary file called "Form Values" in library/safari directory and I would just bet this has my full post in it. I copied it to the desktop because I had a feeling that if I opened another form with Safari, the info would be rewritten and lost forever. So I do have a safety copy now.
    Anyone have any idea at all how I could retrieve that information, and convert it from binary back into text form so I would not have to spend another two hours remembering and rewriting the post?
    Or a way of getting Safari to recognize it and read it into a new post form?
    Boy, recovering data with a menu item like "undo close window" or a reopen sure would be a nice feature... I bet I'm not the only person that's done this.
    THANKS!!

    I just downloaded Hex Editor and gave myself a trip down memory lane (hadn't used one of these editors since my DOS days). Anyway, as I expected, it looks like the Form Values file is encrypted - there are no recognizable text strings to extract. In any case, this file contains the data you used to fill out forms at particular sites, it does not carry the entire page or form.
    You could try Retrospective to see if you can find the page with the form in Safari's cache. If you do find it, the form could be filled out as when you closed the window or it could be blank as when it was last loaded into Safari - I don't know which because I haven't searched the cache with this puspose in mind before.

  • Form values are not submitting to ActionForm class

    Hi All,
    I have a problem with <html:form> tag. When i am submitting the form using the submit button it is going to the Struts-config.xml file and getting the action mapping for the HazSummary.do. It is getting the HazardSummaryAction class and getting the input from HazardSummary Form class. If result is sucees it is going to the next jsp page.
    All above things are happening properly. But the form values are not getting in to the HazardSummaryForm.jav.
    Here in this case Action class is HazardSummaryAction.java, Action Form class is HazardSummaryForm.java and jsp page is Hazard.jsp.
    Here is the code for Hazard.jsp
    <html:form action="/HazSummary.do">
    <table width="100%" border="0" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0">
         <tr colspan="4"><td>
         <%String jd="jmd";
         String st="closed";%>
         <input type="text" name="wkploc" value=<%=jd%>>
         <input type="text" name="hastat" value=<%=st%>>
    <html:submit property="action">
    <bean:message key="haz.save.label"/>
    </html:submit>
         </td></tr>
    </table>
    </html:form></body>
    Here is the code for HazardSummaryAction.java
    package com.prospecta.WSOProject.action;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class HazSummaryAction extends Action{
         public String hazstatus;
         public String workplace;
         public String prin1;
         public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
              HazardSummaryForm hsf = new HazardSummaryForm();
              HttpSession session = request.getSession(true);
         try{
         hazstatus=hsf.gethastat();
         System.out.println(hazstatus);
         workplace=hsf.getwkploc();
         System.out.println(workplace);
         session.setAttribute("stat",hazstatus);
         session.setAttribute("loc",workplace);
         return mapping.findForward("success");
         catch(NullPointerException nex){
              return mapping.findForward("failure");
              }catch(Exception e)
         e.printStackTrace();
         return mapping.findForward("failure");
    Here is the code for HazardSummaryForm.java
    package com.prospecta.WSOProject.action;
    import org.apache.struts.action.ActionForm;
    public class HazardSummaryForm extends ActionForm {
         public String wkploc;
         public String hastat;
         public void setwkploc(String wkploc)
              this.wkploc=wkploc;
         public String getwkploc()
              return this.wkploc;
         public void sethastat(String hastat)
              this.hastat=hastat;
         public String gethastat()
              return this.hastat;
    Here is the code for Struts-config.xml file
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
         <form-beans>
    <form-bean name="HazSumForm"     type="com.prospecta.WSOProject.action.HazardSummaryForm">
                   <form-property name="wkploc" type="java.lang.String"/>
                   <form-property name="hastat" type="java.lang.String"/>
         </form-bean>     
         </form-beans>
    <action-mappings>
    <action path="/HazSummary" input="/HazSumForm" name="HazSumForm" scope="request" validate="false" type="com.prospecta.WSOProject.action.HazSummaryAction">
                   <forward name="success" path="/HazardSummary.jsp"/>
                   <forward name="failure" path="/Hazard.jsp"/>
              </action>                                         
         </action-mappings>
         <controller processorClass="fr.improve.struts.taglib.layout.workflow.LayoutRequestProcessor" locale="true"/>
         <message-resources parameter="com.prospecta.WSOProject.ApplicationResources"/>
         <plug-in className="org.apache.struts.tiles.TilesPlugin">
              <set-property property="definitions-config" value="/WEB-INF/tileDefinitions.xml"/>
         <set-property property="moduleAware" value="true"/>
         <set-property property="definitions-parser-validate" value="false"/>
         </plug-in>
         <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
         <set-property property="pathnames" value="/WEB-INF/validator/validator-rules.xml,/WEB-INF/validator/validations.xml"/>
         </plug-in>
    </struts-config>
    i followed the same process for previous pages which they are working. But in this case it was not working properly.
    Please resolve this problem ....................

    Hi Sreelatha,
    When you develop any interactive form please keep in mind the below things which you need to check:
    1. The layout type of the form should be ZCI. Select it from the form properties tab in SFP t-code.
    2. In web dynpro application (in case you are using for the form), the form type should be selected as native.
    3. In the form layout insert web dynpro script using menu->utilities->insert web dynpro script.
    4. After that come out of the form and run the report FP_ZCI_UPDATE giving your form name, also select the update check box in the report.
    Once these things are done your form should work fine.
    Regards,
    Vaibhav

  • Using form values in query statement

    Hello~
    I am building a form where a user should choose a category
    from a
    dropdown menu populated from the "categories" table, and then
    a second
    dropdown menu should appear if there are any subcategories
    available
    for the selected category. I have joined the tables in Access
    so that
    there is a 1-to-many relationship between the categories.id
    field and
    the subcategories.categoryID field. This is the query that
    Access
    generated, and I then added the WHERE statement to include
    the form
    value that the user generates.
    I am getting the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC
    Microsoft Access Driver] Too few parameters. Expected 1.
    If anyone has any suggestions, they would be very welcome!
    Thanks.
    KC

    OK, let's see...
    The first dropdown menu that is prepopulated with the
    Categories is named "category".
    So... Once they choose a category from that menu, I have the
    second dropdown appear if any Subcategories are available in the
    database, stemming from the category that they choose in the first
    dropdown. Does that make sense? That's where the "if form.category
    is defined" bit comes from.
    Hypothetically, the query called "getSubcategories" should
    pull the ID of the category chosen in the first dropdown, look in
    the subcategories table and see if any of the subcategories have
    that ID as their categoryID.
    The WHERE statement in the getSubcategories query that I have
    right now:
    WHERE
    subcategories.categoryID = #form.category.getCategories.id#
    This was really just a shot in the dark when it didn't work
    with it like this:
    WHERE
    subcategories.categoryID = #form.category.id#
    I thought that maybe since the value of the first dropdown
    menu was set as <option value="#getCategories.id#">, then
    maybe it needed to be called like that in the query as well.
    Obviously, not so much!
    Does that answer your question?

  • Form Values in "On Successful Submission of Form" PL/SQL Block

    I am having trouble capturing the form values in the "On Successful Submission" PL/SQL block.
    p_session is not directly recognized by this block as a global variable.
    I created a local p_session variable. It passes NULL values.
    I am using Portal 3.0.7.
    Thanks,
    James

    James,
    To answer your questions:
    DOMAIN and SUBDOMAIN can be any names of your choosing, but they must be consistent between the put and the get. They are not implicit.
    Here is what I chose to do...
    ON THE INSERT BUTTON:
    declare
    session portal30.wwsto_api_session;
    begin
    session :=
    portal30.wwsto_api_session.load_session('LLNL','LCAMS');
    session.set_attribute('buttonType','Insert');
    session.save_session;
    end;
    doInsert;--- This is the default handler
    So, in my case, the Domain is LLNL and the Subdomain is LCAMS.
    IN THE "ON SUCCESSFUL SUBMISSION OF FORM...":
    declare
    v_user_key_id lcams_db.user_token_link.user_key_id%TYPE;
    v_tkn_ser_no lcams_db.user_token_link.tkn_ser_no%TYPE;
    v_actv_ind lcams_db.user_token_link.utl_actv_ind%TYPE;
    v_event VARCHAR2(10);
    blk varchar2(10):='DEFAULT';
    my_url VARCHAR2(200);
    return_url VARCHAR2(200);
    session portal30.wwsto_api_session;
    begin
    v_user_key_id:=p_session.get_value_as_number(
    p_block_name=>blk, p_attribute_name=>'A_USER_KEY_ID');
    v_tkn_ser_no:=p_session.get_value_as_varchar2(
    p_block_name=>blk, p_attribute_name=>'A_TKN_SER_NO');
    v_actv_ind:=p_session.get_value_as_varchar2(
    p_block_name=>blk, p_attribute_name=>'A_UTL_ACTV_IND');
    session :=
    portal30.wwsto_api_session.load_session('LLNL','LCAMS');
    v_event := session.get_attribute_as_varchar2('buttonType');
    my_url := 'lcams_db.otp.otp_utl' &#0124; &#0124;
    '?p_event=' &#0124; &#0124; v_event &#0124; &#0124;
    '&p_user_key_id=' &#0124; &#0124; TO_CHAR(v_user_key_id) &#0124; &#0124;
    '&p_tkn_ser_no=' &#0124; &#0124; v_tkn_ser_no &#0124; &#0124;
    '&p_actv_ind=' &#0124; &#0124; v_actv_ind;
    call(my_url,return_url);
    end;
    The 'A_...' references are actual fields on the form, which are based on columns in my table.
    I use the get_value_as_... calls to get the values the end user entered and I pass them to a procedure in a package that I had previously defined.
    lcams_db is the schema, otp is the package and otp_utl is the procedure. The p_... names are the actual names of the parameters in the procedure.
    Let me know if you need additional clarification.
    Rene'

  • Passing form values to a Servlet

    I am trying to pass form value to a servlet once the user presses the submit button. How can I get access to the form values?
    Thanks

    Try this in your servlet.
    HttpSession session = request.getSession(true);     
    System.out.println(request.getParameter("xxxxx").toString());
    xxxx is the parameter name..
    Doesn't this work?

  • Issues in Processing the Master-Detail Form values

    We have a requirement in Oracle Internet Expenses (11.5.10) to fetch the form values from the Expense Allocations Screen.
    This page is based on Multiple VOs with Master Detail relationship. The data from the VOs mentioned are displayed in the Hgrid region.
    I need to fetch the input values for three fields (from different VOs) and pass them as paramater to the database function to perform the validation.
    Here, I am creating the handle for VO objects and using the Row object getting all rows in range (getAllRowsinRange()).
    The issue here is always, the Row length() is always fetched as 1 even it has multiple rows.
    Any help on this would be highly appreciated.

    Using Select Options u will get mulitiple values also u will get values like table.
    regards,
    kumar.

  • Writing XML document using form values

    Being new to java/xml I'm strugling with this task:
    I have a web form and I need to pass the values from the form to a class that will then create an xml file using the form values.
    I've looked through the JAXP tutorial and Sun's XML tutorial but can't find anything that would suit my needs.
    Could anyone help me on how I should go about doing this?
    Does anyone have any sample code?

    with JAXP, you can either :
    - build a new XML document from scratch, using DOM, and append each node, each value,
    - create a style sheet that generates an XML document, receiving the web form values as parameters, processed with XSLT.

Maybe you are looking for

  • My iPod won't sync any songs or videos that are in the iTunes Library.

    I have an iPod classic [80 GB] and it does not, recently since I updated the iTunes to the newest version, for whatever reason iTunes will not be able to sync music or any of the music videos I have giving me a error message [Like rite now it told me

  • Monitors Showing 2 and 3 times in Asset Manager

    All IBM's we have show 2 and 3 monitors in device manager. I believe it is caused by the display adapter. There is no way to permanently delete the monitors. The problem is that because of this all 3 monitors also show in asset manager. Is there anyw

  • MacBook Pro 15" not responding after boot-up?

    My MacBook Pro 15" has an issue and won't work! Yesterday I went to my MB to load it up for my daily commute into the city. As I was loading my bag I tried to disconnect my ext. backup drive that works via Time Machine. When I left it the night befor

  • Master Collection has gone haywire; think's it's in the Cloud

    I've had CS6 Master Suite for years. All of a sudden, some apps don't open. Illustrator and Audition ask if I want to continue the Creative Cloud Trial period, even though I have never tried the Cloud version and I certainly don't want to.  Audition

  • Itunes can't play the file because the original file can not be found

    There is many things wrong with that message and I don't know why. I had around 30 songs off an album on my computer I put the album on Itunes I edited them and then they played fine I put them on my ipod and then deleted them off coz i wanted to put