Rich TextArea AJAX Component

I am trying to have a textarea updated by periodically requesting text.
I know how to send xmlhttprequest messages but what URL do I send to in studio creator and how to respond? Just use the jsp of the current page?
It's not like hand writing a servlet, how do I get the request to some logic that will send back a response in a studio creator page?
The doPost/doGet methods are hidden.
I could try using AJAX RichTextArea component, but I see no tutorials on it. I am not sure how to do it. In the Progress Tutorial they show how to bind the PB property. Not sure what to do with the RTA one.
Can someone answer about either of the above?

I added some Dukes. Is the question just to broad?
I am just not sure how to approach a solution on this. I am familiar with javascript but not xmlhttprequest and how to use it; where to send to since I cannot get at a Servlet directly and how to respond. Creator hides so much underlying content.

Similar Messages

  • Rich TextArea Editor Assistance Needed

    I have downloaded the new Ajax components using Creator 2. I used the Rich TextArea Editor on one of my pages. Everything is good except that this component will not contain the document I am writing within the component itself. If I typed in lines beyond the bottom of the component the letters appear underneath the Rich TextArea Editor component.
    I would like the component to be able to behave like gmail email editor behaves where it scrolls down if I have more lines than the component will hold. I have not seen how I can enable the scrolling feature in Rich TextArea Editor.
    Any help would be great, thanks.
    Peter
    p.s. I would like the behavior to be exactly like this window that I am typing in this very moment.

    Hi Peter,
    Thanks for taking the time to give us some feedback.
    The AJAX components are really just samples at this point
    to show proof of concept for how AJAX fits in with Sun Java Studio Creator
    and JSF. The Rich Text sample component in particular is a bit rough
    around the edges. The sample was derived from the dojo toolkit which
    is an open source effort. See dojotoolkit.org. They have a bit newer
    version available than what we have integrated. If you'd like, you may
    wish to get involved in the dojo community. Alternately Sun will
    be providing information about upcoming component work. Stay
    tuned.
    - Steve
    Sun Microsystems

  • In a rich textarea like this i submit now but in CFML 9 , textarea text come to me formatted with ta

    in a rich textarea like this i submit now but in CFML 9 , textarea text come to me formatted with tags ?

    The richText attribute was added to the cftextarea tag in Coldfusion 8. You could use htmlEdtFormat() to escape the tags before storing the string in the database, for example, like this
    <cfif isdefined("form.sbmt")>
    <cfset message = form.msg>
    <cfset msgForDatabase = htmlEditFormat(message)>
    <!--- code to store message in database --->
    </cfif>
    <cfform action="#cgi.SCRIPT_NAME#">
    <cftextarea name="msg" richText="true"></cftextarea>
    <cfinput type="submit" name="sbmt" value="send">
    </cfform>

  • JSF Components (Woodstock, Richfaces) Vs. Ajax Component (YUI, JMaki)

    Hello. I am pretty new in the Web 2.0 development. I started learning JSF 1.2 and I like it. I also found interesting by using Sun�s Woodstock, JBoss�s Richfaces and Oracle�s ADF components.
    There are also so many Ajax libraries out there like JMaki, YUI (Yahoo), DWR. Now my question would be, is there any advantages using pure Ajax component like YUI to create GUI then using Richfaces or ADF? Please keep this in mind that I still want to use JSF architecture for the backend.
    Thanks much
    Hobi
    Oklahoma, USA

    http://hobione.wordpress.com/2008/02/22/jsf-drag-n-drop-with-jdeveloper-11g/

  • Rich TextArea Editor Assitence

    I am working on Rich TextArea Editor on my project. When i drag and drop the rich TextArea editor it does not display toll bar. I search for example code on RichTextArea. I dont not find any example code. can give me the example code and give me suggestion why toll bar is not display in sun java studio creator. is there any properties to set. give me assiestence to me.
    Thanking you

    adding overflow: auto or overflow: scroll to the style property of the blueprints rich text editor seems to properly set the editor to scroll when the available area is too small for the given text contained within it. The issue seems to stem from the fact that the Dojo editor gets ots scrolling properties from its container, in this case the "DIV" tag.

  • Most reliable AJAX component library

    Guys... I'm thinking to you ajax component with my JSF app. I'm wondering which component library I should choose. Could you please share your experience which one is the most reliable.
    I have used jboss's ajax4jsf and another ajaxtag library. They both are great, but sometime occasionally they just broken and response nothing. I feel like not reliable. Could you share your experience?

    thanks for the reply. i believe you are talking about apache trinidad. Do you like that one? The live demo is not very attractive though, but I'll try it by myself.
    Is there any other suggestion? or do u have any idea why ajax functions are broken sometime?

  • Right Ajax component library to use with netbeans

    Hi,
    I am using netbeans for my jsf development. I downloaded the Blueprint Ajax Component and Dynamic
    Faces for Ajax Functionality. I am looking for functionality where i can update a Panelgroup with new
    UI components without refreshing the whole page. Is it possible to do this with Dynamic Faces ? Is there a different Ajax library that i can use with netbeans that would provide this functionality ?
    Thanks
    mohan

    Hi,
    as far as I remember, Tobago is not compatible with JSF 1.2. I worked with Oracle's ADF over a year ago and I remember, that we had some compatibility problems. And if I also recall correctly, Trinidad is the "JSF compatible" version of ADF. ADF was donated by Oracle to the Apache foundation and is now called "Trinidad". You can use both "MyFaces" and "Trinidad" components within the same webapp. That should give you enough components to work with.
    Hope, that helps.
    Cheers,
    Joerg

  • Firefox + Dojo Rich Textarea Editor (ajax component)

    Hi,
    I have problem with show this component in Firefox browser.
    http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/ajax_samples.html
    This component is correct work if jsf page not cache in Firefox only.
    As first run page I have correct work. Press F5 and I have this is error output:
    FATAL: Could not load 'dojo.xml.Parse'; last tried '__package__.js'
    FATAL: superclass: undefined borken
    FATAL: Could not load 'dojo.widget.RichText'; last tried '__package__.js' After deploying the application, we have RichText.js (and others) in META-INF/dojo/src and dojo.js is found in META-INF/dojo/o. However, I would like to emphasize that everything is working when Firefox's cache is clear, which seemingly means that everything is installed correctly. The problem appears only after reloading the page from cache.
    Thanks.

    In IE the problem may be observed only with the toolbar view of this component only. In Netscape 8 this error is reproduced slightly differently, i.e. after the next update of the page (F5) the component works again.

  • Tlftextfiled in textarea as3 component problem?

    i customize as3 textarea component (in source : fl.control.TextArea)
    i chnage textField in source to tlfTextFiled and i cand see RTL text in textArea component, but i have a problem , and i can not see affect my change in Direction
    please help me to change direction in this component
    excuse me for my poor english

    i customize as3 textarea component (in source : fl.control.TextArea)
    i chnage textField in source to tlfTextFiled and i cand see RTL text in textArea component, but i have a problem , and i can not see affect my change in Direction
    please help me to change direction in this component
    excuse me for my poor english

  • Auto suggest  AJAX component for ADF 10g: source code needed

    Dear all,
    Duncan Mills has posted a very useful article in http://www.oracle.com/technology/products/jdev/tips/mills/ajaxautosuggest/ajaxautosuggest.html about how to incoroporate an AJAX iput text field that can operate like Google search. This components derives from Sun Java blueprints.
    The URL to download the jar of this component is [http://otn.oracle.com/products/jdev/tips/mills/AjaxAutoSuggest/textfield.jar|http://otn.oracle.com/products/jdev/tips/mills/AjaxAutoSuggest/textfield.jar]
    I have managed to incorporate it in my ADF pages, but to my disappointment, this component does not work well with non-english character set.
    I have verified this from a Sun forum thread at [http://forums.sun.com/thread.jspa?threadID=787270&tstart=0|http://forums.sun.com/thread.jspa?threadID=787270&tstart=0]
    The jar file contains only the class files. Does anybody have the source code so I can amend it to work with UTF-8 charactes?
    My email is [email protected]
    Thanks
    Dimitris

    I have tried it, but when I create a tag library out of the Sun bluprint components, all my ADF pages display an error message that the JSF core tag laibraries are not installed

  • Ajax component, phase listener and findComponent help

    Hello,
    I have a component that issues an Ajax Request. This request is collected by a phase-listener and then processed, however I am having difficulties finding the component that I want to re-render.
    Is there a common approach for getting hold of components from a PhaseListener ? My scenario is:
    When the user clicks and drags inside my component, I want to register the X-axis drag with a ValueChangeListener. (The component has a valueChangeListener="" attribute).
    I am able to get the X-axis drag amount sent via Axis and into the PhaseListener, but at this point I am stuck. I now need to get hold of my component, and tell it how much to move the X-axis.
    Any help is very much appreciated!

    ok! i know for  initial requests  (when a user requesting the page for the first time ) the "JavaServer Faces implementation creates an empty view during restore View phase and the life cycle advances to the render response phase".
    so i think it is impossible to change Uicomponent state in phase listener !!!!   but how can i change Uicomponent attribute before page send to user's browser ?!!

  • Carriage return in TextArea Flash component in Director 11

    Hello.
    I have a very big problem now
    Neither embedded Flash movies with textareas or standard flashcomponent TextArea from Director tool pallete do not react on keyboard button "Enter" pressings. There is no carriage return after ENTER button is pressed. The same with End and Home buttons!!
    Please help with any advise.
    Is that a common bug?
    See attached test.dir file. Try to type something in both textareas and then press ENTER button on keyboard. You should realize then what I'm crying about(((
    Alexey

    I too struggled with this issue. If you're looking for a solution still I have written one. Used the attached script in your Flash document, I spent a few days going back and forth between Director and Flash to figure this one out. Basically what I do is attach a key listener to the movieclip containing the textfield object that on keyDown gets the currently focused textField (this way it will work with multiple textField objects). After that it determines if the enter key is hit and if it is inserts a "/n" break at the selection starting point. The only issue is if you select a whole word in the textField and hit enter a break will be placed at the beginning of the highlighted word and that word will not be deleted. Hopefully this helps.
    -b
    // BY / contempt.productions inc.  10.30.09
    // Director 11.5 fix for bug where dynamic textfields don't register ENTER or RETURN key in Flash sprites
    // Solution involves inserting a \n carriage return wherever cursor insertion point starts.
    // In Flash this adds 2 carriage returns for every hit of the enter/return key
    // In Director 11.5 it adds 1 carriage return
    // Change "body_txt" to represent the dynamic textField object this script is referencing
    myListener = new Object();
    myListener.onKeyDown = function() {
    _global.textFocus = Selection.getFocus();
    // get a string of the path to the currently focused textField object
    _global.selStart = Selection.getBeginIndex();
    // get the insertion point, this is the start of any selection
    var multiText = body_txt.text;
    // get the text from the current textField object
    var theKey = Key.getCode();
    // get the current keyCode (13 is the keyCode for "enter/return" key)
    if (eval(textFocus) == eval(body_txt)) {
    // determine if focused textField and current textField are the same
    if (theKey == 13) {
    // enter key is pressed
    var firstPart = multiText.slice(0, selStart);
    // get the current textField's text from the beginning to the insertion point
    var secondPart = multiText.slice(selStart, multiText.length);
    // get the textField's text from the insertion point to the string's end
    body_txt.text = firstPart+"\n"+secondPart;
    // concatenate the first and second part of the textField's text with a carriage return
    Selection.setSelection(selStart+1,selStart+1);
    // place the text insertion point properly
    myListener.onKeyUp = function() {
    var theKey = Key.getCode();
    Key.addListener(myListener);

  • AJAX component in ADF 11g

    Within the 150+ components I see there are components called inputListOfValues and inputComboboxListofValues where autocompelete functionality can be added to filter the results. As this handles some functionality that I want, it is not desired to go to a popup dialog to search for results to populate that input field. Is there a component that is similar to a google suggest that will be developed in the future? If not, what would be the best way of creating a component with this feature? I want to be able to have it show up in the component palette in JDeveloper and when I drag that component onto a page I can bind it to a data control and pass it a couple of parameters.
    I have created components like this using other MVC frameworks and using freemarker templates but haven't found a good way of creating a component like this in ADF.
    Thanks!

    Hi,
    this component is planned for a future release. It can be programmed with a combination of javaScript and managed beans in ADF Faces today. Before you ask, no there is no how-to on this, but I am working with a smart consultant in France who got this working to a large degree. So its just a remaining polish and documentation that needs some time to make it available in ADF
    Frank

  • Removing Items from a TextArea/Pane Component

    Hi All,
    I have a question about text containers. Basically I'm reading Strings from a file and I'm displaying them inside a JTextArea. I'm adding new Strings to the JTextArea using it's append() method. Is there a way to limit how much stuff should the JTextArea hold ? After a while my application crashes with the following message:
    java.lang.OutOfMemoryError
         <<no stack trace available>>
    Exception in thread "main"
    This is because so much stuff got accumulated in the JTextArea that it eats up all available memory and the app crashes. My question is; is there a way I can remove items from the JTextArea ? Or is there a way to limit the size/number of Stings it can hold ? Or should I be using something else instead of the JTextArea ? Thanks in advance...
    -Pete

    int size = textArea.getDocument().getLength();
    gives the total number of bytes in the text area. You can then use:
    textArea.replaceRange("", 0, 80);
    to remove 80 characters from the start of the text area. Or to remove the first line from the text area use:
    int start = textArea.getLineStartOffset(0);
    int end = textArea.getLineEndOffset(0);
    textArea.replaceRange("", start, end);
    Design your own routine to keep the text area at a reasonable size.

  • Rich Client (Ajax) JSF in jdev 10

    hi,
    Could i use ADF Faces Components 11-ji3 tag lib on jdeveloper 10?

    thnx Frank...
    well then,
    could i use Ajax4Jsf with adf?

Maybe you are looking for

  • Photos not being sent properly from mail.app

    I wonder if anyone can help with this issue. I cannot send photos via mail.app using the "email" button from iphoto, or by attaching using the "attach" button in mail.app or by dragging the picture from it's folder into a mail message. The picture do

  • How can i download 07 1415_jmw05.wma onto my macbook pro?

    I have a MacBook Pro 10.9.5. I want to listen to an audio, but I get a dropdown that says "QuickTime Player can't open "07 1415_JMW05.wma"." Is there any way I can download something that will enable me to play it? Thanks, tottieirene

  • Input Tax Report

    Dear All, Any report which can give input tax details with material description and quantity. Regards, Deepak

  • J2SDK 1.4.2_05-b04 on Windows 2000 SP4 deadlocks

    We are occasionally seeing our java process gets hung to the point that we are not able to generate a Java thread dump. We try Ctrl-Break on the console window and also try this tool: http://tmitevski.users.mcs2.netarray.com/trace.do But we never get

  • Problem with Help Link in search result screen of PCUI

    Hi,   I am trying to access the pcui applications that came out of box with crm using BAB,everthing is working fine but got a problem with "Help" link in top right (beside personalize link) the search result area of all the PCUI screens. when i click