How i do search in list with textinput
how i do search in list with textinput ?
i make textinput with list and list have data i want to do search in list when right my information in textinput
On change event of TextInput, apply a filter.I am giving sample code over here:
private function filter():void {
(your list dataprovider).filterFunction = filterMyArrayCollection;
(your list dataprovider).refresh();
private function filterMyArrayCollection(item:Object):Boolean {
var searchString:String = (Your textinput id).text.toLowerCase();
var itemName:String = (item.(property of list provider which is to be searched) as String).toLowerCase();
return itemName.indexOf(searchString) > -1;
This will help you in following manner:
when you type "D" in textinput, the list will show you the names which start with "D" or include the letter "D" in their spelling.
Similar Messages
-
How do I search for lines with a particular pattern and delete them when a match occurs
How do I search for lines with a particular patter and delete them when a match occurs? For example delete lines containing SUB_NAME = "?" where ? is any string.
How do I search for lines with a particular patter and delete them when a match occurs? For example delete lines containing SUB_NAME = "?" where ? is any string.
Lines in what? And what language are you using to develop with?
Are the lines in a text file? A RichTextBox? A TextBox? Some other control? A List(Of String)?
Is there some expectation by you that by providing what you wrote in your question post that the knowledge in your mind about what you are thinking about will mysteriously emanate to anybody reading your post so all of the sudden your knowledge will
become their knowledge and they will be able to provide you with an answer as they will suddenly understand what you are trying to do? Because that's probably impossible. Most people try providing enough information in a question so anybody, even stupid people
like me, can understand what they want. Maybe you should try that. As well as selecting an appropriate forum for your question in the future. Usually a question like this is related to programming in a particular language therefore a language forum may be
a good choice. Or not.
La vida loca -
How can I search the tree with a given string?
How can I search the tree with a given string?
I don't find any function like "search(...)".
I want to find the tree nodes which include the given string.
Thanks.Try it with .com instead of .ca - fixes it for me (corporate firewall blocks .ca here)
http://spendolini.blogspot.com/2013/09/working-with-apex-tree.html
Anyway - it links to an article of mine which describes interacting with the tree: Tom's Blog: Working with the tree in Apex. There is also a demo application on apex.oracle.com: http://apex.oracle.com/pls/apex/f?p=54687:38 -
how to export All computer list with operating system from AD and all attributes like disable or enable and OU location also?
I have tried with dsquery below but status is not showing there.
dsquery * -filter "(objectCategory=computer)" -attr name operatingSystemlast logon user name - not really stored (or lined) with computer object. However, you can get this info during the logon process or from the computer. Here is method:
http://portal.sivarajan.com/2010/07/user-profile-and-os-info-powershell.html
Santhosh Sivarajan | Houston, TX | www.sivarajan.com
ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012
Blogs: Blogs
Twitter: Twitter
LinkedIn: LinkedIn
Facebook: Facebook
Microsoft Virtual Academy:
Microsoft Virtual Academy
This posting is provided AS IS with no warranties, and confers no rights. -
How to change search result list entries?
Hi together,
I'd like to fit the TREX search result list to my own requirements. I've edit the Search Result Renderer Settings, Search Result Layout Set, Search Component Set and the Search Option Set. But that's not enough.
1.) I would like to display the relevant index name, in which the document was found.
2.) For special indexes (not for all!) I want to change the content link:
For example: if TREX is finding an xml-File in index "abc_index" I would like to change the content link from
"https://portalserver/irj/go/km/docs/folder/p76.xml" to
"https://portalserver/irj/go/km/docs/folder/p76.htm"
and from
"https://portalserver/irj/go/km/docs/folder/p76_data.xml" to
"https://portalserver/irj/go/km/docs/folder/p76.htm"
3.) I'd like to display a special part of the document as a explanatory text in the result list.
I think point 1 and 3 are possible with properties and HTML-extractors. But point 2 I'm afraid I have to create my own component.
But how to manage this? I cannot find any code snippets or tutorials or pattern to copy and develop further.
Is it possible or advised to write a WebDynpro? Are there other possibilities? I don't know how to start.
I would be pretty delighted to get any idea...
Thanks a lot
SteffiHi Stefanie
1) If you want to be able to show the name instead, you should write your own property renderer. Heres the link for the documentation: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c739e546-0701-0010-53a9-a370e39a5a20 -> How to Implement Flexible UI
Components -> Property Renderer
2) Documentation will be send in a matter of minutes.
3) I also think the web property extractors only work with the web repository manager, because as far as I know that is the only repository manager, where you can select a web property extractor upon creation. I guess you could open an OSS to SAP and ask if its not possible to extract properties in your scenario just to be sure if its not possible. But my guess is that you either have to develop your own repository manager or publish your files on a web server in order to meet your requirements.
Best regards,
Martin -
'Find an Item' search on list with more items than view limit
Hello all
The 'Find and Item' search on a list with more items than the view limit appears to filter results according to where you are in that list. So if I search on the allitems page displaying items 1-100 I get hits from the entire list. But if I arrow
through to view items 201-300 and repeat the same search only items from 201 to the end of the list are returned
I'm assuming this is not how it should work i.e. it should always return results from the whole list. Is there a way to make that so (other than increasing the view limit to something huge so that all items are always displayed)
Many Thanks
DanHi,
According to your post, my understanding is that Find an item Search box in List didn't returned any results.
The problem is due to a difference between the Content Source defined for the crawl and the default zone defined in the Alternate Access mapping.
You need to change the Alternate Access Mapping configuration.
For more information, you can refer to:
http://blog.jonathanroussel.com/2009/01/sharepoint-search-using-this-site-or.html
http://blog.dafran.ca/post/2011/07/02/SharePoint-does-not-return-any-search-results.aspx
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
I have a requirement to display popular search key words with in specific date range. Like search key words searched in last week/ in last 30days/in 90 days.
how to get date range searched keywords from Search Trends?? is there any other way to get these??Issue was due to a syntax error. Case closed.
Thanks!
-OS -
How can I share contact list with another MAC
How can I share my contact list with another MAC?
Hi,
There does seem to be a presumption in the other reply that your girlfriend is living with you.
A File transfer via Bonjour would then work.
Also the File Sharing in System Preferences > Sharing would cause her computer to show up on your Finder's side bar as a Share.
With iChat if you both have AIM Login names you could still do File Transfers.
(It is slightly more complicated if you have Jabber ID logged in alothough not impossible).
9:54 PM Sunday; January 15, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
How to move iPhone contact list with custom ringtones to OS X server Contacts?
I have recently setup a new Mac Pro, Mid 2012, running Mavericks OS X Server. I was previously syncing through iTunes on Snow Leopard, 10.6...
Due to the changes in Mavericks WRT iTunes address book syncing, I want to setup Contacts in Server, as I do not want to use iCloud. I tried using the Address Book sync on my MacBook Pro, but that doesn't appear to save any custom ringtone data. I setup Contacts in Server & I moved the current address book to Mavericks, but dragging the contacts into the Server list in Contacts generates warnings, "Some contacts could not be copied to the server" and then sometimes starts duplicating the groups and contacts. The system log has some errors that seem related (system & user munged):
Jan 1 22:44:46 system.sub.domain Contacts[3203]: Error reading store metadata: Error Domain=NSCocoaErrorDomain Code=260 "The file \u201cAddressBook-v22.abcddb\u201d couldn\u2019t be opened because there is no such file." UserInfo=0x60000047ec80 {NSURL=file:///Users/kilroy/Library/Application%20Support/AddressBook/Sources/4 233913F-017D-4AA5-887A-E0957EECA4B0/AddressBook-v22.abcddb}
Jan 1 22:44:46 system.sub.domain Contacts[3203]: Database file is empty: /Users/kilroy/Library/Application Support/AddressBook/Sources/4233913F-017D-4AA5-887A-E0957EECA4B0/AddressBook-v2 2.abcddb
Jan 1 22:44:46 system.sub.domain Contacts[3203]: Failed adding account: The operation couldn\u2019t be completed. (AppleInternetAccountsErrorDomain error 13.)
AddressBook-v22.abcddb, does exists, T/S of 22:44. Maybe the above is actually a warning that it created the file? ... except the Failed adding account doesn't sound good.
Jan 1 23:30:37 system.sub.domain Contacts[7073]: [CardDAVPlugin-ERROR] -_handleCompletedAction:(null) href:https://[email protected]:8443/addressbooks/__uids__/85897855-A1A7-4846-8134-65C7619EE3B8/addressbook/677 0d3b722f65b9d1657bb55412ad071.vcf localETag:"29b0055eeb14610abbb7d2808c08e540" errorItem:(null) error:(null); NIL href or action
Jan 1 23:30:38 system.sub.domain Contacts[7073]: [CardDAVPlugin-ERROR] -_handleCompletedAction:(null) href:https://[email protected]:8443/addressbooks/__uids__/85897855-A1A7-4846-8134-65C7619EE3B8/addressbook/1ca 7c41d318c83472743fad0400ecdd3.vcf localETag:"aa2b10b8148984374a2117e87444f4d0" errorItem:(null) error:(null); NIL href or action
Jan 1 23:30:38 system.sub.domain Contacts[7073]: [CardDAVPlugin-ERROR] Exception caught while running sync with server: Error Domain=CoreDAVErrorDomain Code=1 "The operation couldn\u2019t be completed. (CoreDAVErrorDomain error 1.)"
1 23:30:41 system.sub.domain Contacts[7073]: [CardDAVPlugin-ERROR] -_handleCompletedAction:(null) href:https://[email protected]:8443/addressbooks/__uids__/85897855-A1A7-4846-8134-65C7619EE3B8/addressbook/86b 4883827ee841f0e6d01893a8ae225.vcf localETag:"79e207a20cf8e7052decba4fe9e1e743" errorItem:(null) error:(null); NIL href or action
Jan 1 23:30:41 system.sub.domain Contacts[7073]: [CardDAVPlugin-ERROR] -_handleCompletedAction:(null) href:https://[email protected]:8443/addressbooks/__uids__/85897855-A1A7-4846-8134-65C7619EE3B8/addressbook/90c 4c7aa12d6cb1fa4d68b2748fde985.vcf localETag:"d4ca80d1e1ac5dc69e08db5c0cb18835" errorItem:(null) error:(null); NIL href or action
So the question is:
How to does one move or import iPhone contact list with custom ringtones to OS X server Contacts? ... and will Contacts save/preserve the ringtone settings?
Thankslsof is the standard tool for listing open files, although I'm not quite sure it'll do what you want.
It will list every open file used by every process on the machine, including many you don't expect. I don't know how it will present files opened by network users - whether they'll appear as owned by the file sharing process or not at all. Definitely one to try. -
How to get TDS Vendors list with name
Hellow Friends,
I want to get only TDS vendors list with Respective names.I have used Table LFBW.There i am getting only TDS Vendor codes list not comming with names.
Is there any Table or T.Code or Report to get TDS Vendors list with names?
Please Advice me.
Thanks&Regards
KumarDevelop a query joining table LFA1 & LFBW on primary key as LIFNR. in the out put have the TDS Vendors with name and TDS Code
Assign points if useful
Regards -
How to select value from list with multiple selections ?
HI,
i have a list with multiple selections where i show email address retrieved from database.
what i want to do is to send the selected email address to the invoiceedit.jsp.
please look at the following code which gives you the better idea.
<td class='smalltext'><select name="email" size="3" multiple="multiple">
<%
Connection conn = null;
Statement stmt = null;
Statement stmt_contactperson = null;
Statement stmt_address = null;
try{
conn = getREConnection();
stmt = conn.createStatement();
ResultSet rs = null;
rs = stmt.executeQuery("SELECT PROPERTYID, VALUE FROM PROPERTIES WHERE ENTITYID="+ g_strGroupID+" AND NAME = 'invoice_default_email'");
int numofrows = 0;
while(rs.next())
%>
<option value="<%= rs.getString("VALUE") %>" selected="selected"> <%= rs.getString("VALUE") %> </option>
<%
}//end of while
%>
</select>
<a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&add=1"><font color="#000000">Add</font></a>
<a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&email_to="><font color="#000000"> Edit</font></a> </td>thanksUse a form button instead of a link so that you can send it as a request parameter to the server. In the server side just use HttpServletRequest#getParameterValues() to obtain all values for the given parameter name. If you really need a link rather than a button, then use Javascript to submit the form on click of the link.
That said, your design is bad. Java code belongs in Java classes, not in JSP files. Database access logic belongs in a DAO class. Business and controlling logic belongs in a Servlet class. Only presentation logic belongs in the JSP file. Avoid scriptlets as much as possible and use JSP EL and/or JSTL instead. -
How to filter a sharepoint list with report parameters
Hello there,
I'm trying to make a sql report on a sharepoint library. I have no problems to connect to the library but i cannot find a way to filter my data source with report parameters. I've searched on the net a lot, found some stuffs about xml but nothing that shows
how to do it with sharepoint. Any help would be greatly appreciated!
Thanks in advance!Hi mgarant,
As you mentioned, by default, we can use xml parameter "query" to filter a SharePoint list from SQL Server Reporting Services. We can also modify the value for the "query" to use SQL Server Reporting Serivces parameters to filter the SharePoint list.
Below are the detailed steps for your reference:
1.Change the query string to be a string like this:
<Query>
<SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
<Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems">
<Parameters>
<Parameter Name="listName">
<DefaultValue>{ADBE55DB-63A1-4C14-9DA0-B1B05C13B4C8}</DefaultValue>
</Parameter>
<Parameter Name="query" Type="xml">
</Parameter>
</Parameters>
</Method>
<ElementPath IgnoreNamespaces="true">*</ElementPath>
</Query>
2.In the dataset modification dialog, go to "Parameters" tab.
3.Create a Report Parameter(e.g. CityParam).
4.In parameter tab, create a parameter with:
Name: query
Value: ="<Query>
<Where>
<Eq>
<FieldRef Name='WorkCity' />
<Value Type='Text'>" & Parameters!CityParam.Value & "</Value>
</Eq>
</Where>
</Query>"
Please note, “case sensitive” is required. In this case, the parameter name for "query" must be in lower case. WorkCity is name of a field in the SharePoint list.
For more information about how to retrieve value from SharePoint list, I would suggest you reading the following article and threads:
http://vspug.com/dwise/2007/11/28/connecting-sql-reporting-services-to-a-sharepoint-list-redux/
http://blogs.msdn.com/mariae/archive/2007/12/13/querying-sharepoint-list-from-reporting-services-returns-only-not-null-columns.aspx
I also implemented a sample, you could download it from:
http://cid-3c7e963ff6ccd974.office.live.com/browse.aspx/.Public/SharePoint%20List%20sample?uc=2
Please feel free to ask, if you have any more questions.
Thanks,
Jin Chen
Jin Chen - MSFT -
How to query the sharepoint list with using lookup column
hi,
I have requrement like below
List A
Title Postionid(Lookup) PositionDescription
[email protected] 1
xxxx
[email protected] 1
xxx
[email protected] 1
xxx
[email protected] 2
sss
[email protected] 2
www
List B
Title fistname lastname age fathername
[email protected] x x 10 y
[email protected] p p 12 p
[email protected] q q 12
y
here in List A positionid is lookup column i have creating one visual web part i am querying the List A using query string as Positionid in that web part .finally what i want is i need date from list B on basis of corresponding position id here
List A Title and List B title are same i need each candidate info how can i do it
SrinivasHello,
Still you have not told that whether Position id is there in listB or not. Anyway if Poistion id is not there in list B then you have to use Title column of listA to gete data from ListB. Look at sample code below. It will first get data from ListA,
and use StringBuilder class to create dynamic CAML query because one Position id is having multiple values in listA.
query.Query = "<Where><Eq><FieldRef Name='Postionid' /><Value Type='Lookup'>1</Value></Eq></Where>";
SPListItemCollection items = list.GetItems(query);
if(items.Count > 0)
foreach(SPListItem item in items)
string strTitle = Convert.Tostring(item["Title"]);
//since listA is having multiple values for Postionid so you have to build a dynamic query here to get data from listB
//Refer link to build dynamic query
SPQuery listB = new SPQuery ();
query.Query = stringbuilder;
SPListItemCollection ListBitems = listB.GetItems(query);
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2dfe5fd6-e556-4132-a35c-e9f240360307/issue-with-caml-query?forum=sharepointdevelopmentlegacy
http://sharepoint.stackexchange.com/questions/69690/foreach-loop-inside-caml-query
Above links will help you to create dynamic query (in your case you need to use multiple <OR> operator in listB.
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
How to create the composite control with textinput,button and grid.
I have created the application having two Textinput and three button and a DataGrid.
1. on click of first button next to "select a value" , a DataGrid will be open.
and i am using all the functionality of DataGrid.
2. now by using all of these control i have required to create single composite control.
plz help me how to create this composite control.Right click the graph and select Create>Property Node. On the diagram, find the property node, right click it and first select Change All to Write. Right click again and if you select Properties, you will see a list of all the available properties for the graph. The properties you want are XScale.Minimum, XScale.Maximum, XScale.Increment, YScale.Minimum, YScaleMaximum, and YScale.Increment. You can grow the single property node to have as many properties that you want. Once you have all the properties created, create front panel controls and wire them to the property node. See the attached picture.
Attachments:
graph_properties.jpg 16 KB -
How can I search for files with more than one keyword?
I´ve created some keywords, and some files in my folder are tagged with two, three or more keywords.
Is there a way to search for files using more than one keyword on the search field?
Thanks!Use the Find command (menu Edit) and in criteria at the right side is a plus sign to add another criteria and set it to your custom wishes.
make a choice in results and you should be OK
Maybe you are looking for
-
I have been having several annoying problems with iTunes for the past several months... 1) Library content not showing after folder relocation: First, in order to free up space on my C drive, I wanted to relocate my iTunes folder to a new 1TB hard dr
-
Return order configuratiion setting
hi every body i have doubt regarding return order copy control settings( pls don't post any notes regarding return order, pls clarify my doubt). i am practising on IDES 000 and 800 clients. in 000 client copy control settings r RE-credit
-
IMac won't start up with iPod plugged in?
Just bought a new imac, and it's working perfectly. It reads my iPod with no problems, but i've noticed that when I turn my iMac on sometimes, it won't start up. Just kinda stays at the beginning white screen. It only does it when my iPod is plugged
-
Is this possible to make work in ApEx?
Look at the link: http://www.comlinebrokers.com/index.php?id=5 "floating" table header is really amazing...is that possible to create in ApEx? THX!
-
How to implement a forms application with an application server
Hi, I want to implement a forms application with OAS version 10.1.0. How to configure? Where can I find some documents? Max