search based on the filter function
HelloI have a filter function that does this,
private void filter_handler(item:Object):Boolean
{
var isMatch2:Boolean = false;
If (item.name.search ('(Joe)')! = - 1).
{
isMatch2 = true;
}
Return isMatch2;
}
When I do this, the search function ignores the parentheses and the outputs 'Joe' and '(Joe). What I wanted to do came out alone "(Joe). Anyone know why the search function ignores the parentheses?
Thank you.
Look at the source of this example view. -What are you trying to accomplish?
http://www.anaheimwib.com/_comps/filtering/
Tags: Flex
Similar Questions
-
Even the filter function is powered down to the arrangement of the photographs in the library window depends on the star. It's awful, but after importing the photos my natural first step is a rough chek and rating. When evaluating a photograph it sorts in the order of evaluation, and I have to go to the point that I was check. Please revert to the behavior of version 5!
Change your sort order.
-
Reviews of custom search based on the trigger of profile value!
Hello
I have the following requirement on the custom in UCM10g view...
-> I'd like to create a view of the personalized search for the user. In this view, I want to the result fields should be displayed based on the profile trigger value.
For example,.
If the profile trigger value is instrument so I want A, B, C of fields to display.
If the profile trigger value is triggerB then I want to E, F fields to be displayed on the custom view of search results.
In the custom view creation page, I could see more advanced option of adding script IDOC but do not know how to set this up.
Please advise me to go further.
Thank you
Hi Prabhu,
Please find the solution for the above scenario.
1. create two rules (rule & rule B) with metadata appropriate to display in the search user interface. Provide the custom label for metadata that must appear in the search engine and the search results page.
2 create two profiles (profile A & B) with each of the rules to create a smooth side of activation condition carte 'listTemplateId' on behalf of name of the customized results page template
Example:
listTemplateId = ViewA
listTemplateId = ViewB
3. create two custom results page view using the view of the title as a parent (see A & B). Set the fields to display for each with custom label if necessary.
4 pne_portal.hda of file for the profile of the user needs an addition of two entries of list template customized.
5. a "customlisttemplates" in the same folder location should be copied to other users which has two files holding the results of research of field definition.
Now the custom search results page will be called automatically without changing the display.
Kind regards
-Anand
-
Customize a page based on the SQL function
Hello
Please someone help me solve this problem.
In a page I am Image. By clicking on the image, a page will open. The image is created using the code of the controller.
The values are displayed in the second page based on the clicked image.
While the page is being prepared a SQL function must obtain an entry and based on the input TextField should be changed to read-only or not.
Thanks in advance,
RoselyneThere is no log file for OFA...
Set the profile FND: Diagnostics to 'yes '.
You can see the error on the screen.
Prasanna-
-
County, based on the soundex function
Hi all
I a bit confused with request asked of me.
the query is
indicate the account number of the last part of each word in the same row according to the soundex function
for example
the first line has set out four in the same line
Does it say I have divided the each statement and get soundex for the last part which is located in this example is------.ACD BCD AAA AFD BCF BDE AAC AFC BCF AAE
So the soundex only for AAA and AAE is same average I've update table b in the column of Gen by two and son on for others.AAA BCF AFC AAE
The result iscreate table a(id number(9), Gen_Value varchar2(200)); insert into a vlaues(1, 'ACD BCD AAA, AFD BCF , BDE AAC AFC,BCF AAE'); insert into a vlaues(2, 'AVF BCD, BBA BBG BCEV, GACD MNF BCV'); insert into a vlaues(3, 'AFC ABC, BBG HUH ABCE, JHU KK MNK'); create table b(id number(9), Gen_Value varchar2(200), id number(9)); insert into b values( 'AAA', '0',1); insert into b values ('BCEV ','0',2); insert into b values ('AFC','0',1); insert into b values ('BCD','0',2); insert into b values ('MNK','0',3); insert into b values ('ABCE','0',3);
see you soonGen count id AAA 2 1 BCEV 2 2 AFC 1 1 BCD 1 2 MNK 1 3 ABCE 2 3
Benjamin
Published by: 973907 on November 29, 2012 12:54 AM
Published by: 973907 on November 29, 2012 12:55973907 wrote:
We choose one of them. 'AAA' or AAE. or the word that has long term.No prob
with data as ( select id ,gen_value||',' gen_value from a ) ,r (id, gen_value, l) as ( select id ,substr(gen_value, instr(gen_value, ',') + 1) ,substr( trim(substr(gen_value,1, instr(gen_value, ',') - 1)) ,instr(trim(substr(gen_value,1, instr(gen_value, ',') - 1)),' ',-1) ) from data union all select id ,substr(gen_value, instr(gen_value, ',') + 1) ,substr( trim(substr(gen_value,1, instr(gen_value, ',') - 1)) ,instr(trim(substr(gen_value,1, instr(gen_value, ',') - 1)),' ',-1) ) from r where length(gen_value) > 0 ) select soundex(l) ,count(*) cnt ,max(l) keep ( dense_rank last order by length(l), l desc nulls first) v from r group by soundex(l) order by 1 SOUNDEX(L) CNT V A000 2 AAA A120 3 ABCE B210 3 BCEV B230 1 BCD M200 1 MNK
-
Search based on the start date and end date
Hello
I added two fields "Start Date" and "End Date" on a search page.
I did the VO extension also.
Now, I have to implement the logic of the search to get all records created between' start' and 'End Date' after pressing the "GO" button on this page.
Can someone please provide advice to extend the controller.
Thanks in advance.
Gaurav.I think that the path would be
Import oracle.apps.per.common.webui.PerTransactionTopCOImpl;
Thank you
-Anil
http://oracleanil.blogspot.com/ -
How to add a filter function in the navigation?
Hello
.. .this site has a pretty cool concept navigation based on a filter function:
Any chance to build the same kind of functionality ("sort by") + (as a separate navigation level) with MUSE?
Any advice would be much appreciated!
G
You can achieve this by using a code that currently there is no widget providing for sorting of the tales or elements.
Where is hosted on Adobe servers, you can use web apps to achieve this goal. Sorting based on filters of points can be included in the web application page.
Let me know if you use BC, I'll give you more information than the way you do.
Thank you
Sanjit
-
How to search for a document based on the contents of the document
on windows xp, I could search a document based on a combination of search criteria, including part of the name of the document or a word or phrase in a document. How is a search based on the content on Windows 7?
In general, you can simply type the content in the search box and it will find. It highlights the content that it matched in the search results (kind of like an online search). Here's an example where I typed the word "liberation".
You can also combine this with the file name searches. For example, you can type *.xls release to find all the Excel files with the word "release" in them. If your sentence content includes spaces, put double quotes around it 'product release 12' for example.
-
How to search for an image Adobe Stock based on the number of files Adobe Stock?
Before I signed up for Adobe Stock, I took screenshots of the pictures that I wanted to buy. These plans include the official file Adobe Stock number. Now that I have a subscription, I want to buy these images. But it doesn't seem to be an option to search based on the file number. How can I get the image I want, by file number, without wasting hours of research of individual images through keywords?
Simply type the Stock number in the search. Be sure to have audited as well appropriate file types.
-
Hi all
I use the function filter to calculate extent for all regions. And I have one other measures even that is supposed to show that the data of a prticular area. So, basically, it's like a comparison, region vs all regions.
So, to get a region, I added a filter.
Now when I run the analysis, the filter function which is group of regions does not work, it shows only the data for a particular region of selecetd from the filter drop-down.
How can I achieve this? Is it possible to lock the filter function?
Thank you
GLOBAL has in the end is 'simple', you pass a measure and then a level of one or more dimensions and OBIEE will be just 'ignore' the filter on the region and to return altogether from all regions and the level of demand (can be 'all regions', 'country' etc..).
It works better that FILTER at least for that sort of thing.
-
Is it possible to build a search prompted (such as web search engines) in the adf?
Hello
Lets say I want to search employee name "John Miller".
I type 'Joh % only' or 'Joh' so is it possible to show guests such as "John Miller" "John David"?
An option that I would train is to have LOV with the names of the employees, drag - move as values af:inputListOf #{empName...}
then user will click on the button at the end of the textfield, enter 'John', click on search
Is - this possibe? If this isn't the case, then what is the best way suggested to search based on the name of employee?
Thank you
Rahul
Hello
You must use af:autoSuggestBehaviour. Check out the links below.
Oracle ADF - tips and Techniques: ADF UI: creating Autosuggest LOV
http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/62-autosuggestbehavior-177811.PDF
Thank you
-
Search AD using the full DN group member
Hello
I am facing problem for search AD using the filter of search as a unique display name for the user.
I'm looking for all the members of the AD Group as a result of this research, I get all the full DN member. Now when I try to find the user for the Member AD user profile using the unique name full... He doesn't have any result?
I want to find/get the user profile information of the AD for the user to member using the name unique, because there are many users in the AD with the same names.
For example:
CN = User A, OU = Department A, unit of ORGANIZATION = Org, DC = example
If I'm looking for in AD using "CN = User *" as a filter, I will get all users with the user name here. So I want to avoid that, so, he tries to find a way to search the user's profile using the full distinguished name.
Any pointer would be a great help.
Thank you
PatriciaThis is a list of choices, not a search.
-
Is there an easy way to filter a 2D table based on the values in two fields?
Y at - it an easy way to filter a 2D table based on the values of one of the fields. In my attached VI the output array has the following format:
Ident Frame Type bytes TimeStamp data
10:57:07.621 3AD00016 POUVEZ 8 0000000000000000 data frame
10:57:07.622 3AD00017 CAN data frame 8 000005E000000000
10:57:07.624 3AD00018 POUVEZ 8 0000000003300000 data frame
10:57:07.625 2DC00000 POUVEZ 8 0000000000000000 data frame
10:57:07.626 3AD00019 POUVEZ 4 0000030000000000 data frame
I would like to delete all lines that do not have an "Ident" between the values of 3AD00000 and 3AD0001E. So for the data above the fourth row would be removed. The only way I can see to do this is to form a 1 d table. Is there a better approach?
Thank you.
Hi chuck72352,
After you've sorted your data, you can use the function InRange. Combined with a "search in 1 table D", you get the range you really want.
Mike
-
based on the table line oaf page filter lines
Hello
Right now, I have the search page where the results are displayed in the region of the table.
In addition, I have situation where I need to filter the lines and display the results in the background region based when you click on the row of table area...
How can I achieve this?
Please let me know.
Thank you
MK
Managed to get this working?
-
analysis of filter based on the current date to the exercise YYYYMM
In a filter for an analysis, I want to put in place so that the settings are based on the current date and format field I want to filter is based on a July - June fiscal fiscal month. (IE. Today, 22/04/2014 should feed the month of exercise with 201410 field)
Is there a simple formula that can be set, based on the date of the day that will work like this?
Use this
Replace (Cast (Year (CURRENT_DATE) as char) |) (case when month (current_date))<10 then="" '0'||cast(month(current_date)="" as="" char)="" else="" cast(month(current_date)="" as="" char)="" end),'="">10>
Instead of these functions concat and casting If you use exercise and exercise name is good to go
Thank you
Maybe you are looking for
-
Why FIFA 15 is not on the app store?
Why Fifa 15 is not on the app store? I want to download it please take... My phone is Iphone 5 IOS 9.3.2
-
I see a window called "mozilla.com" which seems to list random sites I've used before. It is narrow. I see a large window where I want to see the URL of the page that I look at, but it seems to be a search engine, placed on google, or you have a drop
-
I don't remember the password for my computer
I want to give my old computer to my mother inlaw, but I don't remember the password, and I don't have a flash drive or the diskette. How to open the computer so I can re - set the password? Please one know how I can do this, because is can not affor
-
I try to open a pdf document, and I am presented with a pop-up screen of Adobe with a? and a response OK button.In the background, you can see the loading document upward.I must respond to the OK, otherwise it will not let me see the document.Once I
-
(1) the WRT160N retains changes its configuration in non-volatile memory? I want to configure the router for my daughter at University and then ship it to him. When he arrived 4 days later the settings I made are lost? (2) for an environment that has