I am not experienced in this field.
I have a database that contains a table with customer names. For example CUSTOMER_T contains
"customer1", "Nick", "Test", etc...I have a web server connected with the DB and let's say a method to get the "customer names". Also I have a small WEB GUI with a textbox, where the customer types a string and invokes the get method that returns the database results.
I want to enhance this functionality with an auto-complete feature, like google suggest. What do I need to install in the server and in the GUI? Please note that the list of customers is dynamic.
Does the server need a special capability - library?
Does the client need a special capability - library?
User JQuery, JQuery UI, and the JQuery UI autocomplete plugin. Start at the autocomplete plugin page.
You can use ajax for autocomplete and as just a query to bring back data in for the textfield
Related
I have an external API which returns a list of products and prices. I cant to store this data in the database and I am not interested in displaying the entire list due to some privacy issues. Instead, I would like show a subset of the list with live search / autocomplete. How do I go about it?
This is more of a frontend related thing, give jQuery UI Autocomplete a try.
I'm just starting to play around with Orchard CMS. I like what I see so far, but I need to be able to create pages that display record details for data stored in another system. Does any one know if that is possible?
I have a SQL Server database that hold real estate property record information. This information gets displayed on the web. On that same website are informational content pages (FAQs, Contact Us, Home, etc...) What I would like to to is leverage the CMS portion of Orchard for the content pages. Then I would like to write a module using the Orchard that would get the real estate info, allow users to search parcels, and display detail pages for each parcel.
If you view the site http://www.sc-pa.com/search you can search by last name "smith" and select one record. That may help illustrate what I need Orchard to do.
Yes, that is possible, but your scenario is way too vague to get into any specifics. Can you elaborate on exactly what you are trying to do: what does the external data look like, where is it stored, how do you want to integrate it into Orchard, do you need any integration with content types and parts, or with search, etc.
One alternative is to expose ur data as web service or odata endpoint and then use jquery to do asynch call to get json data. Then ur home free.
Create a page and put the javascript in that or include a ref to js file.
I want to organize search by users usernames.
When I write some letters, I want to see list of users,
which usernames start with that letters.
After clicking one of values I have to update users data.
Is there any easy plugin or other way to do it?
I use grail-1.3.2.
You may want to catch the keypress event at the text box: after the user has type, says, 2 letters, use ajax/jQuery to send a request to the server. Then the server perform searching the database and return a list of approriate user.
I once used jquery-ui plugin, and the result is satisfactory.
You may use JQuery Autocomplete to implement such feature... Have a look at the demo..
The Grails UI plugin has autocomplete.
jQuery autocomplete can be a solution... check this link Using Grails with jQuery Autocomplete
There is a demo for using autocomplete in a Grails application.
I have used the ASP.Net AJAXT Toolkit Autocomplete extender before and I am currently looking at jQuery plugins that handle the same task. I need to find a way to do different type of searches with the same textbox control. The search page of this application has 4 options for search by things like - name - account number - zip code - etc. So I want to change the page method or web method that the extender or plugin uses depending on which radio button is selected. I am not finding any examples of this - only examples of separate textboxes with separate extenders pointing to different page or web methods. Has anyone seen an example of something like this?
You can do this with the jqueryui autocomplete.
I put together a quick crude demo here:
http://jsfiddle.net/8zy44/
Instead of changing the source to a local variable you can also specify a url for the source.
I have a custom web applet that I am adding to the Lead object tab of my Oracle CRM On Demand app. It is easy to include a variable in the URL via the %%%VARIABLE_NAME%%% convention but that seems to only work with the object itelse (Lead, Service Request, etc) Since the field I want to add is part of a different object (the User) it doesnt seem to be working.
Any help on how to add this would be greatly appreciated.
Here it talks about custom web applets, and under Fields it talks about adding a variable:
http://download.oracle.com/docs/cd/E14388_01/books/OnDemOLH/index.htm?toc.htm?creatingcwa.html
I got a definitive "not possible" from an oracle web service developer on this issue.
So turns out that in a custom web applet for one object you cannot have custom fields from other objects.
My work-around is to pass the unique userid %%%User id%%% back to my app and work from there.