Form with variable length pages

Hi,
I have a form which has categories of data - some categories require many fields and some require only a handful of fields. I want to put each category on a single page. My Master Page has a graphic which serves as a background for all of the pages.
Is there a way through Designer ES or JavaScript to vary the length of each page? Or, could I somehow assign the background graphic image to a variable so that if I have a different Master Page assigned to each category's page, the image can be stored once and somehow referenced by each page. (I want to avoid creating multiple copies of the image that are of varying lengths - this will take the file length unwieldly.)
Thanks,
Jeff

I think the table would handle the layout and repetition of rows. But if some of the input fields are text input and some are checkboxes or another type, how would I get the right type of input on each row? Do you have an example where the backing bean dynamically builds components, that I could look at? Thanks.

Similar Messages

  • Smart form with 2 different pages

    Hi Experts
    I have a requirement, I need to develop a smart form with 2 different pages, and each page has different data and presentation of the data also is different.
    In the first page I need to display the contract data with the line items and amounts and in the second page I need to display the partner details with their contact details. From second page onwards it may go further based on the partners exists for that contract.
    Plesae advice me best possible way to achive this.
    Thanks
    Praveen

    Hi Praveen,
    Create two Pages:
    First Page:
    In general Attributes section- Keep page2 as next page
    Create Main window and under that
    Keep the text elements for contract data of line item and amounts as required
    Second Page:
    In general Attributes section- Keep page2 as next page
    create main window and under that
    get all the partner details of line item into an internal table(using program lines node).
    Now use 'Tables' node which behaves as loop for this internal table (so that it continues further if it contains date more than 1 page)
    And display the values in smartform using Text node
    Regards,
    Swarna Munukoti.

  • Rearrange pages when printing adobe form with multiple master pages

    Hello!
    Good day to you all.
    I have an issue in regards with printing my adobe form with multiple Master pages. I have 4 master pages:
    1st master page: a
    2nd master page: b
    3rd master page: c
    4th master page: d
    all with different headers and footers all having the same contents (items). I don't have issue with one page content (it just prints 4 pages with different headers and footers). The issue comes out once the items exceed 1 page.
    What happens is that the preview/print shows (example: 3-page item)
    a1-a2-a3-b1-b2-b3-c1-c2-c3-d1-d2-d3.
    What i need is to print these such that all 1st pages of the 4 master page to be printed first, then all the 2nd pages, then all 3rd pages. Please see below:
    a1-b1-c1-d1-a2-b2-c2-d2-a3-b3-c3-d3
    This is because we will be using carbonless copy paper during printing and it's possible that it would be printed on batch jobs. Please suggest ways to do this.
    Thanks a lot in advance!
    Best Regards,
    abap_peer_dangs

    Hi,
    Is that requirement of multiple pages as groups only at the time of print or at print preview also...?
    Can you have a Print button on this screen or you should be using the Abobe toolbar's Print button..?
    Well if this on a click of a button in the form and the requirement is only at the time of print and not on print prieview I can have a JS script which does this...
    Let me know if this suffice, I can try with a local file and send you the script.
    @ Chris: I didn't understand what do you mean by reported, I was eager to hear and learn a solution from you may be a new approach which I am not aware of ...?
    Cheers,
    Sai.

  • As I can send data since a done form with applets to page html?

    A question.
    As I can send data since a done form with applets to page html?
    I thank beforehand its aid.

    Please re-write your English.

  • How to use datamerge with variable lengths of text?

    Hello,
    I'm looking for a way to automaticly format brochures from a database . I allready found out that datamerge lets you do this quite easily. But I encounter a problem when I use large amounts of text.
    How I see it, the only solution is to reserve enough space for the larges text in order to make all of the text appear in the document. But this leaves large open spaces and even blank pages in my document when I deal with less text.
    Is there a way to make the document adapt to the amount of text? So that Indesign creates more space for large amounts of text and erases blank pages when there is less text?
    Maybe Datamerge isn't the right solution for my problem, I'm open to suggestions.
    Thanks in advance!
    Iris

    I'm just finishing up a directory that I build with data merge and I have the problem of variable length business descriptions, as well as some have extra mailing addresses or websites. My solution is to do it in several steps with multiple files. I do a normal merge first (and I use a single record per page for this, but only bcause that allows me to create some alphabetical lists of business names and owners's names that I can key to a listing number), then I stitch together the individual stories into a single text thread that I copy/paste into place in the final document. If you have a lot of frames, Rorohiko.com has a nifty text stitch script that will help.
    One tip that helps with this method is to be sure you have a paragraph break at the end of each story so stiching the frames together maintains your paragraphs.

  • How to deal with variable length data struct in C/JNI

    I have another JNI related question. How do you handle variable length
    data structures in Java and pointer to a pointer?
    Basically, I have a backend in C which has records but we don't know
    how many. The API looks like
    typedef struct rec_list_s {
    int rec_list_cnt;
    rec_list_data_t rec_list_data[1];
    } rec_list_t;
    int rec_list_show(void handle, rec_list_t *list_ptr);
    /* Code snippet for rec_list_show */
    int rec_list_show(void handle, rec_list_t *list_ptr)
    rec_list_t *ptr;
    sz = sizeof (rec_list_t) +
    ((record_count - 1) * sizeof (rec_list_data_t));
    ptr = malloc(sz);
    /* fill the data */
    *list_ptr = ptr;
    return (0);
    So I need to wrap rec_list_show() in JNI call so I can have Java call
    it. How do i pass a pointer to a pointer from Java? I tried in the
    native C code for JNI to return the pointer to pointer as a result
    and store in a member in the Java class rec_list_t and then I pass
    that to JNI call for rec_list_show. The C backend code was fine
    since it got the pointer to pointer but Java become unhappy when
    the object it was referencing changed memory location (I suspect
    the garbage collection becomes unhappy).
    So what would be a good way to deal with this kind of code?
    Thanks,
    Sunay
    Edited by: st9 on Aug 30, 2010 5:47 PM

    I did not imply that you don't know C but you are implying that I don't understand C. Perhaps
    google Sunay Tripathi and click I am feeling lucky so that we don't get into teaching C
    discussions :) On the other hand, I am definitely looking for someone to teach me Java
    otherwise I wouldn't be asking.
    Anyway, let me explain again. The sample function rec_list_show() runs on the backend. It
    is a different process with a different VM space. It of course knows the size of the array
    and what to fill in. As a caller to that API (which is a separate process), I don't know
    what that size is but I need to get the size and corresponding data in one shot because
    the backend locks the table when its providing me the info to make sure its synchronous.
    Now I (the Java process) needs to get that count and data in one shot. Since the C library
    underneath me (wrapped around my JNI interface) has private IPC mechanism to copy
    the contiguous memory from the backend into my memory space, all I need is to provide
    a pointer to a pointer which gets filled in by backend and is available to my process. So
    my equivalent C frontend just passes a pointer to a pointer and casts the return value in
    rec_list_t. The rec_list_cnt tells it how many members it got. The first member is part of
    the struct itself but then following members are right after.
    Another way to help you understand this is with this code snippet from front end C program
    rec_list_t     *ptr, *save_ptr;
    rec_list_data_t *data_ptr;
    int          cnt;
    save_ptr = ptr = malloc(sizeof(rec_list_t));
    rec_list_show(handle, &ptr);
    assert(save_ptr != ptr);
    cnt = ptr->rec_list_cnt;
    for (i = 0; i < cnt; i++) {
         data_ptr = &ptr->rec_list_data;
    Notice the assert(). Also notice the for loop. How do I expect to walk more that one
    member when rec_list_data is a fixed size array of one member?typedef struct rec_list_s {
         int               rec_list_cnt;
         rec_list_data_t          rec_list_data[1];
    } rec_list_t;
    Anyway, I do understand that Java will not allow me to get a reference to a long and
    how Java memory management works. But the JNI native implementation is C
    and I was wondering if people have managed to do some tricks there between C
    and Java.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Creating a form with variable table name(s)

    Hi,
    I am building a form that will allow user(s) switch to other user
    (s) dynamically. I have been able able to do this by creating a
    non-database table and use record group to read from the base
    table of each user.(All the tables in question have the same
    structure).
    Record group is a read only, and I want to be able to do data
    maninpulation with this form.
    The questions are
    (1) It possible to do data manipulation with record group and if
    it is, how?
    (2) Is it possible to build a form with a variable table name?
    if possible, how?
    Somebody pls help.
    Thanks,
    Olutunde.
    null

    Olutunde Babarinsa (guest) wrote:
    : Hi,
    : I am building a form that will allow user(s) switch to other
    user
    : (s) dynamically. I have been able able to do this by creating a
    : non-database table and use record group to read from the base
    : table of each user.(All the tables in question have the same
    : structure).
    : Record group is a read only, and I want to be able to do data
    : maninpulation with this form.
    : The questions are
    : (1) It possible to do data manipulation with record group and
    if
    : it is, how?
    : (2) Is it possible to build a form with a variable table name?
    : if possible, how?
    : Somebody pls help.
    : Thanks,
    : Olutunde.
    Hi,
    you can create and manipulate record groups at runtime(see Forms
    Reference 'Create_Group' and 'Add_Group_Row') don't use
    Create_Group_from_Query. For your purpose it's better to build a
    cursor loop on your Query and add your datas after
    manipulating with 'Add_Group_Row' to your Record Group.
    It's possible to SET_BLOCK_PROPERTY(QUERY_DATA_SOURCE_NAME) but
    it's not possible to change the item property 'Column Name'.
    Therefor I would suggest to build a non database block and
    populate these block by a programm unit, which works with a
    pl/sql cursor loop and the 'create record' to populate these
    block.
    null

  • How to browse MQ queue with variable length messages?

    I am trying to browse messages on an Websphere MQ queue using PL/SQL and Oracle Gateway for Websphere MQ (both 11g2)
    However, the (XML) messages are of variable length: they can be less than 1k or over 100k.
    I found that the pgm.mqget procedure is overloaded, so if the message is longer than 32k, you need to use the PGM.MQGET_BUFFER, and else you use the RAW variable.
    However, in order to know the length, you’ll need to browse the message first, to get the message length.
    If I try to get a message using the buffer variable, and the messsage is 32k or shorter, the program aborts with
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID= +<db_link_name>+
    ORA-06512: at "SYS.PGM", line 390
    ORA-06512: at "SYS.PGM", line 849
    If I try to browse a message longer than 32k using the RAW variable, the ‘mqget’ statement just hangs. I tried with and without setting the MQGMO option ‘mqgmo_acccept_truncated_message’.
    Any advise on how to solve this issue?
    Arnold

    I am trying to browse messages on an Websphere MQ queue using PL/SQL and Oracle Gateway for Websphere MQ (both 11g2)
    However, the (XML) messages are of variable length: they can be less than 1k or over 100k.
    I found that the pgm.mqget procedure is overloaded, so if the message is longer than 32k, you need to use the PGM.MQGET_BUFFER, and else you use the RAW variable.
    However, in order to know the length, you’ll need to browse the message first, to get the message length.
    If I try to get a message using the buffer variable, and the messsage is 32k or shorter, the program aborts with
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID= +<db_link_name>+
    ORA-06512: at "SYS.PGM", line 390
    ORA-06512: at "SYS.PGM", line 849
    If I try to browse a message longer than 32k using the RAW variable, the ‘mqget’ statement just hangs. I tried with and without setting the MQGMO option ‘mqgmo_acccept_truncated_message’.
    Any advise on how to solve this issue?
    Arnold

  • Can I combine 2 forms with different master pages?

    I have two forms that need to be in one PDF together, but have different master pages. The forms are flowed, so the master pages are necessary to keeping the header and footer content in place. Is there any way to combine two forms?

    Hi guys, I figured out a kinda fudged answer.
    You can make as many master pages as you need, the problem is getting them to appear on the correct pages. I couldn't get the flowing first page to be as long as it needs, then start using the second master page for the next section. If anyone knows how to do that, I still need to know.
    How I fudged this was I put the entire form on the master page in a table to position it correctly and keep it flowed. Then I set the master page to a minimum occurance of 1. - There you go. Not the right answer, but it works.

  • Pieces with variable lengths and Packing

    We have a scenario where a fabric is received from production in rolls and after quality it is cut and stored in multiple pieces with multiple lengths. We need to identify each piece individually.
    After storing, these pieces are then packed in different handling units i.e. pallets, rolls, bales, etc. depending on the customer order instructions. These are then stored for delivery. The requirement is to identify each handling unit along with the individual pieces packed so that it any given time it is viewed how much fabric is available in pallets and pieces for delivery.
    Please let me know how this can be handled in MM.

    Thanks For your reply guys,the above mentioned Scenario has been catered and it in the following way:
    I did it with the help of multiple level packaging.
    I actually considered the Piece length as a Packing material .
    Then In Hu02 select the material to be packed and the mention the partial quantity as a length and pack it in considered packing material.
    And then in Pack HUs tab select all the piece lengths to be packed and click on (NEW HU Per*H) and enter their the final packing unit and pack it.The system allocate the handling unit and that is the pallet number.
    Finally that can be attached to the delivery order.

  • JSP Form with Formatted Confirmation Page

    I have a basic form, and I would like to have a confirmation page pop-up when the user clicks that they are done. The confirmation page needs to have considerable formatting on it, and include the data the user inputted on the form. It also needs to have a "Continue", "Go Back" and "Print" buttons. Continue will tell the form to proceed with submitting the form to the servlet, Go Back will put the user back on the form, Print will bring up another JSP with the form data in printable format with print/email options. Upon exit from the print page they will be back on the Confirmation Page.
    The code below will allow for an OK, and Cancel button in the standard Message box, but this won't work.
    I am assuming I need to create another jsp for the confirmation page. But i am stuck on two issues. How can i ...
    1) Get the data onto the confirmation page from the form?
    2) How can I pass back to the initial form the value of what the user selected (Continue or Go Back) so i know whether to proceed with submitting the form, or staying put.
    Thanks for any help! I am very new to jsp programming.
    <FORM
    ACTION="http://www.mcfedries.com/scripts/formtest.asp"
    METHOD="POST"
    NAME="Monikers"
    onSubmit="return validate(Monikers)">
    Here's the JavaScript for this function:
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function validate(frm) {
    // Build the form data
    var formData
    formData = "First Name: " + frm.First.value + "\n"
    formData = formData + "Last Name: " + frm.Last.value + "\n"
    formData = formData + "Nickname: " + frm.Nick.value + "\n"
    formData = formData + "Stage Name: " + frm.Stage.value + "\n"
    // Show the data to the user
    return confirm("Here is the form data you entered:" + "\n\n"
    + formData + "\n"
    + "Do you want to submit this data?")
    //-->
    </SCRIPT>

    Does the problem persist if you upload All Files (and not just modified). Do you continue to receive the message even if you choose "After Sending: Stay on Current Page" option? If yes, a site URL would help in identifying the issue.
    Also try inserting a fresh form on a page/new Muse site and see if you're able to replicate the behaviour on different browsers.
    Thanks,
    Vinayak

  • Dynamic form with multiple master pages

    I have a 7 pg form that has different data in the footer area. I placed the footer info on it's own separate master page and set the page to the corresponding page numbers. I moved the content area above the footer section so my content can flow to the next page properly. But my problem is since I set the Pagination area to "Place: Top of Page "Page 2" and the rest accordingly, I'm getting an almost blank page with the data from the previous page and the next page pushes to a separate page of its own for every page. Not sure how to make the form flow continuous, this is my first time having to do a form this way. Typically I set the pages when I'm done to "Following Previous" instead of "Top of Next page" in the Pagination Place field for each section and everything works fine then. I've never had to deal with a different master page for each page in the form.
    Any help or suggestion would be greatly appreciated.
    Jim

    If you have 7 pages with different footers, wouldn't it be easier to have the footer also part of the body page instead of Master page.
    Unless you are adding dynamic content at runtime, you can keep the footer in the body page itself. That way you can avoid multiple master pages.
    If you still have issues, you can share the form, so I can have a look at it.
    Thanks
    Srini

  • Submiting a form with variables packed into an associative array

    I have a complex form created in flash that submits to a
    shopping cart. I was having trouble getting the variables in the
    right format for the shopping cart to accept.
    So I created a bridging script in php that fills in the
    hidden fields of a form then uses javascript to submit it to the
    cart. This works but I would like to submit the variables directly
    to the cart and eliminate the need for a bridge.
    At the moment I am simply using
    getURL("bridge.php", "_self", "POST");
    to POST the variables to the bridge.
    The bridge code is
    <?php
    $id[txt_1] = "$colortext";
    $id[txt_2] = "$xheight";
    $id[txt_3] = "$xwidth";
    $id[txt_4] = "$nopanels";
    $id[txt_5] = "$shutterstyle";
    $id[txt_6] = "$squarearea";
    $id[txt_7] = "$finish";
    $id[txt_8] = "$bifoldoption";
    $id[txt_9] = "$slidingoption";
    $id[txt_10] = "$hingedoption";
    $id[txt_11] = "$totalprice";
    $id[txt_12] = "$colorcode";
    $products_id = "28";
    ?>
    <form
    action="product_info.php?products_id=28&action=add_product"
    method="post" name="MyForm" target="_self">
    <input type="submit" name="Submit" value="Submit">
    <input name="id[txt_1]" type="hidden" value="<?php
    print($id[txt_1]); ?>">
    <input name="id[txt_2]" type="hidden" value="<?php
    print($id[txt_2]); ?>">
    <input name="id[txt_3]" type="hidden" value="<?php
    print($id[txt_3]); ?>">
    <input name="id[txt_4]" type="hidden" value="<?php
    print($id[txt_4]); ?>">
    <input name="id[txt_5]" type="hidden" value="<?php
    print($id[txt_5]); ?>">
    <input name="id[txt_7]" type="hidden" value="<?php
    print($id[txt_7]); ?>">
    <input name="id[txt_6]" type="hidden" value="<?php
    print($id[txt_6]); ?>">
    <input name="id[txt_8]" type="hidden" value="<?php
    print($id[txt_8]); ?>">
    <input name="id[txt_9]" type="hidden" value="<?php
    print($id[txt_9]); ?>">
    <input name="id[txt_10]" type="hidden" value="<?php
    print($id[txt_10]); ?>">
    <input name="id[txt_11]" type="hidden" value="<?php
    print($id[txt_11]); ?>">
    <input name="id[txt_12]" type="hidden" value="<?php
    print($id[txt_12]); ?>">
    <input name="products_id" type="hidden" value="28">
    </form>
    <script type="text/javascript"
    language="JavaScript"><!--
    document.MyForm.submit();
    //--></script>
    I am trying to create in flash 8 the equivalent of the above
    form using the function below.
    function submitvars() {
    var id: Array = new Array();
    id.txt_1 = colortext;
    id.txt_2 = xheight;
    id.txt_3 = xwidth;
    id.txt_4 = nopanels;
    id.txt_5 = shutterstyle;
    id.txt_6 = squarearea;
    id.txt_7 = finish;
    id.txt_8 = bifoldoption;
    id.txt_9 = slidingoption;
    id.txt_10 = hingedoption;
    id.txt_11 = totalprice;
    id.txt_12 = colorcode;
    var myvar:LoadVars = new LoadVars();
    myvar.id = id;
    myvar.products_id = '28';
    myvar.send("product_info.php?products_id=28&action=add_product",
    "_self", "POST");
    So far the variable products_id = ‘28’ transfers
    over to the cart fine but not the variables in the ‘id’
    array

    You're welcome.
    I've never used register globals, couldn't figure that out,
    thanks for explaining.
    The other way to do it if you want to send an array of simple
    data (usually all of one data type like string or number) is to use
    array.join("delimiter_sequence"); in flash. You can then assign it
    to a single property of your loadvars (e.g. 'id') and use explode
    in php with the same delimiter to recreate an array. This does not
    give you an associative array though, just a regular numeric
    indexed one.
    To send complex data like arrays and objects, you can use
    other encoding techniques. You can even use json: json.org has a
    json class(es) for flash and php 5 has json encoding/decoding
    support for example.
    Another way is to use amfphp and remoting, which does all the
    work for you. And of course, you have XML support as well at both
    ends, so you can always represent complex data in XML if you
    prefer. You may want to investigate these or other methods on
    future occasions.

  • Form with variable number of fields?

    I need to write a data entry form in JSF. It's the standard kind of things, a series of labels and textFields and checkboxes and so on.
    The number of items is not known in advance. It is data-dependent. There might be 1 label-value pair sometimes and 10 label-value pairs another time, depending on the data.
    To do this in JSF would I have to write a custom component? Using JSP and JSTL tags I would write a <c:forEach> loop, but it seems like that's not the right thing to do in JSF. Does anybody have experience with this, or an example that could get me started? Thanks.

    I think the table would handle the layout and repetition of rows. But if some of the input fields are text input and some are checkboxes or another type, how would I get the right type of input on each row? Do you have an example where the backing bean dynamically builds components, that I could look at? Thanks.

  • MaskFormatter with variable length

    I'm trying to create a MaskFormatter with the following mask:
    "AAAA AAAA AAAA AAAA"
    The user should be able to enter whatever he likes as long as it is automatically formatted with a space between each group.
    Valid combinations are:
    1234 45
    12
    FF12 5454 546
    etc...
    Further on, small letters should be converted to Uppercase when typing. How do I do this?
    I have already tried to write a custom VariableMaskFormatter as described in (http://forum.java.sun.com/thread.jspa?forumID=57&threadID=461577&start=3)
    but I doesn't work as expected.
    It only works if the placeholdercharacter which is used is also an allowed charachter when typing. But I don't want to make the space character an allowed character.
    How can this be solved?
    Thanks
    Fabian

    Thank you. I have been able to create a custom MaskFormatter which will dynamically adapt the mask based on what was entered.
    But I still have two open issues:
    1. How can I do so that all smaller letters are converted to captital letters when typing? Normally you would use the letter "U" in the mask, but, users should be able to enter a alphanumeric character, so I use "A" instead.
    2. Cursor problem:
    - How can I make delete and backspace button act as if it was in a notepad? If I press delete, charachters at the right from the cursor should be deleted and the cursor should not move forward.
    Please find below some code samples.
    package test.component;
    import java.text.ParseException;
    import javax.swing.text.MaskFormatter;
    public class VariableLengthMaskFormatter extends MaskFormatter {
        public VariableLengthMaskFormatter() {
            super();
        public VariableLengthMaskFormatter(String mask) throws ParseException {
            super( mask );
         * Override the setMask method
        public void setMask(String mask) throws ParseException {
            super.setMask(mask);
         * Update our blank representation whenever the mask is updated.
        public void setPlaceholderCharacter(char placeholder) {
          super.setPlaceholderCharacter(placeholder);
        /* (non-Javadoc)
         * @see javax.swing.text.MaskFormatter#stringToValue(java.lang.String)
        public Object stringToValue( String value ) throws ParseException {
            Object rv;
            // Get the mask
            String mask = getMask();
            if ( mask != null ) {
                // Change the mask based upon the string passed in
                setMask( getMaskForString( mask, value ) );
                // Using the substring of the given string up to the mask length,
                // convert it to an object
                rv = super.stringToValue( value.substring( 0, getMask().length() ) );
                // Change mask back to original mask
                setMask( mask );
            } else
                rv = super.stringToValue( value );
            // Return converted value
            return rv;
         * Answer what the mask should be for the given string based on the
         * given mask. This mask is just the subset of the given mask up to
         * the length of the given string or where the first placeholder
         * character occurs in the given string. The underlying assumption
         * here is that the given string is simply the text from the
         * formatted field upon which we are installed.
         * @param value The string for which to determine the mask
         * @return A mask appropriate for the given string
        protected String getMaskForString( String mask, String value ) {
            StringBuffer sb = new StringBuffer();
            int maskLength = mask.length();
            char placeHolder = getPlaceholderCharacter();
            for (int k = 0, size = value.length(); k < size && k < maskLength ; k++) {
                if ( placeHolder == value.charAt( k ) ) {
                    //break;
                    sb.append(' ');               
                } else {
                    sb.append( mask.charAt( k ) );
            return sb.toString();
             MaskFormatter theRekFormat = null;
             try {
                 theRekFormat = new VariableLengthMaskFormatter( "AAAA AAAA AAAA AAAA" );
                 theRekFormat.setPlaceholderCharacter(' ');
                 theRekFormat.setValueContainsLiteralCharacters( false);
             } catch (Exception ex) {
                 System.out.println(ex.toString());
             JFormattedTextField myMaskAccount = new JFormattedTextField(theRekFormat);
              myMaskAccount.addKeyListener(new KeyAdapter(){
                            public void keyReleased(KeyEvent ke){
                              if(ke.getKeyCode() == KeyEvent.VK_DELETE) {
                                  myMaskAccount.setCaretPosition(myMaskAccount.getCaretPosition()-1);
                              } else {
                                  System.out.println("listening to key: " + ke.getKeyCode());
                              }}});

Maybe you are looking for

  • Creation of bidder in Statergic souring

    My business scenario is linke this I need to get an RFI and then RFP and then RFQ followed by contract creating in SRM which will have to be distributed to ECC as Scheduling agreement. 1. From Statergic sourcing role if i create a business partner it

  • Failed to oracle 11g   databade

    Hi,I can't get the "OK" when I used the "tnsping" command,and I got the failed information as follows,so I need your help ,thanks a lot! C:\>tnsping orcl.am.mot.com TNS Ping Utility for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUL- 010 1

  • Email Sender Name not changed as per note-788626

    Hi, We have scenario where WebApplication are posting orders into ECC via SAP XI in the form of IDOC. Once Orders are placed in ECC, we want to send confirmation email back to web customers with Order number. As per note#788626, We have put in the lo

  • JDeveloper 9i for Oracle 11i 10 with RUP4

    Hi, I am trying to download JDeveloper patch 9i with OAF extension for Oracle Apps 11i 10 framework with RUP4. I am having issues with finding the right patch number as metalink says different patches in different pages. With the one I downloaded, I

  • Clearing history erases favicons

    When clearing search history the favicons (I think that's what their called) in favorites is cleared back to the generic icon. Is there a way to clear search history without this happening?