Creating new text field dynamically

Hi,
can anybody let me know how can we create new text fields dynamically in JSF.
Basically the GUI will have a button/command link ,when clicked should create a new text field and then when the user enters any value in the new text fileld the formbean should be able to capture the value.
so the user will have the choice of creating any number of text fields depending on the requirement.
is javascript the only solution for this or can we do this JSF also?
Thanks in advance.

You may find this article useful then: [http://balusc.blogspot.com/2006/06/using-datatables.html]. The 'add new row' example is described here: [http://balusc.blogspot.com/2006/06/using-datatables.html#AddNewRowsToDatatable]. If it concerns only one field, just use only one column. You can for instance even use List<String> instead of a List<RowObject>.

Similar Messages

  • Pulldown selection creates new text field in a form

    I have a set of dynamic select menus that are built using Kaosweaver's http://www.kaosweaver.com/extensions/details.php?id=88
    Thanks to Kaosweaver, it works fine.  However, I was wondering how someone could have an extra text field popup in a form if certain values from a list/menu are selected.  In my case it would be from the 2nd half of the dependent drop down but I would assume the logic would be the same even if someone was not using a dynamic select but instead just a regular list/menu.
    Is this possible?  I am using Dreamweaver CS4.  Also if there is an alternate strategy to use in this situation then I would like to hear suggestions.  The basic premise is that a couple values in a select list would need an additional text field to be collected for the form.

    Thanks for replying!
    You know the weirdest thing just happened....I opened the PDF again to make sure it's the correct one to upload and have you take a look and as if by magic, I typed into the fields and now it doesn't disappear!!! I didn't restart any App, nor did I reboot my Mac....weird!!!!! Anyhow, I guess there is no longer an issue. I need a few minutes to finish the form and then I'll check to see if the issue comes up again. If it does, I will definitely upload the PDF and have you take a look at it.
    Thanks again!!

  • New Text Field To Be Added in Audit Management

    Hi All,
    I need to create new text fields in addition to the existing fields in Audit Management screen for all the audit components in the TEXT TAB in transaction PLMD_AUDIT.
    I would like to know is it possible or not and if not possible then what is the alternate way to include more inofrmation.
    Will be rewarded...
    Regards,
    Ram.

    Hi Ram,
    New text field can be added in the texts tab of plmd_audit transaction  is achieved by ,
    1) The following entries has to be maintained in the view V_TTXIDI Object, Id, Meaning.
    Object-select cgpl_text
    Id : you need to define(this id you will refer in the initial value of the attribute in the BADI-name of your text field).
    Meaning : short description of your BADI.
    save your entries & activate it.
    2) Implement this BADI "PLM_AUDIT_TEXT_ID"
    within the method "GET_TEXT_IDS" we need add our code for adding the new text fields.Within this method the code for standard text fields would be existing.
    3) In the attributes tab of the ZCL_DEF_IM_PLM_AUDIT_TEXT_ID -class interface ,you need to pass the initial value,which has been defined in the view "V_TTXIDI".
    4) Finally activate your BADI.The newly added text fields would be available in the PLMD_AUDIT tcode.
    Hope this solves your requirement.
    Regards,
    Keerthi

  • How to create new text type in PLMD_AUDIT

    Hi All,
    I need to create new text fields in addition to the existing Text types in Audit Management screen for all the audit components in the TEXT TAB in transaction PLMD_AUDIT.
    guide me.
    With Regards,
    San Rao

    Hi san. rao
    If you need to create that, you need to go ABAP development. In sap Audit management is not a sophasticated tool for all kind of audits. In the Audit component only you will find the extra text type Audit location. other than that you will find description and note.
    thanks &regards.,
    kamal

  • PHP/MySQL: 'Add New' text field from menu in form

    I am creating an events posting website. I'm having a hard time finding the right words to describe this, but: I'd like the user to select a venue from the drop menu, but then if it isn't there, to select 'add new' from the dynamic menu, and have a new text field activate where they can enter in the new venue name. My database is currently set up so the event table links to the venue table through a venueID. Is there a way to insert the name from the new text field into the venue table, and have the rest of the form still submit to the event table? Sorry this is so wordy, but I'd appreciate any help. Thank you.

    You cannot add a new value to a related table at the same time as inserting a record. So, to do this, you would need to use both JavaScript to add the new text field, and PHP conditional logic to handle the update to both tables. It's certainly doable, but not with the Dreamweaver server behaviors. You would need to do a lot of hand-coding yourself.
    The way that I approached a similar problem in my "Essential Guide to Dreamweaver CS4" was to permit NULL values in the column that holds the foreign key, and insert nothing into that field if the value hadn't already been registered in the related table. I created a static value in the dynamic menu for "Not registered".
    After inserting the new record with "not registered", the user then needs to enter the new value in the related table.
    Once that has been done, display a page that lists all records. In the SQL, I use a LEFT JOIN to ensure that "not registered" items come up as well. You can then edit the item to add the value from the dynamic menu.
    It's not the most elegant way to do it, but it works if you don't have the skill or time to hand-code all the logic yourself.

  • Adding a new text field in Shopping Cart screen

    Hi,
    I am new to SRM and I am working on SRM 5.0
    My requirement is to add a text field for buyer's note with unlimited length similar to Approver's note in Shopping Cart screen.
    I have seen in the forum that many have done this earlier and i need step by step procedure to complete this task.
    I am able to create text field in Text Schema, but this field is not reflecting in shopping cart screen. Do i need to do any thing extra apart from maintaining in Text schema?
    Can you please send the detailed procedure to do this task?
    Thanks in advance.
    Regards,
    Vamsee

    Hi Saritha,
    Thank you for your help. In fact, i have gone through this link and followed the steps there. But, the Text ID is not reflecting in my shopping cart.
    We are using SRM 5.0. The requirement is to add a new text field with unlimited length similar to the existing Approveru2019s note field in Shopping Cart screen at header level.
    I have followed the steps mentioned below.
    1.Go to SRM IMGSRM Server->Cross-Application Basic Settings->Text Schema
    2.Execute Define Text Types and then select the entry BBP_PD Text Object and click on Text Type.
    Here, create new entry for ID as ZHTXT and Description and save it.
    3.Execute Define Text Schema and then select the existing Text Schema SC ( Shopping Cart) and click on Texts for Schema.
    Here, assign the newly created Text ID with details Header/Item etc.
    4.I am not executing the last step Define Fixed Values for Texts, as the Text Schema SC is already assigned Transaction Type Transaction Type SHC.
    Please suggest do I need to perform any extra steps apart from Text Schema to reflect the Text ID which I created in my Shopping cart screen? Or do we need to code anything on ITS side?
    Thanks in advance.
    Regards,
    Vamsee

  • How to create new text symbols for the standard program.

    Based on the customer's requirement, I need to create a new implicit enhancement for the selection screen.
    I want to create new text symbols for the parameters and blocks, but I cannot change the standard ones.
    Does anybody know something about that? Thank you.

    hi ming yu,
    example : %_MATNR_%_APP_%-TEXT -> this is the material  description name in mb5b
    change the description in ur enhancement implementation
    %_MATNR_%_APP_%-TEXT = 'Material'
    it is works only input/output field
    Thanks&Regards,
    naveen

  • Bex Broadcasting Wizard : Create new text varaints

    Hello
    Can someone tell me the process of creating new text variants which can be used in the subject and content fields in the bex broadcaster Wizard. I can see some standard text variants there but need to create my own.
    Thanks

    We have same problem after upgrade to BI7.  SAP responded to our OSS note indicating Timepoints using factory calendar restrictions are no longer supported -- as a result, they do not show them from Broadcaster setting-schedule context menu.  They stated we need to come up with our own workaround.  Here's one approach from another thread, but something has to be added to look at the factory calendar:
    Re: Broadcasting timepoint scheduled after an event  
    Posted: Jan 16, 2006 6:40 PM    in response to: Andy Hensel
    Reply
    Solved this on my own.
    First create and save a broadcast setting for the query to be broadcast.
    Next, create a variant for program RSRD_BROADCAST_STARTER with the technical name of the broadcasting setting that you created earlier in the selection options for field SettingID. Leave the rest of the fields blank.
    After creating the variant, create a process chain where the start process is scheduled after the desired event. Add an ABAP program process to the chain. Specifiy program RSRD_BROADCAST_STARTER as the ABAP program using the variant you created earlier.
    Now you can activate and schedule your process chain. When the specified system event and parameter are triggered, the broadcast will run.

  • How to create a Text Input Dynamically

    hi,
    I have to create a text input dynamically.
    I have use follwing code but its nt working
    OAMessageTextInputBean oamessage=new OAMessageTextInputBean();
    oamessage.setLabel("Table Name");
    oamessage.setMaximumLength(30);
    oamessage.setID("TableId");
    Can ny body share ur thoughts
    Thanks
    Nani:)

    Hi Nani,
    OAPageLayoutBean pagelayout=(OAPageLayoutBean)webBean.findChildRecursive("PageLayoutRN");If your code is for top most controller of page, above line possibly returns null because webBean itself is "PageLayoutRN" so no other child with "PageLayoutRN".
    please use webBean.addIndexedChild as told by gaurav.
    In case the above controller is not associated with pageLayout region and the need is to add the new child under pageLayout then use pageContext.getPageLayoutBean().
    Optionally you can just replace quoted line in your existing code with this one and that should work.
    OAPageLayoutBean pagelayout=pageContext.getPageLayoutBean();Abdul Wahid

  • To create a text field in IDOC

    Hi,
    My requirement is The newly configured Text field to contain the NxTrend Po number needs to be available in EDI 850 IDoc for XI maps the value to the field.This field should be available in the IDoc so that the value of end customeru2019s PO can be mapped there.
    The changes are only required for NxTrend and do not need to be made for regular EDI customers. The message ID for NxTrend is NXT_ORDERS.
    I am new to IDOCS.Can anyone tell me how to create the text field in the IDOC?

    Hi,
    To add a field in the IDOC  you need to go for EXTENSION OF IDOC.
    Please check this link
    http://www.****************/articles/ALE/IDOCExtension/IDOCExtension.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f4943d711d1893e0000e8323c4f/content.htm
    Re: Extension of Idoc segment
    IDOC extensions
    Best regards,
    raam

  • How to add new text field in standard report

    how to add new text field in standard report?

    Hi,
    I presume you are talking about a report display in ALV and u wish to add a column to it .
    If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
    Otherwise , you can make a Z program . Modify the catalog being used in ALV.
    Regards,
    Shweta

  • How do I create a text field the scrolls mutliple pages in Adobe Pro XI

    How do I create a text field that when filled in the alloted space on one page it opens a second page?

    Search the forum for "auto tab"...

  • How can I add a "Create New Text File" contextual menu?

    Hi,
    I'd like to add a "Create New Text File" contextual item. I found the "new text file" action in Automator, but I don't really know where to go from there... I want it to work on the desktop and in finder...
    Thanks

    See:
    Mac OS X Automation,
    Automated Workflow Tips,
    Introduction to Automator tutorial, and
    a four-parter on Automation in Snow Leopard by Sal Saghoian:
    Snow Leopard Services,
    Services for iPhoto,
    Safari and WebKit integration, and
    Installing and using services.
    Finally, 
    Developing AppleScript Applications and
    Apple's Automator Developer Documentation

  • Creating & Moving Text Fields Causes Delays/Slowness

    Maybe it's my computer, but I'm trying to create a simple PDF form using only text fields and it's very slow going. I'm adding the text fields to a 4MB PDF created in Illustrator that includes hi-res JPEG-compressed images. I need the file to be hi-res for end-user printing. The problem arrises right off the bat when I go to insert my first text field. I get the text field placed and then my curser goes to the watch, then the twirling beach ball. This lasts for about 30 seconds before I can even edit the formatting/properties. Once the program is done thinking, I go to create another text field. Sometimes this too requires 30 seconds of spinning beach ball and sometimes not. Either way, it's painfully slow as I have a couple dozen of these to add and tweak. I don't want to wait 30 seconds every time I try to tweak something. I'm running with 8 GB of RAM and while my Mac Pro is 4 years old, it has a 2 x 3 GHz Quad-Core. I'm running CS5 with Acrobat Pro.
    Is there a setting I could be using that could help speed things up? It just seems strange that the computer/program has to do so much thinking after each placed text box... especially since there are no formulas/calculations being used. Unfortunately, I don't usually use Acrobat or create forms, so I'm somewhat of a novice user despite being a 20-year Adobe user.
    And I suppose if the problem is the size of my original PDF created in Illustrator, can I create the form on top of a much lower res PDF and then transpose the form to the higher res version for distribution?
    Thanks everyone!
    Abby

    I suppose a possible solution is if there's a way to add the text form fields in Illustrator... or if there's a way to add an invisible marker (besides adding a rule line) that Acrobat will automatically read as a text field location?

  • Does anyone know how I can create a text field in a pdf document that will multiply a total in another box?

    does anyone know how I can create a text field in a pdf document that will multiply a total in another box? I’m making an interactive pdf for an order form (attached), and I need to find a way for the “total quantity” number to multiply by 9 and total in the “Amount Due” box.

    Hey Gary,
    Have a look at this post: Re: horizontal scrolling similar to excel
    Andy's reply will show you how to make a table scroll horizontally, but it will be tough to accomplish it in some sort of easily replicable way. I am working on a JQuery extension that will help accomplish this, but I have had my time invested in another project at the moment.
    Good Luck,
    Tyson

Maybe you are looking for

  • Trying to install update checking for current does not respond

    FIREFOX 6.0.2 exe when installing and while checking the current version takes a long time and seems to be blocked and/or it takes a longer time than I would expect. Finally I am informed that it is not responding.

  • Oracle 8i database-Date format

    hello i got my database in mssql server, now we want to shift to Oracle8i, while accomplishing above task, i am not able to export date type data from mssql to oracle8i, because of date format mssql date format is "07/21/2001" and oracle8i, format is

  • TRFC queue needs to be automatically restarted after errors

    transaction SMQS, tRFC queue.  We have documents being sent from the tRFC queue which when an error is encountered, then the tRFC queue needs to be restarted manually.  Is there a way to have this queue restarted automatically after an error is encou

  • AD ACE Script

    Hi, Powershell formatting... I have an incredible headache.  Anyways, what I'm trying to do seems easy enough, but I've just spent hours on trying to format it correctly. We have a ton of mail enabled groups that are broken because of Exchange 2010 n

  • ALV Grid: exclude a menu button

    Hello, I have a strange problem here: I'm excluding several buttons and menu buttons from the default alv grid toolbar. But one the the menu buttons doesn't behave like the others. cl_gui_alv_grid=>mc_fc_views and cl_gui_alv_grid=>mc_mb_view both rem