Ajax BluePrint  Text Completion

HI
I'm using Java BluePrint Ajax TextCompletion component.
At the first time it's behavior is right. But once the selection button is clicked, the list does not appear.
The AJAX behavior disappear. If i need to modify the previous selection, it's impossible.
Sometimes when i refresh the page from browser two or three times the behavior becames normal.
---the code for the completionMethod is:
public void acDescription_complete(FacesContext context, String prefix, CompletionResult result) {
if (prefix == null || prefix.length() < 1) {
return;
try {
String prefixLeadingCap = prefix.substring(0, 1).toUpperCase()+ prefix.substring(1) + '%';
result.addItem(prefixLeadingCap);
try {
CachedRowSetX prfRowSet = getRequestBean1().getprfRowSet();
prfRowSet.setObject(1, prefixLeadingCap);
} catch (SQLException e) {
result.addItem("Exception: " + e);
return;
try {
prfDataProvider.refresh();
if (!prfDataProvider.cursorFirst()) {
result.addItem("Empty");
return;
do {
String partName = (String)
prfDataProvider.getValue("professionals.Description");
result.addItem(partName);
} while (prfDataProvider.cursorNext());
} catch (DataProviderException e) {
result.addItem("Exception: " + e);
} catch (Exception se) {
result.addItem("UnknownException: " + se);
result.addItem("end");
---SQL statement for RowSet is:
     SELECT ALL professionals.Description
     FROM professionals
     WHERE professionals.Description LIKE ?
---the action method code for the selection button is simply:
staticText1.setText(acDescription.getText());
thanks.

Hi there,
This tutorial helps you in using a AJAX text completion
http://developers.sun.com/jscreator/learning/tutorials/2/textcompletion.html
Im not sure why you are seeing the behaviour, does it work if you delete the old entry and start typing all over again?
K

Similar Messages

  • &_u5DE5u4F5Cu6761u76EE.u7531u7528u6237u6267u884C.u540Du79F0& exists in description text Completion text

    Hi Gurus,
    In my requirement I have to create used descison . By default SAP provides     00008267 task. . When I try to syntax check this through PFTC I got the following error message in pop - up "&_工作条目.由用户执行.名称& exists in description text Completion text, but not in the container for the task TS00008267".
    Could please let me know why this error is araised.
    Thanks in advance.

    Hi,
    I think someone changed the SAP standard task, check its technical details to see who did it.
    You can also check objects in transport for tasks it is PDTS.
    If this is not the case and since this is a standard task, check OSS for this problem.
    Kind regards, Rob Dielemans

  • How do I delete an individual text completely off my phone

    How do I delete an individual text completely off my phone, so that the timestamp of the deleted text doesn't appear anymore.
    ios 8, seems to keep deleted texts on the phone, if I delete a text message it will be removed from the message app but the person who I texted and the timestamp of the message still stays. this ends up showing the person in my messages with a timestamp for a message that doesn't exist.

    Well you can try this, but I'm not sure it's going to work if this is an entirely new ID.
    Go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Customize AJAX Blueprint Autocomplete component ?

    Customize AJAX Blueprint Autocomplete component ?
    Can you control the size of the result box generated ?
    Can you control what happens when you click on a result row in the result box ?
    I would like to specify the size of the result box, and possible also the placement/position.
    I would also like to use the result and replace that result with another result, or for example populate a different listfield with it..
    Anybody got any ideas on this ?
    As usual, I have searched with google and on *.sun.com without any luck in finding this information, read articles, documentation and blogs etc....
    Kind Regards,
    Roger

    It looks like you would have to build your own custom AutoComplete component and bring it into Creator. You may have found these links already, but you'd want to start with the API spec for custom components:
    http://developers.sun.com/ajax/index.jsp
    http://java.sun.com/blueprints/ajax.html
    Creator Design-time API info:
    http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/apis/

  • How to use the onchoose in ajax text completion

    Hi,
    I have tried many many ways but still not able to get it right.. basically i just want to use the onchoose event to call my javascript function and then my function will use the selected value for some further processing. I have tried something like...
    function() {
    alert("hello");
    OR
    alert("hello"); (this one does not work at all)..
    But seems like the event is gone after calling the alert and the selected value never appears in the ajax text field. Anyone out there has tried this? Hope have some suggestions. Thanks.
    regards,
    thamch

    Hi,
    Shortly after that i manage to find a solution :).. its something like..
    function(val) {
    var elem = document.getElementById("form1:ajaxTextField2");
    elem.value = val;
    processAjaxText2(val);
    regards,
    thamch

  • Ajax text completion

    Hello,
    I have an ajax textcompletion box, and I will catch the event generated by a click in the drop down value panel, is this event in the client side only ? or is there a way to do it on the server side ?
    Thank you for any helps
    Pierre

    Hi Pierre,
    The dropdown process value change method is executed not on the client side but on the server side.
    Cheers
    Giri

  • Best Practices for Using JSF with AJAX - BluePrints OR Ajax4Jsf ?

    I am a newbie to AJAX4JSF . I think it provides Rapid Application Development (RAD) just by using tags like a4j: without the need to develop complex JSF Custom Components as shown in BluePrints Catalog
    https://bpcatalog.dev.java.net/ajax/jsf-ajax/
    I understand the purpose of developing JSF Custom components as Reusable for using with AJAX. But its complex and requires lot of coding i.e. PhaseListeners and Managed Beans. There should be easy way to do this especially our project needs RAD tool like AJAX4JSF.
    Any suggestions will be highly appreciated
    Regards
    Bansi

    Bansi, you are trying to compare orange-to-apple. Blue print catalog is a historical retrospection about what people thought about AJAXifying JSF in the past. Currently, the playground has been moved to the jsf-extension project. Look for DynaFaces there.

  • VS 2013 Extension - Text Completion sample crashes

    Hello,
    I am trying to make the completion test sample work ( sample https://msdn.microsoft.com/en-us/library/vstudio/ee372314.aspx :  Walkthrough: Displaying Statement Completion )
    I installed VS2013 sdk, am running vs 2013.
    The sample compiles and launches, but when I open a text file and press a key, I trgger an exception:
    In TestCompletionCommandHandler.TriggerCompletion(), a completion session is created:
    m_session = m_provider.CompletionBroker.CreateCompletionSession....
    then a callback is attached to the session's Dismissed event. When m_session.Start() is called, the session is automatically dismissed ( in a SDK function called ..ensureValid()) , which sets the session pointer  to null, and makes the code crash afterwards.
    I dutifully followed the instructions to create the sample, the rest seems ok...
    Does someone know what could be going wrong ? Any help will be greatly appreciated !
    BTW , I disabled most of the extensions I have.

    Hi fred,
    I've reproduced this problem, I'm not sure what's the root cause of the problem either. But I'm going to escalate this case to some other engineers for further investigation. This will take some time, we'll come back if there're any updates.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Event handling in AJAX Blueprints Maps

    I am trying display various information in a text box based on the map marker selected. I see that you can bind an individual map marker to the info, but is there any way to dynamically set the info based on the selected map marker?

    Post Author: Eugene.Lozovan
    CA Forum: Nsite
    Nice!

  • Cannot cut and paste text completely in Pages

    I tried cutting and pasting some text from Safari--about 9 pages worth of text--to Pages, but it only pasted 2 pages. Is this a Snow Leopard problem? Or should I consider installing Word now?

    Have you tried any alternatives at all to really determine the problem, whatever it may be?
    Like pasting it into another program such as *TextEdit, Bean or iTextExpress* ?
    iTextExpress for a start gives you a pageless mode where there are no page margins to cut off extra wide content.
    Have you checked if the text has not popped somewhere, but actually is in Pages?
    Have you noticed at what point the text has broken off and if there is any special about that?
    Have you tried pasting it into a demo of Word to see if it actually is a solution?
    The Mac universe does extend beyond Pages and Word:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=47&mforum=iworktipsn trick
    Peter

  • Everytime I am on any website, my text completely distorts, or a big white square goes across the screen. I have to highlight the text to show it.

    It is even happening right now as I am typing this. I am unable to read anything on the top tabs and my text in the search bar is blurred. I tried the accelration technique within options, no luck. I have also tried other techniques written by users but nothing is happening. Trying to read websites is becoming very hard and I have to keep highlighted the words or pictures to show them.

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    It is possible that there is a problem with the font.
    Try to set the gfx.content.azure.enabled pref to false or if this didn't help disable Direct2D by setting the gfx.direct2d.disabled pref to true on the about:config page.
    *http://kb.mozillazine.org/about:config
    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test to see if that has effect.

  • Copy Sales Order item  texts completely  to other item in same sales order

    Hi;
    I need to know how we can copy item level text to other item texts in same sales order. We are maintaining most of data may duplicate but not always. So I need to copy the the earlier text & paste in item created newly.
    Pl. answer.
    Thanks ;
    avinash

    Did you get answer for this query? I have a same situation and wondering if you already have a solution
    thanks

  • FlexBuilder2 Feature Request - Precognitive Highlited Auto-Text  Completion

    A feature that upon typing the "<" character the builder
    automatically inserts "
    mx:" immediately after, with the text highlighted to easily
    delete if you are not inserting an
    mx: tag.
    An option to turn this off would be appreciated as well.
    :-)

    I've entered it as an enhancement request.
    Of course, as it stands now, you already don't have to type
    the "mx:".
    After "<", the code hints dropdown will come up. As you
    type the first
    few characters of the tag name WITHOUT the prefix, we'll
    filter the list
    down to things that match, regardless of prefix. For example,
    by the
    time you type "but", you'll probably be down to just 3 items,
    where
    mx:Button is selected (assuming you're in an empty project
    just inside
    the Application tag). Now that mx:Button is selected, you can
    hit
    [enter] to insert it. So typing "<but[enter]" results in
    "<mx:Button "
    being inserted into your page.
    Hope this helps.
    Rebecca - Adobe
    Omar_Gonzalez wrote:
    > A feature that upon typing the "<" character the
    builder automatically inserts
    > "mx:" immediately after, with the text highlighted to
    remove if you are not
    > inserting an mx: tag.
    >
    > An option to turn this off would be appreciated as well.
    >

  • Rollover Color Doesn't Cover Link Text Completely

    Hello,
    I created a rollover color for a link on my website. However, when I rollover it the color doesn't fully change. The initial color is white and the rollover color is #222 (or almost black). When rolling over, some of the edges of the words don't fully change color. I have attached a picture for better reference.
    Thanks so much!

    I'm not seeing what you describe ANYWHERE on the site. All the rollover links work with no discrepancies that I can see. I checked with Firefox 22 and Safari 6 on Mac OS X as well as IE 10 Win8, and IE 9 Win7.
    Could be a hardware issue on your system that's not rendering the  effect. I had an old e-machine that would turn double borders into a big fat single border because the onboard video couldn't render it properly.

  • Blueprints(AJAX)?

    Can someone help me please? I am wanting to use autocomplete from the blueprints(AJAX) in a bad way. I used the update center to d/l it, but now I can't find it. In the tutorial pdf it says to use the import button on the left hand bottom of the components pallet and there is none. I believe I selected auto install when I d/l'ed blueprints, but it took 3 attempts as there was some sort of error at Java.
    Can someone tell me where to find the blueprints(AJAX) autocomplete text box so I can see if I still need to import it.
    BTW: Am I going to run into any problems using Studio Creator 2 update1 with XP home?

    Can someone help me please? I am wanting to use
    autocomplete from the blueprints(AJAX) in a bad way.
    I used the update center to d/l it, but now I can't
    find it. In the tutorial pdf it says to use the
    import button on the left hand bottom of the
    components pallet and there is none.Do you mean this tutorial?
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/ajaximportcomponents.html
    If so, it doesn't say to use the import buttton on the components pallet. It says:
    1 From the IDE's main menu, choose Tools > Component Library Manager.
    2 In the Component Library Manager, click the Import button, which is in the lower left corner of the dialog box.
    I believe I
    selected auto install when I d/l'ed blueprints, but
    it took 3 attempts as there was some sort of error at
    Java.But you still have to import the complib.
    What sort of error?
    >
    Can someone tell me where to find the
    blueprints(AJAX) autocomplete text box so I can see
    if I still need to import it.Figure 2 in the tutorial (http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/ajaximportcomponents.html) shows you where it should be.
    >
    BTW: Am I going to run into any problems using Studio
    Creator 2 update1 with XP home?Shouldn't be.
    Hope this helps,
    Chris

Maybe you are looking for

  • Upgrade from 8.2 to 9.0 - buttons missing to submit form

    Hello everyone, We have upgraded to LiveCycle ES2 from LiveCycle ES. When we open the tasks via Workspace ES2, the buttons are missing to submit form. Buttons which should be there because "User must select a route to complete this task" option is se

  • Looking for app to watch TV on ipad

    Hi, I am looking for an app so i can watch TV on my Ipad. I know it is possible as i have tried SnugTV, but i can get it configured for using it. I am sure it is something with the router and/or firewall. But are ther any other good program on the ma

  • Replaced hard drive, but can't access Time Machine backups of old drive

    My internal hard drive was failing so I replaced it. I told the people that replaced it that I could install the System myself and that I had backups of my data. So, I got the machine home, booted up from the Snow Leopard Install DVD and selected Res

  • Change in backend system

    Hi SRM Gurus, Project Scenario is ECC5 as backend system integrated with SRM 4.0( SSP scenario and with Catalog CCM2.0) Implementation scenario is Extended classic. Backend system will be changed to ECC6 from ECC 5.0 with company code consolidation.

  • Poor perfomance on hp virtual blade servers

    Hi guys, I am new to this forum and i have problem with performance problems on hp virtual blade servers, can anyone help me with this. Dinesh K