Problem in using a text area

Hi All,
I am having text area in my screen.
I am using 
CALL METHOD editor1->get_text_as_r3table
           IMPORTING
               table = it_text
           EXCEPTIONS
               OTHERS = 1.
to get the text entered in the text area.
The problem I am facing here is, When I am executing it for the first time the text is getting populated, but when I go back to my main screen and execute it once again I could able to retrieve the text. Can some suggest me a solution for this.
Thanks,
Arun

Hi,
I got the solution.

Similar Messages

  • Using a Text Area for a Where In () Clause

    Hi Everyone!
    It has been awhile since I have done any Oracle ApEx development. This is because I work on the BI team and have been doing more ETL and Teradata development to support MicroStrategy reports.
    Having said that, I am attempting to upgrade an existing application with a bit of new functionality. I am trying to allow the user to enter a comma separated list of values (i.e: 12345, 67890, 112233, 44455566) into a text area on one page and have the report on the following page accept that input and use it to filter an interactive report.
    I am aware that users can filter an interactive report with the functionality built into the report itself, but some users have requested additional filtering as mentioned above before they actually see the report. My text area is called P10_TXT_ITMS. The code in the SQL for the interactive report is:
    AND (ITM_NUM IN :P12_HID_ITMLIST)
    When I enter a single number, it works beautifully. Unfortunately, however, entering a comma separated list 'breaks' the report. It says that the value entered into the text area is not a number. To combat this, I tried using to_char() on the column in the table in the comparison. Of course, this also did not work. I would have thought that the variable would have converted into a comma separated list and the where in clause would be totally valid, but it does not seem to behave that way.
    Does anyone have any thoughts or suggestions? Any help would be very much appreciated!
    Edited by: tgeorge on Jan 21, 2010 9:47 AM

    Hi,
    It treats it as one large string. Even with to_char it would be like:
    '12345' IN ('12345, 67890, 112233, 44455566'); as opposed to:
    '12345' IN ('12345', '67890', '112233', '44455566');
    You need to split the string up somehow.
    Edit: Possibly with the use of regexp_substr?
    Mike
    Edited by: Dird on Jan 21, 2010 3:53 PM

  • Issues in making label selectable when used with text area

    I have used the following code (which was given in the thread : Re: Making Labels and other controls with text selectable for copy&paste ]
    which shows how to make label selectable with text field. )
    public class TrialArea extends Application {
    >>public void start(final Stage stage) throws Exception {
    >>StackPane layout = new StackPane();
    >>layout.setStyle("-fx-background-color: cornsilk; -fx-padding:10; -fx-font-size: 20");
    >>
    >>Label label1 = (new Label("jqhrjhhhhhhdsfdsfdsfdfdsdsfsdfdsdsdsfsddsdsdfsdfsddsfsfsddsfdsdedsfssdfhhhhhhhhhhhhhhhhhhhhkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\njqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\njqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\njqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\n jqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\n jqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\n jqhrkjhejwqrhjwhj ewjrhewjkrjew ewjhrjewjwke \n qwjkhrjkwerehw \n jkehrkjewhrjkew\n "));
    >>
    >>label1.setWrapText(true);
    >> label1.setPrefWidth(480);
    >>label1.setMaxWidth(480);
    >>layout.getChildren().add(
    makeSelectable(label1)
    );>> Scene scene = new Scene(layout);
    >>stage.setScene(scene);
    stage.show();
    /** @return the passed in label made selectable. */
    private Label makeSelectable(Label label) {
    StackPane textStack = new StackPane();
    TextArea textField = new TextArea(label.getText());>>
    >> textField.setEditable(false);
    textField.setWrapText(true);
    textField.setStyle(
    " -fx-background-color: transparent; -fx-background-insets: 0; -fx-background-radius: 0;"
    );>>
    >>
    // the invisible label is a hack to get the textField to size like a label.
    Label invisibleLabel = new Label();
    invisibleLabel.textProperty().bind(label.textProperty());
    invisibleLabel.setVisible(false);
    >> textStack.getChildren().addAll(invisibleLabel, textField);
    label.textProperty().bindBidirectional(textField.textProperty());
    label.setGraphic(textStack);
    label.setContentDisplay(ContentDisplay.GRAPHIC_ONLY);
    return label;
    public static void main(String[] args) {>> Application.launch(args);
    >> }
    }The issue I am facing is that with text area, the scroll bar is visible, which does not go with label. The label is being selected properly, but how to remove the scroll bar?
    Edited by: Amrita Dasgupta on Mar 11, 2012 11:38 PM

    DVD SP is not Flash or Director and it sounds like you using "hotpots" are thinking more along those lines. If someone puts the DVD in a DVD Player they may get rather frustrated having buttons that do not do anything and the navgation is strange
    Also take a look here for some more pitfalls and why another app may be better for you
    http://discussions.apple.com/thread.jspa?messageID=1085629

  • Problem in Using a Text file

    Hello,
    I want to read my text from a text file and it�s not a predetermined text, what i want to do is read the records in the form of text and i want to use "," as the delimiter between each Column in my Output file.
    I was trying to do this but somehow am not Achieving anything meaningful till now.
    Waiting for positive Reply�s from the Forum Memebers.

    The solution has already been suggested on this thread.
    http://forum.java.sun.com/thread.jspa?threadID=686118
    If you didn't get it, here are the steps again:
    1. Read the file using java io http://java.sun.com/docs/books/tutorial/essential/io/
    2. As you read each line, use StringTokenizer or String.split() to separate each value.
    You do not need to have a predetermined text. The only predetermined thing is your delimiter.
    x

  • Problem in using standard text in SAP Script

    Hi All,
    I have to replace English text hardcoded in a script with standard texts (SO10) in Spanish. When I am including the standard text in script, it is displayed in different font and bigger size. I want to reduce the size and change the font of standard text. Is there any way to do that?
    Thanks in advance
    Radhika
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 4, 2010 2:37 PM

    Please check the links below , which might hel you..
    Re: Setting font to standard text in sap script
    How to change stranded text font in script
    Regards
    Satish Boguda

  • Problem with blob column index created using Oracle Text.

    Hi,
    I'm running Oracle Database 10g 10.2.0.1.0 standard edition one, on windows server 2003 R2 x64.
    I have a table with a blob column which contains pdf document.
    Then, I create an index using the following script so that I can do fulltext search using Oracle Text.
    CREATE INDEX DMCS.T_DMCS_FILE_DF_FILE_IDX ON DMCS.T_DMCS_FILE
    (DF_FILE)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('DATASTORE CTXSYS.DEFAULT_DATASTORE');
    However, the index is not searchable and I check the following tables created by database for my index and found them to be empty as well !!
    DR$T_DMCS_FILE_DF_FILE_IDX$I
    DR$T_DMCS_FILE_DF_FILE_IDX$K
    DR$T_DMCS_FILE_DF_FILE_IDX$N
    DR$T_DMCS_FILE_DF_FILE_IDX$R
    I wonder what's wrong with it.
    My user has been granted the ctx_app role and I have other tables that store plain text which I use Oracle Text are fine. I even output the blob column and save as pdf file and they are fine.
    However the database seems like not indexing my blob column although the index can be created without error.
    Please advise.
    Really appreciate anyone who can help.
    Thank you.

    The situation is I have already loaded a few pdf document into the table's blob column.
    After I create the Oracle text index on this blob column, I find the system generated index tables listed in my earlier posting are empty, except for the 4th table.
    Normally we'll see words inside the table where those are the words indexed by oracle text on my document.
    As a result, no matter how i search for the index using select statement with contains operator, it will not give me any result.
    I feel weird why the blob is not indexed. The content of the blob are actually valid because I tested this by export the content back to pdf and I can still view and search within the pdf.
    Regards,
    Jap.

  • Read-Only text area

    Hi,
    I'm using a text area to display a longer read-only text. It should display only 5 lines and, if the text is longer, it should be scrollable. Works fine as long as I set the attribute Editable to true. But if I set it to No (because it should be read-only), I get the following problems:
    - It does not show only the 5 lines anymore, but the complete text without scrollbars.
    - It shrinks the size of the text area, so that it fits the text inside. You can see that looking at the borders. But I wanted to have the borders at the original size independent of the text.
    Does anyone knows, how to solve that?
    Thanks&Regards
    Matthias

    to the best of my knowledge, if you make it read-only you cannot have the scroll bar enabled. and whatever you explained is the expected behaviour!!
    But, i have a workaround under three conditions:
    1. if you need the scroll bar
    2. if you want the size of it as in the initial state - without disturbing the existing size and format of page
    3. you wish to retain the value
    keep the value of the text area in a temporary object and pass it to the reference attribute on submit of page. (here we are just retaining the value and not making it read-only)
    this helps in keeping the format of page undisturbed!!
    HTH
    Sharma

  • How to change the Font in the Text Area

    Hi,
    My Apex application is set up in Arial.
    But when I use a Text Area the font changes to Times Roman.
    How to solve that?
    Thanks in advance, Marti

    hi,
    try writing:
    style="font-family:Arial;"
    in the page element attribute called "HTML Form Element Attributes"
    bye,
    Flavio
    http://oraclequirks.blogspot.com/search/label/Apex

  • File upload component and text area issue

    Hi guys,
    I have static text, text area and button on the same page. Text area binded to session bean value and all works fine (I can input text into text area and press button to save changes).
    After adding file upload component to the same page I have got a problem - now after page refreshing the non english characters inside text gets trashed.
    Other non english characters - inside static text components remains the same - the problem relates only to text area.
    It looks like file upload component code has an encoding related bug. Is that a known issue?
    And may be somebody have a workaround?
    Thanks.

    Hi Rom@n,
    I did some checking and this issue is currently logged as: 6442528. It is scheduled to be available in the next patch release. I'm sorry I don't have a time frame for the patch since it is still waiting for other fixes.
    Sorry for the inconvience.
    Lark
    Creator Team

  • Increase text area width by typing text in it

    Hi all,
    I am using a text area i have set its wordwrap property false and horozontal and vertical policy off..What i want is to increase the width or height of text area depending upon the text i am writing
    if  the text is going to increase more than the width of text area the width of text area should adjust itself according to that..
    Take a look to the below example
    text area text:-
    "this is text example"
    text area width:-100
    now as the word wrap property is off the text will come upto this for width of 100px:-
    "this is text"
    The moment i press the next character to type..the text area width should increase according to that ..the width should increase side by side
    Is there any event for this via which i can get this done
    Thanks

    I extended TextArea and it works well as a standalone component, but it might not work so well if you use it as an itemRenderer, like in a DataGrid.
    I created a Flex Cookbook post on the topic:
    http://cookbooks.adobe.com/post_I_want_a_TextArea_that_will_act_like_a_TextInput_t-16596.h tml
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance
    www.ChikaraDev.com
    Flex Development and Support Services
    ------------------------ DynamicWidthTextArea.as -----------------------------
    package {
      import flash.events.Event;
      import mx.controls.TextArea;
      public class DynamicWidthTextArea extends TextArea{
        public function DynamicWidthTextArea(){
          super();
          super.horizontalScrollPolicy = "off";
          super.verticalScrollPolicy = "off";
          super.wordWrap = false;
          this.addEventListener(Event.CHANGE, adjustWidthHandler);
        private function adjustWidthHandler(event:Event):void{
          if(width <= textField.textWidth + textField.getLineMetrics(0).width){
            width = textField.textWidth;     
            validateNow();
        override public function set text(val:String):void{
          textField.text = val;
          validateNow();
          width = textField.textWidth;
          validateNow();
        override public function set htmlText(val:String):void{
          textField.htmlText = val;
          validateNow();
          width = textField.textWidth;
          validateNow();
        override public function set width(value:Number):void{
          if(textField == null){
            if(width <= value){
              super.width = value;
          }else{       
            trace("width: " + width);
            trace("super.maxWidth: " + super.maxWidth);
            if (textField.getLineMetrics(0).width<= super.maxWidth){
              trace("textField.textWidth: " + textField.textWidth);
              trace("textField.getLineMetrics(0).width: " + textField.getLineMetrics(0).width);
              if(width <= textField.getLineMetrics(0).width + 10){
                super.width = textField.getLineMetrics(0).width + 10;
            }else{
                super.width = super.maxWidth;         
        override public function get text():String{
            return textField.text;
        override public function get htmlText():String{
            return textField.htmlText;
        override public function set maxWidth(value:Number):void{
          super.maxWidth = value;
    --------------------- Test.mxml --------------------------
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      xmlns:comp="*">
      <mx:HBox>
        <mx:Label text="Font size 8: "/>
        <comp:DynamicWidthTextArea width="100" fontSize="8"/>   
      </mx:HBox>
      <mx:HBox>
        <mx:Label text="Font size 10: "/>
        <comp:DynamicWidthTextArea width="100" fontSize="10"/>   
      </mx:HBox>
      <mx:HBox>
        <mx:Label text="Font size 12: "/>
        <comp:DynamicWidthTextArea width="100" fontSize="12"/>   
      </mx:HBox>
      <mx:HBox>
        <mx:Label text="Font size 20: "/>
        <comp:DynamicWidthTextArea width="100" fontSize="20"/>   
      </mx:HBox>
      <mx:HBox>
        <mx:Label text="Font size 40: "/>
        <comp:DynamicWidthTextArea width="100" height="100" fontSize="40"/>   
      </mx:HBox>
      <mx:HBox>
        <mx:Label text="Font size 100: "/>
        <comp:DynamicWidthTextArea width="200" height="120" fontSize="100"/>   
      </mx:HBox>
    </mx:Application>

  • IOS 8 updated, now my group texts are green!

    Can someone please help me. I have updated to the new iOS 8 and now it seems that a few of my most used group texts are now green and not blue any more. Is there something in the settings that I might need to change

    Hey toridryden,
    Thanks for the question. A green message bubble indicates that your message is being sent as SMS instead of iMessage. This may be caused by a contact included in the group message that is not using iMessage (non-iPhone user). For more help on messages, check out the following resources:
    Send messages with your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht3529
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Thanks,
    Matt M.

  • Limiting char on a text area

    If i use a text area item the form allows the users to type as much as they like which returns various DB errors. I would rather include some simple validation to limit the char of my text area than start messing about trapping errors and redirecting.
    How can i limit the number of characters entered on my text area with some kind of validation.

    this was for the apex forum pls ignore

  • Issue with rightclicking in a text area which uses Squiggly

    Hi,
    I have found an issue with using squiggly in a TextArea component.
    I was able to simulate the same in the demo url . http://labs.adobe.com/technologies/squiggly/demo/#
    The issue is when I enter a random text like "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" and then when I do a right click on the text area,
    I get an exception as shown below.
    TypeError: Error #1010: A term is undefined and has no  properties.
    at  com.adobe.linguistics.spelling.core::SuggestionManager/nsuggest()[C:\squiggly\esg\squiggl y\main\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\core\SuggestionManager.as:20 1]
    at  com.adobe.linguistics.spelling.core::SquigglyEngine/suggest()[C:\squiggly\esg\squiggly\ma in\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\core\SquigglyEngine.as:285]
    at  com.adobe.linguistics.spelling::SpellChecker/getSuggestions()[C:\squiggly\esg\squiggly\ma in\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\SpellChecker.as:145]
    at  com.adobe.linguistics.spelling.ui::HaloWordProcessor/getSuggestionsAtPoint()[C:\squiggly\ esg\squiggly\main\AdobeSpellingUI\src\com\adobe\linguistics\spelling\ui\HaloWordProcessor. as:49]
    at  com.adobe.linguistics.spelling.ui::SpellingContextMenu/handleContextMenuSelect()[C:\squig gly\esg\squiggly\main\AdobeSpellingUI\src\com\adobe\linguistics\spelling\ui\SpellingContex tMenu.as:124]
    So is there any fix for the above error or a workaround for this.
    This has been filed as bug in an application I am working on.
    regards,
    Anup Francis

    Thank you for reporting this issue.
    I was unable to reproduce this problem under the following configurations:
    Mac OSX 10.6.3, Flash 10.0.42.34, Firefox 3.6.3
    Windows XP, Flash 10.0.45.2, IE 8.0.6001
    Windows XP, Flash 10.1.53.21, Firefox 3.6.3
    Could you provide more details about the software configurations you have that reproduces this problem?
    Also, is there a specific location you click in the TextArea?  On the word?  On white space?
    Thanks,
    - Bruce, Adobe

  • Which event dispatched after text selection done on spark text area in Apple iPad using Adobe Flex 4

    I need to know which event triggered after text selection done in Apple iPad. This way i have done in desktop air app code (mouse events)
    protected function txtEditor_mouseUpHandler(event:MouseEvent):void
                if(txtEditor.selectionAnchorPosition != txtEditor.selectionActivePosition){
                    showNoteToolBar(event);
                    txtEditor.focusEnabled = true;
                    txtEditor.setFocus();
    But in Apple iPad how to achieve through "Touch Event" ? And also i need how to hide all context menu on Spaek TextArea?. Why Touch.End event is not fired after place cursor on text area ?
    Please help me !

    Ok, so I finally got it working but this is not ideal at all. Adobe really needs to give us some direction on how to properly deal with font embedding and TLF now that the release build breaks all functionality with loading runtime fonts and TLF.
    Problem:
    I am embedding collections of fonts (faces) into single family classes. Each individual face is registered with Font.registerFont(). I need to do this because I have to have mixed fonts within text flows - at least according to Alex H's recent blog post.
    Fonts do not display in TLF without doing the following:
    1. GlobalSettings.resolveFontLookupFunction = null;
    2. editor.textFlow.flowComposer.swfContext = ISWFContext(this.getFontContext("AnyFamilyNameFromAnyFontEmbedded", false, false, FontLookup.EMBEDDED_CFF));
    3. Instead of #2, use editor.textFlow.invalidateAllFormats();
    Either #2 or #3 need to be performed. If I have a spark richEditableText control in MXML with defined familes from the loaded fonts. I even tried placing the control into a separate state so it wasn't created until after the fonts were loaded... I still needed to invalidate the formats or set the context.
    The "AnyFamilyNameFromAnyFontEmbedded" does not need to be all of the embedded family names. It only needs to be one of them. Once one is used, all embedded fonts work. Also, I have to use the internal namespace to even get access to getFontContext, another oddity that, in my humble opinion, should never be necessary to create mixed style TLF content.
    My questions are then:
    1. Why am I required to use ISWFContext if I am using Font.registerFont()?
    2. Why is GlobalSettings.resolveFontLookupFunction = null; also required for this to work?
    3. What is the recommended workflow to embed fonts from multiple SWF files into the release build and have it work without having to jump through all these hoops?

  • How can I use javascript in a Text Area with HTML editor??

    My question is... how can I use javascript in Text Area with HTML editor??
    I can use javascript functions that change the content of Text Areas but i can´t if i try in text area with html editor....
    I need to limit number of characters in a text area with html editor and i can´t.
    could anybody help me please?

    I have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
    I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
    <script language="JavaScript" type="text/javascript">
    function showtext(){
    var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
    var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
    alert(editortext);
    </script>
    Hope this helps.
    Matthew

Maybe you are looking for

  • Facebook and twitter

    Hi admin,I did upgrading to facebook and twitter applications on my blackberry 9800 tourch,since then I can use them cus I keep having this message uncaught exception,I can see that of facebook icon and that of twitter is no where to be found.what is

  • How can you get pictures off of your iPod?

    When I attach my iPod to my computer, Adobe Photoshop Album will "see" my videos and music/audio files on the iPod, but not the pictures. Is there a way I can import my photos from my iPod?

  • "Document name invalid.  The index.xml file is missing"

    I have OSX Yosemite 10.10 and am having a problem just today in Numbers.  A file that I have saved to my desktop and opened daily to input data since the first of November won't open.  It gives me a message that the file is invalid, the "index.xml fi

  • Huion GT-190 not responding to Photoshop CS6

    I recently purchaced a Huion GT-190 graphics tablet, with the anticipation that I could use Photoshop CS6 for drawing. Unfortunately, Photoshop is acting strangely when using the tablet. When I try to use any tool or go into a new layer the program d

  • Sync and previous not working in lightroom 3

    In lightroom 3 when I sync photos not every photo is getting the sync setting some of the photos are getting a red tint or faded down look over the complete image I try to set them back to original and they won't go back. This is also happening in pr