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/

Similar Messages

  • Is there Any AutoComplete Component with customizable List?

    Hello Guys
    Is there any AutoComplete Component which uses mx:List as a list of suggestions
    I actually want to show some tiny images along the suggestions.
    So please guide in this regard
    Thanks

    The Flextras AutoCompleteComboBox is an extension of the Flex ComboBox.  So, yes, the drop down that displays your data is a List.  And you can customize the item display using itemRenderer.
    More info is, here:
    http://www.flextras.com/?event=ProductHome&productID=10
    If you have any questions, contact me directly, and I'll help out. ( http://www.flextras.com/?event=ContactForm ).

  • How to Customize the Standard UWL component

    Hello Experts,
    We have a requirement to customize the standard UWL component. 
    But I am not sure how to get standard UWL source code in NWDS and how to create a custom DC from the standard component with different namespace.
    Can anyone please guide me how to achieve this requirement?
    Regards,
    Sambaran Chakraborty

    REPOST with proper format:::
    HI Amar,
    Thanks for you input.
    But we have no option except to go with this customization of UWL; we are in middle of SAP upgrade (NW 7.01 SP07).
    Previously we were in NW 7.0 SP10) and that time we were customized the UWL component.
    But after upgrade it is not allowing us to deploy the old UWL custom component.
    Therefore we have decided to customize the UWL component again with current version.
    Now for NW 7.01 SP07 SAP is not providing the source code(SRC>ZIP) for UWLJWF.sac file. But we are able to get the source code for NW 7.01 SP00.
    Now we have successfully able to build and deploy a local DC from the SRC.ZIP file from UWLJWF.sac of NW 7.01 SP00.
    Then we have created an iview and call the UWL Substitution Application from the custom UWL DC. But when we checked in the UWL Substitution screen we get few issue:
    1.     In the UWL Substitution screen there is not text available for any of the button.
    2.     When we clicked on first button (should be Create Rule button, though no text available for our case) we got an error message of incompatibility, below is the error:
    java.lang.ClassCastException: com.sap.netweaver.bc.uwl.ui.wdp.InternalUWLPeoplePickerInterface$External incompatible with com.sap.netweaver.bc.uwl.ui.pp.wdp.IExternalUWLCustomPicker        at com.sap.netweaver.bc.uwl.ui.subst.wdp.InternalSubstitutionRuleView.wdGetUWLCustomPickerInterface(InternalSubstitutionRuleView.java:362)
            at com.sap.netweaver.bc.uwl.ui.subst.SubstitutionRuleView.wdDoInit(SubstitutionRuleView.java:179)
            at com.sap.netweaver.bc.uwl.ui.subst.wdp.InternalSubstitutionRuleView.wdDoInit(InternalSubstitutionRuleView.java:255)
            at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
            at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
            at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
            at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
            at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
            at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
            at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
            at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
            at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
            at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
            at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:333)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
            at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
            at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
            at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(AccessController.java:219)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Can you please provide your valuable input on this condition?
    Any help from anyone on this issue will be highly appreciated.
    Regards,
    Sambaran Chakraborty

  • Question about plugging in an ajax progress bar component onto a black-box.

    Hello,
    I have the following problem: I want to integrate an ajax progress bar component to a j2ee application and I am in reference to the following pattern (https://bpcatalog.dev.java.net/nonav/ajax/progress-bar/design.html). It seems I need for the "task" component to return the percent. The problem I have is that I am calling a legacy method (i.e. as400) that does not return a percent as it is to me only a black-box. Here is a snippet of what it looks like to me:
          AS400 sys = new AS400("AS400D.calyonfinancial.com");
           sys.setUserId("jmartin");
           sys.setPassword("jmartin");
           CommandCall cmd = new CommandCall(sys);
           cmd.run("my as400 command goes here");
           AS400Message[] messageList = cmd.getMessageList();
           for (AS400Message msg : messageList) {
               System.out.println(msg.getText());      
           sys.disconnectService(AS400.COMMAND);At best I can know whether or not it is completed.
    void actionCompleted(ActionCompletedEvent event) //Invoked when an action has completed.What do you advise I do bearing in mind I want to avoid using an indeterminate progress bar??
    Thanks in advance,
    Julien Martin.

    That's not a legacy method. The latest version of JTOpen was issued less than a month ago. And note that it's open-source, so you could change it yourself to provide percent-complete data. (Of course you'd have to be able to get that data from the underlying iSeries command.)
    It wouldn't be easy, but if you think about it for a minute you'll realize that you can't display percentage complete in a progress bar unless you have some way of finding out what percentage the task has actually completed.

  • How to set a delay on Autocomplete component?

    How to set a delay on Autocomplete component so that the completion method will only be invoked when users stop typing for some time. Otherwise, there are too many unnecessary server requests.

    Hi,
    You can use shortDesc property. Something like
    <af:commandToolbarButton text="Some Button"
          id="ctb1" shortDesc="This button does something.."/>-Arun

  • Tutorial on how to create an Ajax-enabled JSF component in Creator?

    Is there a tutorial on how to create (not use/import existing) an Ajax-enabled JSF component using Creator 2? I read somewhere that it was done during a presentation in 3 minutes! Now that I really want to see ;-
    thanks,
    -nikita

    As far as I remeber, Edwin Goei's examples are the
    closest thing to the info you are looking. He has an
    example component, but don't remember if they're
    AJAX enabled. Check it on
    http://wiki.java.net/bin/view/Javatools/CustomCompone
    tLibraries.
    Best regards
    Antonio.Thanks for the plug. I've been meaning to update that article. Writing an AJAX component is similar to writing other kinds of components but the developer uses AJAX techniques. The latest version of the popup calendar which is checked into the bpcatalog project of java.net uses Dojo which also has some support for AJAX. I haven't yet had time to update the article yet, unfortunately.
    -Edwin
    http://blogs.sun.com/edwingo/

  • NetBeans BluePrints Ajax autocomplete component data binding

    Hello,
    I'd like to test the autocomplete feature of an input field from the BluePrints Ajax. But I have difficulties to bind the autocomplete list to a datasource. Is this possbile within the gui (netbeans, vwp) or do I have to code it manually?
    loony

    Hello,
    I'd like to test the autocomplete feature of an input field from the BluePrints Ajax. But I have difficulties to bind the autocomplete list to a datasource. Is this possbile within the gui (netbeans, vwp) or do I have to code it manually?
    loony

  • Ajax autocomplete component in page fragment

    Hi
    I've used ajax autocomplete field in page fragment (for searching) but it's only visible on one page. How to make it visible everywhere?
    Michal

    Maybe Creator team could help?

  • 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

  • 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.

  • Anyone using the Adobe AutoComplete component?

    I am using the auto complete component from Adobe off of the
    Adobe Exchange site. I'm having an issue when I start typing some
    text, the drop down shows however, if I press enter the auto
    complete does not add the rest of the text.
    I am using an untouched version of the code from the exchange
    site using all the defaults. I tested the demo application on the
    exchange site here
    http://examples.adobe.com/flex2/exchange/AutoComplete/CustomizeAutoComplete/CustomizeAutoC omplete.html
    and it works yet when I compile and run the demo it doesn't work.
    Any thoughts????

    here you go
    http://www.websector.de/blog/2008/04/30/quick-tip-avoid-issues-using-adobes-autocomplete-i nput-component-using-flex-3/
    this is the fix.

  • Cannot find created Enhancement to customize a standard WD Component

    Hi All,
    I need to customize a standard WD ABAP component. For this purpose I had created an Enhancement. I saved it, but when I try to enhance my WD Component View, I do not see that enhancement name from the list of available enhancements.
    I went to SE19 and found that the enhancement that I created is in Inactive state. When I tried to activate it, it throws an error saying Webdynpro Component does not exist.
    Please advise where am I going wrong.
    Thanks and Regards,
    Sayan Ghosh

    I guess , you have to assign the enhancement to a client.
    1. SM30 ---> BSPWDV_EHSET_ASG
    2. Click on Maintain.
    Note : There might be other Enhancement sets already assigned to various clients.
               Just check with your team regarding that.
    3. Assign your Enh set to the client.
    Hope it helps.
    Regards,
    VR.

  • Yahoo AutoComplete Component and Its ItemRenderer

    Hello Guys
    I'm trying to use a customized item renderer on YahooAutoComplete but vain. Please help me
    This is the property for placing custom item renderer.
    http://developer.yahoo.com/flash/astra-flex/classreference/com/yahoo/astra/mx/managers/Aut oCompleteManager.html#popUpRenderer
    I made an mxml component based on canvas and add its address to there, but when i run it, it gives following error
    Type Coercion failed: cannot convert compoents.oneD::inviteListDisplay@9083c29 to mx.controls.listClasses.ListBase.
    Please Guide what should i do with my canvas based components to support yahoo autocomplete manager.
    Thanks in advance

    Here is some code from Yahoo that might help:
    http://developer.yahoo.com/flash/astra-flex/autocompletemanager/
    <?xml version="1.0" encoding="utf-8"?> 
        <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:yahoo="http://www.yahoo.com/astra/2006/mxml"> 
            <yahoo:AutoCompleteManager  
                id="autoCompleteMgr"  
                targets="{[textInput1, textInput2, textInput3]}" 
                shareData="true"  
                autoSave="true"  
                /> 
           <mx:Label x="40" y="37" text="Full Name"/> 
           <mx:TextInput id="textInput1" left="40" top="53"/> 
           <mx:Label x="40" y="103" text="Phone Number"/> 
           <mx:TextInput id="textInput2" left="40" top="120"/> 
           <mx:Label x="40" y="170" text="Email Address"/> 
           <mx:TextInput id="textInput3" left="40" top="187"/> 
       </mx:Application>

  • Arrow Keys on AutoComplete Component

    I know that some have already added the javascript to allow the arrow keys to be used in selecting an autocomplete suggestion. I am a little light on my javascript so was just curious if anyone was able/willing to share.
    - Mark

    http://www.apple.com/feedback/iphone.html

  • Blueprints popupcalendar component for Netbeans 5.5

    HI all,
    I tried to run a java studio creator application in Netbeans 5.5 IDE.But i got the following errors
    package com.sun.j2ee.blueprints.ui.popupcalendar does not exist
    I guess the blueprints components need to be integrated in the netbeans.Can anyone suggest any link to download the blueprint components for Netbeans 5.5.
    Thanks and regards,
    rpk

    Unfortunately, there is no widely used forum for VWP. Most people use the NetBeans Users mailing list and just put VWP in the subject. Some people use a service such as Nabble to make the mailing list more forum like.
    Mailing list info:
    http://www.netbeans.org/community/index.html
    NetBeans on Nable:
    http://www.nabble.com/Netbeans.org-f2602.html

Maybe you are looking for

  • SRM 7.0 - Process controlled workflow

    Hi, Landscape -  SRM 7.0 SP05 Workflow - Porcess controlled Scenario - Self service procurement Problem: 1. We have mulitple level approval workflow for the shopping cart. I am using standard workflow task- 40007953 and using /SAPSRM/BD_WF_RESP_RESOL

  • All my notes have been deleted and I can't get them back

    M-My notes had doubled so. Deleted the doubled up notes when I went on the app late they had all dissapeared my phine and ipad have since synced with icloud again is thee anyway of retrieving them I am desperate

  • Loading bulk data in to oracle

    what is the procedure to load bulk amount of data in oracle database?

  • Nodes in hierarchy

    Hi All, is it possible to create variables so that user can select the individual nodes in a hierarchy. Thanks in advance.

  • Java clone

    I download the file clone.java from : http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Clone.html i tried to run it at jcreator but the message below is written in dos command: java Clone <url> <# of copies>