Creating the JSPDynPage ( form   name="myFormName" method="post" action=""

Hi All,
I am developing JSPDynPage example ,in this example i am using html tags instead  of business HTML . So  when i am submitting the JSP page , what is the name of the action i have to set in action method.
  So please provide me detailed information for the above query and that would be greatly appreciated
Regards
Siva
This is my java class :
public class test extends PageProcessorComponent
below i am posting the my jsp page code:
<jsp:useBean id="myBean" scope="request" class="test.testmyBean" />
<hbj:content id="myContext" >
  <hbj:page title="PageTitle">
   <form   name="myFormName" method="post" action="">  
               <input type="text" name="T1" size="20" value="<%=(myBean == null)?"":myBean.getText()%>">
<input type="submit" value="Submit" name="B1"  onClick="javascript:fntCheck();">
   </form>
   <script language="javascript">
     function fntCheck()
          document.myFormName.submit();
     </script>
  </hbj:page>
</hbj:content>

Hi Siva,
We can use <hbj:form> tag in our HTML code. So use <hbj:form> tag in place of normal HTML <form> tag and place a <hbj:button> tag in the hidden part of the HTML code.
When the user clicks on the HTML button, at that time call javascript to trigger the <hbj:button> button. This will submit the form to the server as the same way as submitting the page of HTMLB.
We implimented this in our project.
Follwing are the steps to do:
1. Replace <form> tag with<b><hbj:form></b> tag.
2. Add the follwing code in your JSP.
          <b><div style="visibility:hidden;">
               <hbj:button
                  id="Update"
                  encode="false"
                  text="Update"
                  width="125px"
                  tooltip="Click here to update address data."
                  onClick="Update"
                  disabled="false"
                  design="STANDARD"
                  jsObjectNeeded="TRUE"
               />
          </div></b>
3. Add the follwing line of code in <u>'fntCheck()' </u>javascript function.
<b>
var funcName = htmlb_formid+"_getHtmlbElementId";
    func = window[funcName];
var buttonUpdate = eval(func("Update"));
document.getElementById(buttonUpdate.id).onclick();</b>
Deploy & Run.
Cheers....
Satya

Similar Messages

  • How to create the Mail forms

    Hi All,
      Actually i am very new to Mail form . i got the requirement as i need to create the Mail form form sending the mail through campaig as well as i want to print the same form so please help me out how to do this, please help me out by providing some step by step process for creating the mail form and some technical stuff for printing the form
    Regatds
    Mohan

    Hi,
    Creating Mail form is multi stage. Have you created any survey.
    I believe its for CRM 7.0. Broad steps are
    1.Enter the CRM WebClient UI
    2.SAP CRM WebClient menu Marketing >> Create: Mail Form
    Mail Form for E-Mail
    1.On the Mail Form: New screen enter the following values:
    Field name     User action and values
    ID     Y_TRADE_SHOW_INVITATION
    Description     Trade Show Invitation
    Language     Original:English
    Usage     Internet Mail (HTML)
    Attribute Context     ERMS
    Subject     Trade Show Invitation
    2.In the Text Element screen area you can freely define the content of your e-mail in the text element.
    3.Choose New Text Element, enter the following data for the e-mail form text block and choose Create:
    Field name     User action and values
    Text Element ID FORM_LETTER
    Description Invitation
    Format HTML
    4.Enter a text for the new text element FORM_LETTER and design it according to your needs.
    If you want to upload a pre-defined text from an external source, choose Load Local File.
    5.In order to insert the generated survey URL into the text, choose Hyperlink.
    6.In the Insert Hyperlink web page dialog enter the following values and choose Insert:
    Field name User action and values
    URL <surveyURL>
    Description     Information Survey
    URL Category     
    Tracking Option Via Target Site
    7.Save your new mail form.
    Hope it helps.
    Rgds,
    Rajiv

  • How do I add a functional "submit button" to a pdf form in Adobe Acrobat Pro XI ? I created the pdf form in Adobe Forms Central.

    How do I add a functional "submit button" to a pdf form in Adobe Acrobat Pro XI ? I created the pdf form in Adobe Forms Central. It's for an online Diet Questionnaire. After people complete the form I'd like them to click "SUBMIT" and the completed form will be emailed to me.

    This can be a bit confusing because Acrobat 11 comes with the desktop app that allows you to create simple PDF forms without having a FormsCentral account. Some people find this helpful, but you need to understand that when you generate the PDF form, it is Reader-enabled by Acrobat. In order to edit the form further in Acrobat, you have to create a non-enabled copy of the form. You do this in Acrobat by opening the form and selecting: File > Save a Copy
    and opening the copy. It is not opened automatically.
    You can now add a button and set it up to submit by email, either using a "Submit a form" action or the submitForm JavaScript method. You can set it up to include just the form data or the entire PDF, and will want to use a mailto type URL. Submitting the form to the FormsCentral server has a number of important advantages over email (much more reliable, more secure, etc.), so you might want to consider it.
    If the form needs to be saved with Reader versions prior to 11, then you will need to Reader-enable the document. In Acrobat 11 you do this by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools

  • Create the simple form

    hi friends,
    can u tell me the steps to create the simple form in oracle application express by which i can insert data into oracle 10g database table.
    please do me reply soon. thanks

    User622321,
    I would suggest that you read the "APEX User's Guide" first. It has detailed instructions for creating a form using a wizard. You can download the PDF at http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471.pdf.
    In the PDF document, go to section "Creating a Form Using a Wizard." After you read the documentation, if you still think you need help, please post a request here and I will be glad to rephrase the instructions for you.
    Thanks!
    JMcG

  • How to find out the current form name

    Hi all,
    I have to pass the current sapcript form name in the sauroutine pool for some further processing.
    I just wanted to is there any variable, method, or way to find out the current/running Sapscript form name generically so that we can pass it on to subpool.
    Looking forward for your reply.
    Regards,
    Anuja.

    Hi All,
    Many thnaks for your replies.
    Actually in my case the situation is, i have to change in multiple forms.
    I mean the same perform needs to be used in all the forms almost around 20 using the current form name.
    So that perform should be generic. I mean is there any variable/ method or way to get the current form name so that we can pass that to the subroutine pool through form.
    Looking forward for yoour reply.
    Regards,
    Anuja.

  • How to use variables POST and personalize the fields form names

    Hi friends, I need to send POST values to a external URL from APEX application to proccess a credit card and later receive the POST values to save the transaction, also the fields require have a personalized name, APEX create the field with standar names properly from APEX.
    Any one can help me to solve this problem?
    Thanks
    Libio Balbin

    I'm assuming you mean that you will be posting your page form to an external URL. This also means that the items in the form will need to have the element name be a certain name expected by the external URL. Look at Re: item name isn't what i specified to how to do this.
    Basically, in the page HTML Header add a javascript function to change the name of the page items and then change the submit to go to the external website. Add to the On Load section to call the javascript when the page is loaded.

  • How to create the logical file name

    Hi All,
        I have requirement where i need to post the Inventory Management data. for this i need to execute std. program RM07MMBL which is having logical file name in the selection screen. but i have placed my input file in application server.
       Can any one tell how to create the Logical filename which refers the physical path. I also tried <b>t-code SF01 & Table - FILENAMEC</b>I and found that we need to add an entry in this table but i really dont know how we have to do since this table cannot be maintained in SM30 also..
      Help Me.
      Thanks in Advance!...
    Regards,
    Ramkumar

    Hi Ram,
    Try using FILE transaction code...
    Follow these steps to create:::
    Double click on Logical file Path Definition
    Click on New Entries,
    Give Logical file Path name as Z_LOGICAL PATH and save it
    now choose this path and double click on Assignemt of Physical path to Logical path
    double click on the OS name
    Give some description and give some Physical path name from AL11 transaction and save it
    Now Double click on Logical File Name Definition,
    Click on New Entries,
    Give some logical file name: Z_LOGICAL_FILENAME
    Physical file: test
    Data Format: BIN
    Logical Path: Z_LOGICAL PATH
    Hope this helps
    Regards,
    Phani
    Message was edited by:
            Sivapuram Phani Kumar

  • How to get data from the GUIBB FORM on processing method PROCESS_EVENT?

    Hello Community,
    one more question do I have.
    I need to process some form data, that were entered by a user. One field was additional added via the method IF_FPM_GUIBB_FORM~GET_DEFINITION, so it is not in the BOL.
    I listen to an FPM_EVENT in the IF_FPM_GUIBB_FORM~PROCESS_EVENT.
    IF io_event->mv_event_id EQ 'FPM_SAVE_AND_BACK_TO_MAIN' OR io_event->mv_event_id = 'FPM_SAVE_1'.
         " Here I need to access the data from the GUINN FROM
      ENDIF.
    How can I access to the data, entered in the GUIBB FORM?
    Thank you and best regards, Christian

    Hello Jens and Christian,
    Thanks very much for your help.
    Could you help me check where the problem is ? My detail step is as below:
    1.      Structure     'S_TR_FILE' ,  which  include component  'MIME_TYPE' with data type 'String'  and 'UPLOAD_FILE' with data type 'String'.
    2.    IF_FPM_GUIBB_FORM~GET_DEFINITION
        DATA: lo_structdescr    TYPE REF TO cl_abap_structdescr.
        FIELD-SYMBOLS: <ls_new_field_descr> TYPE fpmgb_s_formfield_descr.
        lo_structdescr  ?= cl_abap_typedescr=>describe_by_name( 'S_TR_FILE' ).
        eo_field_catalog = lo_structdescr.
        APPEND INITIAL LINE TO et_field_description ASSIGNING <ls_new_field_descr>.
        <ls_new_field_descr>-name = 'MIME_TYPE'.
        <ls_new_field_descr>-label_by_ddic = 'X'.
        <ls_new_field_descr>-visibility = '01'.
        <ls_new_field_descr>-default_display_type = 'IN'.
        UNASSIGN <ls_new_field_descr>.
        APPEND INITIAL LINE TO et_field_description ASSIGNING <ls_new_field_descr>.
        <ls_new_field_descr>-name = 'UPLOAD_FILE'.
        <ls_new_field_descr>-label_by_ddic = 'X'.
        <ls_new_field_descr>-visibility = '02'.
        <ls_new_field_descr>-default_display_type = 'FU'.
        <ls_new_field_descr>-mime_type_ref = 'MIME_TYPE'.
    3.  After the OVP page is displayed, I select a xlsx file in 'UPLOAD_FILE', and click "upload" button(toolbar on the top  page) , I can't get any data from IS_DATA in flush method or CS_DATA in Get_DATA.
    Thanks& Best Regards,
    Yupeng

  • Error while creating the ASSET using LSMW BAPI method ( BUS1022 )

    Hello,
    Im creating assets using the below LSMW BAPI method
    Business Object      BUS1022     
    Method                     CREATEINCLVALUES
    Message Type         FIXEDASSET_CREATEINCLVALU
    Basic Type              FIXEDASSET_CREATEINCLVALU
    the following errors were triggered while populating the values to ACQ_VALUE and ORD_DEP value.
    Correction to ordinary dep. greater than acc. dep. in area 01
    Correction to ordinary dep. greater than acc. dep. in area 30
    Correction to ordinary dep. greater than acc. dep. in area 31
    Correction to ordinary dep. greater than acc. dep. in area 32
    if i pass only ACQ_VALUE, I am able to create the asset with out any issues.
    Can you guys plz guide me to fix this issue to create the asset with both ACQ_VALUE and ORD_DEP values??
    Cheers,
    Sriram.

    Hello,
    Review AO21.
    Regards
    Waza

  • How to creat the logical file name.

    Hello All,
    I want to create Logical file name in my program, So Please guide me  in this issue.
    Thanks

    Check this out
    http://help.sap.com/saphelp_45b/helpdata/en/2a/fa02b7493111d182b70000e829fbfe/content.htm
    FU FILE_GET_NAME
    Text
    Assign the Physical File Name Using a Logical File Name
    Functionality
    R/3 applications run on various platforms with various file systems. This function module enables you to use platform-independent logical file names in your application programs.
    Based on definitions maintained in customizing tables for platform-independent file names, the function module converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.
    For this conversion to work for different platforms, the definition of a logical file name must include a logical file path, which in turn is converted to different physical file paths, depending on the particular platform. The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.
    Example
    logical file name: MONTHLY_SALES_FILE
    physical file name: VALUES<PARAM_1>
    logical path: SALES_DATA_PATH
    physical path (UNIX): /usr/<SYSID>/<FILENAME>
    physical path (Windows): C:\SALES\<FILENAME>
    Example 1
    Get file name for UNIX platform
    (current system: K11)
    CALL FUNCTION 'FILE_GET_NAME'
    EXPORTING
    LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'
    IMPORTING
    FILE_NAME = FILE
    FILE_FORMAT = FORMAT.
    Result:
    FILE = /usr/K11/VALUES
    FORMAT = WK1
    Example 2
    Get file name for UNIX platform, passing a parameter
    (current system: K11)
    CALL FUNCTION 'FILE_GET_NAME'
    EXPORTING
    LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'
    PARAMETER_1 = '_TST'
    IMPORTING
    FILE_NAME = FILE
    FILE_FORMAT = FORMAT.
    Result:
    FILE = /usr/K11/VALUES_TST
    FORMAT = WK1
    Example 3
    Get file name for WINDOWS platform, with file name extension
    CALL FUNCTION 'FILE_GET_NAME'
    EXPORTING
    LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'
    WITH_FILE_EXTENSION = 'X'
    IMPORTING
    FILE_NAME = FILE
    FILE_FORMAT = FORMAT.
    Result:
    FILE = C:\SALES\VALUES.WK1
    FORMAT = WK1
    Notes
    All definitions needed for the platform-independent assignment of file names are maintained client-independently with transaction FILE. Logical file names (but not logical file paths) can also be defined specifically for the current client with transaction SF01. Transaction SF07 generates a list of current definitions.
    The following concepts are used in the platform-independent assignment of file names:
    Logical file name
    A descriptive name for a file which is associated with these values:
    physical file name
    file format
    logical file path.
    If no logical file path is specified, the function module returns the physical file name only; placeholders are substituted by current values.
    Physical file name
    The physical file name may contain placeholders.
    Logical file path
    A descriptive name for a path which is associated with these values:
    syntax groups (groups of operating systems)
    physical file paths.
    Physical file path
    The physical file path is defined for a particular syntax group. It must contain the reserved word <FILENAME> as a placeholder for the file name. It may also contain other placeholders.
    Operating system
    Presentation server and application server can run under different operating systems. The current value for the application server can be obtained from the system field SY-OPSYS, the value for the presentation server by calling function module WS_QUERY.
    Both operating systems must be defined and assigned to a syntax group.
    Syntax group
    Group of operating systems with a common syntax for file and path names (e.g. HP-UX and SINIX).
    Placeholder
    Reserved words, set in angle brackets, which can be included in physical file and path names (e.g. <DATE>, <FILENAME>). You can find information on possible reserved words in the online help (F1 help) for the fields physical file name and physical file path when maintaining platform-independent file names with transaction FILE.
    If the logical path associated with a logical file name does not specify a physical path for the current operating system (syntax group), the path stored in the profile parameter DIR_GLOBAL of the current system is used for generating a complete platform-specific file name.
    Parameters
    CLIENT
    LOGICAL_FILENAME
    OPERATING_SYSTEM
    PARAMETER_1
    PARAMETER_2
    PARAMETER_3
    USE_PRESENTATION_SERVER
    WITH_FILE_EXTENSION
    USE_BUFFER
    ELEMINATE_BLANKS
    EMERGENCY_FLAG
    FILE_FORMAT
    FILE_NAME
    Exceptions
    FILE_NOT_FOUND
    Function Group
    SFIL
    Thanks
    mahesh

  • How to Locate the Custom Form Name  in Oracle Apps

    Hi hussein,
    We had a migration project from 11.0.3 NT to 11.5.10.2 AIX, and it include
    1 form I guess. The client user is showing me the navigation tree where the customized form was located.
    She opened the NT Oracle Apps 11.0.3 and it is showing the following:
    Cash Management Responsibilty
    + Other
    Enter Adjustment >> this is the customized form that she showed me
    When the form opened, i shows a block with parent table "AP_BANK_ACCOUNTS_ALL" and a child table
    "CEC_ADJUSTMENT_RECON".
    My question is, based on the navigation, how do I know which is the location of the forms.fmx? of what
    module was it registered to?
    ==============
    I tried to navigate to the custom form and open it, then click "Help --> About"
    from the menu bar, but it does not show you the form name and the forms executable location path,
    (not like the standard forms of oracle where it shows the form name),
    the "help" being shown is the help of the runtime form in a normal default oracle form window.
    so I assumed that the custom form has been registered but not following the standard procedure.
    ==============
    How do I reverse locate it? base on the "tree" > Enter Adjustment
    Thanks a lot

    Hi,
    Please see (Note: 176852.1 - Integrating Custom Applications with Oracle Applications Release 11i), Step 10-f.
    For the (Help > About) issue, please see if (Note: 556755.1 - Forms Version Not Showing On 'About Oracle Applications' Form From Help Menu) helps.
    Btw, I guess we had a similar discussion before in this EBS 11i Customized Oracle Forms and Reports.
    Regards,
    Hussein

  • Creating the receiver file name dynamically

    Hi Friends
    Here I have a scenario IDOC to File, I am not using any mapping or creating any repository objects. My requirement is to pass the sender IDOC to receiver in an xml file format. While posting the file at receiver file directory I suppose to post it with a file name File_IDOCnumber#.xml i.e., i need to include idocnumber in the file name. As I am not using any mapping objects I might not be able to use Dynamic configuration option, kindly suggest me with a solution.
    Am using PI7.1 version
    Regards
    Suman.

    Hi Suman,
    Depending on your backend application, you can create a XML file port in WE21 and use that in your Partner Profile configuration. You can create your own function module to generate the filename based on your requirements.
    Alternatively, if you really want to pass through PI, you can use variable substitution in your Receiver File Adapter:
    Under File Access Parameters in Target Tab:
    File Name Scheme: File_IdocNumber_%idoc%.xml
    Under Variable Substituion in Advanced Tab:
    Enable : Yes
    Variable Name: idoc
    Reference: payload:IDOCTYPE,1,IDOC,1,EDI_DC40,1,DOCNUM,1
    Regards,
    Erwin
    Edited by: Erwin de Gula on Apr 28, 2011 7:57 AM

  • 'Cannot read or create the font (font name) error message for Acrobat 9 Pro

    Hi Im new here so i dont know if this topic has been handled already.
    First the base info: Im on a iMac G5 running 10.5.4. And Im using Acrobat 9 pro. Im trying to convert Quarkxpress 7.31 eps files to PDFs. The particular font in question is called Blue Melody Ultra Bold. I use Font Book to manage my fonts.
    I installed it in every font folder i could find hoping that this would solve my problem. Still i get the message and when the file opens all i get a series of dots where the font should be. I get the same problem when i port files to work from home. And at work they are using Photoshop CS on Mac G3s.
    Im wondering is the problem with Acrobat or the fact that its Quark 7 giving the fact thats its been horribly buggy? Still Ive read where other people have been having the same problem that arent Quarkxpress files. Can anyone give me a little help?

    Well quark does have problems reading (placing) PDFs but not generally Exporting (creating) them.
    Pixelated and low quality PDFs are usually down to your settings, in particular turn off the OPI XT and uncheck the Distiller option to allow postcript to overwrite Distiller Settings.
    You are confusing subjects, The general consensus on the quark forums that EPS is better than PDF is specifically when talking about placing files into quark picture boxes. No one is saying Save page as EPS and Distill to make a PDF is a good idea. Both Export or printing postscript and Distilling are superior methods.
    Have you cleared your font caches.
    You may want to change from Font Book to something like Linotype Font Explorer X which is free to manage your fonts.
    Short term fix would be to set up a Distiller settings file that includes the location of your troublesome font.

  • Finding the standard class name using methods

    hi experts,
                     How to find out the standard class if you have methods.for example i know a method name, so i want to know its class name.How to achieve that??

    Hi ,
    Go to transaction SE84. Repository Info system.
    CLASS LIBRARY -> METHODS .  Search as you like.

  • How to create the Vote Form and Get the Result

    I have an assignment to create a website for voting and show the result online.  Anyone can tell me the steps to build such website???

    This tutorial uses jQuery and PHP
    http://code.tutsplus.com/tutorials/creating-a-dynamic-poll-with-jquery-and-php--net-57
    Nancy O.

Maybe you are looking for

  • TREX7.1 - Program not registered

    Hi to all experts, I am implementing TREX7.1 revision 36 (latest) which is standalone, but I encountered the error - program not registered while creating the RFC connection in admin tool. Previously the connection was working but it happens when I s

  • Initial Set Status of Kanban board

    Hi all, I want to ask a question. I am using classic kanban processing with Purchase Order replenishment strategy. I am new to kanban. I just want to ask how I can set initial status of kanban container in first time SAP is go live. Like in inventory

  • Categories used by iTunes

    I recently created a Podcast RSS feed for my church. I listed the category as "Religion & Spirituality" and subcategory as "Christianity". I've included the lines directly from my RSS feed below. When I search for the feed by church name or by keywor

  • How do I sell an "app-enabled accessory" on the Apple Store?

    How do I sell an "app-enabled accessory" on the Apple Store?

  • Preview not remembering rotations

    Preview was working fine up until a few days ago. Now it isn't remembering that I have rotated some pics with it. I save the change but when I open the pic again with Preview, it is back to the original orientation. Is there a preference file I need