About form data

Consider the following scenario in WLW 8.1
o A page has form
o User submits the page (action has form bean associated with it)
o Goes to confirm page
o Back to original page with form
How can I preserve the contents of the form that the user had entered
especially if there are errors?
Is the concept of reset() still valid? I see new instances of the form bean
being created...

Hi Niall,
I have a couple of questions related to this answer - I have a form located on our intranet and need to collect data from multiple users of the form every month into an Excel spreadsheet. What would be the best way to do this - include a button that the user presses to email me their responses as XML? If this is best, how would it be done?
And can you collect the data over a month and process it in Excel in one go?
Thanks for your help.

Similar Messages

  • Multipart/form-data using HTTPService, sending a binary file and some text in the same request.

    Hi There,
             I am new to FLEX and also new to writing a client for a web service.
    My question is more about flex (Flash builder 4.5) APIs, what APIs to use.
    I want to access a web service, that's published here.
    https://build.phonegap.com/docs/write_api
    here is the description of webservice
    ===========
    1) I have to do a post on POST https://build.phonegap.com/api/v1/apps
    2) content type has to be "multipart/form-data"
    3) JSON bodies of requests are expected to have the name 'data'
      data will be someting like this
    'data={"title":"API V1 App","package":"com.alunny.apiv1","version":"0.1.0","create_method":"file"}'
    4) include a zip file in the multipart body of your post, with the parameter name 'file'.
    ===========
    I want to make a 'multipart/form-data' Post and send
    one string and one zip file.
    My first question to self was If i send both string + binary data in the body ...
    how will server understand where string end and where zip file starts?
    Then read on W3.org( http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2 )
    How is text + binary data can be sent through "multipart/form-data" post requst.
    there has to be some boundries.
    After this I read and example in flex and  tried following it.
    http://codeio.wordpress.com/2010/04/03/5-minutes-on-adobe-flex-mimic-file-upload-for-in-me mory-contents/
    but it doesn't seems to be working for me.
                        public function createNewApp(cb:Function , appFile : File):void
                                  var service:HTTPService = new HTTPService();
                                  service.url = ROOT+"apps";
                                  service.showBusyCursor = true;
                                  service.addEventListener(ResultEvent.RESULT, function(e:ResultEvent):void {
                                            //translate JSON
                                            trace(e.result);
                                            var result:String = e.result.toString();
                                            var data:Object = JSON.parse(result);
                                            cb(data.link);
                                  service.addEventListener(FaultEvent.FAULT, defaultFaultHandler); //todo : allow user to add his own as well
                                  authAndUploadNewApp(service,appFile);
                        private function authAndUploadNewApp(service:HTTPService,appFile : File):void {
                                  var encoder:Base64Encoder = new Base64Encoder();
                                  encoder.encode(username + ":"+password);
                                  service.headers = {Accept:"application/json", Authorization:"Basic " + encoder.toString()};
                                  service.method ="POST";
                                  var boundary:String = UIDUtil.createUID();
                                  service.contentType = "multipart/form-data; boundary=—————————" + boundary;
                                  var stream:FileStream = new FileStream();
                                  stream.open(appFile, FileMode.READ);
                                  var binaryData:ByteArray = new ByteArray();
                                  var fileData : String = new String();
                                  stream.readBytes(binaryData);
                                  stream.close();
                                  fileData = binaryData.readUTFBytes(binaryData.bytesAvailable); // I think this is where I have problem.... how do
                           //how do i converrt this bytearray/stream of data to string and send it in my post request's body - i guess if this step work rest should work..  
                                  var params: String = new String();
                                  var content:String = "—————————" + boundary + "nr";
                                  content += 'Content-Disposition: form-data; name="data";' + '{"title":"ELS test app 2","package":"com.elsapp.captivate","version":"12.3.09","create_method":"file"}' + "nr";
                                  content += "—————————" + boundary + "nr";
                                  content += 'Content-Disposition: form-data; name="file";' + fileData  + "nr";
                                  content += "—————————–" + boundary + "–nr";
                                  service.request = content;
                                  service.send();

    In the past I have used URLVariables with URLRequest and URLLoader to achieve this kind of requirement.
    Check out http://livedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_3 .html which should be useful. My preference has always been to use this style instead of HTTPService objects, giving you a little more control which is what you need here.
    Let me know if you need any more assistance.

  • 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.

  • Share form data between PDFs

    I have a series of 26 PDFs that are all different forms to be filled out during a real estate short sale. Each form is unique but there are several pieces of data that need to be repeadidly entered (i.e. client's name is on every single form normally multiple times.) Is there a way that I can connect the form data between each PDF so that when I fill in the data on one form it auto populates the form of the other PDFs?
    I know how to do this within a single PDF (Just name the different fields the same and it copies the contents of that form box to all of the others) but I was hoping to be able to keep these PDFs seperate as normally only about half of the forms are actually needed.
    Thank you for your help in advance.

    Why don't you store the user's information in an ACCESS database table, and pre-populate the PDF from the datasource using a 3rd party form tool.
    Tools clients will need:
    Internet access
    PDF Reader
    Tools developer will need:
    iText (PHP/JAVA), iTextSharp (.net), or FDFToolkit.net (.net)
    MS Access
    (PHP Editor, Notepad or Visual Studio)
    For more information:
    http://www.fdftoolkit.net/

  • Acrobat 9 Pro: Batch Export Form Data to TXT?

    Is it possible to use Acrobat 9.0 Pro's batch processing utility (Advanced > Document Processing > Batch Processing...) to export a bunch of PDF forms to individual .txt files (Forms > Manage Form Data > Export Data...)?
    I can't find access to the Forms menu in the built in Batch utility wihen I click "New Sequence...", so I imagine it might take some custom JavaScript, which I'm not super experienced with, but I muddle through reading JavaScript code and understand it.
    So, if someone can give any direction, I'd appreciate it! Thanks!

    I'll try and read through the API Reference, but can't I just use a relative file path... something like this.exportAsText(true, null, "\..");
    I don't know the correct syntax for filepaths in JS... does it get wrapped in double quotes?
    The JavaScript for Acrobat API Reference says:
    Paths
    Several methods take device-independent paths as arguments. See the PDF Reference, version 1.7, for details about the device-independent path format.
    Where the hell is the PDF Reference, version 1.7???
    Is there a this.filename property?

  • How to copy form data from one pdf to another?

    Hi,
    I have created a pdf, added form data to it. Saved the form data as a fdf file - all good.
    I've updated the document and saved as a new pdf and would like to load the fdf data into it.
    So I select tools - forms - more forms options, and press the "import" function  - it goes grey and nothing happens.
    If I re-open the document the import function remains greyed out.
    I can find no way to import this data.... any ideas?
    I've tried going into form edit mode - adding a new field.  The import option is no longer greyed out so I click it and can select the fdf file hit open and ... the dialogue disappears and nothing happens.
    Is my Acrobat XI 11.0.07 badly installed - or what?

    You need to learn about the different types of PDFs. PDF/ A is an archive format that does not allow changes. PDF/X is used for graphics exchange
    For forms I would use only the PDF with a target version. Do not use the Optimizer feature.
    Forms always become larger due to the need to include the font for the various form fields. You might have to review the type fonts used by the form fields and one standard font as much a possible.
    It is possible to use the FDF file to move field values from one PDF to another.
    If you are trying to replace the underlying content and keep the form fields, use the replace pages.

  • Why do I get "The form data has expired." every time with Flash formatted CFFORM moved to CF 9.1?

    We are moving a ColdFusion site from CF8 to CF9.1 and have discovered that any CFForm that was uses Flash as it's format keeps giving us the "The form data has expired." error almost every time we visit the page containing the form.  We have fiddled with the timeout settings and even tried to add the various "cfheader" workarounds that some people have mentioned when getting this error, but to no avail.  To be clear this works perfectly on CF8 *and* it works on our CF 9.1 QA server, but for some reason fails on the Live Server.  Supposedly the Live server completely matches the QA server, but the behavior is sure different in this instance.
    What could be the issues?  What Apache or CF settings might I look into?  Could there be some weird permissions error on the generated swf form file or some other obscure reason?  I am totally in the dark and can't figure out why ColdFusion keeps thinking the form data has expired.
    Please, any ideas would be welcome.
    Thanks!

    Make sure the web server settings between the QA and the Production servers are also compatible.
    I suspect your suspecion about permissions is the closest to the answer.  But this is a little out of my depth of expertise.
    Realize that ColdFusion default behavior is to NOT generate and actual swf FILE.  Rather what it does is generate the swf content in memory and directly deliver it to the client.  But if the web server is configured to look for an actual file system file you may have a clash going on

  • LiveCycle Designer 8/ Acrobat Pro 8-form data

    Not skilled in using the LiveCycle Designer included in Acrobat Pro 8, I have been struggling for a couple of weeks, trying to format a sample form and export data to a .csv file to read in Excel or notepad, once saved in .pdf and completed. I have the basics, but can't accomplish the more advanced. So far, I have used LiveCycle Deisgner to create a one page table form, with a header, 20 columns and 16 rows. The header cells are all text boxes labeling the columns below them. The rows have mostly text input cells/boxes, a few drop- down list boxes.
    I can complete, in .pdf, a couple of sample lines with made-up names, other data as a test. It will save, the using manage form data>merge data files into a spreadsheet, I can create a .csv and view it in Excel.
    Here's where the difficulty begins. I need the .csv to display every cell/box, even if blank, and in the correct row. The form data will be used by a genetics program's import module to import data and needs to be either a .txt or .csv tab, comma or other symbol (for example, @) delimited file, where blanks are represented by one extra delimiter (as a spacer) for each blank. The .csv data display is anything but that. The header runs across the first .csv row with names like :"form1[0].ID1[0]" while the only other row showing is all of the sample data from the .pdf's 2 completed sample data lines, all in one row, with some blank cells/boxes shown, and some not shown.
    Since eventually, once the form is "up and running," it can collect 50+ rows, I was hoping not to have to manually edit the .csv to get it into the acceptable format for the other program's import module.
    I am at a loss about how to set up the form in LiveCycle Designer so that the header row doesn't export to the .csv (I am unable to find the data binding controls for these text/header boxes to set them to "none."), the blank cells/boxes all register, rather than only some, and the row 1 data goes on the .csv's row 1 and the row 2 data to the .csv's row 2, etc., rather than an endlessly long single row.
    I've already searched forum's, plus the help files for LiveCycle Designer and Acrobat, with no success.
    Any ideas, solutions or places where I can check further would be greatly appreciated.
    Thanks,
    Stephen
    [email protected]

    Hi,
    With LC Designer you can develop a form which has data connections to databases and/or web services.
    The issues to consider are: what version of Acrobat will the user have; and if the user only has the Reader then how are you Reader Extending the form.
    User has the fulll version of Acrobat:
    user can open form;
    fill it in;
    print it;
    data connections to databases and web services will work;
    user can save the form.
    User has the Reader (form not Reader Enabled)
    user can open form;
    fill it in;
    print it;
    data connections to databases and web services will NOT work;
    user CANNOT save the form.
    User has the Reader (form Reader Enabled using the full version of Acrobat before deployment. See licence restrictions)
    user can open form;
    fill it in;
    print it;
    data connections to databases and web services will NOT work;
    user can save the form.
    User has the Reader (form Reader Enabled using the full LC Enterprise Suite)
    user can open form;
    fill it in;
    print it;
    data connections to databases and web services will work;
    user can save the form.
    Hope that helps,
    Niall

  • How to change the submit form data - standard e-mail text?

    everytime, when submitting data of a form, in the e-mail appears a standard text like below:
    The attached file contains data that was entered into a form. It is not the form itself.
    The recipient of this data file should save it locally with a unique name. Adobe Acrobat Professional 7 or later can process this data by importing it back into the blank form or creating a spreadsheet from several data files. See Help in Adobe Acrobat Professional 7 or later for more details.
    My experience shows, that this may confuse the user. I would like to write in a simple way, for example:
    Thanks for submitting form....
    My question: Is it possible to change this standard text, and if yes how?
    I would be grateful for any comment or advice!

    Dear Gilad,
    Thanks for your fast answer! Yes, mailDoc specifies the text for the email. This is working fine!
    But what about the form data as attachment? the attachemnt is missing.
    Best regards!

  • Form Data Order in XML

    How can you organize form data exported via XML Email Submit button? I would expect this data to follow the order within the XDP object heirarcy, however the results jump from object to object on different pages. Forget about mapping this to a database...in this case I just want the raw data to be merged via Acrobat and into a .CSV
    Is there something I'm missing? Would I need an XML Schema...thats seems like overkill. By the way I created this on Designer 11 but have tried it in Design 8.2 as well. I would expect this to function just like this feature did with AcroForms.

    Figured it out. You veterans will probably laugh, but I don't do a lot of this. I found a pallette called "Binding" and noticed a list of the fields there. Two were missing and they happened to be the ones that were out of order. I compared them to the ones that were there and the missing ones were marked global while the others were marked normal. I changed those two to normal, they showed up in the binding pallatte in the right order and my test worked just fine.
    As usual, thanks to all.

  • How to perform validity checks just before form data is saved?

    hello all,
    i need to perform some checks on various fields just before data on a standard form is saved, and to eventually rollback the transaction.
    if the checks are succesful i have to perform some db operation in transaction with main data.
    solution ( if existent! )  has to be addin only -> no triggers / no procedures / no sbo_transaction thingies
    scenario:
    involved tables:
    OITM
    USERDEFINEDTABLE1
    USERDEFINEDTABLE2
    involved forms:
    Items - OITM - formtypeex = "150"
    logic:
    an user defined field U_UDFCHECKACTIVE has been added to OITM, a combo box has been added to items form containing values Y and N, bound to OITM.U_UDFCHECKACTIVE.
    when the user saves an item, if OITM.U_UDFCHECKACTIVE == Y we have to perform additional checks on USERDEFINEDTABLE1
    if the check result is true we have to save OITM current data and insert a record in USERDEFINEDTABLE2 containing itmgrp value (  )
    if the check result is false we have to block save operation
    if OITM.U_UDFCHECKACTIVE == N no check is performed and everything works normally
    we started hooking the form data event for oitm / form type 150:
    Application.SBO_Application.FormDataEvent += new SAPbouiCOM._IApplicationEvents_FormDataEventEventHandler(FormDataEventHandler.SBO_Application_FormDataEvent);
    then we filtered the event
    switch (BusinessObjectInfo.FormTypeEx)
                        case "150":
                            if (BusinessObjectInfo.BeforeAction &&
                                (BusinessObjectInfo.EventType == SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE ||
                                    BusinessObjectInfo.EventType == SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD))
                                BL.Items_BusinessLogic.SBO_Application_FormDataEvent(ref BusinessObjectInfo, out BubbleEvent);
    in our business logic class i don't know how to correctly check the values just before they are saved to db
    for example i tried using oitm.browser :
    if (oitm.Browser.GetByKeys(BusinessObjectInfo.ObjectKey))
                            String value =  oitm.UserFields.Fields.Item("U_UDFCHECKACTIVE ").Value as String;
                             //perform checks
                                  //if ok insert records and bubbleevent = true
                                  //if ko rollback the bubbleevent = false
    //if checks are not to be performed then bubbleevent = true....
    but it's wrong, as it populates oitm object from db, and not from the form. i have old values stored in the object, values tha are to be overwritten with those present on form.
    i tried inspecting the form for data sources but i don't know how to navigate to the right one, i found only system generated objects with SYS_##, with no clue about the related dbfield
    i tried getting the values directly from the form, but in object BusinessObjectInfo i don't have anything that identifies univocally the form i'm editing.
    i mean if i have 2 item forms open, i don't know which one is the one i'm saving.
    i'm expecting to find somewhere a temporary oitm business object containing values that are to be saved, values that i can easily check.
    so i'm asking you how to find those values in order to perform my bl checks
    thank you in advance

    Hi Christian,
    The values that are about to be saved should be in the datasources:
    form.DataSources.DBDataSources.Item("OITM");
    form.DataSources.DBDataSources.Item("ITM1");
    The form variable should be form 150.
    Best regards,
    Pedro Magueija

  • JSF 2.0 FileUpload - form-data Issues

    Maestros,
    I am going to be a little lengthy here, but before I continue I would like to beg for your indulgence. I am currently working on a web application using a combination of JSF/Spring and have managed to get myself in a tight corner and need some assistance from you pros out there.
    I am trying to custom implement a file uploadTag in JSF 2.0, as many of you already know, JSF 2.0 does not support form-data. Primefaces and Icesfaces and any other framework that supported form-data does not work too well with JSF 2.0. Now I am sure many of you would want to direct me to the beautiful link by Balusc http://balusc.blogspot.com/2009/12/uploading-files-with-jsf-20-and-servlet.html and or this other one by http://forums.sun.com/thread.jspa?threadID=5421845 Benjmaz. These gentle men were thourough in their explanation of how to solve this problem but I am having some issues with using their approach, and sure I'll explain.
    A brief intro to my framework,
    JSF 2.0 (jsf-api.jar, jsf-impl.jar)
    JSTL 1.2 (jstl-api.jar, jstl-impl.jar)
    Common Fileupload (commons-fileupload-1.2.1.jar)
    Common IO (commons-io-1.4.jar)
    Spring 3.0 (IOC container, I am just comfortable with this and have used it for a while)
    Tomcat 6 (Does not support Servlet 3.0)
    The example provided by Balusc does not work for me because it requires a servlet 3.0 container like GlassFish but since I am using tomcat as my servlet container I cannot use that. Now I know tomcat 7 supports servlet 3.0 but it is not production ready yet. Benjmaz on the hand provided a detailed tutorial on how this is done and I would like to use this opportunity to commend him for the good work. My system seems to be identical to what he used but for some reason, one of the classes don't want to validate.
    The code bellow just does not want to work with me. The inheritance of the UIComponentELTag does not work. It is complaining about not finding javax.servlet.jsp.tagext.Tag; in my classPath. I looked into JSTL 1.2 library and could not see it myself. The only place I could find one is in JSTL 2.1 but that also conflicted with EL foctory. It seems as if I am missing something, can someone please help? Or is there a better way to do this?
    @author Ben Mazyopa email: [email protected]
    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    Copyright 2009, Ben Mazyopa. All rights reserved.
    The contents of this file are subject to the terms of either the GNU
    *General Public License Version 2 only ("GPL") or the Common Development*
    and Distribution License("CDDL") (collectively, the "License"). You
    *may not use this file except in compliance with the License*
    *package org.idc.upload;*
    *import javax.el.ValueExpression;*
    *import javax.faces.component.UIComponent;*
    *import javax.faces.webapp.UIComponentELTag;*
    *public class UploadTag extends *UIComponentELTag* {
    private ValueExpression value;
    private ValueExpression target;
    public String getRendererType() { return "org.idc.upload.Upload"; }
    public String getComponentType() { return "org.idc.upload.Upload"; }
    public void setValue(ValueExpression newValue) { value = newValue; }
    public void setTarget(ValueExpression newValue) { target = newValue; }
    public void setProperties(UIComponent component) {
    super.setProperties(component);
    component.setValueExpression("target", target);
    component.setValueExpression("value", value);
    public void release() {
    super.release();
    value = null;
    target = null;
    }

    javax.servlet.ServletException: Expression Error: Named Object: fileUpload not found.
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
         com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:116)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343)
         org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:99)
         org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:60)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:57)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)
         org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
         org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
         com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:108)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343)
         org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
         org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109)
         org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)
         org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
         org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

  • How to run recordset SQL query in FORM DATA event

    How can I run recordset SQL query in FORM DATA event upon clicking on Add button in the document?

    Hi Slamet,
    When you receive a form data event you have a class containing inside it a ObjectKeys xml info regarding the object added/modified,...
    With the objects keys you can then use the DI API method called GetByKeys to obtain the DI Object.
    There is some information about it in the SDK Help file, mainly in the "FormDataEvent" class definition:
    <i>The event provides the unique ID (BusinessObjectInfo.ObjectKey) of the modified business object. You can use the value of this property as an input parameter in the DI API DataBrowser.GetByKeys method to get a DI object.</i>
    Pay attention you don't have this information in the Before=True event of the Add as it is not yet in the database.
    Hope it helps
    Trinidad.

  • Passing asp form data to a .jsp string

    Hello and thanks in advance for any help.
    I would like to pass form information that comes from a standard form into a URL string as follows:
    "http://ui.constantcontact.com/roving/wdk/API_AddSiteVisitor.jsp?loginName=benefitevents&loginPassword=connoisseur&ea=[email protected]&ic=test&first_name=Joe&last_name=smith"
    I would then like to pass that string forward to its final destination.
    Some more info.
    Form data is collected on "register.asp" and then passed to "register1.asp" using form method="post" action="register1.asp".
    On register1.asp the form info is processed and delivered to the SQL database.
    I am only a beginner with the code (it was done by a programmer who is mostly absent when needed now).
    So, I need to know as much of the following as you can help with (in descending priority):
    1. How to pass the .jsp string forward assuming the proper variables have been passed in the asp code.
    2. Where should this command live, in register.asp or register1.asp?
    3. How to correctly insert the variables in the URL string from form (correct syntax using asp).
    As may be obvious this is for one registrant at a time. The object is deliver the registration information to my SQL database and, at the same time, pass some info to a Constant Contact list. This allows me to integrate Constant Contact into my services to clients seamlessly.
    Thank you, hope this was not too much info!
    Jim

    Javascript is not the same as Java.
    There are JS related forums at webdeveloper.com. But I would rethink about the JS approach. It should also be able with ASP and I would prefer that.

  • Passing form data from html page to JSP page

    Hi,
    I have a simple HTML page with a form on it that sends the information to a JSP page that stores the form data in a JSP session. I created a simple form that asks for the user's name, sends it to the JSP page, stores that in a session, then sends it to another JSP page which displays the name. This worked fine.
    However, I added another input box to my form that asks for the user's age to do the same steps as outlined above. This does not work, and I'm not sure why. Here's the code from my HTML page:
    <form method=post action="savename.jsp">
    What's your name?
    <input type=text name=username size=20 />
    <p />
    What's your age?
    <input type=text name=age size=20 />
    <p />
    <input type=submit />Here's the code from my JSP page, savename.jsp (later on in the JSP page it links to another page, but that is not relevant):
    <%
    String name = request.getParameter("username");
    String age = request.getParamater("age");
    session.setAttribute("theName", name);
    session.setAttribute("theAge", age);
    %>Finally, here is the error message from Tomcat 6.0.9:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 3 in the jsp file: /savename.jsp
    The method getParamater(String) is undefined for the type HttpServletRequest
    1: <%
    2: String name = request.getParameter("username");
    3: String age = request.getParamater("age");
    4: session.setAttribute("theName", name);
    5: session.setAttribute("theAge", age);
    6: %>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)I do not understand the error, as it works fine when I simply try to retrieve "theName", but breaks when I try to retrieve both.
    What is it I am missing here?
    Thanks,
    Dan

    Ummm.... you misspelled "parameter" the second time
    you tried to use it.......
    That is incredibly embarrassing. Sorry if I made anyone think it was something more serious. Holy mackerel, I think it's time for me to read over my code much more carefully before posting about a problem.
    Thanks for the help DrClap.

Maybe you are looking for