Clear form input values

Hi
I hav a form which contains 2 input text boxes.
User clicks on submit and moves to different view after filling form.
these values are mapped to context so that i can display them in next page.
Now wen i click on back button in view2....it takes me back in view 1.
I get my old values already there.
I wish if i could reset my form wen i Travers back to it.
1 method to do so is coding in init() method.
that i reinitialize my context in init method....
but i there any other way to do so....
thanks in advance

I am also new to this.
But u can use this on ur plug event.
wdThis.wdGetContext().currentContextElement().setCtx_firstname("");
wdThis.wdGetContext().currentContextElement().setCtx_lastname("");
Does anyone know of a better way? like setting a property
Tell me if it works
Vikram

Similar Messages

  • How to make form input value a dataset value?

    Have a form and one hidden field, i want the value to come from
    a dataset.
        <input name="buyerbid" type="hidden" id="buyerbid" value="<?php  { ?> echo '<div spry:region="ds3" class="StackedContainers">
    <div spry:repeat="ds3" class="RowContainer">
    <div class="RowColumn">{column0}</div>
    </div>
    </div>' ;
    <?php } ?>" /> 
    The Spry is the
    <div spry:region="ds3" class="StackedContainers">
    <div spry:repeat="ds3" class="RowContainer">
    <div class="RowColumn">{column0}</div>
    </div>
    </div>
    Spry dataset renders correctly in a div on the page, but can't get the same value in the form input value?
    thanks for your help,
    Jim Balthrop

    thanks for your help.
    The php i knew was the wrong code.
    the spry region not surrounding the form was the answer.
    so i did it this way and it worked.
    <div spry:region="ds4"><form method="POST" name="client_bid" id="client_bid">
        <input name="vehicle_ID" type="hidden" id="vehicle_ID" value="<?php echo $row_rs_vehicle['vehicle_ID']; ?>" />
        <input name="buyer_ID" type="hidden" id="buyer_ID" value="<?php echo $row_rs_login['client_ID']; ?>" /> 
        <input name="auction_ID" type="hidden" id="auction_ID" value="<?php echo $row_rs_auction['auction_ID']; ?>" />
        <input name="buyerbid" type="hidden" id="buyerbid" value="{ds4::column0}" />
        <input name="submitbuyer" type="submit" id="submitbuyer" value="Submit Bid">
      </form></div>
    thanks again.
    -Jim Balthrop

  • How to clear the input values in WD4A

    Hi all,
    Thanks in Advance.
    In my login page i have ID and Password.If Login fails it back to the same login page.But at the same time the entered(In ID and Password)will be cleared.If i write the code in inboundhandler is it correct means how can i write to invalidate the input values???Is there any examples or related links???

    Hi,
    Please have a look at this similar thread:
    how to clear entered values.
    Hope this helps!
    Regards,
    Srilatha

  • Clear Form input

    Hi,
    how can I clear the values displayed/inputed by a form on a page?
    I want to provide a 'New input' button to my users, so by clicking that the form should be cleared and they should have the possibility to enter new data.
    I tried to realise this by creating a branch to a page (same page) with clearing the cache of this page - unfortunately this was not working :-(
    Any other idea how to solve this?
    Thank you!

    Go to the Processes section on the main edit page. Click on the Plus sign to add a new process. In the list of predefined Processes, there is a Clear Page for ... option. Then you list the page items you want to clear. Set your processing point and you're done.

  • Form input value

    Hi all,
    I have this forms declared inside a jsp.
    </FORM>
    <FORM name="temp" METHOD="GET" ACTION="basket.jsp">
    <INPUT name="i" value="23" TYPE="hidden">
    <INPUT name="special" value="" TYPE="hidden">
    </FORM>Then inside the <% tag i want to access the variable i. I have tried
    request.getAttribute("i") or getParameter but no success so far.
    Please help as i am in great need of this.
    Thanks in advance.

    it is a sample but maybe not very related to what you need:
    warning it is not the best practice
    anyname.jsp
    <%@ page contentType="text/html;charset=windows-1252" import="com.mycompany.*,java.util.*"%>
    <%
    HelperClass helperClass = new HelperClass();
    Collection col = helperClass.fetchRecords();
    Iterator iter = col.iterator();
    %>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
        <title>untitled</title>
        <script language="javascript">
          function checkAll(bookId){
            var checkLen = parseFloat("<%=col.size()%>");
            if(bookId.checked){
              for(var x=1;x<=(checkLen);x++){
                document.form1.bookId[x].checked=true;
            }else{
              for(var x=1;x<=(checkLen);x++){
                document.form1.bookId[x].checked=false;
        </script>
      </head>
      <body>
        <form name="form1" method="post" action="delete.jsp">
          <table cellspacing="0" cellpadding="0" border="1" width="400">
            <tr>
              <td><input type="checkbox" name="bookId" onclick="checkAll(this)"/></td>
              <td>TITLE</td>
              <td>AUTHOR</td>
              <td>BORROWED BY</td>
            </tr>
            <%while(iter.hasNext()){
            BookBean bookBean = (BookBean)iter.next();
            %>
            <tr>
              <td><input type="checkbox" name="bookId" value="<%=bookBean.getId()%>"/></td>
              <td><%=bookBean.getTitle()%></td>
              <td><%=bookBean.getAuthor()%></td>
              <td><%=bookBean.getBorrowedBy()%></td>
            </tr>
            <%}%>
          </table>
          <input type="submit" value="delete"/>
        </form>
      </body>
    </html>delete.jsp
    <%@ page contentType="text/html;charset=windows-1252" import="com.mycompany.*,java.util.*"%>
    <%
    String bookId[] = request.getParameterValues("bookId")!=null?request.getParameterValues("bookId"):new String[0];
    HelperClass helperClass = new HelperClass();
    helperClass.deleteRecords(bookId);
    response.sendRedirect("anyname.jsp");
    %>HelperClass.java
    package com.mycompany;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.ArrayList;
    import java.util.Collection;
    public class HelperClass
      public HelperClass()
      public Collection fetchRecords(){
       Collection bookCollection= new ArrayList();      
         try
            Class.forName("com.mysql.jdbc.Driver").newInstance();
            Connection conn = DriverManager.getConnection("jdbc:mysql://localhost/bookstore","root","tree");
            Statement stmt = conn.createStatement();
            ResultSet rs = stmt.executeQuery("select id,title,author,borrowedby from book");
            while(rs.next()){
              BookBean bookBean = new BookBean();
              bookBean.setId(rs.getInt(1));
              bookBean.setAuthor(rs.getString(3));
              bookBean.setTitle(rs.getString(2));
              bookBean.setBorrowedBy(rs.getString(4));
              bookCollection.add(bookBean);
            rs.close();
            conn.close();
          } catch (Exception ex)
            ex.printStackTrace();
        return bookCollection;
      public void deleteRecords(String bookId[]){
          try
            Class.forName("com.mysql.jdbc.Driver").newInstance();
            Connection conn = DriverManager.getConnection("jdbc:mysql://localhost/bookstore","root","jherald");
            PreparedStatement pstmt = conn.prepareStatement("delete from book where id=?");
            for(int x=1;x<bookId.length;x++){
              pstmt.setInt(1,Integer.parseInt(bookId[x]));
              pstmt.executeUpdate();
            pstmt.close();
            conn.close();
          } catch (Exception ex)
            ex.printStackTrace();
    }BookBean.java
    package com.mycompany;
    public class BookBean
      private int id;
      private String title;
      private String author;
      private String borrowedBy;
      public BookBean()
      public int getId()
        return id;
      public void setId(int id)
        this.id = id;
      public String getTitle()
        return title;
      public void setTitle(String title)
        this.title = title;
      public String getAuthor()
        return author;
      public void setAuthor(String author)
        this.author = author;
      public String getBorrowedBy()
        return borrowedBy;
      public void setBorrowedBy(String borrowedBy)
        this.borrowedBy = borrowedBy;
    }

  • Data form input value does not equal spread value

    ***Edit on this.
    Hyperion Planning 9.3.1.2, we are testing out a new application and data form. The data form has the users enter in at the year total level and then spreads out the 12 months upon save.
    If I enter in 100 then save or toggle off then back on the cell, the data form shows as 99.999999999 both on the form and in Essbase via export.
    Our form has the decimals set to a Max of 2 for currency, non-currency and percentage
    Are their any rounding issues in 9.3.1 with using the spread technique?
    Curious to find if others are have or have experienced this problem
    JTS
    Edited by: jts on Dec 10, 2009 11:28 AM

    Still not getting the warm fuzzy. Oracle indicates that this is a Java issue and not a Hyperion issue. It is how Java handles numeric values.
    I indicated that it is a view issue and I need a fix.
    I got Bug 8540616 for this but now I am trying to find the eta on this
    JTS

  • Render html form & send forms's input values as params via HTTP POST

    Hello,
    I'm using appache commons http client to send HTTP post queries to a given url and receive HTTP response then process it.
    one of the requirements of my Application is the following: one of these HTTP Post requests is supposed to return an HTML form with different html types (text filed, text area etc..) that i will need to display in my swing application. one important requirement is that i can't know in advance what the html form field types will be.. it depends on a given parameters that my application send as part of HTTP Post method (using apache http client).
    I Longly searched for a simple solution to this problem . There are many solutions but each one has it's limitations :
    1-i can render the html form inside a JEditorPane .but how can I collect the user entered data inside JEditorPane ? i'm not sure this swing component offers the capability to detect its html contents and more it will be difficult to know what are the values entered by user inside html form rendered by JEditorPane.
    2-are there any Java Embedded browsers that offer some API to enable me detect the html form fields ,capture the data entered by user inside the html form ?
    3-the solution i currently opted for is : parse html & convert html form to swing dialog. currently this solution i use works well but the cost of implementing it is high : it involves difficult parsing logic. this makes me worried .I'm not sure if i'm now using the right & easiest solution.
    I need some advice on What is the simplest and clean solution to render a html form & yet be able to collect user entered inputs & send the user input values as params via java HTTP POST request ?

    dragzul wrote:
    In my opinion, your actual solution is what you need to do. You're trying to "merge" two different kinds of view. Actually, the "easiest" way may be: if you have your data to display, you decide to show it on html or swing.Yes i believe that my current solution may be the unique one for my special requirements. when doing research about this problem i found a multitude of java libraries to convert xml to swing (ex: www.swixml.org) .However i was surprised there are no java libraries to convert HTML forms to swing dialogs -as far as i know-. this is a bit strange. The Limitation is that the developers of the server API are not Java guys and are reluctant to use an xml format that i can easily convert to swing . probably they have their own reasons as they might be using the HTML Response for some other server side work. So I was obliged to deal with an HTML stream that i need to display in my client application and process its data. in my opinion the only way to do this is by developing a HTML form to swing converter package. that's what i did now. i was only worried if i'm complicating things and if there are some easier solutions to this issue.
    thanks

  • XML based Adobe form is not allowing to input values while display on IE

    Hi Experts
    I have intergarted an XML based adobe form in webdynpro with inputs fields and submit button.
    But on display on Internet expolrer it doesn't allow to input values even button dosen't work.
    Please help me how would it will allow to input values .
    Many thanks in advance

    hi dear
    yes the enabled property is checked but still form doesn't allow to enter value and submit button is also disabled.
    Is there any setting or some program code is required.
    It would be great if some body can help us in this ....
    many thanks in advance.
    thanks

  • OTL Timekeeper Form Custom Field map to specific Element Input Value

    Hello Everyone,
    I have the below requirement.
    1. Create a custom field in OTL Timekeeper Form. This field is based on the Element Selected on the timecard.
    2. Once the Timecard is transferred to Payroll, the custom field should go to a specific input value of that element.
    I know how to perform Step 1 above. But i am unable to find out how i can map the value in custom field to a specific Input value of the element.
    Any inputs are appreciated.
    Regards,
    Jay

    Any tips people?
    Can this be achieved?
    This is what i have done so far.
    1. Created a new Value set for the custom field.
    2. Created an alternate mapping to map the value set value to InputValue13.
    3. Created the alternate name.
    4. Added the alternate name to 'OTL Alternate Names' DFF.
    5. Added the Alternate name to the 'Preferences'.
    Testing:
    1. Created a Timecard populating the custom field.
    2. Timecard submitted and approved successfully.
    3. I verified that the custom field value goes into attribute13 of hxc_time_attributes where the attribute category is the corresponding element (should it be against the attribute category: Dummy Element Context? If Yes, then how to do it?).
    4. Then i ran the program 'Transfer Time from OTL to BEE'. This transferred the values into hxt_timecards_f, hxt_sum_hours_worked_f, hxt_det_hours_worked_f. But nowhere in these tables do i see the custom value.
    Did i miss any step? I did not define anything in the 'Define Mapping Components' of Deposit/Retrieval Process because InputValue13 is already part of it unter type 'Dummy Element Context'.
    5. Since it is not in hxt tables, i did not find it in pay_batch tables too.
    Any guidance is appreciated.
    Regards,
    Jay

  • CFGIRD and hidden form inputs

    Hi,
    I am using a cfgrid in CF8 bound to a cfc. The cfgrid of
    course has to be in a form. The question is, if I am using an
    "href" on one of the cfgridcolumns (i.e. a user clicks on a
    link/data in the grid which opens a new webpage with an attached
    hrefkey), should any hidden form fields within the same form
    (<input type="hidden"....>) be posted to the new page as
    well?
    If this is not possible how else can I get other variables
    not related to the grid results posted to a new page?
    Thanks.

    Your actions specify session scope - that means it should retain the form in session, and keep your values. That looks good.
    You have a 2-step 'wizard' process.
    The question - what does your reset() method on your action form do?
    If it clears all the fields, that explains what happens to the values.
    The "reset" method gets called every time you access the action form.
    In your case, you only want to "reset" the action form when you submit from page1, not from page2.
    Well thats my hypothesis anyway.
    Hope this helps,
    evnafets

  • Exit / Clear Form & raise form_trigger_failure

    I hope someone has encountered a similar situation and can help me out here.
    I need to provide the functionality of allowing the user to Exit or Clear a form in case there are errors due to item validations.
    The problem I am encountering is that since the item validations have triggered form_trigger_failure, the Exit / Clear buttons that I coded with Exit_form / Clear_form do not work.
    I can have the user use the Exit key to exit, but it would be great if there is some way of providing this functionality using a button.
    Thanks in advance.

    Thileepan,
    Thanks for your suggestions.
    I am already using Clear_Form(No_Validate) and the fields are set to Required = No, validation being done in a when-validate-item trigger.
    I tried suggestion #3, but that results in the validation that takes place as the user leaves a field being lost, which they want(won't accept form level validation).
    Suggestion 4 works for the clear form, but if I don't raise form_trigger_failure in the when-validate-item trigger the validation error message is displayed and focus moves to the next field in case of user input error. What I want is to have the focus stay in the field containing the error and still give the user the ability to Exit/Clear the form in case they get tired of trying to come up with a value that satisfies the validation criteria.
    Thanks.

  • How can i read user input value to my User exist

    Hi Guru's,
    I am facing one problem in Variables in BPS.
    I am calculating days from Month/year .I have one variable it is for Days,Second variable it is for Month/Year.
    First variable is user exist (for calculating the days),Second varible is user defined variable(this is a Input to the first variable).
    When i am giving the Month/Year(02/2008)variable i am getting the 29 days from the first variable.again i am changing the value of Month/Yera(03/2008) i am not getting the desired value.
    my doubt is my user exist not able to read current value of variable(month/year).how can i pass my value to user exist because this value is user input value based on this value i am calculating the days and dynamically displaying the layout.
    Here is the my sample code..
    seq = '0000'.
    ind = 0.
       i_area = 'ZTEST1'.
       area_var = 'ZVar2'.
    PERFORM instantiate_object USING    i_area
                                        area_var
                                 CHANGING lsr_var.
    PERFORM get_current_value_of_variable
                            USING lsr_var
                            CHANGING lto_value.
    READ TABLE lto_value INTO lso_value index 1  .
    i_month = lso_value-low.
    iv_month = i_month+4(2).
    iv_year = i_month(4).
    concatenate iv_year iv_month '01' into iv_date.
    begindate = iv_date.
    below bracket code calculating the leap year
    ( IF iv_date+4(2) = lc_feb.
        lv_hlp_date_year = iv_date+0(4).
        lv_hlp_rest      = lv_hlp_date_year MOD 4.
        IF lv_hlp_rest = 0.
          EV_DAYS = lc_days_29.
          lv_hlp_rest = lv_hlp_date_year MOD 100.
          IF lv_hlp_rest = 0.
            lv_hlp_rest = lv_hlp_date_year MOD 400.
            IF lv_hlp_rest NE 0.
              EV_DAYS = lc_days_28.
            ENDIF.
          ENDIF.
        ELSE.
          EV_DAYS = lc_days_28.
        ENDIF.)
      ELSE.
    below bracket code calculating the days
    (   CASE iv_date+4(2).
          WHEN lc_jan. EV_DAYS = lc_days_31.
          WHEN lc_mar. EV_DAYS = lc_days_31.
          WHEN lc_may. EV_DAYS = lc_days_31.
          WHEN lc_jul. EV_DAYS = lc_days_31.
          WHEN lc_aug. EV_DAYS = lc_days_31.
          WHEN lc_oct. EV_DAYS = lc_days_31.
          WHEN lc_dec. EV_DAYS = lc_days_31.
          WHEN lc_apr. EV_DAYS = lc_days_30.
          WHEN lc_jun. EV_DAYS = lc_days_30.
          WHEN lc_sep. EV_DAYS = lc_days_30.
          WHEN lc_nov. EV_DAYS = lc_days_30.
          WHEN OTHERS.   CLEAR EV_DAYS.
        ENDCASE.)
      ENDIF.
    data: st_date(2) type c.
    st_date = '01'.
    ind = 0.
    ind = ind + 1.
    here i am passing the low value and high value.
    yto_charsel-chanm = '0CALDAY'.
    yto_charsel-seqno = 1.
    yto_charsel-sign  = 'I'.
    yto_charsel-opt   = 'EQ'.
    yto_charsel-LOW = st_date.
    yto_charsel-chanm = '0CALDAY'.
    yto_charsel-seqno = 1.
    yto_charsel-sign  = 'I'.
    yto_charsel-opt   = 'BT'.
    yto_charsel-high = ev_days.
    INSERT yto_charsel INTO sto_charsel INDEX ind.
    ETO_CHARSEL = sto_charsel.
    lto_value = sto_charsel.
    How can i pass user input value to read this exist ,some where again i have to write code or else??
    This is very urgent can you help me..

    Hi,
    Instead of two perform statements, use single perform.
    PERFORM get_value USING i_area
                              i_variable
                         CHANGING lw_varsel.
    Take the values from lw_varsel-low.
    FORM statement for this perform is as follows.
    DATA: li_varsel TYPE STANDARD TABLE OF upc_ys_api_varsel,
            lv_varsel TYPE REF TO cl_sem_variable.
      FORM get_value USING p_area TYPE upc_y_area
                           p_variable TYPE upc_y_variable
                     CHANGING
                           p_lw_varsel TYPE upc_ys_api_varsel.
        CALL METHOD cl_sem_variable=>get_instance
          EXPORTING
            i_area       = p_area
            i_variable   = p_variable
             I_CREATE     =
          RECEIVING
            rr_variable  = lv_varsel.
           EXCEPTIONS
             NOT_EXISTING = 1
             others       = 2
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        REFRESH li_varsel.
    ****Getting the Value*********
        CALL METHOD lv_varsel->get_value
          EXPORTING
            i_user     = sy-uname
            i_restrict = 'X'
          RECEIVING
            rto_value  = li_varsel.
        CLEAR : p_lw_varsel.
        READ TABLE li_varsel INTO p_lw_varsel INDEX 1.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
      ENDFORM.                    "get_value
    Try this code.
    Bindu

  • Unable to provide input value to InfoObject in SEM-BCS

    Hello BI Experts,
    I have created an infoobject 'ABC' in BI and have flagged 'With Master Data' and 'With Text'.  This infoobject has an navigational attribute 'XYZ'(XYZ also has 'With Master Data' and 'With Text').
    When I go to T.Code UCWB(BCS Workbench), I could able to see the infoobject 'ABC' and when I try to create master data for 'ABC', I do not see the input field for 'XYZ'.  I want to input values in Infoobject 'XYZ' through this screen(SEM-BCS) and not through BI(right-click on infoobject 'Maintain Master Data).  Please let me know, if I am missing anything.

    Hi Shekar
    I find the ICD setup very 'picky'! If you get one thing wrong, it doesn't work. I have detailed below the steps I usually advise people to tek. Check your setup and see if this helps.
    1. Define Plan Type, Compensation Category = Others.
    2. Define Plan. Link to Plan Type. Plan Usage = May not be in program. On Not in program Tab - define sequence, currency, enrollment rate (per pay period?), activity reference period (Monthly). Your settings may need to be different. On Plan details tab, enter plan years.
    3. Plan enrollment requirements. On the general tab, plan sub tab, make sure the method = EXPLICIT. this allows the user to enter an input value for the ICD. THIS MAY WELL BE THE SOURCE OF YOUR PROBLEM!
    Make sure the CERTIFICATION region is UNTICKED. This can also cause ICDs not to work.
    ALLOWS UNRESTRICTED ENROLLMENT must be TICKED. Otherwise there is no eligibility to the ICD.
    On the rates subregion, make sure the run strt date is set to ENTERABLE.
    4. standard Rates form. Make sure the ACTIVITY TYPE and TAX TYPE are entered. Select the ELEMENT and the INPUT VALUE and TICK the ELEMENT AND INPUT VALUE REQUIRED field.
    On the processing Information tab - TICK ASSIGN ON ENROLMENT, DISPLAY ON ENROLLMENT and PROCESS EACH PAY PERIOD. Enter PER PAY PERIOD AMOUNT in VALUE PASSED TO PAYROLL and OTHER in COMPENSATION CATEGORY.
    Let me know if this works!
    Regards
    Tim

  • HTML special characters in form input

    In my site I store form input in my database. Before I store
    the data, I parse out smart quotes, en dashes, and other extended
    special characters and convert them into HTHML quivalents such as
    &#8217;
    All is well and good until the user goes to edit their info.
    In my form these characters show up in my <input> tags as
    their long-winded HTML equivalents, such as &#8217; instead of
    a smart apostrophe.
    Is there any way to convert these back to the special
    characters from the HTML on the form input text fields so that
    users can edit them without being confused?
    Thanks.

    Hmmm, well I ran the MX 6.1 updater and installed the two hot
    fixes that had to do with null pointer exceptions and it still does
    not work.
    Here is the detailed error I'm getting, if it helps. Any more
    ideas? Thanks again for the help, I'm really stuck on this one...
    The system has attempted to use an undefined value, which
    usually indicates a programming error, either in your code or some
    system code.
    Null Pointers are another name for undefined values.
    The error occurred in C:\Inetpub\wwwroot\store\index.cfm:
    line 1
    1 : <cfquery name="getBooks" datasource="#dsn#">
    2 : SELECT *
    3 : FROM products
    Please try the following:
    * Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    * Search the Knowledge Base to find a solution to your
    problem.
    Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
    rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
    Remote Address 127.0.0.1
    Referrer
    Date/Time 09-Oct-07 02:20 PM
    Stack Trace
    at
    cfindex2ecfm1770128649.runPage(C:\Inetpub\wwwroot\store\index.cfm:1)
    java.lang.NullPointerException
    at coldfusion.sql.QueryTable.populate(QueryTable.java:260)
    at coldfusion.sql.QueryTable.populate(QueryTable.java:159)
    at coldfusion.sql.Executive.getRowSet(Executive.java:505)
    at coldfusion.sql.Executive.executeQuery(Executive.java:974)
    at coldfusion.sql.Executive.executeQuery(Executive.java:886)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
    at
    coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:447)
    at
    cfindex2ecfm1770128649.runPage(C:\Inetpub\wwwroot\store\index.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
    at
    coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:24)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:105)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • How do I use the form checkbox value?

    I'm creating a form that has multiple checkboxes. I want to
    use ActionScript to update a text box/area with the values each
    checkbox as the checkbox is selected. Any ideas on how I might do
    that?
    SAMPLE CODE ATTACHED.

    I figured out how to do it using both the last poster's
    comments, and some others that I found.
    A form is created using cfform format=flash.
    A cfinput text box is created and flagged as not visible.
    The "invisible" input value is set after a cfoutput
    query="xxxx"
    is completed.
    Since I'm using the query to do double duty, I have a group
    set.
    My "second" group is the one on which I wanted the check
    boxes to
    be created dynamically.
    I set a counter, and kept track of when a check box was
    created.
    The value of the counter was eventually set as the value of
    my
    first "invisible" text box.
    Here's the code:
    <cfformgroup type="horizontal" height="1" visible="no">
    <cfif #BoxCount# GT 0>
    <cfoutput><cfinput name="BoxQty" type="text"
    value="#BoxCount#" visible="no" size="3"></cfoutput>
    </cfif>
    </cfformgroup>
    Each check box was given a unique name, text + counter.
    ex. camp#BoxCount#
    A corresponding "invisible" text box was created:
    ex. cost#BoxCount#
    This way I can test if the check box "value" is true/false,
    and
    set a cost accumulator to the proper cost.
    My cfsavecontent code looks like this:
    // COST TOTAL
    var a = Number(BoxQty.text);
    var i = 0;
    var j = 0;
    var u = 0;
    var x = 0;
    var s = "";
    for( i=1; i<=a; i++ )
    r = "camp"+i;
    if( eval(r).value ) // just like the JS eval()
    // box was checked, i.e. is "true"
    s = "cost"+i;
    j = Number(eval(s).text);
    if( j > 0 ) x = x + j; // add to the total accumulator
    //campCost is the cfinput text box used to display the total
    cost.
    campCost.text = 0;
    if( x != 0 )
    campCost.text = "$" + x + ".00";

Maybe you are looking for

  • Can't update to Window 8.1

    Hello, I am unable to update from Windows 8 to Windows 8.1. I get an error code 0xc190010b. Also when I run a compatibility test before trying to update it says 40 apps compatible but 1 needs to be reviewed. The one that needs to be reviewed is 'Rali

  • Experience in programming LabVIEW with HP E1432A

    Can someone share his/her experience in controlling HP/Agilent E1432A VXI module? The last posting on the forum about HP E1432A was dated in 2001. I know NI has a LabVIEW plug&lay instrument driver (wrapper) now for the E1432A module. How easy is it

  • Upgrading from nano to classic on itunes

    I just bought a new Classic, switching from a Nano. First of all, everytime I connect my classic, it goes thru the whole registration routine. I did a sync and all songs transfered from itunes lib to my classic. Under Devices, songs on my classic are

  • Archieve.pax file appear in My hard disk

    when i open my macintosh HD, i saw Archieve.pax file which doesn't there before. what is that? what should i do? i tried to hide using terminal but it say that the file is not found.

  • Can you move files within music library?

    I recently added a number of audio books I have on CD to the iTunes library expecting to be able to drag and drop them into the audio book folder, I can't. Now when I'm playing my pod on shuffle (which is usual) I get the occasional chapter of a book