To load text area by clicking on a button

Hello Experts,
In my application, i want to add a text area to add comment.
I will provide one button to add comment. When I click on it, it should load a text area with submit button.
After typing some text in text area and click submit, it needs to insert into the database.
How to do it. Please help me.

Hi,
just add a hidden variable called P1_SHOW_COMMENT and create for your submit button and your text area a condition which checks if variable is set to "yes".
Default value is "no" or empty. On button click set item P1_SHOW_COMMENT by pl/sql process to "yes".
Best regards,
Tobias
http://apex-at-work.blogspot.com

Similar Messages

  • New loaded apps are working but the app button shows only grey - please help

    New loaded apps are working but the app button shows only grey - please help...I have this problem since 3 days ago. I have synchronized and restart my iPad but the matter didn't changed

    well in thatcase, i need another help .
    thanks for your instant reply.
    i have currently bought a new laptop (windows 8) and my iphone is not being recognized by itunes.
    because i have no backup on my previous laptop, i downloaded touchcopy but even touch copy is not recognizing my iphone.

  • Master data load: texts are not loaded

    Hi friends,
    Trying to load BW Hierarchy(0COSTCENTER) to BPC dimension(P_CC).
    Loadedd master data & text data using package "Import master data from BI infoobject"(/CPMB/IMPORT_IOBJ_MASTER), but EVdescription (texts) are not uploaded ino BPC dimension (P_CC).
    Because of above error, when i try to load hierarchy(0costcenter), sytem throwoing one more error(JScrpit evaluation error).
    Now i want to load texts into P_CC. ours is bpc 75nw sp10.
    Found 2 notes, but these are related to older support packges
    1462732 u2013 DM: text node descriptions canu2019t be imported.
    1531601 - Incident 737084 / 2010 / text nodes aren't loaded
    Transformation file:
    *OPTIONS
    FORMAT = DELIMITED
    HEADER = YES
    DELIMITER = TAB
    AMOUNTDECIMALPOINT = .
    SKIP = 0
    SKIPIF =
    VALIDATERECORDS=YES
    CREDITPOSITIVE=YES
    MAXREJECTCOUNT=-1
    ROUNDAMOUNT=
    *MAPPING
    ID=ID
    CURRENCY=0OBJ_CURR
    *CONVERSION
    DM package run:
    Infoobject: 0COSTCENTER
    set selection: Attributes Controlling area = SP00
                           Hierarhcy: import text node(yes), selected hierarchy, version(empty),memberid(SP001170),level(not filled)
                           language: English, medium description,
                          attiribute list: currency(0OBJ_CURRENCY),controlling area
    fileter by attributes or hierarhies option selection,
    Mode: Update
    Format: internal
    Dimension: P_cc
    package ended with error
    Failed to write text of master data; check the error message
    checked BPC dim, only member ID & currency is updated, but not evdescription.
    Can you please share valuable inputs.
    thanks,
    naresh

    resolved problem.
    Packages given bpc7.5 nw sp10 are is exactly working.
    Mapping section:
    ID=0CO_AREA+ID
    CURRENCY=0OBJ_CURRENCY
    becoz base members are automatically added with controlling area in BW hierarchy on 0costcenter.
    Followed method given in how to guide.

  • When I try to access a web page or link from a web page I receive an error message like "Server not found" or "Unable to connect." After repeated "try again" attempts the page will load, but when I click on a button or link, the same thing repeats. Why?

    When I try to access any web page or any link from a web page, I receive an error message such as "Server not found" or "Unable to connect." After repeated "try again" attempts that the page will load, but as soon as I click on a button or link, the same thing repeats. Any suggestions?

    When I try to access any web page or any link from a web page, I receive an error message such as "Server not found" or "Unable to connect." After repeated "try again" attempts that the page will load, but as soon as I click on a button or link, the same thing repeats. Any suggestions?

  • How can i enable the html:text box when clicking the html:button

    Hi,
    i have a text box which is disabled defaultly and i want to enable it when i click on submit button.
    <html:button property="new" value="new">
    <html:text property="name" disabled="true"/>
    how i will enable that text filed? please tell me?
    Thanks,
    swarupa

    try using javascript onclick attribute:
    onclick="document.form.name.disabled=false"
    m

  • Corrputed loaded text from an Export Datasource with Unicode

    Hi Experts
    I am new with BW and this forum helped me a lot in the past year.
    I am loading texts to an InfoObject using a Master Data (texts) Export DataSource from another InfoObject. The system is NetWeaver 2004s (BW 3.5) with Unicode.
    The InfoObject's Text MD is Language Dependent but users enter the system only with EN language.
    For some reason the loaded texts are corrupted.
    For example:  The original InfoObject has Hebrew texts (that were loaded perfectly from the source system which is also Unicode), but the text in the PSA table and in the text table of the target InfoObject will be: ###########
    Can anyone help?

    Hi Niraj
    Thanks for your answers
    Let me explain:
    Currently, we load texts with Hebrew chars from the SAP ECC6 system and everything is good (we see Hebrew chars in SAPGUI/BEx/WAD etc.)
    The problem occurs when we load these texts from one InfoObject to another, via Export DataSource.
    To do that, We generated an Export DataSource for the original InfoObject and assigned it to the target InfoSource of the other InfoObject. After running an InfoPackage for this DataSource, the texts that were loaded to the PSA (and hence, to the target InfoObject texts table) were corrupted - which means that they appeared: ##########
    Thanks,
    Yaniv

  • Applets and Text Area

    Howdy,
    I would like to display two variables. How hard could it be?
    Is there something I am missing? Something I havent decalred?
    The init method creates a simple button and text area. Then when the button is clicked
    it perform an action. Calls a method within action then I want to print the results.
    Im very new to Applets. Any advice
    Button Btn;
    TextArea ta;
    double var1;
    double var2;
    public void init(){
    testBtn = new Button("Start");
    TextArea ta = new TextArea("Click the 'Start' button to run the test", 4, 30);
    add(Btn);
    add(ta);
    public boolean action (Event e, Object args){
    if (e.target == Btn){
    // a call to a method, value comes back then I display the variable in the Text Box
    ta.append("Variable 1: " + var1);
    ta.append("Variable 2: " + var2);
    return true;

    This version should run just fine. Some comments:
    1 - the action method has been deprecated, ie, it isn't used anymore. What we do now is add an ActionListener to the button. When the button is pressed java looks in the actionPerformed method to find out what to do. The java tutorial has a good lesson on this, recommended.
    2 - I added a main method so you can run this on the command line like an application. Also you can run it as is with appletviewer.
    /*  <applet code="AppletTest" width="400" height="400"></applet>
    *  use: >appletviewer AppletTest.java
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    public class AppletTest extends Applet implements ActionListener
        TextArea ta;
        Button addTextButton;
        double var1, var2;
        public void init()
            ta = new TextArea(4,30);
            addTextButton = new Button("add text");
            addTextButton.addActionListener(this);
            Panel north = new Panel();
            north.add(addTextButton);
            var1 = 123.92;
            var2 = 12.5;
            setLayout(new BorderLayout());
            add(north, "North");
            add(ta);
        public void actionPerformed(ActionEvent e)
            Button button = (Button)e.getSource();
            if(button == addTextButton)
                ta.append("Variable 1: " + var1 + "\n");
                ta.append("Variable 2: " + var2 + "\n");
        public static void main(String[] args)
            Applet applet = new AppletTest();
            Frame f = new Frame();
            f.addWindowListener(new WindowAdapter()
                public void windowClosing(WindowEvent e)
                    System.exit(0);
            f.add(applet);
            f.setSize(400,400);
            f.setLocation(200,200);
            applet.init();
            f.setVisible(true);
    }

  • After aborted rebuild in Mail: I can see and select the message in the center pane and when I click on it to display, I get "Loading" text, but nothing comes up

    I have searched quite a bit to find a resolution to this problem, with no success. Any help would be appreciated.
    I decided to rebuild my inboxes by following this advice: http://support.apple.com/kb/PH11704. The rebuild took several hours and at 96% (4 minutes remaining apparently), the indexing froze (that is, after 8 hours, the message was still telling me "4 minutes left"). I forced quit mail, restored the previous Envelope files from the trash, and everything seemed fine.
    However, since this failed attempt, I can see and select the message in the center pane and when I click on it to display, I get "Loading" text, but nothing comes up. All messages in my various inboxes have the reloading problem, EXCEPT messages that I downloaded since the aborted rebuild (in other words, there are about 40 messages that I downloaded since I tried the rebuild and I have no problem with these). The other 70,000 messages however wont load, even though I can see them in the centre pane and spotlight has no problem finding them and showing me their contents (when I hover the mouse over the message). When I click on the message in spotlight, mail opens and the loading problem re-occurs.
    Since then, based on various suggestions I found for similar issues, I have used Disk Utility to verify and repair permissions and the drive. I used Onix to rebuild the Mail index (that only took about a minute - I am not sure how to interpret this when compared to the hours the rebuild took with Mail). No joy, I still have the same problem. I even restored one of my inboxes via Time Machine and the same issue with loading continues.
    I am using ML 10.8.2. I have a combination of IMAP accounts (work) and POP accounts (personal). The issue of loading occurs irrespective of the account.
    I am baffled and am now considering migrating to either Thunderbird or Postbox 3 to try and solve my problem. I prefer to stay with Mail. I should note also that I am using MailTags with Mail (http://www.indev.ca/MailTags.html), although I have not used any of the features. I upgraded to ML from SL about 2 weeks ago. It was very smooth and there appear to be no issues (not sure how helpful this is and probably not at all related to this issue).
    Any suggestions much appreciated!

    Maybe these will help:
    https://discussions.apple.com/message/17677533#17677533
    https://discussions.apple.com/message/18324129#18324129
    https://discussions.apple.com/message/18203126#18203126

  • Simple Right-click menu in Text Area

    How can I simply implement a right-click menu with
    the options copy-paste on a text area or editor pane?
    I believe there must be ready code for sth like that.

        protected void createPopupMenu ()
            mMenu = new JPopupMenu ();
            cutOption = mMenu.add(new JMenuItem("Cut"));
            cutOption .addActionListener ( new ActionListener ()
                public void actionPerformed ( ActionEvent e )
                   //do cut here
            copyOption = mMenu.add(new JMenuItem("Copy"));
            copyOption .addActionListener ( new ActionListener ()
                public void actionPerformed ( ActionEvent e )
                   //do copy here
            pasteOption = mMenu.add(new JMenuItem("Paste"));
            pasteOption .addActionListener ( new ActionListener ()
                public void actionPerformed ( ActionEvent e )
                   //do paste here
            });when you instantiate your textarea or editpane add this line:
            createPopupMenu (); //popup menu for right clickshould work perfectly

  • How can I remove the default right click option of the text Area control?

    How can I remove the default right click option of the text Area control?
    Is there any way to disable this control in any of the text controls available?

    The iPhone does not store email addresses for received mail. The iPhone stores all email addressees for sent mail in a list of previous recipients. The list of previous recipients is not synced with Outlook or any address book, but the list of previous recipients is included with the iPhone's backup which is updated by iTunes as the first step during the iTunes sync process. The auto-addrss feature pulls from your contacts on the iPhone and from the list of previous recipients.
    Different from the Mail.app on a Mac, there is no access to the list of previous recipients on the iPhone to remove a previous recipient from the list, or to add a previous recipient to contacts that is not already entered - not at the present time anyway.
    The only way to purge the existing list at the present time is by restoring your iPhone with iTunes as a new iPhone or not from your iPhone's backup.
    Hopefully access to the list of previous recipients will be included with the iOS 5 update.

  • When I type I cannot add text when I select the text area and double click. Why?

    When I type I cannot add text when I select the text area and double click. Why?

    Premiere Elements 11  trial version for macMac computer photos uploaded to the timeline just finetrying to make a new title, streaming or in a framedouble clicked on the text in the box and nothing shows up when I type on my keyboard. I can delete the words that are there but not type in new ones. I selected the type and size, etc.
    Thanks if you can figure it out. I gave up!
    I may just un-install it all together if I can't get to work.Joanne
    Date: Thu, 9 May 2013 17:59:08 -0700
    From: [email protected]
    To: [email protected]
    Subject: When I type I cannot add text when I select the text area and double click. Why?
        Re: When I type I cannot add text when I select the text area and double click. Why?
        created by A.T. Romano in Premiere Elements - View the full discussion
    Joanne Murray J2 What version of Premiere Elements are you using and on what operating system (including 32 or 64 bit) is your Premiere Elements installed? Forgive the questions if you have been there and done that, but I do not want to take anything for granted that might hinder a speedy resolution to your issue. Are you opening an already created title that is sitting on the Timeline in order to edit it in the Titler or are you trying to create a new Title (Default Text or other)? Do you know how to work with the Selection Tool and Type Tool in the Titler? Once I know what version of Premiere Elements that you are using, I will give you specific how to details. Thanks. ATR
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5307494#5307494
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5307494#5307494
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5307494#5307494. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Premiere Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • When I select a title or lower thirds and try to enter text by double clicking on it I cannot enter any text at all. Also the text area box does not show up at all where you can enter text also.

    When I select a title or lower thirds and try to enter text by double clicking on it I cannot enter any text at all. Also the text area box does not show up at all where you can enter text also.

    It's a bit hit and miss, Walter. Sometimes the box to enter text shows up straight away in the inspector under "text". Other times, although you click "text" in the inspector, there's nowhere to actually write anything.... then what you have to do is move the trackbar over the Title Box until you see the text boxes in the main Viewer. In the Viewer, double click a text box.... you can enter text there, but it's a bit flaky, but when you've clicked in it, you'll find that under "Text" in the inspector, the box for inputting text has magically appeared!
    I'm not sure if anyone else has this trouble, but it is a bit of a pain!

  • On click of lov new jsp page which has only text area for adding comment

    hi all ,
    please help me to do this task. on click of lov new jsp page should be opend which has only text area for adding comment and upon clicking submit on the jsp page the value entered on the textarea should fall on the text field of lov.
    with regards
    prabhakaran.p

    The only reason I see for such a requirement is "Notes" require more space for entering a detailed note and would be inconvenient to write it in small single-line text input box. But, still in this case, getting the entered text back to the page and displaying it will have the same inconvenience of reading it from that field. And, I still think that removing one amongst the two (text field or image link) would be good, design wise.
    Anyway, did u try the following:
    1. Add a flow layout to the table bean
    2. Add text input and image item to the flow layout.
    3. Attach the notes page as the destination uri for the image.
    Did u start the working on it, let us know how far did u reach so that we can guide you through from that point.

  • Read Only Display of Radio group and Text area with counter not working

    Hello,
    I am using Apex 3.2, with 10g for the database
    I have this form, with fields that will set to read only when status = 'closed'
    All of the fields display as read only except for 2. I cannot figure out why this is not working correctly.
    1st field is Issues that is a text area with character counter, with a sql query behind it, that is set to null unless the query is pulling in the data.
    2nd field is Status which is a radio group that will not display as read only when status = 'closed'
    I have other fields on the form with the same format and they change to read only when the status = 'closed', I have even copied the pl/sql expression from one field to these fields and it still doesn't work correctly. I have also tried javascript for an on load event, which works, but once I click on the save button, it disables all of the page items, which works correctly, but I purposely forget to enter information, to make sure the validations are firing correctly, which it does, but the script disables everything, not allowing me to correct the errors. The javascript is firing on the on page load event.
    Any help on this is greatly appreciated.
    Mary

    Dung,
    That API seems to have a bug, it returns true/false/null, so you could use 'return not nvl(htmldb_util.current_user_in_group(p_group_name => 'APP Admin'),false)' to get a false value.
    Unfortunately there's another problem: using the read-only attributes for checkbox or radiogroup item makes them hidden. My suggestion would be to create another item that has disabled="disabled" in the HTML Form Element attribute in the item definition and display that item or the non-disabled item alternately, using conditions based on the current_user_in_group logic.
    Scott

  • How to make mouseover scroll buttons attached to textarea with external loaded text ?

    Hi,
    I am working in Flash CS3 and AS3, and I'm not good in
    scripting.
    I want to make a dynamic textarea with loaded text from an
    external textfile, and then I want custom made arrow buttons to
    start scrolling the loaded text on mouseover (not click) andt stop
    scrolling on mouseout. Ala like in this webpage:
    http://boomjinx.com/
    The part with the loaded text is fine, but I can't manage to
    script the arrow buttons to do what I've just described. Even
    though I have searched the Internet for recipes I just find how to
    scroll loaded text on click or with a scrollbar. This problem is
    starting to drive me crazy!! Is there anyone that have a recipe for
    this??

    Here's one approach:
    First you need to create a dynamic mutline textfield that has
    autoSize properties set to handle a varying amount of text.
    Then you need to embed the font because you are going to use
    a mask over the textfield to define the viewable area of it.
    Then you will use the buttons to change the textfield's y
    property to move the textfield up/down vertically. You will
    probably need to use an ENTER_FRAME event handler so that a
    continuous hovering of a button will cause the textfield to
    continue moving until it either reaches one end or the other or
    when the hovering ends.
    Before you try to tackle that though, just make it so that
    hovering a button will cause the textfield to move up or down one
    increment of distance. Just take it one step at a time.

Maybe you are looking for

  • 0xC0380013 error while restoring Windows Server 2008 R2 backup

    Hello! I have a Bare Metal Backup from phisical mashine with Windows Server 2008 R2 system. The machine has a 500GB disk with 200GB system volume. The disk is configured as dynamic. I also have prepared Virtual Mashine with 600GB disk, where I want t

  • HT1711 How do I delete duplicates in my itunes library?

    When I have uploaded all purchased songs from my iphone then sync libraries with my Mac, I have duplicates of some songs, taking up valuable space on my phone.  How do I delete the duplicates?  Do I need to somehow clear the phone library first?

  • Connect to different Databases like Oracle, SqlServer,Access,Db2

    Hi all, i'm in the process of developing an application using jsp , which should be capable of connecting to all datbases like Oracle, SQL Server,Access DB2, Sybase etc, How can i establish that? Also what all are things i need to take care,which are

  • Illustrator extension - Drag and drop is not working on mac

    During testing my extension on Mac,I noticed that drag and drop doesn't work as expected. Therefore I have created a new simple extension with two lists. <s:List id="lst1" label="name" dragEnabled="true">      <tree>           <name>a</name>         

  • Blackberry Desktop Software 6 will not install

    Hi I am having real trouble installing Blackberry Desktop software 6, my problems started when my computer downloaded Blackberry Desktop Software 6 and a McAfee virus protection update at the same time then tried to install them both. After many syst