Filter af:outputText value with some parameters before loading component
I use jdeveloper 10.1.3 with web adf components.
I want to show outputText component with some custom Object (item),
<af:outputText value="#{bindings.item}">
but before showing this component on the page , during runtime, this item object must be filtered with some parameters and then returned some string ( convert item object to string with parameters during runtime, before loading this outputText component).
How can I do this?
Maybe it needs some back beans or I am thinking to create custom component like outputText ,but how to do ?
what is optimal disizion?
can someone help me or someone can send some documentation?
Hi,
When u will bind Output Text with some method in Backing bean u will get a set(),get() methods along with a CoreOutputText variable, u can initialized the variable , and if u want to check any condition then before setting the value then check the condition in the constructor of the backing bean and then change the CoreOutputText value accordingly,which will set the corresponding value,in the UI
Thanks
Similar Messages
-
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 record who run a runbook and with some parameters?
Hello,
I would like to record who run the runbook and with some parameters.
There is some option build in at Orchestrator that will give me that info?
Thanks!Hi,
Logging is not really the best Choice, like Stefan mentioned, SQL Database will grow very fast.
For the Input Parameters, you can add a Textfile Activity to write your own Lofgile.
To get the User, which has startet teh Runbook, you Need to query the SQL Server, but i created a Runbook for that, so you Need to Invoke my Runbook in your Runbook, and you will receive the User which started the Runbook
RB can be found here:
https://gallery.technet.microsoft.com/Get-User-Informations-c3e64d6e
Seidl Michael | http://www.techguy.at | twitter.com/techguyat |
facebook.com/techguyat |
youtube.com/techguyat -
How to implement list of values with bind parameters
Hi All,
Please give me details about how to implement list of values with bind parameters.
I have implemented with below things.
1) created lov view object with query like select meaning, lookup_code from fnd_lookup_values where lookup_type=:1;
2) The above vo added to applicationa module.
3) created Controller class in the co class written code in processRequest();
String vLookupType=pageContext.getParameter("LookupType");
Serializable params={vLookupType};
am.invokemethod("Initialize",params);
4) In AM Impl Class invoke the VO
5) In VO Impl class executed the query..
But the above process working fine but when i give the value in lov text field like 'C' then press tab button the result will not showing instead of that i am getting error message, i want to implement standard lov functionality while implementing query with bind parameter.
any thing reqired to add the code to controller for search criteria..
Thanks
MatetiHi
i am getting error as
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT meaning, lookup_code,lookup_type
FROM fnd_lookup_values
WHERE view_application_id = 200) QRSLT WHERE (lookup_type=:1 AND ( UPPER(MEANING) like :2 AND (MEANING like :3 OR MEANING like :4 OR MEANING like :5 OR MEANING like :6)))
Thanks
Mateti -
Do some processing before loading jsf fragment created using adf task flow
Hi,
I am working on JDev11g.
I want to create SelectItems of SelectOneChoice dynamically before loading jsf fragment created using adf task flow
I tried by implementing RegionController class's method RefreshRegion in my backing bean of jsf page fragement to do some processing before loading region
But it seems to be not feasible approach because it is getting called every time any component on fragement gets partially submitted.
Is there any method which is called only first time when region is loaded ?
Or any other solution to achieve this.
Regards,
DevangHi,
don't think so. You would need a phase listener, but I don't see how you get it in. Wha about using a dynamic region and then use the method that is called from the dynamic region first time it is rendered?
Frank -
How to call a concurrent program with some parameters in a stored procedure
Hi All,
I have made two procedures, xx_nidhi_proc1 and xx_nidhi_proc2.
xx_nidhi_proc1 takes four parameters from front end and is registered as concurrent program in oracle apps and running fine alone.
xx_nidhi_proc2 calls the concurrent program of xx_nidhi_proc1 which is XX_NIDS_PROC1_PROG1.
But the problem in my code is , It runs the second concurrent program for xx_nidhi_proc2 but shows the Inactive- No Manager status for my first concurrent program XX_NIDS_PROC1_PROG1,
Please find out the error in my code...
CREATE OR REPLACE PACKAGE BODY NIDHI IS
procedure xx_nidhi_proc1 (errbuf OUT VARCHAR2,
retcode OUT VARCHAR2,
name_t varchar2,
empno varchar2,
doj date,
desig varchar2) is
begin
fnd_file.PUT_LINE(Fnd_File.output,'/**************Start of the output **********/');
fnd_file.PUT_LINE(Fnd_File.output, 'Name:'||name_t);
fnd_file.PUT_LINE(Fnd_File.output, 'Number:'||empno);
fnd_file.PUT_LINE(Fnd_File.output, 'DOJ:'|| to_char(doj, 'DD-MON-RRRR'));
fnd_file.PUT_LINE(Fnd_File.output, 'Designation:'||desig);
fnd_file.PUT_LINE(Fnd_File.output,'/**************End of the output **********/');
errbuf:='SUCCESS';
retcode:='SUCCESS';
end xx_nidhi_proc1;
--calls the xx_nidhi_proc1 as concurrent program.
procedure xx_nidhi_proc21 (errbuf OUT VARCHAR2,
retcode OUT VARCHAR2)
is
v_request_id number;
begin
fnd_file.PUT_LINE(Fnd_File.output,'/**************Start of the output **********/');
fnd_file.PUT_LINE(Fnd_File.output, 'Deptartment Number:'||'Computer');
fnd_file.PUT_LINE(Fnd_File.output, 'Location:'||'TCS Towers');
fnd_file.PUT_LINE(fnd_file.output,'Starting XX_NIDS_PROC1_PROG1');
fnd_global.apps_initialize(user_id => 1318 ,resp_id => 50578, resp_appl_id => 201);
v_request_id := FND_REQUEST.SUBMIT_REQUEST('PO',
'XX_NIDS_PROC1_PROG1',
null,
null,
TRUE,
'Nidhi gupta',
138609,
'12-Dec-2003',
'ASE');
commit;
fnd_file.PUT_LINE(fnd_file.OUTPUT,'Request ID is '||to_char(v_request_id));
fnd_file.PUT_LINE(fnd_file.OUTPUT,'End XX_NIDS_PROC1_PROG1');
fnd_file.PUT_LINE(Fnd_File.output,'/**************End of the output **********/');
errbuf:='SUCCESS';
retcode:='SUCCESS';
end xx_nidhi_proc21;
Thanks
Nidhi
END NIDHI;Nidhi this might help u
v_num_request_load_id :=
fnd_request.submit_request (c_chr_application_short_name,
c_chr_apl_short_name,
NULL,
NULL,
FALSE,
p_chr_allocation_view,
p_chr_flow_type,
p_chr_operating_unit,
p_dte_planned_from,
p_dte_planned_to,
p_num_application_id,
p_num_loc_seg1_id,
p_num_loc_seg2_id,
p_num_organization_id,
p_num_responsibility_id,
p_num_session_id,
p_num_user_id,
p_chr_arrival_status,
p_chr_statuses,
p_chr_locations,
p_chr_transport_unit
COMMIT;
IF v_num_request_load_id = 0
THEN
o_num_stat := 2;
o_chr_err_msg := 'Report could not be submitted';
END IF;
o_chr_err_msg := 'Request Id :' || v_num_request_load_id;
v_boo_wait :=
fnd_concurrent.wait_for_request (v_num_request_load_id,
c_num_interval,
c_num_max_wait,
v_chr_phase,
v_chr_status,
v_chr_dev_phase,
v_chr_dev_status,
v_chr_err_buf
IF v_chr_dev_phase = 'COMPLETE' /* 1.1 */
THEN
IF v_chr_dev_status = 'NORMAL' /* 1.2 */
THEN
BEGIN
-- some your own logic
EXCEPTION
WHEN OTHERS THEN
o_chr_err_msg := o_chr_err_msg||' Unable to determine Report File Path.';
o_num_stat := 2;
END;
ELSIF v_chr_dev_status = 'WARNING' /* 1.2 */
THEN
o_chr_err_msg := o_chr_err_msg||' Report program completed with Warning.';
ELSE /* 1.2 */
o_chr_err_msg := o_chr_err_msg||' Report program completed with Error.';
END IF; /* 1.2 */
ELSE /* 1.1 */
o_chr_err_msg := 'Report program Timed Out.';
END IF; /* 1.1 */ -
How to display value withing some range?
Hi,
I am trying to display months name using map and my results are as below:-
1)January
2)February
3)March
4)April
5)May
6)Jun
Now I want to display the result in some range i.e. display from 2) to 5) or from 4) to 9); whatever user inputs the range.
So how can I achieve this?
Regards,
PrateekHi,
With the help of Range droplet I am able to set the limit of my month list like if I give the value as 3 in howmany parameter;it shows the following result-
1)january
2)february
3)march
But as I said previously how can I show te result as below if user gives some input like (3-4):-
3)march
4)april
5)march
Thanks. -
Query filter on a value with dash confuses for a range
Hello, I've a web query, have a variable on a legacy PO which is char 10, the legacy PO values have legitimate - in their value for ex: 65011-001
when i enter this value in the query filter (variable value), the query comes with msg ' this characteristic info object doest not support interval selections', and ignores the filter and bring the all the values.
I tried putting PO enclosed with single and double quotes but that didnt seem to work either, how can we make the variable take the literal value and do not interpret it as a range or interval.
thanks for the help.
MayilAlright figure it out..
looks like i've to give a escape in this case '\'
so if i entered the value like 64917\-001 it is able to filter out in the web.
i wonder if there is a way i cannot do this and get by..
thanks
Mayil -
Ipod crashes with some audiobooks - before they start
I have downloaded some free audiobooks from the itunes site and when I try to play them on my ipod, the ipod crashes and I get a black screen with the apple for a while.
This is somewhat annoying for me as I bought the frakking thing to listen to books!
Can anyone help?OP
Help! -
Initialising an applet with some parameters
I have an applet that I want to initialize with somthing from the HTML
Each HTML page I have has a different parameter I want the applet initialized with
can I initialise the applet then call a method in it from the HTML page?
or is there a way to pass a parameter in initializing an applet?
To initialize my applets I am using the following HTML
<APPLET
CODEBASE="http://www.myCompany.com/appletCode"
ARCHIVE="MyJar.jar"
CODE="myPackage.MyClassWithAMain.class"
width="500"
height="500"
align="center">
</APPLET>You can set a PARAM in the html file:
<PARAM NAME = DEBUG VALUE = " my param contents" >
(alternatively the parameter might be set like this
based on the syntax you showed for calling your applet):
<DEBUG = "my param contents">
Then in the init method of the applet, 1st read
the PARAM with the applet method getParameter,
then run your parameter-based initialization of
the applet. -
How to save a graph with some parameters on it?
hi
my application involves analysis of data and plot a graph of analysed data, how to save graph along with analysed data in a file otherthan labview?Well, it sounds like you are wanting a picture of the graph, yes? If so there are two ways of getting it. First there is a VI method (Get Panel Image) that lets you get an image of the entire screen, and then there is a control method (Get Image) that lets you get an image of just the front panel object that you are interested in.
The help file entries for either method provides added detail on how to uses these methods to save a picture of your data.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Help me on how to update values with some condition ?
hi..
I have data as below:-
select qualifier from nv2_audit_log where qualifier like '%NXPRI%NXUPM%';
/acec/nv2am/data/input/NXPRI/NXUPM.P691011_691110
/acec/nv2am/data/input/NXPRI/NXUPM.P691011_691110
/acec/nv2am/data/input/NXPRI/NXUPM.P691011_691110
/acec/nv2am/data/input/NXPRI/NXUPM.P691011_691110
/acec/nv2am/data/input/NXPRI/NXUPM.P691011_691110
/acec/nv2am/data/input/NXPRI/NXUPM.P691811_691910
/acec/nv2am/data/input/NXPRI/NXUPM.P691811_691910
/acec/nv2am/data/input/NXPRI/NXUPM.P691811_691910
/acec/nv2am/data/input/NXPRI/NXUPM.P691811_691910
The question is how could i update all the qualifier from
/acec/nv2am/data/input/NXPRI/NXUPM.P691811_691910 to /acec/nv2am/data/input/NXUPM/NXUPM.P691811_691910 where qualifier like '%NXPRI%NXUPM%' ?.. Could somebody help me ?
Actually i want to change the NXPRI to be NXUPM only for all record with qualifier like '%NXPRI%NXUPM%'
The output must be like this:-
/acec/nv2am/data/input/NXUPM/NXUPM.P691011_691110
/acec/nv2am/data/input/NXUPM/NXUPM.P691011_691110
/acec/nv2am/data/input/NXUPM/NXUPM.P691011_691110
/acec/nv2am/data/input/NXUPM/NXUPM.P691011_691110
/acec/nv2am/data/input/NXUPM/NXUPM.P691011_691110
/acec/nv2am/data/input/NXUPM/NXUPM.P691811_691910
/acec/nv2am/data/input/NXUPM/NXUPM.P691811_691910
/acec/nv2am/data/input/NXUPM/NXUPM.P691811_691910
/acec/nv2am/data/input/NXUPM/NXUPM.P691811_691910
Thank you,
baharinHi,
Use this update statement.
Update
nv2_audit_log
Set
qualifier = replace(qualifier,'NXPRI','NXUPM')
Where
qualifier like '%NXPRI%NXUPM%';
Hope this helps!
Regards,
Rajesh. -
Apple Airport newbie with some questions before purchasing - please help...
Hello all,
Please excuse my ignorance but despite looking through the relevant online manual I wish to check a couple of things before I purchase the Aiport Express (and then possibly regret it).
I have a Windows XP laptop which connects to the internet through a wi-fi connection (access to the physical router is not available me) and I want to be able to play iTunes on my laptop through my hi-fi (wirelessly).
Am I correct in thinking the Aiport Express will do this for me? If so is any extra equipment besides the necessary hi-fi to Airport express cable required?
The Airport Express doesn't need to physically connect to the router does it? Or it doesn't need to become the router providing the wi-fi does it?
How does 'AirTunes' factor into the setup and what is better about e.g. Aiport Extreme and why would you ever need an Airport card?
I have no desire for using the Airport equipment as a router or home hub for printing etc. but just streaming iTunes to my hi-fi.
Any help/clarification would be most appreciated. Many thanks in advance,
Danieldjsuk43, Welcome to the discussion area!
Am I correct in thinking the Aiport Express will do this for me?
Yes
The Airport Express doesn't need to physically connect to the router does it? Or it doesn't need to become the router providing the wi-fi does it?
No and no.
How does 'AirTunes' factor into the setup...
It is simply the term Apple uses for streaming music via iTunes through the AirPort Express (AX).
...what is better about e.g. Aiport Extreme...
The AirPort Extreme base station (AEBS) does not have an audio out port therefore you can't use it to stream music.
The AEBS however does support Ethernet clients, multiple USB printer and multiple USB hard drives.
...and why would you ever need an Airport card?
If you have an older Mac without built-in wireless you would add the appropriate AirPort card to give it wireless ability. -
Issues with some pages not loading
I'm using a note 3 N900W8 running 4.4.2
Using regular firefox or firefox beta for android.
Some sites load but don't render anything. Opera, chrome, stock browser have no issues
If I select to display desktop mode only the mobile site loads but nothing displays. The examples I have are major retailers in canada
www.bestbuy.ca
redirects to
http://m.bestbuy.ca
www.futureshop.ca
redirects to
http://m.futureshop.ca/
Bestbuy.com loads only desktop site but it loads everything at leastI have addclock as an add on but even if removed issue remains
-
Help with some pics not loading
why do I get these ? marks on some pics I uploaded?? They worked the other day?
I have addclock as an add on but even if removed issue remains
Maybe you are looking for
-
Hi all, I am Raghu, working in SRM domain. I am facing an issue in mapping the current process of selling the scrap generated. Customer is interested in selling the scrap material by means of an auctions. I understand that the 'Reverse Auctions' in
-
My iPod Touch 3rd generation wont start back up after turning it off
It all started when I was downloading an update for my twitter app and when it got to "Installing..." it got stuck like that for a while so I turned the ipod off (holding the power button off) and turned it back on. So when I tried to turn it on, it
-
Aperture 3 keyword list won't go away
as i am entering keywords in the keyword toolbar (not HUD), the transparent autofill box appears with suggestions to autofill. if i were to delete as i enter and try to stop keywording (go back to editing, naming versions, anything else), the auto-fi
-
IF i want multiple currency conversion inthe report how to do
IF i want multiple currency conversion in the report how to do
-
Hi guys! I need your HELP. I'm having a hard time in connecting to ORACLE FORMS... I can't connect the scott/tiger/orcl.... It shows an error: ORA-12154:+ TNS:could not resolve the connect identifier specified+ Here the content of my tnsnames.ora, sq