Spaces in front of form entry values

I have a form that submits to itself. After submiting the
form, and if there is a user error, the form entry values are
brought back with a space in front of the value. For example the
first three digits of a ssn number bring back a space + 428.
Is there a way to keep the values from coming back with a
space in front?

I am not using many udf. Sample of form entry code below:
<input name="ssn1" type="text" id="ssn1" <cfif
isdefined("form.ssn1")> value = "<cfoutput>
#form.ssn1#</cfoutput>" <cfelse> value =
"<cfoutput>***</cfoutput>"</cfif> onKeyUp
="validotherssn(this);" size="3" maxlength="3" align="left"
onKeypress="if (event.keyCode < 48 || event.keyCode > 57 )
event.returnValue = false;" >
<input name="ssn2" type="text" id="ssn2" <cfif
isdefined("form.ssn2")>value = "<cfoutput>
#form.ssn2#</cfoutput>"<cfelse> value =
"<cfoutput>**</cfoutput>" </cfif>
size="2" maxlength="2" onkeyup="validotherssn(this);"
onKeypress="if (event.keyCode < 48 || event.keyCode > 57 )
event.returnValue = false;" >
<input name="ssn3" type="text" id="ssn3" <cfif
isdefined("form.ssn3")>value = "<cfoutput>
#form.ssn3#</cfoutput>" <cfelse> value =
"<cfoutput>****</cfoutput>"</cfif>
onKeyUp="validotherssn(this);" size="4" maxlength="4"
onKeypress="if (event.keyCode < 48 || event.keyCode > 57 )
event.returnValue = false;" > </td>

Similar Messages

  • Use of us_screen in the form routine :  FORM entry USING retcode us_screen

    Hello All,
    I have one print program entry routine as below.
    FORM entry USING retcode us_screen.
    Some code to print the form data...
    EndForm.
    When i Check the value of us_screen in the debuging, its value is coming as blank.
    When i checked the other form routine the value of us_screen is coming as 'X.
    I am my getting why in my case value of us_screen is coming as blank.
    What is significant of this field.
    Thanks & Regards
    Sachin Yadav

    Cusomization might be missing for that output type in transaction NACE.
    us_screen is blank because below query fails due to missing entry in table TNAPR.
    SELECT SINGLE * FROM TNAPR WHERE KSCHL = P_KSCHL
                               AND   NACHA = P_NACHA
                               AND   KAPPL = P_KAPPL.
    First assign the output type with a Transmission medium, Program, Form Routine, Form in transaction NACE
    Take the help of your functional consultant.

  • Form - Bad value (Goods Issue Form)

    Hello,
    I'm trying to fill Goods Issue form programatically. But when I try to fill some values into the matrix I got two errors-
    Referenced work order does not exist.
    Form - Bad Value
    I can enter the same values by hand, it works without any problem.
    One more thing. Let's say i got master data items with indexes 123, 1024. When I try to enter these values programmatically into Good Issue matrix (into index column) I got above messages. But when I the same with just value 1 it fills row with index 123.
    What is happening?
    Thanks in advance
    Wydrzycki Kamil

    hello freind
    it may be due to refferd linked key mens primary key.pls cheak when yu insert data in database first cheak this entry may be linked with any primary key

  • Only Using Search Help Value When Entry Value

    Hi Experts,
    I'm using search help at my screen field for entry value. But I dont want to entry value with using hand/finger/manuel.
    I want to use only search help at my field.
    Is this possible?
    Best regards.

    Thanks All for answers.
    I mixed your solution and I find new way for my issue.
    I did like this.
    I added Input/Output Field at screen and I did input properties false.
    And I added button near the I/O Field.
    I wrote at PAI - User_Command for button on click.
    May there is different way but so my solution.
    My draft code below.
        WHEN '&BTN_PREPARE'.
       DATA : BEGIN OF ITAB OCCURS 0,
          KTANIM TYPE CHAR9,
          IPTPKOD LIKE ZKZN_004-IPTPKOD,
          KYPTYPEID LIKE ZKZN_004-KYPTYPEID,
          FIILOLS LIKE ZKZN_004-FIILOLS,
    END OF ITAB.
          CLEAR : ITAB.
          REFRESH : ITAB.
          SELECT IPTPKOD KYPTYPEID FIILOLS
          INTO CORRESPONDING FIELDS OF TABLE ITAB
          FROM ZKZN_004
          WHERE SILINDI = ''.
          LOOP AT ITAB.
            CONCATENATE ITAB-IPTPKOD ITAB-KYPTYPEID
            INTO ITAB-KTANIM SEPARATED BY SPACE.
            CONCATENATE ITAB-KTANIM ITAB-FIILOLS
            INTO ITAB-KTANIM.
            MODIFY ITAB.
          ENDLOOP.
          DATA : DFIES LIKE DFIES OCCURS 0 WITH HEADER LINE,
                 DDSHRETVAL LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE,
                 DSELC LIKE DSELC OCCURS 0 WITH HEADER LINE.
          CLEAR   : DFIES, DDSHRETVAL, DSELC.
          REFRESH : DFIES, DDSHRETVAL, DSELC.
          CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
            EXPORTING
              RETFIELD        = 'KTANIM'
              VALUE_ORG       = 'S'
            TABLES
              VALUE_TAB      = ITAB
              FIELD_TAB         = DFIES
              RETURN_TAB      = DDSHRETVAL
              DYNPFLD_MAPPING = DSELC.
          BREAK MELIHM.
          READ TABLE DDSHRETVAL INDEX 1.
          IF SY-SUBRC = 0.
            ZKZN_DATA01_S01-IPRJSCR01 = DDSHRETVAL-FIELDVAL.
          ENDIF.

  • Timekeeper Entry values without a Table!

    Hi All
    Which table holds the Timekeeper Entry values? When I query for the Table name through record history, there is no Table in it.
    Please find below the screenshot of the menu.
    http://files-upload.com/files/523202/ADI%20Disabled.JPG
    Regards
    Rahman

    Rahman,
    Timekeeper form is a dynamically built form at runtime based on timecard preferences.
    As for timecard tables, you can look into hxc_time_building_blocks, hxc_time_attributes,
    hxc_time_attribute_usages.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • DateFormat function inserts space in front !

    Hi to all,
    I recently started a brand new project in CF9.0.1 (hotfix 1 in place).
    In one of my main components I have a function as per the following :
        <cffunction name="DateFormatBE"
                         access="public"
                         returntype="string"
                         description="Formats a given string to Belgian date format, returns a blanco when no date is given">
            <cfargument name="myDate"
                               type="string"
                              required="false"
                              default=""
                              hint="the string to date format">
           <cfscript>
                if (Len(Trim(ARGUMENTS.myDate))) {
                    if (! IsDate(ARGUMENTS.myDate)) {
                        ARGUMENTS.myDate = ParseDateBE(ARGUMENTS.myDate);
                        if (! Len(Trim(ARGUMENTS.myDate)))
                            return "";
                    return Trim(LSDateFormat(ARGUMENTS.myDate,"DD/MM/YYYY"));
                } else
                    return "";
            </cfscript>
        </cffunction>
        <cffunction name="ParseDateBE"
                        returntype="any"
                        access="public"
                        output="false"
                        hint="Parses a given string to a date object (dd/mm/yyyy).">
            <cfargument name="myDate"
                                required="No"
                                type="string"
                                default=""
                                hint="the string to parse of format (dd/mm/yyyy)">
            <cfscript>
                if (ListLen(ARGUMENTS.myDate,"/") == 3) // expects two slashes
                    return CreateDate(ListGetAt(ARGUMENTS.myDate,3,"/"), ListGetAt(ARGUMENTS.myDate,2,"/"),ListGetAt(ARGUMENTS.myDate,1,"/"));
                else
                    return "";
            </cfscript>
        </cffunction>
    As of version 9.0.1 I always receive an extra space in front if I output a date as following :
         <cfoutput>
              <input type="Text"
                        name="SomeName"
                        value="#DateFormatBE(Now())#" >
         </cfoutput>
    However, this does seem to work as expected :
         <cfdump var="#DateFormatBE(Now())#">
    Is this a known bug or am I missing something?
    Thanks for reading!
    Bert.

    I do have put output="false" in my component tag definition, but that seems to do just nothing...
    When one instantiates a CFC, any code outside any <cffunction> within the CFC file is executed.  That could generate spurious whitespace if you don't have OUTPUT="FALSE" on the CFCOMPONENT tag.
    Adam

  • ICal prints times in front of event entries, I don't want these times entered. How to remove them?

    iCal prints times in front of event entries, I don't want these times entered. How to remove them?

    Go to your Flagged Photos Smrt Album on the Left.
    Command - a will select All
    Then File -> New -> Album
    Regards
    TD

  • I inadvertently typed in a wrong account number which now shows up in the Account # drop down box. Is there some way that I can clear this (or all) entry and still let Firefix remember search and form entry? Thanks Mike Callahan

    The Scottrade web sight requires an account number as well as a password to log in. I inadvertently typed in an incorrect number and would like to eliminate it from the 'remembered' accounts. My only solution seems to be to turn off Remember Search and Form Entry but that impacts the correct account numbers and all other web sites as well.

    Click the (empty) input field on the web page to open the drop down list
    Highlight an entry in the drop down list
    Press the Delete key (on Mac: Shift+Delete) to remove it.
    http://kb.mozillazine.org/Deleting_autocomplete_entries
    Firefox/Tools > Options > Privacy > Firefox will: "Use custom settings for history" > "Remember search and form history"
    https://support.mozilla.com/kb/Form+autocomplete

  • Custom Target Reconciliation with child form entries in OIM 11g

    Hello experts,
    I have developed custom scheduler code to reconcile users from target system to OIM. In this code I am using the API createReconciliationEvent(java.lang.String psObjectName, java.util.Map poData, boolean pbFinishEvent). If the reconciled user does not have any child form entries(like roles and groups) then the user account is linked to OIM user profile but if the user has child form entries then user is not getting reconciled to OIM. In the logs it says...
    oracle.iam.platform.utils.SuperRuntimeException: -104: Error occurred in XL_SP_RECONEVALUATEUSER while processing Event No 849 Error occurred in XL_SP_RECONREQDATACHECK while processing Event 849 'Event Received' is an invalid event status. Valid event states are Data Received,Data Validation Failed,Being Re-evaluated,Being Re-tried
    at oracle.iam.reconciliation.dao.ReconActionDao.executeUserMatch(ReconActionDao.java:393)
    at oracle.iam.reconciliation.impl.UserHandler.process(UserHandler.java:64)
    at oracle.iam.reconciliation.impl.ActionEngine.processEvent(ActionEngine.java:194)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.processReconciliationEvent(ReconOperationsServiceImpl.java:982)
    at oracle.iam.reconciliation.api.ReconOperationsServiceEJB.processReconciliationEventx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy334.processReconciliationEventx(Unknown Source)
    at oracle.iam.reconciliation.api.ReconOperationsService_emc07d_ReconOperationsServiceRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    Here is my code...
    public void reconCall(String ResourceObject, Hashtable mUserDetail)
    ReconOperationsService tcreconObj =null;
    EventAttributes eventattr= new EventAttributes();
    ArrayList roles=roleOfUser(mUserDetail.get("CommanName").toString(),mUserDetail.get("OrganizationUnit").toString());
    ArrayList groups=groupOfUser(mUserDetail.get("CommanName").toString(),mUserDetail.get("OrganizationUnit").toString());
    if((roles.size()==0)&& (groups.size()==0))
    eventattr.setEventFinished(true);
    else
    eventattr.setEventFinished(false);
    try
    LOGGER.info("In com.gapp.recon.tasks.ReconAllUsers reconCall()");
    LOGGER.info("Creating object of Thor.API.Operations.tcReconciliationOperationsIntf");
    tcreconObj = Platform.getService(oracle.iam.reconciliation.api.ReconOperationsService.class);
    LOGGER.info("Creating reconcilation event");
    long lnreckey = tcreconObj.createReconciliationEvent(ResourceObject, mUserDetail, eventattr);
    if(roles.size()==0)
    LOGGER.info("there are no roles for the user");
    if(roles.size()>0)
    tcreconObj.providingAllMultiAttributeData(lnreckey, "RoleName", true);
    LOGGER.info("Iterating roles");
    LOGGER.info(roles.toString());
    for(int k=0; k <roles.size(); k++)
    LOGGER.info("Iteration "+k);
    HashMap multiroles=new HashMap();
    LOGGER.info("Adding role to hashmap");
    multiroles.put("RoleName", roles.get(k));
    LOGGER.info(multiroles.toString());
    long j= tcreconObj.addMultiAttributeData(lnreckey, "RoleName", multiroles);
    LOGGER.info("addMultiAttributeData key "+j);
    if(groups.size()==0)
    LOGGER.info("There Are No Groups For This User");
    if(groups.size()>0)
    tcreconObj.providingAllMultiAttributeData(lnreckey, "GroupName", true);
    LOGGER.info("Iterating groups");
    LOGGER.info(groups.toString());
    for(int k=0; k <groups.size(); k++)
    LOGGER.info("Iteration "+k);
    HashMap multigroups=new HashMap();
    LOGGER.info("Adding group to hashmap");
    multigroups.put("GroupName", groups.get(k));
    LOGGER.info(multigroups.toString());
    long j= tcreconObj.addMultiAttributeData(lnreckey, "GroupName", multigroups);
    LOGGER.info("addMultiAttributeData key "+j);
    // LOGGER.info("executing processReconciliationEvent");
    tcreconObj.processReconciliationEvent(lnreckey);
    //LOGGER.info("executing finishReconciliationEvent");
    // tcreconObj.finishReconciliationEvent(lnreckey);
    // LOGGER.info("executing updateScheduletaskattribute");
    }Pls Help.
    Thanks

    You gotta specify your child table recon-field in the process definition mappings as a Key Field. Refer OOTB AD connector and check:
    Process Definition -> AD User ->Reconciliation Field Mappings -> memberOf

  • Function to return the Entry Value based on Assignment, Element and Date

    Hi Guys,
    Is there a function that returns the Entry Value for the Assignment Element, based on the Assignment Number, Element Name, Entry Segment and the End of Period date?
    Example:
    ==============
    Input Parameters:
    Employee: Iana
    Assignment Num: 123
    Element: D480
    Element Entry: Fund Name
    Output Parameter:
    Element Entry Value: MLC Super Fund
    Thanks,
    Iana

    For element entry values you can use:
    select petf.element_name, nvl(peevf.screen_entry_value,0) screen_entry_value
    from
    pay_element_entries_f peef, pay_element_types_f petf,
    pay_element_entry_values_f peevf, pay_input_values_f pivf,
    per_all_assignments_f paaf
    where petf.element_type_id = peef.element_type_id
    and :p_date_earned between pivf.effective_start_date and pivf.effective_end_date
    and :p_date_earned between petf.effective_start_date and petf.effective_end_date
    and peevf.input_value_id = pivf.input_value_id
    and paaf.assignment_id = peef.assignment_id
    and petf.business_group_id = :p_business_group_id
    and peevf.element_entry_id = peef.element_entry_id
    and :p_date_earned between peef.effective_start_date and peef.effective_end_date
    and :p_date_earned between peevf.effective_start_date and peevf.effective_end_date
    and :p_date_earned between paaf.effective_start_date and paaf.effective_end_date
    and pivf.name = :p_input_value_name
    and petf.element_name = :p_element_name
    and peef.entry_type = 'E'
    and peevf.effective_start_date = peef.effective_start_date
    and peevf.effective_end_date = peef.effective_end_date
    --and peef.assignment_id = :p_assignment_id
    and paaf.assignment_number = :p_assignment_number;
    For payroll results you can use:
    select sum(prrv.result_value)
    from pay_run_results prr, pay_run_result_values prrv,
    pay_assignment_actions paa, pay_payroll_actions ppa,
    pay_element_types_f petf, pay_input_values_f pivf,
    per_all_assignments_f paaf, per_all_people_f papf
    where
    petf.element_type_id = pivf.element_type_id
    and :p_pay_date between petf.effective_start_date and petf.effective_end_date
    and :p_pay_date between pivf.effective_start_date and pivf.effective_end_date
    and paa.assignment_action_id = prr.assignment_action_id
    and petf.element_type_id = prr.element_type_id
    and ppa.payroll_action_id = paa.payroll_action_id
    and prrv.input_value_id = pivf.input_value_id
    and prr.run_result_id = prrv.run_result_id
    and petf.element_name = :p_element_name
    and pivf.name = :p_input_value_name
    and ppa.date_earned = :p_pay_date
    and papf.person_id = paaf.person_id
    and nvl(prr.start_date,ppa.effective_date) between paaf.effective_start_date and paaf.effective_end_date
    and nvl(prr.start_date,ppa.effective_date) between papf.effective_start_date and papf.effective_end_date
    and paaf.assignment_id = paa.assignment_id
    and papf.employee_number = :p_employee_number;

  • In portlets, how to use a html form passing  values to the another page?

    it is well known that in web developing , we have two methods to pass values to another page.<!--
    1. passing values
    2.<form action="nextPage" method ="post"></form>-->
    but how to use two methods in oracle portal portlets?
    I have got a simple example which submit two values to the page for itself, means a page has a form with submit botton, user input the form with values and then submit them by submit botton, then the page recevice those values and show it .
    this example is powered by oracle ,
    please have a look at these code:
    <br><br>
    <%@ page contentType="text/html;charset=UTF-8" %>
    <%@page import="java.util.*, oracle.portal.provider.v2.*" %>
    <%@page import="oracle.portal.provider.v2.http.HttpCommonConstants" %>
    <%@page import="oracle.portal.provider.v2.render.PortletRendererUtil" %>
    <%@page import="oracle.portal.provider.v2.render.PortletRenderRequest" %>
    <%@page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil" %>
    <%@page import="oracle.portal.provider.v2.url.UrlUtils" %>
    <%
    // The form submit URL refers to the current Portal page. All portlets
    // on this page share this URL. This means that the per portlet parameters
    // are in the same request. Portlets must ensure that its paramerters don't
    // collide either with other portlets or other instances of itself. This
    // is generally accomplished by using "fully-qualified" parameter names. A
    // fully-qualified parameter name prepends the (unique) portlet reference to
    // the parameter. The JPDK provides a utility to accomplish this.
    String portletParamName = "mName";
    String portletParamAge = "mAge";
    String portletParamSubmit = "mSubmit";
    String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
    String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    // These are the session attribute names used to store the current values.
    // Because all instances of this portlet share the same user session we must
    // also fully-qualify these names to avoid collisions.
    String sName = HttpPortletRendererUtil.portletParameter(request, "sName");
    String sAge = HttpPortletRendererUtil.portletParameter(request, "sAge");
    PortletRenderRequest pRequest = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String formName = UrlUtils.htmlFormName(pRequest,null);
    ProviderUser user = pRequest.getUser();
    ProviderSession providerSession = user.getSession();
    if (providerSession == null)
    %>
    Your provider session has been terminated or has timed out
    and you need to logout and then login to re-establish the session.
    <%
    else
    // Record, in session storage, the last values submitted.
    if (pRequest.getQualifiedParameter(portletParamSubmit) != null)
    providerSession.setAttribute(sName, pRequest.getQualifiedParameter(portletParamName));
    providerSession.setAttribute(sAge, pRequest.getQualifiedParameter(portletParamAge));
    %>
    <!-- Output the HTML content -->
    <center>
    <table width="70%">
    <tr>
    <td>
    <b>This portlet shows how to post and process information from HTML forms.</b>
    </td>
    </tr>
    </table>
    <form name="<%= formName %>" method="POST"
    action="<%= UrlUtils.htmlFormActionLink(pRequest,UrlUtils.PAGE_LINK) %>">
    <%= UrlUtils.htmlFormHiddenFields(pRequest,UrlUtils.PAGE_LINK, formName) %>
    <table>
    <tr>
    <td>
    <b>Name :</b>
    </td>
    <td>
    <input type="text" size="20" name="<%= fName %>" value="">
    </td>
    </tr>
    <tr>
    <td>
    <b>Age : </b>
    </td>
    <td>
    <input type="text" size="3" name="<%= fAge %>" value="">
    </td>
    </tr>
    </table>
    <br>
    <INPUT TYPE=submit name="<%= fSubmit %>" Value="Submit">
    </form>
    <%
    if ((providerSession.getAttribute(sName) == null)&& (providerSession.getAttribute(sAge) == null)) {
    %>
    <b>No values have been submitted yet.</b>
    <%
    } else {
    %>
    <b> Last submitted values:</b><br>
    <table>
    <tr>
    <td>
    <b>Name: </b>
    </td>
    <td>
    <b><%= providerSession.getAttribute(sName) %></b>
    </td>
    </tr>
    <tr>
    <td>
    <b>Age: </b>
    </td>
    <td>
    <b><%= providerSession.getAttribute(sAge) %></b>
    </td>
    </tr>
    </table>
    <%
    %>
    </center>
    <%
    %>
    <br><br>
    <br><br>
    <br><br>
    but I want to write the form in a page , and then show it on another page , how to write it ?
    I have read the pdk:
    oracle.portal.provider.v2.url Classes
    UrlUtils
    then I use these method , as this :
    //frist page:
    <br><br><br><br>
    <%@page contentType="text/html; charset=Big5"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    %>
    <%@ page import="oracle.portal.provider.v2.*"%>
    <%@ page import="oracle.portal.provider.v2.render.PortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.url.UrlUtils"%>
    <%
    PortletRenderRequest pReq = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <P>Hello <%= pReq.getUser().getName() %>.</P>
    <P>This is the <b><i>Show</i></b> render mode!</P>
    this is a program to test the passing value
    <%
    String portletParamName = "mName";
    String portletParamAge = "mAge";
    String portletParamSubmit = "mSubmit";
    String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
    String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    PortletRenderRequest pr=(PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String formName=UrlUtils.htmlFormName(pr, null);
    %>
    <form name="<%=formName%>" method="post" action="<%=UrlUtils.htmlFormActionLink("/htdocs/passingvalues4/getValues.jsp")%>">
    <%= UrlUtils.htmlFormHiddenFields("/htdocs/passingvalues4/getValues.jsp") %>
    name:<input type="text" size="20" name="<%= fName %>" value="">
    p w :<input type="text" size="3" name="<%= fAge %>" value="">
    <INPUT TYPE=submit name="<%= fSubmit %>" Value="Submit">
    </form>
    //getValues.jsp<br><br>
    <br><br>
    <%@page contentType="text/html; charset=Big5"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    %>
    <%@ page import="oracle.portal.provider.v2.*"%>
    <%@ page import="oracle.portal.provider.v2.render.PortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.url.UrlUtils"%>
    <% String portletParamName = "mName";
    String portletParamAge = "mAge";
    String portletParamSubmit = "mSubmit";
    String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
    String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Big5">
    <title>untitled</title>
    </head>
    <body>
    Name:<%=fName%>
    Age :<%=fAge%>
    </body>
    </html>
    <br>then I deployed them on the portal , run it , the result is :after I submit it , the browser give me : http 404 page not found!
    [b]here is the provider.xml<br>[b[i]]<?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>PassingValues4</name>
    <title>PassingValues4</title>
    <description>PassingValues4</description>
    <timeout>60</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage>/htdocs/passingvalues4/PassingValues4InputPage.jsp</showPage>
    <showPage>/htdocs/passingvalues4/getValues.jsp</showPage>
    </renderer>
    </portlet>
    </provider>
    <br><br><br>
    <br><br>
    would you kind enough to help me ? thanks!!!
    Message was edited by:
    moonsoft

    Hi Moonsoft,
    I have already answered this query in the other post at Re: how to link more than one links in portlet?(jsp develop)
    <form name = "showPageForm" method = "POST" action = "<%= UrlUtils.htmlFormActionLink(pReq,UrlUtils.PAGE_LINK) %>">
      <%= UrlUtils.htmlFormHiddenFields(pReq,UrlUtils.PAGE_LINK, "showPageForm") %>
      <input type="text" name="param1">
      <input type="text" name="param2">
      <input type="hidden" name="myPPN" value="/htdocs/page2.jsp">
    </form>then in your jsp code on page2.jsp, you will extract the parameters by specifying
    <%
      String p1 = request.getParameter("param1");
      String p2 = request.getParameter("param2");
    %>
    >>this is easy common jsp or asp development, but in oracle is too diffcult!!!!
    :-) .. there is a difference between web-applications and portlets, you just need to get used to it once. I hope this does clarify your doubts.
    thanks,
    Harsha

  • Actionscript & changing form field values

    I am building a form using flash forms. I have a particular
    field that by default the value is 0.00. I want to make an onchange
    actionscript that will dynamically change the form field value to
    0.00 if the end user deletes the value out of the field and leaves
    it blank.
    Please be gentle...I know my actionscript'ing is poor (and
    probably looks a wee bit more like JS than AS) LOL
    <cfsavecontent variable="zero_myfield>
    if (myfield.text == '') {
    myform.myfield.text == "0.00";
    </cfsavecontent>
    <cfinput type="text" name="myfield"
    onchange="zero_myfield">
    I know you can manipulate the value of a form field easily
    with javascript, but how to do the same thing with actionscript?
    Any pointers would be appreciated!
    Thanks!!

    ROFL, I figured as much...like I said, my AS is *very*
    rudimentary right now heheh
    I picked up an AS book yesterday evening to hopefully help me
    out some, I know not all AS is available to use in ColdFusion flash
    forms, but it will give me a good reference I hope.
    I'll try my hand at the listener and see what I can come up
    with. Thanks for the pointer!! :)

  • How to call the form bean value on jsp withthe help of jstl tag

    hi
    all friends
    i am working in struts & i use jstl tag in jsp. i have one problem rise is how to call the form bean value in jsp page by using jstl tag.
    i now how to retrive the value through jsp:logic
    eg. <logic:empty name="userListForm" property="users">
    NO USER FOUND
    </logic:empty>
    see * userListForm mean formbaen name.
    * users means collection object.
    so how can i write above e.g in jstl

    You use the jstl core:if or core:choose combined with the EL:
    <c:if test="${empty users.userListForm}">
    NO USERS FOUND
    </c:if>I suggest you lookup the jsp expression language (EL) using google, it's very powerful.

  • Where are my Web Form entries stored in the webBasics plan?

    Where are my Web Form entries stored in the webBasics plan? Currently—in my trial site—I can access Web Form responses through a Custom Report. Will this option be available to me in the webBasics plan?
    My hope is to use the webBasics plan with a Web Form (and a few custom fields) and have the reponses stored for me in the Businsess Catalyst interface.

    You do not get the CRM element of BC with the webbasic plan. With BC storing the forms it creates "cases" Which are stored against the "Customer" in the "CRM". You dont have access ot that with the webbasic plan.

  • How to control the  space between records in form layout

    Hi ,
    I need to display mutiple records (15-20) in a form ,
    and have choosen FORM layout as I need to display each record in two lines (Can a record be displayed in two lines in TABULAR layout ? ) .
    Now There is lot of space between each record and I could not move records closer . How can I control space between reords in FORM layout ?
    (While creating Canvas I selected Distance bwteen records = 0 )
    Thanks in advance,
    Asha

    Asha,
    no in tabular layout there is no way to display a record on two lines. All you can do is to use a stacked canvas and use it to make the table scrollable horizontally
    The distance between record setting is a property on the item level. if this is set to 0 (please double check) then all that is loeft is the item bevel. You can set the item bevel property to plain and then work on resizing the items hight until close to acceptable.
    Frank

Maybe you are looking for